prog_name
stringlengths 32
32
| strip_func_name
stringlengths 1
137
⌀ | prompt
stringclasses 1
value | query
stringlengths 50
755k
| response
stringlengths 4
135k
| hints
stringclasses 1
value |
---|---|---|---|---|---|
fea58faea322c37f66e759b10cca95a6 | sub_AED0 |
__int64 __fastcall sub_AED0(__int64 a1)
{
_BYTE *v1;
__int64 v2;
__int64 v3;
_BYTE *v4;
_QWORD *v5;
unsigned int v6;
if ( lua_type(a1, 0xFFFFFFFFLL) <= 0 )
{
lua_pushlstring(a1, "", 0LL);
}
else
{
v1 = sub_94A0(a1);
v3 = v2;
if ( v2 )
{
v4 = v1;
if ( *v1 == 34 && v1[v2 - 1] == 34 )
{
v4 = v1 + 1;
v3 = v2 - 2;
}
v5 = j__chunk_buffer_acquire();
sub_8940(v5, v4, v3);
v6 = sub_6790(v5);
lua_pushlstring(a1, *v5, v6);
j__chunk_buffer_release();
}
else
{
lua_pushvalue(a1, 0xFFFFFFFFLL);
}
}
return 1LL;
}
Q:[sub_AED0,] | A:{'sub_AED0': 'magnet_bsdec'} | ||
e863cb76c63e529a1a7e08657cd922a3 | sub_3A10 |
__int64 __fastcall sub_3A10(char *var_3, __int64 var_1)
{
__int64 var_0;
unsigned int v5;
char var_4;
int var_5;
unsigned int v8;
unsigned int var_7;
var_0 = 0LL;
if ( var_1 > 0 )
{
v5 = *var_3;
var_4 = *var_3;
if ( (*var_3 & 3) != 0 )
{
var_5 = 2;
if ( (*var_3 & 3) == 3 )
{
if ( var_1 == 1 )
return var_0;
v8 = v5 >> 3;
var_5 = var_3[1] & 0x3F;
if ( var_4 >= 0 )
goto LABEL_5;
}
else
{
v8 = v5 >> 3;
if ( var_4 >= 0 )
goto LABEL_5;
}
}
else
{
var_5 = 1;
v8 = v5 >> 3;
if ( var_4 >= 0 )
{
LABEL_5:
if ( (var_4 & 0x60) == 96 )
var_7 = 0xBB80u / (100 >> (v8 & 1));
else
var_7 = 0x2BF200u / dword_10F00[v8 & 3];
goto LABEL_7;
}
}
var_7 = (48000 << (v8 & 3)) / 0x190u;
LABEL_7:
var_0 = var_5 * var_7;
if ( (25 * var_0) >= 0x23281 )
return 0LL;
}
return var_0;
}
Q:[var_3,var_1,var_0,var_4,var_5,var_7,sub_3A10,] | A:{'var_3': 'data', 'var_1': 'len', 'var_0': 'nsamples', 'var_4': 'toc', 'var_5': 'nframes', 'var_7': 'frame_size', 'sub_3A10': 'opus_frame_duration'} | ||
1fa4ad850e9cd395b49c1e4d19b0e93e | sub_734B0 |
void sub_734B0()
{
__int64 v0;
v0 = MR_dummy_identify_function(&loc_735D0);
__asm { jmp rax }
}
Q:[sub_734B0,] | A:{'sub_734B0': 'mdb__declarative_analyser_module23'} | ||
1ec75964f6d04edaf69d19b89d78a03d | sub_71C0 |
__int64 __fastcall sub_71C0(__int64 a1, __int64 a2, const char *a3)
{
__int64 i;
if ( !a2 )
return 0xFFFFFFFFLL;
for ( i = 0LL; i != a2; ++i )
{
if ( !strcmp(*(a1 + 8 * i), a3) )
return (i + 1);
}
return 0xFFFFFFFFLL;
}
Q:[sub_71C0,] | A:{'sub_71C0': 'bluealsa_dev_get_id'} | ||
a273d67eedfb321bfada8b67419a1cc6 | sub_5110 |
__int64 __fastcall sub_5110(__int64 var_5, __int64 a2, const void *var_0, const char *var_6)
{
__int64 v5;
FILE *v6;
const char *v7;
FILE *v8;
if ( !sub_4570(var_0) )
return 0LL;
v7 = (v5 + 5);
v8 = v6;
if ( sub_3DF0((v5 + 5), "help") )
return sub_50E0(v8);
if ( sub_3DF0(v7, "discover") )
return sub_4620(var_5, var_6);
return 4294967201LL;
}
Q:[var_5,var_0,var_6,sub_4570,sub_5110,] | A:{'var_5': 'data', 'var_0': 'command', 'var_6': 'args', 'sub_4570': 'spa_strstartswith', 'sub_5110': 'adp_command'} | ||
81df657e20b2894365abe554051995c4 | sub_4380 |
__int64 __fastcall sub_4380(__int64 *var_3)
{
__int64 v1;
int v2;
unsigned int v3;
__int64 var_1;
const char *vars8;
unsigned __int64 vars28;
vars28 = __readfsqword(0x28u);
dbus_error_init(&var_1);
v1 = dbus_bus_get_private(1LL, &var_1);
*var_3 = v1;
if ( !v1 )
{
__syslog_chk(3LL, 1LL, "Failed to connect to system bus: %s\n", vars8);
goto LABEL_7;
}
if ( dbus_bus_request_name(v1, "org.freedesktop.RealtimeKit1", 4LL, &var_1) < 0 )
{
__syslog_chk(3LL, 1LL, "Failed to register name on bus: %s\n", vars8);
LABEL_7:
dbus_error_free(&var_1);
return -5;
}
v2 = dbus_connection_register_object_path(*var_3, "/org/freedesktop/RealtimeKit1", &unk_10A20, 0LL);
v3 = 0;
if ( !v2 )
{
__fprintf_chk(
stderr,
1LL,
"Assertion %s failed at %s:%u, function %s(). Aborting.\n",
"dbus_connection_register_object_path(*c, RTKIT_OBJECT_PATH, &vtable, NULL)",
"../rtkit-0.13/rtkit-daemon.c",
1478LL,
"setup_dbus");
abort();
}
return v3;
}
Q:[var_3,var_1,sub_4380,] | A:{'var_3': 'c', 'var_1': 'error', 'sub_4380': 'setup_dbus'} | ||
078f41ab98e9c1a882827bef57dbd4de | sub_D750 |
unsigned __int64 __fastcall sub_D750(_DWORD *var_2, int var_1)
{
unsigned __int64 result;
char v3;
__int64 v4;
result = (var_1 - 66);
switch ( var_1 )
{
case 66:
var_2[176] = 1;
goto LABEL_11;
case 67:
var_2[175] = 1;
goto LABEL_11;
case 68:
var_2[174] = 1;
goto LABEL_11;
case 69:
var_2[174] = 1;
goto LABEL_4;
case -128:
case -125:
var_2[178] = 1;
goto LABEL_8;
case -126:
var_2[179] = 1;
goto LABEL_9;
case -124:
var_2[177] = 1;
goto LABEL_9;
case -123:
var_2[177] = 1;
goto LABEL_4;
default:
if ( var_1 == 125 || (result = (var_1 - 69), ((var_1 - 69) & 0xBF) == 0) )
LABEL_4:
var_2[180] = 1;
if ( var_1 == 78 )
{
var_2[181] = 1;
return result;
}
LABEL_8:
if ( var_1 > 0x4Du )
{
LABEL_9:
result = (var_1 + 120);
switch ( var_1 )
{
case -120:
case -119:
case -118:
case -115:
case -48:
case -47:
case -46:
case -42:
case -41:
case -40:
case -36:
case -35:
case -34:
case -30:
case -29:
case -28:
case -22:
case -21:
case -20:
goto LABEL_10;
case -117:
case -116:
case -114:
case -113:
case -112:
case -111:
case -110:
case -109:
case -108:
case -107:
case -106:
case -105:
case -104:
case -103:
case -102:
case -101:
case -100:
case -99:
case -98:
case -97:
case -96:
case -95:
case -94:
case -93:
case -92:
case -91:
case -90:
case -89:
case -88:
case -87:
case -86:
case -85:
case -84:
case -83:
case -82:
case -81:
case -80:
case -79:
case -78:
case -77:
case -76:
case -75:
case -74:
case -73:
case -72:
case -71:
case -70:
case -69:
case -68:
case -67:
case -66:
case -65:
case -64:
case -63:
case -62:
case -61:
case -60:
case -59:
case -58:
case -57:
case -56:
case -55:
case -54:
case -53:
case -52:
case -51:
case -50:
case -49:
case -45:
case -44:
case -43:
case -39:
case -38:
case -37:
case -33:
case -32:
case -31:
case -27:
case -26:
case -25:
case -24:
case -23:
goto LABEL_11;
default:
goto LABEL_12;
}
}
if ( var_1 <= 0x21u )
goto LABEL_36;
result = (var_1 - 34);
switch ( var_1 )
{
case '"':
case '#':
case '%':
case ')':
case 'F':
case 'G':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
LABEL_10:
var_2[182] = 1;
break;
default:
break;
}
LABEL_11:
if ( var_1 <= 0x42u )
{
LABEL_36:
if ( var_1 <= 0x20u )
goto LABEL_21;
v4 = 0x208000001LL;
result = (var_1 - 33);
if ( !_bittest64(&v4, result) )
goto LABEL_21;
goto LABEL_25;
}
LABEL_12:
v3 = var_1 - 122;
if ( (var_1 - 122) <= 8u )
{
result = 1LL << v3;
if ( ((1LL << v3) & 0x111) != 0 )
LABEL_25:
var_2[183] = 1;
}
if ( var_1 > 0x86u )
return result;
if ( var_1 > 0x7Au )
{
result = 1LL << (var_1 - 123);
if ( (result & 0x911) == 0 )
return result;
goto LABEL_18;
}
LABEL_21:
if ( var_1 == 62 || var_1 == 67 )
LABEL_18:
var_2[184] = 1;
return result;
}
}
Q:[var_2,var_1,sub_D750,] | A:{'var_2': 'stash', 'var_1': 'value', 'sub_D750': 'stash_intel_cache'} | ||
709b10928765580c68ac2aa23e358e56 | sub_EBF0 |
__int64 __fastcall sub_EBF0(char *var_0)
{
return sub_E980(var_0, 0, 37);
}
Q:[var_0,sub_E980,sub_EBF0,] | A:{'var_0': 'line', 'sub_E980': 'MDECODE_decode_quoted_printable', 'sub_EBF0': 'MDECODE_decode_multipart'} | ||
f575438a6aadc5ce7d508c55e20a4fcc | start |
__int64 start()
{
return ev_default_loop_ptr;
}
Q:[start,] | A:{'start': 'ev_default_loop_uc_'} | ||
2e44657ab7d14e90b40e128b84eec6d9 | nbr_find_peerid |
__int64 __fastcall nbr_find_peerid(int var_2)
{
char var_3[232];
int v3;
unsigned __int64 v4;
v4 = __readfsqword(0x28u);
v3 = var_2;
return sub_339B0(var_3);
}
Q:[var_2,var_3,sub_339B0,] | A:{'var_2': 'peerid', 'var_3': 'n', 'sub_339B0': 'nbr_pid_head_RB_FIND'} | ||
6fee3f97de7528d36342d5f27873a03b | sub_2475D0 |
__int64 __fastcall sub_2475D0(__int64 var_2, unsigned int var_1, __int64 *var_3)
{
__int64 result;
__int64 v6;
__int64 v7;
__int64 v8;
__int64 v9;
__int64 v10;
__int64 v11;
__int64 v12;
__int64 v13;
__int64 v14;
__int64 v15;
__int64 v16;
const char *v17;
__int64 v18;
__int64 v19;
__int64 v20;
int v21;
unsigned __int64 v22;
v22 = __readfsqword(0x28u);
if ( (var_1 & 0xFFFFFF8F) != 0 )
return _ndr_pull_error(
var_2,
20LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9732",
"Invalid fn pull flags 0x%x",
var_1);
if ( (var_1 & 0x10) != 0 )
{
ndr_zero_memory(var_3 + 2, 16LL);
if ( (*var_2 & 0x100000) != 0 )
{
v9 = *(var_2 + 128);
if ( !v9 )
{
v19 = talloc_named_const(var_2, 0LL, "talloc_new: librpc/gen_ndr/ndr_lsa.c:9737");
*(var_2 + 128) = v19;
v9 = v19;
if ( !v19 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9737",
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n");
}
v10 = talloc_named_const(v9, 20LL, "librpc/gen_ndr/ndr_lsa.c:9737");
*var_3 = v10;
v11 = v10;
if ( !v10 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9737",
"Alloc %s failed: %s\n",
"r->in.handle",
"librpc/gen_ndr/ndr_lsa.c:9737");
v12 = *(var_2 + 128);
if ( (*var_2 & 0x100000) != 0 )
*(var_2 + 128) = v10;
}
else
{
v12 = *(var_2 + 128);
v11 = *var_3;
}
result = ndr_pull_policy_handle(var_2, 256LL, v11);
if ( result )
return result;
if ( (*var_2 & 0x100000) != 0 )
{
if ( !v12 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9742",
"NDR_PULL_SET_MEM_CTX(NULL): %s\n");
*(var_2 + 128) = v12;
}
result = ndr_pull_generic_ptr(var_2, &v21);
if ( result )
return result;
v13 = *(var_2 + 128);
if ( v21 )
{
if ( !v13 )
{
v20 = talloc_named_const(var_2, 0LL, "talloc_new: librpc/gen_ndr/ndr_lsa.c:9745");
v17 = "librpc/gen_ndr/ndr_lsa.c:9745";
*(var_2 + 128) = v20;
v13 = v20;
if ( !v20 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
v17,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n");
}
v14 = talloc_named_const(v13, 16LL, "librpc/gen_ndr/ndr_lsa.c:9745");
var_3[1] = v14;
if ( !v14 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9745",
"Alloc %s failed: %s\n",
"r->in.name",
"librpc/gen_ndr/ndr_lsa.c:9745");
v13 = *(var_2 + 128);
*(var_2 + 128) = v14;
result = ndr_pull_lsa_String(var_2, 768LL, v14);
if ( result )
return result;
if ( !v13 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9753",
"NDR_PULL_SET_MEM_CTX(NULL): %s\n");
*(var_2 + 128) = v13;
}
else
{
var_3[1] = 0LL;
if ( !v13 )
{
v16 = talloc_named_const(var_2, 0LL, "talloc_new: librpc/gen_ndr/ndr_lsa.c:9755");
v17 = "librpc/gen_ndr/ndr_lsa.c:9755";
*(var_2 + 128) = v16;
v13 = v16;
if ( !v16 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
v17,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n");
}
}
v15 = talloc_named_const(v13, 16LL, "librpc/gen_ndr/ndr_lsa.c:9755");
var_3[2] = v15;
if ( !v15 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9755",
"Alloc %s failed: %s\n",
"r->out.sids",
"librpc/gen_ndr/ndr_lsa.c:9755");
ndr_zero_memory(v15, 16LL);
}
result = 0LL;
if ( (var_1 & 0x20) == 0 )
return result;
v6 = *(var_2 + 128);
if ( (*var_2 & 0x100000) != 0 )
{
if ( !v6 )
{
v18 = talloc_named_const(var_2, 0LL, "talloc_new: librpc/gen_ndr/ndr_lsa.c:9766");
v17 = "librpc/gen_ndr/ndr_lsa.c:9766";
*(var_2 + 128) = v18;
v6 = v18;
if ( !v18 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
v17,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n");
}
v7 = talloc_named_const(v6, 16LL, "librpc/gen_ndr/ndr_lsa.c:9766");
var_3[2] = v7;
v8 = v7;
if ( !v7 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9766",
"Alloc %s failed: %s\n",
"r->out.sids",
"librpc/gen_ndr/ndr_lsa.c:9766");
v6 = *(var_2 + 128);
if ( (*var_2 & 0x100000) != 0 )
*(var_2 + 128) = v7;
}
else
{
v8 = var_3[2];
}
result = ndr_pull_lsa_SidArray(var_2, 768LL, v8);
if ( !result )
{
if ( (*var_2 & 0x100000) != 0 )
{
if ( !v6 )
return _ndr_pull_error(
var_2,
12LL,
"ndr_pull_lsa_EnumAccountsWithUserRight",
"librpc/gen_ndr/ndr_lsa.c:9771",
"NDR_PULL_SET_MEM_CTX(NULL): %s\n",
"librpc/gen_ndr/ndr_lsa.c:9771");
*(var_2 + 128) = v6;
}
return ndr_pull_NTSTATUS(var_2, 256LL, var_3 + 3);
}
return result;
}
Q:[var_2,var_1,var_3,sub_2475D0,] | A:{'var_2': 'ndr', 'var_1': 'flags', 'var_3': 'r', 'sub_2475D0': 'ndr_pull_lsa_EnumAccountsWithUserRight'} | ||
4f35eb929f451c5c64d429fb7dc53016 | sub_8EA40 |
__int64 __fastcall sub_8EA40(__int64 var_1, __int64 var_2, __int64 var_3)
{
if ( epoxy_glVertexAttribL2ui64NV != sub_8EA40 )
return epoxy_glVertexAttribL2ui64NV(var_1, var_2, var_3);
epoxy_glVertexAttribL2ui64NV = sub_8EA30();
return epoxy_glVertexAttribL2ui64NV(var_1, var_2, var_3);
}
Q:[var_1,var_2,var_3,sub_8EA40,] | A:{'var_1': 'index', 'var_2': 'x', 'var_3': 'y', 'sub_8EA40': 'epoxy_glVertexAttribL2ui64NV_global_rewrite_ptr'} | ||
d5cd5ca84cc8e9e1df4f71aecaf2ab3c | sub_F250 |
double __fastcall sub_F250(__int64 var_0)
{
return g_slice_free1(48LL, var_0);
}
Q:[var_0,sub_F250,] | A:{'var_0': 'dat', 'sub_F250': 'throttle_free'} | ||
5612329ae02ee61566fd77bbfd35d11f | sub_B230 |
__int64 __fastcall sub_B230(__int64 var_5, const char *var_8, const char *var_12, const char *var_13, int var_1)
{
size_t v5;
unsigned int v6;
const char *v7;
const char *v8;
__int64 v9;
__int64 result;
unsigned int var_11;
void *var_10;
v5 = var_1;
v6 = var_1 + 12;
v7 = sub_AEB0(var_4);
__sprintf_chk(var_5, 1LL, -1LL, v8, v7);
anthy_trie_find_next_key(anthy_private_tt_dic, var_5, v6);
do
{
if ( strncmp((var_5 + 2), var_8, v5) || *(var_5 + v5 + 2) != 32 )
break;
v9 = anthy_trie_find(anthy_private_tt_dic, var_5);
if ( v9 )
{
var_10 = v9;
var_11 = sub_B1A0(v9, var_12, var_13);
free(var_10);
result = var_11;
if ( var_11 )
return result;
}
}
while ( anthy_trie_find_next_key(anthy_private_tt_dic, var_5, v6) );
return 0LL;
}
Q:[var_5,var_8,var_12,var_13,var_1,var_11,var_10,var_4,sub_B1A0,sub_B230,] | A:{'var_5': 'idx_buf', 'var_8': 'yomi', 'var_12': 'word', 'var_13': 'wt_name', 'var_1': 'yomi_len', 'var_11': 'found', 'var_10': 'v', 'var_4': 'dic_util_encoding', 'sub_B1A0': 'dup_word_check', 'sub_B230': 'find_same_word'} | ||
0f24801bebc57c4e3514aa3e24bdf3b9 | sub_14A110 |
__int64 __fastcall sub_14A110(__int64 a1, _QWORD *a2)
{
__int64 result;
result = ndr_push_align(a1, 5LL);
if ( !result )
{
result = ndr_push_unique_ptr(a1, *a2);
if ( !result )
{
result = ndr_push_trailer_align(a1, 5LL);
if ( !result )
{
if ( *a2 )
return ndr_push_security_token(a1, 256LL);
}
}
}
return result;
}
Q:[sub_14A110,] | A:{'sub_14A110': 'ndr_push_irpc_creds'} | ||
8fde0cb05c33670d41317bbf89916ada | sub_143B0 |
__int64 __fastcall sub_143B0(__int64 a1, Window var_1, Atom var_2, Atom var_3, unsigned __int64 *a5, _QWORD *var_5)
{
return sub_14060(a1, var_1, var_2, var_3, a5, var_5, 32);
}
Q:[var_1,var_2,var_3,var_5,sub_14060,sub_143B0,] | A:{'var_1': 'win', 'var_2': 'atom', 'var_3': 'type', 'var_5': 'value', 'sub_14060': 'getValue', 'sub_143B0': 'getValue'} | ||
74257e70116050d6bd75db567dbc9400 | sub_1D990 |
__int64 sub_1D990()
{
char *var_0;
char *v1;
char *var_3;
unsigned int v3;
bool v4;
char *var_10;
signed __int64 v6;
int v8;
unsigned int v9;
char **v10;
const char *v11;
var_0 = secure_getenv("P11_KIT_STRICT");
if ( var_0 && *var_0 )
var_1 = 1;
v1 = getenv("P11_KIT_DEBUG");
var_3 = v1;
if ( v1 )
{
v3 = 254;
if ( strcmp(v1, "all") )
{
v4 = strcmp(v1, "help") == 0;
v3 = !v4;
if ( v4 )
{
v10 = &off_36BF0;
fwrite("Supported debug values:", 1uLL, 0x17uLL, stderr);
v11 = "lib";
do
{
v10 += 2;
__fprintf_chk(stderr, 1LL, " %s", v11);
v11 = *(v10 - 2);
}
while ( v11 );
fputc(10, stderr);
}
else
{
v3 = 0;
if ( *v1 )
{
while ( 1 )
{
var_10 = strpbrk(var_3, ":;, \t");
if ( !var_10 )
var_10 = &var_3[strlen(var_3)];
v6 = var_10 - var_3;
if ( var_10 - var_3 == 3 )
break;
switch ( v6 )
{
case 4LL:
if ( !memcmp("conf", var_3, 4uLL) )
v3 |= 4u;
if ( !memcmp("tool", var_3, 4uLL) )
v3 |= 0x40u;
break;
case 5LL:
if ( !memcmp("proxy", var_3, 5uLL) )
v3 |= 0x10u;
if ( !memcmp("trust", var_3, 5uLL) )
v3 |= 0x20u;
break;
case 3LL:
v8 = *var_3;
LABEL_29:
if ( v8 == 114 && var_3[1] == 112 )
{
v9 = v3;
if ( var_3[2] == 99 )
{
LOBYTE(v9) = v3 | 0x80;
v3 = v9;
}
}
break;
}
if ( *var_10 )
{
var_3 = var_10 + 1;
if ( var_10[1] )
continue;
}
return v3;
}
v8 = *var_3;
if ( v8 == 108 && var_3[1] == 105 && var_3[2] == 98 )
v3 |= 2u;
if ( v8 == 117 && var_3[1] == 114 && var_3[2] == 105 )
v3 |= 8u;
goto LABEL_29;
}
}
}
}
else
{
return 0;
}
return v3;
}
Q:[var_0,var_3,var_10,var_1,sub_1D990,] | A:{'var_0': 'env', 'var_3': 'p', 'var_10': 'q', 'var_1': 'debug_strict', 'sub_1D990': 'parse_environ_flags'} | ||
b3778fb173f8e4f3c0cf5508f09db98a | sub_3E90 |
__int64 __fastcall sub_3E90(int var_0)
{
return ((var_0 - 4162) > 7) + 2;
}
Q:[var_0,sub_3E90,] | A:{'var_0': 'rc', 'sub_3E90': 'check_err'} | ||
ea46df89fa553f6e27bb3918d50679d9 | sub_2E9C0 |
const char *__fastcall sub_2E9C0(__int64 var_3, __int64 var_1)
{
__int64 cmdlang;
const char *var_2;
int v4;
__int64 v5;
__int64 v6;
cmdlang = ipmi_cmdinfo_get_cmdlang(var_1);
ipmi_cmdlang_cmd_info_get(var_1);
var_2 = ipmi_fru_write(var_3, sub_2E910, var_1);
if ( var_2 )
{
v4 = var_2;
ipmi_cmdlang_cmd_info_put(var_1);
*(cmdlang + 60) = v4;
v5 = *(cmdlang + 88);
v6 = *(cmdlang + 80);
*(cmdlang + 64) = "Unable to write FRU";
ipmi_fru_get_name(var_3, v6, v5);
var_2 = "cmd_fru.c(fru_write)";
*(cmdlang + 96) = "cmd_fru.c(fru_write)";
}
return var_2;
}
Q:[var_3,var_1,var_2,sub_2E9C0,] | A:{'var_3': 'fru', 'var_1': 'cmd_info', 'var_2': 'rv', 'sub_2E9C0': 'fru_write'} | ||
5771184e7399bd57485a023c0c3fdedd | sub_D9D0 |
unsigned __int64 __fastcall sub_D9D0(__int64 var_2, int var_46)
{
bool v3;
size_t v4;
char *v5;
char v6;
char *v7;
size_t i;
char v9;
__int64 v10;
__int64 v11;
__int64 v12;
char *v13;
size_t var_19;
char *v15;
int v16;
__int64 v17;
__int64 v18;
int v19;
const char **v20;
int v21;
const char **v22;
char *v23;
int v24;
__int64 v25;
__int64 v26;
int j;
char *v28;
int v29;
__int64 v30;
__int64 v31;
const char *v32;
void (*v33)(__int64, const char *, ...);
__int64 v35;
__int64 v36;
int var_4;
char *var_15;
const char *v39;
const char *v40;
int v41;
int v42;
char var_6;
char v45;
char var_3[520];
unsigned __int64 v47;
v47 = __readfsqword(0x28u);
v3 = *(var_2 + 1114) == 0;
var_3[0] = 0;
if ( v3 )
{
var_4 = 2;
v5 = &var_6;
}
else
{
var_6 = 45;
v4 = 0LL;
v5 = &v45;
while ( strlen((var_2 + 1114)) > v4 )
{
v6 = *(var_2 + v4 + 1114);
++v5;
++v4;
*(v5 - 1) = v6;
}
*(var_2 + 1114) = 0;
var_4 = 0;
}
if ( *(var_2 + 1093) )
{
*v5 = 43;
v7 = v5 + 1;
for ( i = 0LL; strlen((var_2 + 1093)) > i; ++i )
{
v9 = *(var_2 + i + 1093);
*v7++ = v9;
}
*(var_2 + 1093) = 0;
v5 = v7;
var_4 = 1;
}
v10 = *(var_2 + 1136);
*(var_2 + 1156) = 0LL;
if ( v10 )
{
v11 = *(var_2 + 1144);
if ( !v11 )
{
if ( var_4 != 1 )
*v5++ = 43;
*v5 = 107;
var_15 = v5 + 1;
v35 = (*(var_45 + 2120))(var_3, v10, 512LL);
v36 = (*(var_45 + 2120))(var_3, " ", 512LL) + v35;
(*(var_45 + 8))(*(var_2 + 1136), "irc", ".././irc.mod/mode.c", 101LL);
v12 = *(var_2 + 1152);
var_19 = 511 - v36;
*(var_2 + 1136) = 0LL;
if ( !v12 )
{
LABEL_18:
v11 = *(var_2 + 1144);
if ( v11 )
goto LABEL_19;
goto LABEL_62;
}
v13 = v5 + 1;
v15 = &var_3[v36];
if ( var_19 <= 0xB )
{
v11 = *(var_2 + 1144);
if ( v11 )
goto LABEL_19;
LABEL_62:
var_4 = 1;
goto LABEL_21;
}
LABEL_17:
*v13 = 108;
var_15 = v13 + 1;
v16 = __sprintf_chk(v15, 1LL, -1LL, "%d ", v12);
*(var_2 + 1152) = 0;
var_19 -= v16;
goto LABEL_18;
}
v12 = *(var_2 + 1152);
if ( v12 )
{
LABEL_14:
if ( var_4 == 1 )
{
v13 = v5;
}
else
{
*v5 = 43;
v13 = v5 + 1;
}
var_19 = 511LL;
v15 = var_3;
goto LABEL_17;
}
goto LABEL_65;
}
v12 = *(var_2 + 1152);
if ( v12 )
goto LABEL_14;
v11 = *(var_2 + 1144);
var_15 = v5;
var_19 = 511LL;
if ( v11 )
{
LABEL_65:
var_19 = 511LL;
if ( !var_4 )
goto LABEL_20;
var_15 = v5;
LABEL_19:
*var_15 = 45;
v5 = var_15 + 1;
LABEL_20:
*v5 = 107;
var_15 = v5 + 1;
v17 = (*(var_45 + 2120))(var_3, v11, 512LL);
v18 = (*(var_45 + 2120))(var_3, " ", 512LL) + v17;
(*(var_45 + 8))(*(var_2 + 1144), "irc", ".././irc.mod/mode.c", 131LL);
var_4 = 0;
var_19 -= v18;
*(var_2 + 1144) = 0LL;
}
LABEL_21:
v19 = var_26;
if ( var_26 > 0 )
{
v20 = (var_2 + 1168);
v21 = 0;
v22 = (var_2 + 1168);
do
{
v41 = *(v22 + 2);
if ( (v41 & 2) != 0 )
{
v39 = *v22;
if ( strlen(*v22) < var_19 )
{
v23 = var_15;
if ( var_4 )
{
*var_15 = 45;
v23 = var_15 + 1;
}
LOBYTE(v24) = 98;
if ( (v41 & 8) == 0 )
{
LOBYTE(v24) = 111;
if ( (v41 & 4) == 0 )
{
LOBYTE(v24) = 104;
if ( (v41 & 0x80u) == 0 )
{
LOBYTE(v24) = 101;
if ( (v41 & 0x20) == 0 )
v24 = (v41 & 0x40) == 0 ? 118 : 73;
}
}
}
*v23 = v24;
var_15 = v23 + 1;
v25 = (*(var_45 + 2120))(var_3, v39, 512LL);
v26 = (*(var_45 + 2120))(var_3, " ", 512LL) + v25;
(*(var_45 + 8))(*v22, "irc", ".././irc.mod/mode.c", 150LL);
*v22 = 0LL;
var_19 -= v26;
var_4 = 0;
*(v22 + 2) = 0;
v19 = var_26;
}
}
++v21;
v22 += 2;
}
while ( v21 < v19 );
if ( v19 > 0 )
{
for ( j = 0; j < v19; ++j )
{
v42 = *(v20 + 2);
if ( (v42 & 1) != 0 )
{
v40 = *v20;
if ( strlen(*v20) < var_19 )
{
v28 = var_15;
if ( var_4 != 1 )
{
*var_15 = 43;
v28 = var_15 + 1;
}
LOBYTE(v29) = 98;
if ( (v42 & 8) == 0 )
{
LOBYTE(v29) = 111;
if ( (v42 & 4) == 0 )
{
LOBYTE(v29) = 104;
if ( (v42 & 0x80u) == 0 )
{
LOBYTE(v29) = 101;
if ( (v42 & 0x20) == 0 )
v29 = (v42 & 0x40) == 0 ? 118 : 73;
}
}
}
*v28 = v29;
var_15 = v28 + 1;
v30 = (*(var_45 + 2120))(var_3, v40, 512LL);
v31 = (*(var_45 + 2120))(var_3, " ", 512LL) + v30;
(*(var_45 + 8))(*v20, "irc", ".././irc.mod/mode.c", 171LL);
*v20 = 0LL;
var_19 -= v31;
var_4 = v42 & 1;
*(v20 + 2) = 0;
v19 = var_26;
}
}
v20 += 2;
}
}
}
v3 = var_3[0] == 0;
*var_15 = 0;
if ( !v3 )
{
if ( var_19 != 511 && var_3[510 - v14] == 32 )
var_3[510 - v14] = 0;
(*(var_45 + 2120))(&var_6, " ", 512LL);
(*(var_45 + 2120))(&var_6, var_3, 512LL);
}
if ( var_6 )
{
v32 = (var_2 + 153);
v33 = *(var_45 + 552);
if ( var_46 == 1 )
v33(32758LL, "MODE %s %s\n", v32, &var_6);
else
v33(32755LL, "MODE %s %s\n", v32, &var_6);
}
return v47 - __readfsqword(0x28u);
}
Q:[var_2,var_46,var_19,var_4,var_15,var_6,var_3,var_45,var_26,sub_D9D0,] | A:{'var_2': 'chan', 'var_46': 'pri', 'var_19': 'postsize', 'var_4': 'plus', 'var_15': 'p', 'var_6': 'out', 'var_3': 'post', 'var_45': 'global', 'var_26': 'modesperline', 'sub_D9D0': 'flush_mode'} | ||
bc15e5e7e64cc62f8f05653efd2f1503 | sub_105190 |
__int64 __fastcall sub_105190(__int64 var_3, int var_0)
{
unsigned int var_1;
int var_2;
int var_4;
if ( var_0 < 0 )
return 0LL;
var_1 = -2 - var_0;
var_2 = fields_num(var_3);
if ( var_2 <= 0 )
return 0LL;
var_4 = 0;
while ( fields_level(var_3, var_4) != var_1 )
{
if ( var_2 == ++var_4 )
return 0LL;
}
return var_1;
}
Q:[var_3,var_0,var_1,var_2,var_4,sub_105190,] | A:{'var_3': 'f', 'var_0': 'level', 'var_1': 'targetlevel', 'var_2': 'n', 'var_4': 'i', 'sub_105190': 'original_items'} | ||
26feaf4add8e5f1448f924e15c0370d7 | sub_55E0 |
__int64 __fastcall sub_55E0(unsigned __int64 var_1, unsigned __int64 a2)
{
__int64 var_0;
__int64 var_2;
__int64 v5;
__int64 var_5;
__int64 v7;
__int64 v8;
__int64 var_8;
__m128i *var_9;
__int64 *v11;
int v12;
__int64 v13;
__int64 v14;
__int64 **v15;
var_0 = ldb_module_get_ctx(var_1);
var_2 = ldb_request_get_control(a2, "1.2.840.113556.1.4.1413");
v5 = *(a2 + 48);
var_5 = 0LL;
v7 = var_2;
if ( v5 )
{
while ( 1 )
{
v8 = *(v5 + 8LL * var_5);
if ( !v8 )
break;
if ( *(v8 + 8) && v8 != v7 )
{
ldb_asprintf_errstring(var_0, "Unsupported critical extension %s", *v8);
return 12LL;
}
var_5 = (var_5 + 1);
}
}
if ( !*(a2 + 80) || !*(a2 + 72) )
{
ldb_set_errstring(var_0, "Invalid timeout settings");
return 3LL;
}
var_8 = ldb_handle_get_event_context(*(a2 + 88), v7, var_5);
var_9 = _talloc_zero(var_0, 104LL, "struct ldb_kv_context");
v11 = var_9;
if ( !var_9 )
{
ldb_error_at(var_0, 1LL, "ldb out of memory", "../../ldb_key_value/ldb_kv.c", 2055LL);
return 1LL;
}
*var_9 = _mm_unpacklo_epi64(var_1, a2);
if ( !_tevent_add_timer(
var_8,
var_9,
0LL,
0LL,
sub_7940,
var_9,
"ldb_kv_callback",
"../../ldb_key_value/ldb_kv.c:2064") )
{
_talloc_free(v11, "../../ldb_key_value/ldb_kv.c:2066");
return 1LL;
}
v12 = *(a2 + 72);
if ( v12 <= 0 )
{
v13 = 0LL;
}
else
{
v13 = *(a2 + 80) + v12;
v14 = _tevent_add_timer(
var_8,
v11,
v13,
0LL,
sub_58E0,
v11,
"ldb_kv_timeout",
"../../ldb_key_value/ldb_kv.c:2074");
v11[11] = v14;
if ( !v14 )
{
_talloc_free(v11, "../../ldb_key_value/ldb_kv.c:2076");
return 1LL;
}
}
v11[2] = v13;
v11[3] = 0LL;
v15 = talloc_named_const(a2, 8LL, "struct ldb_kv_req_spy");
v11[6] = v15;
if ( v15 )
{
*v15 = v11;
_talloc_set_destructor(v15, sub_4AE0);
return 0LL;
}
else
{
_talloc_free(v11, "../../ldb_key_value/ldb_kv.c:2087");
return 1LL;
}
}
Q:[var_1,var_0,var_2,var_5,var_8,var_9,sub_55E0,] | A:{'var_1': 'module', 'var_0': 'ldb', 'var_2': 'control_permissive', 'var_5': 'i', 'var_8': 'ev', 'var_9': 'ac', 'sub_55E0': 'ldb_kv_handle_request'} | ||
7354ad243a42568362a6471f3c49e712 | QueryInterfaces |
char *QueryInterfaces()
{
return a5ovg5oag;
}
Q:[] | A:{} | ||
6d9210768c746d3dcecf96bd6746bf63 | tagEntry_to_HV |
__int64 __fastcall tagEntry_to_HV(__int64 a1)
{
__int64 *addr;
__int64 v2;
__int64 v3;
__int64 v4;
_QWORD *v5;
__int64 v6;
__int64 v7;
_QWORD *v8;
__int64 v9;
__int64 v10;
__int64 v11;
_QWORD *v12;
__int64 v13;
_QWORD *v14;
__int64 v15;
__int64 *v16;
__int64 v17;
__int64 v18;
__int64 v19;
unsigned __int16 v20;
__int64 i;
_QWORD *v22;
_QWORD *v23;
const char *v24;
size_t v25;
_QWORD *v27;
__int64 v28;
__int64 var_26;
__int64 v30;
addr = __tls_get_addr(&PL_current_context_tlsind);
v2 = sub_4470(*addr, 12LL);
if ( *a1 )
{
v3 = Perl_newSVpv(*addr, *a1, 0LL);
if ( !Perl_hv_common_key_len(*addr, v2, "name", 4LL, 36LL, v3, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store name elem");
}
v4 = *(a1 + 8);
if ( v4 )
{
v5 = __tls_get_addr(&PL_current_context_tlsind);
v6 = Perl_newSVpv(*v5, v4, 0LL);
if ( !Perl_hv_common_key_len(*v5, v2, "file", 4LL, 36LL, v6, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store file elem");
}
v7 = *(a1 + 16);
if ( v7 )
{
v8 = __tls_get_addr(&PL_current_context_tlsind);
v9 = Perl_newSVpv(*v8, v7, 0LL);
if ( !Perl_hv_common_key_len(*v8, v2, "addressPattern", 14LL, 36LL, v9, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store address/pattern elem");
}
v10 = *(a1 + 24);
if ( v10 )
{
v27 = __tls_get_addr(&PL_current_context_tlsind);
v28 = Perl_newSViv(*v27, v10);
if ( !Perl_hv_common_key_len(*v27, v2, "addressLineNumber", 17LL, 36LL, v28, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store lineNumber elem");
}
v11 = *(a1 + 32);
if ( v11 )
{
v12 = __tls_get_addr(&PL_current_context_tlsind);
v13 = Perl_newSVpv(*v12, v11, 0LL);
if ( !Perl_hv_common_key_len(*v12, v2, "kind", 4LL, 36LL, v13, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store kind elem");
}
v14 = __tls_get_addr(&PL_current_context_tlsind);
v15 = Perl_newSViv(*v14, *(a1 + 40));
if ( !Perl_hv_common_key_len(*v14, v2, "fileScope", 9LL, 36LL, v15, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store filescope elem");
v16 = __tls_get_addr(&PL_current_context_tlsind);
v17 = sub_4470(*v16, 12LL);
v18 = Perl_sv_2mortal(*v16, v17);
v19 = Perl_newRV(*v16, v18);
if ( !Perl_hv_common_key_len(*v16, v2, "extension", 9LL, 36LL, v19, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store extension elem");
v20 = *(a1 + 48);
for ( i = 0LL; v20 > i; ++i )
{
v22 = (16 * i + *(a1 + 56));
if ( *v22 )
{
var_26 = v22[1];
if ( var_26 )
{
v23 = __tls_get_addr(&PL_current_context_tlsind);
v30 = Perl_newSVpv(*v23, var_26, 0LL);
v24 = *(*(a1 + 56) + 16 * i);
v25 = strlen(v24);
if ( !Perl_hv_common_key_len(*v23, v18, v24, v25, 36LL, v30, 0LL) )
Perl_warn_nocontext("tagEntry_to_HV: failed to store kind elem");
v20 = *(a1 + 48);
}
}
}
return v2;
}
Q:[var_26,sub_4470,] | A:{'var_26': 'sv', 'sub_4470': 'Perl_newSV_type'} | ||
b4c998c54d5e95c51fc5c9aff2519484 | sub_B590 |
__int64 __fastcall sub_B590(unsigned __int8 **var_1)
{
unsigned __int8 *var_0;
__int64 var_2;
unsigned __int8 *v3;
int v4;
int v5;
int v6;
bool v7;
unsigned __int8 v8;
unsigned __int8 v9;
int v10;
int v11;
var_0 = *var_1;
var_2 = **var_1;
if ( **var_1 )
{
v3 = var_0 + 1;
if ( var_2 <= 0x7F )
{
*var_1 = v3;
return var_2;
}
*var_1 = v3;
if ( (var_2 - 128) <= 0x3F )
return 0xFFFFFFFFLL;
if ( var_2 <= 0xDF )
{
v4 = var_0[1];
if ( (var_0[1] & 0xC0) == 0x80 )
{
*var_1 = var_0 + 2;
var_2 = (v4 - 128) | ((var_2 - 192) << 6);
if ( (var_2 - 128) <= 0x77F )
return var_2;
}
return 0xFFFFFFFFLL;
}
if ( var_2 <= 0xEF )
{
v5 = var_0[1];
if ( (var_0[1] & 0xC0) != 0x80 )
return 0xFFFFFFFFLL;
v6 = var_0[2];
if ( (var_0[2] & 0xC0) != 0x80 )
return 0xFFFFFFFFLL;
*var_1 = var_0 + 3;
var_2 = ((var_2 - 224) << 12) | ((v5 - 128) << 6) | (v6 - 128);
if ( var_2 > 0xDC00 )
{
if ( var_2 == 57216 || var_2 == 57343 )
return 0xFFFFFFFFLL;
}
else if ( var_2 > 0xDBFE || var_2 == 55296 || (var_2 - 56191) <= 1 )
{
return 0xFFFFFFFFLL;
}
if ( (var_2 - 2048) <= 0xF7FD )
return var_2;
return 0xFFFFFFFFLL;
}
if ( var_2 > 0xF7 )
{
v7 = var_2 <= 0xFB;
v8 = var_0[1];
if ( v7 )
{
if ( (v8 & 0xC0) == 0x80 && (var_0[2] & 0xC0) == 0x80 && (var_0[3] & 0xC0) == 0x80 && (var_0[4] & 0xC0) == 0x80 )
{
var_2 = 0xFFFFFFFFLL;
*var_1 = var_0 + 5;
return var_2;
}
}
else if ( (v8 & 0xC0) == 0x80
&& (var_0[2] & 0xC0) == 0x80
&& (var_0[3] & 0xC0) == 0x80
&& (var_0[4] & 0xC0) == 0x80
&& (var_0[5] & 0xC0) == 0x80 )
{
var_2 = 0xFFFFFFFFLL;
*var_1 = var_0 + 7;
return var_2;
}
return 0xFFFFFFFFLL;
}
v9 = var_0[1];
if ( (v9 & 0xC0) != 0x80 )
return 0xFFFFFFFFLL;
v10 = var_0[2];
if ( (var_0[2] & 0xC0) != 0x80 )
return 0xFFFFFFFFLL;
v11 = var_0[3];
if ( (var_0[3] & 0xC0) != 0x80 )
return 0xFFFFFFFFLL;
*var_1 = var_0 + 4;
var_2 = (v11 - 128) | ((var_2 - 240) << 18) | ((v9 - 128) << 12) | ((v10 - 128) << 6);
if ( (var_2 - 0x10000) > 0xFFFFF )
return 0xFFFFFFFFLL;
}
return var_2;
}
Q:[var_1,var_0,var_2,sub_B590,] | A:{'var_1': 'str', 'var_0': 'str', 'var_2': 'octet', 'sub_B590': 'utf8codepoint'} | ||
12d610f27dbf92c46212614ba1193df0 | sub_12CF0 |
__int64 __fastcall sub_12CF0(__int64 var_1, int var_2)
{
__int64 result;
__int64 v3;
int v4;
result = *(var_1 + 1264);
if ( !result )
{
if ( var_2 == 1 )
{
*(var_1 + 1268) = 0;
SDL_FillRect(var_3[0], var_1 + 24, 0LL);
SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], var_1 + 48);
result = *(var_1 + 48);
*(var_1 + 1264) = 1;
*(var_1 + 32) = result;
return result;
}
if ( var_2 != 2 )
{
if ( !var_2 )
{
result = *(var_1 + 1268);
if ( result )
{
v3 = var_1 + 24;
*(var_1 + 1268) = result - 1;
SDL_FillRect(var_3[0], var_1 + 24, 0LL);
*(var_1 + 26) -= dword_2C060;
return SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], v3);
}
}
return result;
}
result = *(var_1 + 1268);
if ( result == 5 )
return result;
v3 = var_1 + 24;
*(var_1 + 1268) = result + 1;
SDL_FillRect(var_3[0], var_1 + 24, 0LL);
*(var_1 + 26) += dword_2C060;
return SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], v3);
}
switch ( var_2 )
{
case 2:
v4 = *(var_1 + 1268);
result = (*(var_1 + 1276) - 1);
if ( result != v4 )
{
v3 = var_1 + 32;
*(var_1 + 1268) = v4 + 1;
SDL_FillRect(var_3[0], var_1 + 32, 0LL);
*(var_1 + 34) += dword_2C060;
return SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], v3);
}
return result;
case 3:
*(var_1 + 1268) = 0;
SDL_FillRect(var_3[0], var_1 + 32, 0LL);
SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], var_1 + 40);
result = *(var_1 + 40);
*(var_1 + 1264) = 0;
*(var_1 + 1272) = 5;
*(var_1 + 24) = result;
return result;
case 0:
result = *(var_1 + 1268);
if ( result )
{
v3 = var_1 + 32;
*(var_1 + 1268) = result - 1;
SDL_FillRect(var_3[0], var_1 + 32, 0LL);
*(var_1 + 34) -= dword_2C060;
return SDL_UpperBlit(qword_28FF0, 0LL, var_3[0], v3);
}
break;
}
return result;
}
Q:[var_1,var_2,var_3,sub_12CF0,] | A:{'var_1': 'gwbr', 'var_2': 'dir', 'var_3': 'gwiz', 'sub_12CF0': 'MoveBonusCursor'} | ||
cac2dc460445ebc9b1d94c059069685b | sub_D470 |
__int64 __fastcall sub_D470(__int64 var_0)
{
__int64 v2;
__int64 var_2;
__int64 v4;
const char *v5;
__int64 v6;
const char *v7;
unsigned int *v8;
const char *v9;
__int64 result;
__int64 v11;
__int64 v12;
puts("Received SRW SearchRetrieve Response");
if ( *(var_0 + 56) > 0 )
{
v2 = *(var_0 + 48);
var_2 = 0LL;
do
{
while ( 1 )
{
v4 = 24 * var_2;
v5 = *(v2 + 24 * var_2);
if ( v5 )
__printf_chk(1LL, "SRW diagnostic %s\n", v5);
else
puts("SRW diagnostic missing or could not be decoded");
v2 = *(var_0 + 48);
v6 = v2 + v4;
if ( *(v2 + v4 + 16) )
{
__printf_chk(1LL, "Message: %s\n", *(v2 + v4 + 16));
v2 = *(var_0 + 48);
v6 = v2 + v4;
}
v7 = *(v6 + 8);
if ( !v7 )
break;
++var_2;
__printf_chk(1LL, "Details: %s\n", v7);
if ( *(var_0 + 56) <= var_2 )
goto LABEL_11;
v2 = *(var_0 + 48);
}
++var_2;
}
while ( *(var_0 + 56) > var_2 );
}
LABEL_11:
if ( *var_0 )
__printf_chk(1LL, "Number of hits: %lld\n", **var_0);
v8 = *(var_0 + 80);
if ( v8 )
sub_D420(v8);
v9 = *(var_0 + 88);
if ( v9 )
__printf_chk(1LL, "Suggestions:\n%s\n", v9);
result = *(var_0 + 40);
if ( result > 0 )
{
v11 = 0LL;
while ( qword_1ED28 > v11 )
{
v12 = 5 * v11++;
sub_CA10(*(var_0 + 32) + 8 * v12);
result = *(var_0 + 40);
if ( result <= v11 )
goto LABEL_22;
}
__printf_chk(1LL, "SRU server returns extra records. Skipping %lld records.\n", result - qword_1ED28);
result = *(var_0 + 40);
}
LABEL_22:
var_13 += result;
return result;
}
Q:[var_0,var_2,var_13,sub_D420,sub_D470,] | A:{'var_0': 'res', 'var_2': 'i', 'var_13': 'setno', 'sub_D420': 'display_facets', 'sub_D470': 'handle_srw_response'} | ||
fca427ea31948d8c0b15d0621c65196a | sub_7340 |
__int64 __fastcall sub_7340(__int64 var_1, __int64 a2)
{
__int64 i;
__int64 v4;
const unsigned __int16 **v5;
__int64 v6;
const unsigned __int16 *v7;
__int64 v8;
unsigned __int16 v9;
const char *v10;
int v11;
__int64 v12;
__int64 result;
LODWORD(i) = *(var_1 + 32);
v4 = *(var_1 + 24);
while ( !i )
{
LABEL_5:
v4 = *(v4 + 24);
if ( !v4 )
goto LABEL_11;
--*(var_1 + 44);
v10 = *(v4 + 8);
*(var_1 + 24) = v4;
v11 = strlen(v10);
refresh_banner = 1;
*(var_1 + 32) = v11;
LODWORD(i) = v11;
}
while ( 1 )
{
v5 = __ctype_b_loc();
v6 = *(v4 + 8);
v7 = *v5;
v8 = i;
LODWORD(i) = i - 1;
v9 = v7[*(v6 + v8 - 1)];
if ( (v9 & 0x2000) == 0 )
break;
*(var_1 + 32) = i;
if ( !i )
goto LABEL_5;
}
for ( i = i; (v9 & 0x2000) == 0; --i )
{
*(var_1 + 32) = i;
if ( !i )
break;
v12 = *(v6 + i - 1);
v9 = v7[v12];
}
LABEL_11:
set_scr_col(var_1);
*(var_1 + 48) = *(var_1 + 40);
result = check_scrolling(var_1);
if ( result )
refresh_text = 1;
return result;
}
Q:[var_1,sub_7340,] | A:{'var_1': 'buf', 'sub_7340': 'key_prev_word'} | ||
0947e51997d5fd6b4b7334582e248ed5 | sub_F6770 |
void __fastcall sub_F6770(__int64 var_0, const char *var_7)
{
unsigned int v2;
__int64 v3;
__int64 var_4;
__int64 v5;
void *v6;
if ( !var_0 )
__assert_fail("j", "jobtransferbase.c", 0x3A4u, "AH_Job_TransferBase_SetLocalInstrumentationCode");
v2 = dword_1EB9A8;
v3 = sub_CC4E0(var_0);
var_4 = GWEN_Inherit_FindData(v3, v2, 0LL);
v5 = var_4;
if ( !var_4 )
__assert_fail("aj", "jobtransferbase.c", 0x3A6u, "AH_Job_TransferBase_SetLocalInstrumentationCode");
v6 = *(var_4 + 32);
if ( v6 )
free(v6);
if ( var_7 )
*(v5 + 32) = strdup(var_7);
else
*(v5 + 32) = 0LL;
}
Q:[var_0,var_7,var_4,sub_CC4E0,sub_F6770,] | A:{'var_0': 'j', 'var_7': 's', 'var_4': 'aj', 'sub_CC4E0': 'AH_JOB__INHERIT_GETLIST', 'sub_F6770': 'AH_Job_TransferBase_SetLocalInstrumentationCode'} | ||
d6811c191d28c120aa2f50f87c319801 | sub_2400 |
__int64 __fastcall sub_2400(unsigned __int64 a1, __int64 a2, const char **var_1)
{
const char *var_0;
__int64 v5;
const char *var_15;
__int64 var_17;
char *v8;
const char *v9;
__int64 v10;
__int64 v12;
__int64 v13;
_QWORD *var_27;
_QWORD *v15;
char *v16;
char *v17;
__int64 var_21;
const char *v19;
char *v20;
char *v21;
_QWORD *var_29;
__int64 source_name;
__int64 v24;
char *v25;
char *v26;
__int64 v27;
__m128i var_26;
int v29;
const char *v30;
char var_20[56];
unsigned __int64 v32;
var_0 = *var_1;
v32 = __readfsqword(0x28u);
if ( !var_0 )
{
v21 = dcgettext(0LL, aInsufficientPa, 5);
command_fail(a1, 1LL, v21, "REQUEST");
v8 = dcgettext(0LL, "Syntax: REQUEST <vhost>", 5);
v10 = 1LL;
return command_fail(a1, v10, v8, v9);
}
if ( claro_state[1] - ratelimit_firsttime > config_options[7] )
{
ratelimit_firsttime = claro_state[1];
ratelimit_count = 0;
}
if ( metadata_find(*(a1 + 64), "private:restrict:setter") )
{
v8 = dcgettext(0LL, "You have been restricted from requesting vhosts by network staff.", 5);
v10 = 6LL;
return command_fail(a1, v10, v8, v9);
}
if ( request_per_nick )
{
v5 = *(a1 + 32);
var_15 = &unk_4000;
if ( v5 )
var_15 = *(v5 + 32);
var_17 = sub_23D0(var_15);
if ( !var_17 )
{
v8 = dcgettext(0LL, aNick, 5);
v9 = var_15;
v10 = 4LL;
return command_fail(a1, v10, v8, v9);
}
if ( *(var_17 + 64) != *(a1 + 64) )
{
v8 = dcgettext(0LL, msgid, 5);
v9 = (var_17 + 32);
v10 = 6LL;
return command_fail(a1, v10, v8, v9);
}
__snprintf_chk(var_20, 52LL, 1LL, 52LL, "private:usercloak:%s", var_15);
var_21 = metadata_find(*(a1 + 64), var_20);
if ( var_21 )
{
v19 = &byte_4350;
if ( !strcmp(var_0, *(var_21 + 8)) )
goto LABEL_32;
}
LABEL_15:
if ( !check_vhost_validity(a1, var_0) )
return v32 - __readfsqword(0x28u);
v29 = 0;
v30 = var_15;
var_26 = _mm_unpacklo_epi64(var_0, a1);
hook_call_event("host_request", &var_26);
if ( v29 )
return v32 - __readfsqword(0x28u);
var_27 = hs_reqlist[0];
if ( !hs_reqlist[0] )
{
LABEL_34:
if ( config_options[6] >= ratelimit_count || has_priv(a1, "general:flood") )
{
var_29 = smalloc(32LL);
*var_29 = sstrdup(var_15);
var_29[1] = sstrdup(var_0);
var_29[2] = claro_state[1];
source_name = get_source_name(a1);
var_29[3] = sstrdup(source_name);
v24 = mowgli_node_create();
mowgli_node_add(var_29, v24, hs_reqlist);
LABEL_26:
v17 = dcgettext(0LL, aYouHaveRequest, 5);
command_success_nodata(a1, v17, var_0);
logcommand(a1, 0x4000LL, &unk_40B4, var_0);
if ( config_options[6] )
{
if ( config_options[7] )
++ratelimit_count;
}
return v32 - __readfsqword(0x28u);
}
LABEL_39:
v26 = dcgettext(0LL, "The system is currently too busy to process your vHost request, please try again later.", 5);
command_fail(a1, 9LL, v26, v27);
slog(2LL, "VHOSTREQUEST:THROTTLED: %s", *(*(a1 + 32) + 32LL));
return v32 - __readfsqword(0x28u);
}
while ( 1 )
{
v15 = var_27[2];
if ( !irccasecmp(*v15, var_15) )
break;
var_27 = *var_27;
if ( !var_27 )
goto LABEL_34;
}
v16 = v15[1];
if ( !strcmp(var_0, v16) )
{
v19 = &unk_43B8;
LABEL_32:
v20 = dcgettext(0LL, v19, 5);
command_success_nodata(a1, v20, var_0);
return v32 - __readfsqword(0x28u);
}
if ( config_options[6] < ratelimit_count )
{
if ( !has_priv(a1, "general:flood") )
goto LABEL_39;
v16 = v15[1];
}
free(v16);
v15[1] = sstrdup(var_0);
v15[2] = claro_state[1];
goto LABEL_26;
}
v12 = *(a1 + 64);
var_15 = *(v12 + 40);
v13 = metadata_find(v12, "private:usercloak");
if ( !v13 || strcmp(var_0, *(v13 + 8)) )
goto LABEL_15;
v25 = dcgettext(0LL, &byte_4380, 5);
return command_success_nodata(a1, v25, var_0);
}
Q:[var_1,var_0,var_15,var_17,var_27,var_21,var_29,var_26,var_20,sub_2400,] | A:{'var_1': 'parv', 'var_0': 'host', 'var_15': 'target', 'var_17': 'mn', 'var_27': 'n', 'var_21': 'md', 'var_29': 'l', 'var_26': 'hdata', 'var_20': 'buf', 'sub_2400': 'hs_cmd_request'} | ||
6fee3f97de7528d36342d5f27873a03b | sub_59190 |
__int64 __fastcall sub_59190(__int64 var_8, unsigned int var_7, __int64 *var_9)
{
__int64 result;
__int64 v6;
__int64 v7;
__int64 v8;
__int64 v9;
__int64 v10;
__int64 v11;
__int64 v12;
__int64 v13;
__int64 v14;
__int64 v15;
const char *v16;
__int64 v17;
__int64 v18;
__int64 v19;
__int64 v20;
__int64 v21;
const char *v22;
__int64 v23;
__int64 v24;
__int64 v25;
const char *v26;
__int64 v27;
__int64 v28;
const char *v29;
__int64 v30;
int v31;
unsigned int v32;
unsigned int v33;
unsigned int var_3;
unsigned int var_4;
unsigned int v36;
unsigned int v37;
unsigned __int64 v38;
v38 = __readfsqword(0x28u);
v32 = 0;
v33 = 0;
var_3 = 0;
var_4 = 0;
v36 = 0;
v37 = 0;
if ( (var_7 & 0xFFFFFF8F) != 0 )
return _ndr_pull_error(
var_8,
20LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2608",
"Invalid fn pull flags 0x%x",
var_7);
if ( (var_7 & 0x10) == 0 )
goto LABEL_3;
ndr_zero_memory(var_9 + 5, 16LL);
if ( (*var_8 & 0x100000) != 0 )
{
v12 = *(var_8 + 128);
if ( !v12 )
{
v27 = talloc_named_const(var_8, 0LL, "talloc_new: librpc/gen_ndr/ndr_eventlog6.c:2613");
v26 = "librpc/gen_ndr/ndr_eventlog6.c:2613";
*(var_8 + 128) = v27;
v12 = v27;
if ( !v27 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v26,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n",
v26);
}
v13 = talloc_named_const(v12, 20LL, "librpc/gen_ndr/ndr_eventlog6.c:2613");
*var_9 = v13;
v14 = v13;
if ( !v13 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2613",
"Alloc %s failed: %s\n",
"r->in.control",
"librpc/gen_ndr/ndr_eventlog6.c:2613");
v15 = *(var_8 + 128);
if ( (*var_8 & 0x100000) != 0 )
*(var_8 + 128) = v13;
}
else
{
v15 = *(var_8 + 128);
v14 = *var_9;
}
result = ndr_pull_policy_handle(var_8, 256LL, v14);
if ( !result )
{
if ( (*var_8 & 0x100000) != 0 )
{
v16 = "librpc/gen_ndr/ndr_eventlog6.c:2618";
if ( !v15 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v16,
"NDR_PULL_SET_MEM_CTX(NULL): %s\n",
v16);
*(var_8 + 128) = v15;
}
result = ndr_pull_generic_ptr(var_8, &v31);
if ( !result )
{
if ( v31 )
{
v17 = *(var_8 + 128);
if ( !v17 )
{
v28 = talloc_named_const(var_8, 0LL, "talloc_new: librpc/gen_ndr/ndr_eventlog6.c:2621");
*(var_8 + 128) = v28;
v17 = v28;
if ( !v28 )
{
v26 = "librpc/gen_ndr/ndr_eventlog6.c:2621";
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v26,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n",
v26);
}
}
v18 = talloc_named_const(v17, 1LL, "librpc/gen_ndr/ndr_eventlog6.c:2621");
var_9[1] = v18;
if ( !v18 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2621",
"Alloc %s failed: %s\n",
"r->in.channelPath",
"librpc/gen_ndr/ndr_eventlog6.c:2621");
v19 = *(var_8 + 128);
*(var_8 + 128) = v18;
result = ndr_pull_array_size(var_8, var_9 + 1);
if ( result )
return result;
result = ndr_pull_array_length(var_8, var_9 + 1);
if ( result )
return result;
result = ndr_steal_array_size(var_8, var_9 + 1, &v32);
if ( result )
return result;
if ( v32 > 0x200 )
return _ndr_pull_error(
var_8,
13LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2632",
"value out of range");
result = ndr_steal_array_length(var_8, var_9 + 1, &v33, v20, v21);
if ( result )
return result;
if ( v33 > 0x200 )
return _ndr_pull_error(
var_8,
13LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2636",
"value out of range");
if ( v33 > v32 )
return _ndr_pull_error(
var_8,
1LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2639",
"Bad array size %u should exceed array length %u");
result = ndr_check_string_terminator(var_8, v33, 2LL);
if ( result )
return result;
result = ndr_pull_charset(var_8, 256LL, var_9 + 1, v33, 2LL, 0LL);
if ( result )
return result;
v16 = "librpc/gen_ndr/ndr_eventlog6.c:2643";
if ( !v19 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v16,
"NDR_PULL_SET_MEM_CTX(NULL): %s\n",
v16);
*(var_8 + 128) = v19;
}
else
{
var_9[1] = 0LL;
}
result = ndr_pull_array_size(var_8, var_9 + 2);
if ( result )
return result;
result = ndr_pull_array_length(var_8, var_9 + 2);
if ( result )
return result;
result = ndr_steal_array_size(var_8, var_9 + 2, &var_3);
if ( result )
return result;
v22 = "librpc/gen_ndr/ndr_eventlog6.c:2649";
if ( var_3 - 1 <= 0xFFFFF )
{
result = ndr_steal_array_length(var_8, var_9 + 2, &var_4, "librpc/gen_ndr/ndr_eventlog6.c:2649", "value out of range");
if ( result )
return result;
if ( var_4 - 1 > 0xFFFFF )
{
v22 = "librpc/gen_ndr/ndr_eventlog6.c:2653";
}
else
{
if ( var_4 > var_3 )
return _ndr_pull_error(
var_8,
1LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2656",
"Bad array size %u should exceed array length %u");
result = ndr_check_string_terminator(var_8, var_4, 2LL);
if ( result )
return result;
result = ndr_pull_charset(var_8, 256LL, var_9 + 2, var_4, 2LL, 0LL);
if ( result )
return result;
result = ndr_pull_array_size(var_8, var_9 + 3);
if ( result )
return result;
result = ndr_pull_array_length(var_8, var_9 + 3);
if ( result )
return result;
result = ndr_steal_array_size(var_8, var_9 + 3, &v36);
if ( result )
return result;
v22 = "librpc/gen_ndr/ndr_eventlog6.c:2664";
if ( v36 - 1 <= 0x7FFF )
{
result = ndr_steal_array_length(
var_8,
var_9 + 3,
&v37,
"librpc/gen_ndr/ndr_eventlog6.c:2664",
"value out of range");
if ( result )
return result;
v22 = "librpc/gen_ndr/ndr_eventlog6.c:2668";
if ( v37 - 1 <= 0x7FFF )
{
if ( v37 > v36 )
return _ndr_pull_error(
var_8,
1LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
"librpc/gen_ndr/ndr_eventlog6.c:2671",
"Bad array size %u should exceed array length %u");
result = ndr_check_string_terminator(var_8, v37, 2LL);
if ( result )
return result;
result = ndr_pull_charset(var_8, 256LL, var_9 + 3, v37, 2LL, 0LL);
if ( result )
return result;
result = ndr_pull_uint32(var_8, 256LL, var_9 + 4);
if ( result )
return result;
v23 = *(var_8 + 128);
if ( !v23 )
{
v30 = talloc_named_const(var_8, 0LL, "talloc_new: librpc/gen_ndr/ndr_eventlog6.c:2676");
v26 = "librpc/gen_ndr/ndr_eventlog6.c:2676";
*(var_8 + 128) = v30;
v23 = v30;
if ( !v30 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v26,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n",
v26);
}
v24 = talloc_named_const(v23, 12LL, "librpc/gen_ndr/ndr_eventlog6.c:2676");
var_9[5] = v24;
if ( !v24 )
{
v29 = "librpc/gen_ndr/ndr_eventlog6.c:2676";
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v29,
"Alloc %s failed: %s\n",
"r->out.error",
v29);
}
ndr_zero_memory(v24, 12LL);
LABEL_3:
result = 0LL;
if ( (var_7 & 0x20) == 0 )
return result;
v6 = *(var_8 + 128);
if ( (*var_8 & 0x100000) == 0 )
{
v8 = var_9[5];
goto LABEL_10;
}
if ( !v6 )
{
v25 = talloc_named_const(var_8, 0LL, "talloc_new: librpc/gen_ndr/ndr_eventlog6.c:2687");
v26 = "librpc/gen_ndr/ndr_eventlog6.c:2687";
*(var_8 + 128) = v25;
v6 = v25;
if ( !v25 )
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v26,
"_NDR_PULL_FIX_CURRENT_MEM_CTX() failed: %s\n",
v26);
}
v7 = talloc_named_const(v6, 12LL, "librpc/gen_ndr/ndr_eventlog6.c:2687");
var_9[5] = v7;
v8 = v7;
if ( v7 )
{
v6 = *(var_8 + 128);
if ( (*var_8 & 0x100000) != 0 )
*(var_8 + 128) = v7;
LABEL_10:
result = sub_54AA0(var_8, v8);
if ( !result )
{
if ( (*var_8 & 0x100000) == 0 )
return ndr_pull_WERROR(var_8, 256LL, var_9 + 6, v9, v10, v11);
if ( v6 )
{
*(var_8 + 128) = v6;
return ndr_pull_WERROR(var_8, 256LL, var_9 + 6, v9, v10, v11);
}
v16 = "librpc/gen_ndr/ndr_eventlog6.c:2692";
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v16,
"NDR_PULL_SET_MEM_CTX(NULL): %s\n",
v16);
}
return result;
}
v29 = "librpc/gen_ndr/ndr_eventlog6.c:2687";
return _ndr_pull_error(
var_8,
12LL,
"ndr_pull_eventlog6_EvtRpcExportLog",
v29,
"Alloc %s failed: %s\n",
"r->out.error",
v29);
}
}
}
}
return _ndr_pull_error(var_8, 13LL, "ndr_pull_eventlog6_EvtRpcExportLog", v22, "value out of range");
}
}
return result;
}
Q:[var_8,var_7,var_9,var_3,var_4,sub_54AA0,sub_59190,] | A:{'var_8': 'ndr', 'var_7': 'flags', 'var_9': 'r', 'var_3': 'size_query_1', 'var_4': 'length_query_1', 'sub_54AA0': 'ndr_pull_eventlog6_RpcInfo', 'sub_59190': 'ndr_pull_eventlog6_EvtRpcExportLog'} | ||
2caf8ab490687992e574fa68fce4ac36 | sub_28650 |
__int64 __fastcall sub_28650(const char *var_0, __int64 var_1)
{
return sub_284C0(1, var_0, var_1);
}
Q:[var_0,var_1,sub_284C0,sub_28650,] | A:{'var_0': 'filename', 'var_1': 'directory', 'sub_284C0': 'copymovefile', 'sub_28650': 'copyfile'} | ||
7a894a645d339c48bfe61767a1241443 | sub_3E70 |
unsigned __int64 __fastcall sub_3E70(Display *var_4, int var_3, int var_2)
{
XKeyboardControl var_1;
unsigned __int64 v5;
v5 = __readfsqword(0x28u);
v4.auto_repeat_mode = var_2;
memset(&var_1, 0, 28);
if ( var_3 == -1 )
{
XChangeKeyboardControl(var_4, 0x80uLL, &var_1);
}
else
{
v4.key = var_3;
XChangeKeyboardControl(var_4, 0xC0uLL, &var_1);
}
return v5 - __readfsqword(0x28u);
}
Q:[var_4,var_3,var_2,var_1,sub_3E70,] | A:{'var_4': 'dpy', 'var_3': 'key', 'var_2': 'auto_repeat_mode', 'var_1': 'values', 'sub_3E70': 'set_repeat'} | ||
078f41ab98e9c1a882827bef57dbd4de | sub_13560 |
__int64 __fastcall sub_13560(unsigned int var_0)
{
puts(" SVM Secure Virtual Machine (0x8000000a/eax):");
return sub_11D60(var_0, &off_66740, 1u, 0);
}
Q:[var_0,sub_13560,] | A:{'var_0': 'value', 'sub_13560': 'print_8000000a_eax'} | ||
230a00430831f131cd0654245da3d0dc | sub_63C80 |
__int64 __fastcall sub_63C80(unsigned int var_2)
{
unsigned int var_0;
int var_3;
var_0 = var_1;
if ( var_1 >= var_2 )
return 2LL;
var_3 = 0;
do
var_3 -= (sub_63B00(var_0++) == 0) - 1;
while ( var_2 > var_0 );
return (var_3 + 2);
}
Q:[var_2,var_0,var_3,var_1,sub_63B00,sub_63C80,] | A:{'var_2': 'option', 'var_0': 'j', 'var_3': 'i', 'var_1': 'first_option_on_screen', 'sub_63B00': 'option_is_visible', 'sub_63C80': 'option_row'} | ||
6beec133f88eac87875e7793a0b0af48 | sub_12D00 |
__int64 __fastcall sub_12D00(__int64 var_0, __int16 var_2)
{
__int64 var_1;
if ( !var_0 )
return 0LL;
for ( var_1 = *(var_0 + 104); var_1; var_1 = *(var_1 + 40) )
{
if ( *(var_1 + 24) == var_2 )
break;
}
return var_1;
}
Q:[var_0,var_2,var_1,sub_12D00,] | A:{'var_0': 'b', 'var_2': 'addr', 'var_1': 'd', 'sub_12D00': 'xf86I2CFindDev'} | ||
9199e2b5232862d73d94c56f1935d562 | sub_78070 |
void __fastcall sub_78070(int *var_0, int var_1)
{
__int64 v3;
__int64 v4;
__int64 v5;
int v6;
int v7;
sub_77D30((*(var_0 + 2) + 8LL * var_1), (*(var_0 + 2) + 8LL * *var_0));
v3 = *(var_0 + 2);
v5 = *(v3 + 8 * v4);
v6 = *var_0 - 1;
**(v3 + 8LL * *var_0) = 0;
*var_0 = v6;
if ( (*(var_0 + 1))(v5) < 0 )
sub_77E20(var_0, var_1);
else
sub_77D50(var_0, var_1);
if ( *var_0 > 512 )
{
v7 = var_0[1] / 2;
if ( *var_0 < v7 )
{
var_0[1] = v7;
*(var_0 + 2) = realloc(*(var_0 + 2), 8LL * (v7 + 1));
}
}
}
Q:[var_0,var_1,sub_78070,] | A:{'var_0': 'h', 'var_1': 'e', 'sub_78070': 'heap_delete'} | ||
7c052bfa2efd175cd271156aa03679df | sub_893B0 |
__int64 __fastcall sub_893B0(__int64 var_1, int var_0)
{
unsigned __int16 **v2;
unsigned __int16 v3;
if ( var_0 )
{
while ( var_1 )
{
if ( *(var_1 + 12) == var_0 )
break;
v2 = sub_89370(var_1);
var_1 = v2;
if ( !v2 )
break;
v3 = **v2;
if ( v3 <= 0x104u )
{
if ( v3 <= 0x102u && v3 != 46 )
return var_1;
}
else if ( v3 != 280 )
{
return var_1;
}
}
}
return 0LL;
}
Q:[var_1,var_0,sub_89370,sub_893B0,] | A:{'var_1': 'f', 'var_0': 'stopat', 'sub_89370': 'findnext', 'sub_893B0': 'advance'} | ||
e318a59fb4c99f41121cfa151f04257d | sub_105C0 |
__int64 __fastcall sub_105C0(
__int64 var_9,
double a2,
double a3,
double a4,
double a5,
double a6,
double a7,
double a8,
double a9)
{
double v9;
double v10;
double v11;
v9 = gp_log(2LL, "pentax", "[C]\tpslr_focus()\n", a2, a3, a4, a5, a6, a7, a8, a9);
return sub_FF80(var_9, 0, v9, a3, a4, a5, v10, v11, a8, a9);
}
Q:[var_9,sub_FF80,sub_105C0,] | A:{'var_9': 'h', 'sub_FF80': 'ipslr_press_shutter', 'sub_105C0': 'pslr_focus'} | ||
b19505ea6a42b7ee9826d7f7042380a2 | sub_35C0 |
__int64 __fastcall sub_35C0(int *var_1, int var_2)
{
char *v2;
char *var_3;
__int64 result;
int v5;
int var_5;
unsigned __int8 v7;
int var_8;
unsigned __int8 v9;
unsigned __int8 v10;
unsigned __int8 v11;
unsigned __int8 v12;
unsigned __int8 v13;
unsigned __int8 v14;
unsigned __int8 v15;
v2 = sub_13A0(var_1, var_2);
var_1[71] = 0;
var_3 = v2;
result = var_1[70];
var_5 = result + v5;
if ( result < result + v5 )
{
while ( 1 )
{
while ( 1 )
{
while ( 1 )
{
while ( 1 )
{
while ( 1 )
{
v7 = sub_1410(var_1, 4);
if ( !v7 )
break;
sub_1360(var_1, var_2, 1, var_3[v7]);
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
if ( sub_3350(var_1) )
break;
var_8 = sub_1410(var_1, 3);
if ( var_8 )
{
sub_1360(var_1, var_2, var_8 + 2, *var_3);
if ( var_1[70] < var_5 )
continue;
}
LABEL_5:
result = var_1[71];
if ( result )
{
++var_1[70];
var_1[71] = 0;
}
return result;
}
if ( sub_3350(var_1) )
break;
sub_32A0(var_1);
v12 = sub_1410(var_1, 4);
sub_1360(var_1, var_2, v13 + 4, var_3[v12]);
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
v9 = sub_32A0(var_1);
if ( v9 != 2 )
break;
sub_1410(var_1, 4);
v14 = sub_1410(var_1, 4);
sub_1360(var_1, var_2, v15 + 9, var_3[v14]);
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
if ( v9 > 2u )
{
if ( v9 != 3 )
goto LABEL_13;
sub_1410(var_1, 8);
v10 = sub_1410(var_1, 4);
sub_1360(var_1, var_2, v11 + 25, var_3[v10]);
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
else if ( v9 )
{
sub_1360(var_1, var_2, 2, *var_3);
LABEL_13:
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
else
{
sub_1360(var_1, var_2, 1, *var_3);
if ( var_1[70] >= var_5 )
goto LABEL_5;
}
}
}
return result;
}
Q:[var_1,var_2,var_3,var_5,var_8,sub_1360,sub_13A0,sub_1410,sub_35C0,] | A:{'var_1': 'dvbsub', 'var_2': 'r', 'var_3': 'lut', 'var_5': 'j', 'var_8': 'run_length', 'sub_1360': 'plot', 'sub_13A0': 'lookup_lut', 'sub_1410': 'next_datum', 'sub_35C0': 'decode_4bit_pixel_code_string'} | ||
e5b3f9f6ebfec1940a5c2588ec5ee379 | sub_D1F0 |
__int64 __fastcall sub_D1F0(int var_17, const char *var_19, const __m128i *var_16)
{
char *v4;
unsigned int var_7;
__int64 v6;
__m128i v7;
__m128i v8;
int var_3;
__int64 v11;
char *v12;
__int64 v13;
unsigned int var_9;
const char *v15;
__int64 v16;
char *v17;
if ( !nmemb )
{
LABEL_7:
v17 = var_2;
var_3 = 0;
v11 = random();
v12 = v17;
v16 = v11 % nmemb;
var_7 = v16;
v13 = 56LL * v16;
while ( 1 )
{
var_9 = smb2_util_close(
var_10[7 * var_3 + *&v12[v13 + 4]],
*&v12[16 * var_3 + 8 + v13],
*&v12[16 * var_3 + 16 + v13]);
if ( (var_9 & 0xC0000000) == -1073741824 )
{
v15 = nt_errstr(var_9);
__printf_chk(1LL, "INTERNAL ERROR: Close failed when recovering handle! - %s\n", v15);
if ( var_3 == 1 )
{
LABEL_12:
__printf_chk(1LL, "Recovered handle %d\n", v16);
v6 = var_13;
v4 = var_2 + v13;
goto LABEL_6;
}
}
else if ( var_3 == 1 )
{
goto LABEL_12;
}
v12 = var_2;
var_3 = 1;
}
}
v4 = var_2;
var_7 = 0;
while ( *v4 )
{
++var_7;
v4 += 56;
if ( nmemb == var_7 )
goto LABEL_7;
}
v6 = (var_13 + 1);
LABEL_6:
v7 = _mm_loadu_si128(var_16);
*(v4 + 1) = var_17;
*v4 = 1;
*(v4 + 8) = v7;
v8 = _mm_loadu_si128(var_16 + 1);
*(v4 + 6) = var_19;
*(v4 + 24) = v8;
var_13 = v6;
return __printf_chk(1LL, "OPEN num_open_handles=%d h=%d (%s)\n", v6, var_7, var_19);
}
Q:[var_17,var_19,var_16,var_7,var_3,var_9,var_2,var_10,var_13,sub_D1F0,] | A:{'var_17': 'instance', 'var_19': 'name', 'var_16': 'handles', 'var_7': 'h', 'var_3': 'i', 'var_9': 'status', 'var_2': 'open_handles', 'var_10': 'servers', 'var_13': 'num_open_handles', 'sub_D1F0': 'gen_add_handle_smb2'} | ||
ea46df89fa553f6e27bb3918d50679d9 | sub_2BA00 |
__int64 __fastcall sub_2BA00(__int64 var_4, int var_3, __int64 var_1)
{
__int64 var_0;
__int64 cmdlang;
var_0 = *(var_1 + 64);
cmdlang = ipmi_cmdinfo_get_cmdlang(var_0);
ipmi_cmdlang_lock(var_0);
if ( var_3 )
{
ipmi_pef_get_name(var_4, *(cmdlang + 80), *(cmdlang + 88));
*(cmdlang + 60) = var_3;
*(cmdlang + 64) = "Error unlocking MC PEF";
*(cmdlang + 96) = "cmd_pef.c(pef_unlock_mc_done)";
}
else
{
ipmi_cmdlang_out(var_0);
}
ipmi_cmdlang_unlock(var_0);
ipmi_cmdlang_cmd_info_put(var_0);
ipmi_pef_destroy(var_4, 0LL, 0LL);
return ipmi_mem_free(var_1);
}
Q:[var_4,var_3,var_1,var_0,sub_2BA00,] | A:{'var_4': 'pef', 'var_3': 'err', 'var_1': 'info', 'var_0': 'cmd_info', 'sub_2BA00': 'pef_unlock_mc_done2'} | ||
bbbc374920b60eeba78e92156e172b18 | sub_18470 |
__int64 __fastcall sub_18470(__int64 var_10, int var_2, unsigned __int16 var_4, __int64 var_11, unsigned __int16 var_12)
{
unsigned int var_9;
int var_7;
int var_8;
void *var_6;
__int128 var_1;
__int128 v13;
int v14;
unsigned __int64 v15;
v15 = __readfsqword(0x28u);
var_1 = 0LL;
HIDWORD(var_1) = var_2;
v13 = 0LL;
LODWORD(v13) = var_4;
v14 = 2;
var_6 = 0LL;
var_7 = 0;
var_8 = 0;
LOWORD(var_1) = -26621;
var_9 = sub_13520(var_10, &var_1, 2, 0LL, &var_6, &var_7);
if ( var_9 == 8193 && !sub_E310(var_10, var_6, &var_8, var_7, var_11, var_12) )
{
var_9 = 8194;
sub_10DB0(var_10, "ptp_mtp_getobjectpropvalue: unpacking DPV failed");
}
free(var_6);
return var_9;
}
Q:[var_10,var_2,var_4,var_11,var_12,var_9,var_7,var_8,var_6,var_1,sub_13520,sub_E310,sub_18470,] | A:{'var_10': 'params', 'var_2': 'oid', 'var_4': 'opc', 'var_11': 'value', 'var_12': 'datatype', 'var_9': 'ret', 'var_7': 'size', 'var_8': 'offset', 'var_6': 'data', 'var_1': 'ptp', 'sub_13520': 'ptp_transaction', 'sub_E310': 'ptp_unpack_DPV', 'sub_18470': 'ptp_mtp_getobjectpropvalue'} | ||
bbbc374920b60eeba78e92156e172b18 | sub_1F090 |
__int64 __fastcall sub_1F090(int fd, void *var_2, size_t n, struct sockaddr *addr, socklen_t addr_len)
{
ssize_t v9;
while ( 1 )
{
v9 = sendto(fd, var_2, n, 0, addr, addr_len);
if ( n == v9 )
break;
if ( v9 == -1 )
return 0xFFFFFFFFLL;
var_2 = var_2 + v9;
n -= v9;
}
if ( (g_VitaMTP_logmask[0] & 0xF) == 15 )
{
__fprintf_chk(stderr, 1LL, "VitaMTP %s[%d]: Sent %d bytes to socket %d\n", "VitaMTP_Sock_Write_All", 1092LL, n, fd);
if ( (g_VitaMTP_logmask[0] & 0xF) == 15 )
VitaMTP_hex_dump(var_2, n, 0x10u);
}
return 0LL;
}
Q:[var_2,sub_1F090,] | A:{'var_2': 'data', 'sub_1F090': 'VitaMTP_Sock_Write_All'} | ||
621cbf73085e79225596c1732ce9557e | sub_2820 |
__int64 __fastcall sub_2820(__int64 var_0)
{
__int64 v1;
if ( *(var_0 + 928) )
{
g_object_unref();
*(var_0 + 928) = 0LL;
}
g_free(*(var_0 + 936));
v1 = var_2;
*(var_0 + 936) = 0LL;
return (*(v1 + 48))(var_0);
}
Q:[var_0,var_2,sub_2820,] | A:{'var_0': 'ofa', 'var_2': 'gst_ofa_parent_class', 'sub_2820': 'gst_ofa_finalize'} | ||
50521c60bcfee4c48148c860220016fb | fuse_session_data |
__int64 __fastcall fuse_session_data(__int64 var_0)
{
return *(var_0 + 48);
}
Q:[var_0,] | A:{'var_0': 'se'} | ||
e44d55089a388571b4657a84772e0208 | sub_2FE0 |
__int64 __fastcall sub_2FE0(__int64 var_0)
{
return *(var_0 + 80);
}
Q:[var_0,sub_2FE0,] | A:{'var_0': 'cpudesc', 'sub_2FE0': 'cpu_desc_get_ncpuspos'} | ||
230a00430831f131cd0654245da3d0dc | sub_694D0 |
__int64 __fastcall sub_694D0(int var_5)
{
unsigned int v1;
int var_2;
v1 = dword_E1B28;
if ( dword_E1B28 <= 0 )
{
var_2 = dword_49EA60;
if ( dword_49EA6C == 8 )
var_2 = dword_49EA60 - 2;
if ( dword_E1B28 == -2 )
v1 = var_2 >> 1;
else
v1 = (__PAIR64__(var_2, dword_E1B28 + 1) - 1) >> 32;
}
if ( var_5 == 1 )
v1 = -v1;
scrollok(stdscr, 1);
wsetscrreg(stdscr, var_7, dword_49EA60 + 1);
wscrl(stdscr, v1);
wsetscrreg(stdscr, 0, dword_49EAE8);
scrollok(stdscr, 0);
return v1;
}
Q:[var_5,var_2,var_7,sub_694D0,] | A:{'var_5': 'dir', 'var_2': 'i', 'var_7': 'scroll_region_top', 'sub_694D0': 'scroll_page'} | ||
5f6ac20c5219cce89ad077f1e9677c5f | sub_27360 |
__int64 __fastcall sub_27360(unsigned int *var_0)
{
unsigned int v2;
__int64 result;
__int64 v4;
__int64 v5;
__int64 v6;
if ( var_0[3] - 200 > 0x1F38 )
{
v6 = qword_474C0;
if ( !qword_474C0 )
{
qword_474C0 = WLog_Get("com.freerdp.channels.rdpedisp.server");
v6 = qword_474C0;
}
if ( WLog_IsLevelActive(v6, 3LL) )
WLog_PrintMessage(
qword_474C0,
0LL,
3LL,
98LL,
"/var/tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/channels/disp/server/disp_main.c",
"disp_server_is_monitor_layout_valid",
"Received invalid value for monitor->Width: %u",
var_0[3]);
return 0LL;
}
if ( var_0[4] - 200 > 0x1F38 )
{
v5 = qword_474B8;
if ( !qword_474B8 )
{
qword_474B8 = WLog_Get("com.freerdp.channels.rdpedisp.server");
v5 = qword_474B8;
}
if ( WLog_IsLevelActive(v5, 3LL) )
{
WLog_PrintMessage(
qword_474B8,
0LL,
3LL,
105LL,
"/var/tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/channels/disp/server/disp_main.c",
"disp_server_is_monitor_layout_valid",
"Received invalid value for monitor->Height: %u",
var_0[3]);
return 0LL;
}
return 0LL;
}
v2 = var_0[7];
result = 1LL;
if ( v2 == 180 )
return result;
if ( v2 > 0xB4 )
{
if ( v2 != 270 )
{
LABEL_7:
v4 = qword_474B0;
if ( !qword_474B0 )
{
qword_474B0 = WLog_Get("com.freerdp.channels.rdpedisp.server");
v4 = qword_474B0;
}
if ( WLog_IsLevelActive(v4, 3LL) )
WLog_PrintMessage(
qword_474B0,
0LL,
3LL,
118LL,
"/var/tmp/portage/net-misc/freerdp-2.10.0/work/freerdp-2.10.0/channels/disp/server/disp_main.c",
"disp_server_is_monitor_layout_valid",
"Received incorrect value for monitor->Orientation: %u",
var_0[7]);
return 0LL;
}
}
else if ( v2 && v2 != 90 )
{
goto LABEL_7;
}
return result;
}
Q:[var_0,sub_27360,] | A:{'var_0': 'monitor', 'sub_27360': 'disp_server_is_monitor_layout_valid'} | ||
061359616714dc05598139b61aae3679 | sub_2680 |
__int64 __fastcall sub_2680(__int64 a1, __int64 var_0, __int64 var_1)
{
*(var_0 + 16) = var_1;
return 0LL;
}
Q:[var_0,var_1,sub_2680,] | A:{'var_0': 'conf', 'var_1': 'msg', 'sub_2680': 'set_undefined_echo'} | ||
8802b1b9e01f638fe2ae029855f6d714 | BGl_sqlitezd2mapzd2zz__sqlite_sqlitez00 |
__int64 __fastcall BGl_sqlitezd2mapzd2zz__sqlite_sqlitez00(
__int64 a1,
unsigned __int64 a2,
unsigned __int64 a3,
__int64 a4)
{
__int64 v6;
__int64 *var_0;
char *v8;
__m128i *v9;
__int8 *v10;
__m128i *v11;
__int64 v12;
v6 = *(*(qword_28DB8 + 8 * ((((*(a1 - 1) >> 19) & 0xFFFFFLL) - 100) >> 4) + 4)
+ 8LL * ((((*(a1 - 1) >> 19) & 0xFFFFF) - 100) & 0xF)
+ 4);
var_0 = GC_malloc(16LL);
*var_0 = a4;
var_0[1] = 10LL;
v8 = var_0 + 3;
v9 = GC_malloc(16LL);
*v9 = _mm_unpacklo_epi64(a3, v8);
v10 = &v9->m128i_i8[3];
v11 = GC_malloc(16LL);
*v11 = _mm_unpacklo_epi64(a2, v10);
v12 = BGl_consza2za2zz__r4_pairs_and_lists_6_3z00(a1, v11->m128i_i32 + 3);
return apply(v6, v12);
}
Q:[var_0,] | A:{'var_0': 'an_object'} | ||
a5baff0eab1aa79c5b596cbab9d224fa | sub_7C6F0 |
_BOOL8 __fastcall sub_7C6F0(const char *var_0)
{
return !strcmp(var_0, "focusIn") || strcmp(var_0, "focusOut") == 0;
}
Q:[var_0,sub_7C6F0,] | A:{'var_0': 'action', 'sub_7C6F0': 'isIgnoredAction'} | ||
241fb63ba8be1bb1bfc2dab036918540 | sub_1BBF0 |
unsigned __int64 __fastcall sub_1BBF0(__int64 a1, __int64 var_1)
{
int fd;
_DWORD *var_3;
char *v4;
int v5;
__int64 v7;
__int64 v8;
char *v9;
__int64 var_6[17];
unsigned __int64 v11;
v11 = __readfsqword(0x28u);
sub_1B590(var_1);
fd = verto_get_fd(var_1);
var_3 = verto_get_private(var_1);
v4 = dcgettext("mit-krb5", "closing down fd %d", 5);
krb5_klog_syslog(6LL, v4, fd);
if ( fd >= 0 )
{
if ( var_3 && var_3[4] == 4 && !var_3[92] )
goto LABEL_11;
close(fd);
}
if ( var_3 )
{
v5 = var_3[4];
if ( v5 != 2 )
{
if ( v5 != 4 )
{
LABEL_8:
sub_1BB60(var_3);
return v11 - __readfsqword(0x28u);
}
if ( var_3[92] )
{
memset(var_6, 0, 0x80uLL);
v7 = __fdelt_chk(fd);
v8 = 1LL << (fd % 64);
var_6[v7] |= v8;
gssrpc_svc_getreqset(var_6);
if ( (gssrpc_svc_fdset[__fdelt_chk(fd)] & v8) != 0 )
{
v9 = dcgettext("mit-krb5", "descriptor %d closed but still in svc_fdset", 5);
krb5_klog_syslog(3LL, v9, fd);
}
}
}
LABEL_11:
--var_11;
goto LABEL_8;
}
return v11 - __readfsqword(0x28u);
}
Q:[var_1,var_3,var_6,var_11,sub_1B590,sub_1BBF0,] | A:{'var_1': 'ev', 'var_3': 'conn', 'var_6': 'fds', 'var_11': 'tcp_or_rpc_data_counter', 'sub_1B590': 'remove_event_from_set', 'sub_1BBF0': 'free_socket'} | ||
dc3d3c4eaf5009e1e7dc753543c150a7 | sub_9360 |
__int64 __fastcall sub_9360(int var_1)
{
__int64 result;
result = (var_1 + 48);
if ( var_1 >= 10 )
return (var_1 + 87);
return result;
}
Q:[var_1,sub_9360,] | A:{'var_1': 'n', 'sub_9360': 'encode_nibble'} | ||
f7dfcd87df96a53f29bf917bafceb3aa | jsonrpc_client_call |
__int64 __fastcall jsonrpc_client_call(_QWORD *var_1, __int64 a2, __int64 var_11, _QWORD *a4, __int64 var_12, const char *a6)
{
unsigned int v8;
const char *v9;
const char *v10;
__int64 var_5;
__int64 v12;
__int64 v13;
__int64 var_14;
__int64 v15;
__int64 v16;
__int64 type;
__int64 v19;
__int64 *var_13;
__int64 var_0[9];
var_0[1] = __readfsqword(0x28u);
var_0[0] = 0LL;
if ( !sub_61D0(var_1) )
{
v8 = 0;
v9 = "JSONRPC_IS_CLIENT (self)";
LABEL_3:
v10 = "jsonrpc_client_call";
var_5 = 0LL;
v12 = 0LL;
g_return_if_fail_warning("jsonrpc-client", "jsonrpc_client_call", v9);
v13 = var_0[0];
goto LABEL_4;
}
if ( !a2 )
{
var_5 = 0LL;
v12 = 0LL;
v8 = 0;
v10 = "jsonrpc_client_call";
g_return_if_fail_warning("jsonrpc-client", "jsonrpc_client_call", "method != NULL");
v13 = var_0[0];
goto LABEL_4;
}
if ( a4 )
{
type = g_cancellable_get_type(var_1);
if ( !*a4 || **a4 != type )
{
v8 = g_type_check_instance_is_a(a4, type);
if ( !v8 )
{
v9 = "!cancellable || G_IS_CANCELLABLE (cancellable)";
goto LABEL_3;
}
}
}
var_5 = g_main_context_ref_thread_default();
v12 = g_task_new(var_1, 0LL, 0LL, 0LL);
g_task_set_source_tag(v12, jsonrpc_client_call);
if ( !g_task_get_name(v12) )
g_task_set_name(v12, "jsonrpc_client_call");
jsonrpc_client_call_async(var_1, a2, var_11, a4, sub_6BA0, v12);
while ( !g_task_get_completed(v12) )
g_main_context_iteration(var_5, 1LL);
v10 = a6;
var_0[0] = g_task_propagate_pointer(v12, a6);
v13 = var_0[0];
v8 = var_0[0] != 0;
if ( var_12 )
{
v19 = sub_5790(var_0);
v13 = var_0[0];
*var_13 = v19;
}
LABEL_4:
sub_6080(v13);
sub_6090(var_5);
sub_6060(v12, v10, var_14, v15, v16);
return v8;
}
Q:[var_1,var_11,var_12,var_5,var_14,var_13,var_0,sub_61D0,] | A:{'var_1': 'self', 'var_11': 'cancellable', 'var_12': 'params', 'var_5': 'main_context', 'var_14': 'return_value', 'var_13': 'error', 'var_0': 'local_return_value', 'sub_61D0': 'JSONRPC_IS_CLIENT'} | ||
4a9ae30dbe378d3465c4f42c1eb458db | sub_167F0 |
__int64 __fastcall sub_167F0(FILE *var_1, __int64 *var_2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
const char *v7;
v7 = "fflush";
if ( !fflush(var_1) )
{
if ( !ferror(var_1) )
return 1LL;
v7 = "ferror";
}
return sub_19470(var_2, v7);
}
Q:[var_1,var_2,sub_19470,sub_167F0,] | A:{'var_1': 'f', 'var_2': 'error', 'sub_19470': 'glnx_throw_errno_prefix', 'sub_167F0': 'glnx_stdio_file_flush'} | ||
6e7b00a25ff0f2add3c76627889130b5 | sub_8930 |
__int64 __fastcall sub_8930(void *src, int a2, _QWORD *a3, int a4)
{
unsigned __int16 v5;
__int64 result;
__int64 v7[1002];
char dest[20];
char srca[12020];
unsigned __int64 v10;
v10 = __readfsqword(0x28u);
if ( !a3 )
return 8004LL;
if ( src == 0LL || a4 != 8004 || a2 != 12032 )
{
sub_7F80(2006);
return 0LL;
}
else
{
memcpy(dest, src, 0x2F00uLL);
v5 = *(src + 8);
memset(v7, 0, 8004);
if ( v5 )
memcpy(v7 + 4, srca, 8LL * v5);
LOWORD(v7[0]) = v5;
*a3 = v7[0];
*(a3 + 7996) = *(&v7[999] + 4);
result = 8004LL;
qmemcpy(
((a3 + 1) & 0xFFFFFFFFFFFFFFF8LL),
(v7 - (a3 - ((a3 + 1) & 0xFFFFFFFFFFFFFFF8LL))),
8LL * ((a3 - ((a3 + 8) & 0xFFFFFFF8) + 8004) >> 3));
}
return result;
}
Q:[sub_8930,] | A:{'sub_8930': 'TYPE_PICTURE_to_CPAGE_PICTURE'} | ||
bcae28b39fb0ca03c6937efab5dd7bc9 | sub_4B3F0 |
__int64 __fastcall sub_4B3F0(__int64 var_1, int var_0)
{
return (var_0 - *(var_1 + 384));
}
Q:[var_1,var_0,sub_4B3F0,] | A:{'var_1': 'screen', 'var_0': 'row', 'sub_4B3F0': 'vt_screen_convert_scr_row_to_abs'} | ||
3ca3c81182e38084076522b686d4fb08 | sub_22C20 |
__int64 __fastcall sub_22C20(__int64 var_1, __int64 var_4)
{
char v4;
__int64 var_3;
unsigned __int64 var_2[3];
v4 = *(var_1 + 49);
var_2[1] = __readfsqword(0x28u);
var_3 = sub_25C10(var_4, v4, var_2);
if ( var_3 )
return 3LL;
if ( *(var_1 + 24) <= var_2[0] )
{
if ( var_2[0] > *(var_1 + 32) && !*(var_1 + 59) )
return 5LL;
}
else if ( !*(var_1 + 59) )
{
return 4LL;
}
return var_3;
}
Q:[var_1,var_4,var_3,var_2,sub_22C20,] | A:{'var_1': 'field', 'var_4': 'value', 'var_3': 'e', 'var_2': 'l', 'sub_22C20': 'numeric_check'} | ||
c509f339e353b9a1b54e7492cbf1c3f4 | sub_3DE0 |
__int64 __fastcall sub_3DE0(char *var_4, int *var_1, __int64 var_5)
{
int v5;
int var_3;
int v7;
int v8;
const char *var_9;
unsigned int var_10;
char *var_2[7];
v5 = *var_1;
var_2[1] = __readfsqword(0x28u);
var_3 = sub_3680(var_4, v5, var_5);
if ( var_3 >= 0 )
{
v7 = var_3;
sub_3640(var_3, var_1, var_5);
if ( *var_1 <= v7 )
{
__fprintf_chk(stderr, 1LL, "Syntax error: use '%s <format>'\n", var_4);
}
else
{
v8 = v7;
var_9 = *(var_5 + 8LL * v7);
var_10 = 0;
sub_3640(v8, var_1, var_5);
while ( !dg_stdformat(0LL, var_10, var_2, 0LL) )
{
if ( !strcasecmp(var_9, var_2[0]) )
return var_10;
++var_10;
}
__fprintf_chk(stderr, 1LL, "Format name %s not recognised.\n", var_9);
}
exit(1);
}
return -1;
}
Q:[var_4,var_1,var_5,var_3,var_9,var_10,var_2,sub_3DE0,] | A:{'var_4': 'arg', 'var_1': 'argc', 'var_5': 'argv', 'var_3': 'n', 'var_9': 'argname', 'var_10': 'fmt', 'var_2': 'fname', 'sub_3DE0': 'check_format'} | ||
a9de96795aec3ae3ac3ab60862b9f050 | sub_A350 |
__int64 __fastcall sub_A350(__int64 var_3)
{
__int64 var_0;
__int64 result;
var_0 = *(var_1 + 2);
if ( *(var_1 + 2) != 1 )
__assert_fail("stack_top->type == 1", "module_compiler.c", 0x507u, "append_filename_trans");
result = *(var_0 + 336);
*(var_3 + 112) = result;
*(var_0 + 336) = var_3;
return result;
}
Q:[var_3,var_0,var_1,sub_A350,] | A:{'var_3': 'filename_trans_rules', 'var_0': 'decl', 'var_1': 'stack_top', 'sub_A350': 'append_filename_trans'} | ||
f10835488307b49c7d68bc3998493c82 | sub_4E60 |
__int64 __fastcall sub_4E60(__int64 a1, __m128i *var_1)
{
int v2;
__int16 v3;
__int16 v4;
int v5;
__int64 var_8;
int v7;
__int16 v8;
__int16 v9;
unsigned int var_6;
__int16 v11;
__m128i v12;
__int64 v13;
int v14;
unsigned int var_17;
__m128i var_16;
__int64 v18;
unsigned __int64 v19;
v2 = var_1[1].m128i_i32[0];
v19 = __readfsqword(0x28u);
v3 = a2->m128i_i16[3];
v4 = a2->m128i_i16[2];
if ( (v2 & 0xFF000000) == 0 )
v2 |= 0x2000000u;
LOWORD(v5) = sub_45B0(v2);
if ( (v5 & 0xFF000000) == 0x2000000 )
{
var_1[1].m128i_i32[0] = v5;
var_6 = 0;
}
else
{
var_6 = -1;
v5 = v5 & 0xFFFFFF | 0x2000000;
var_1[1].m128i_i32[0] = v5;
}
if ( v5 != 24 )
{
LOBYTE(v5) = 24;
var_6 = -1;
var_1[1].m128i_i32[0] = v5;
}
if ( v5 != BYTE1(v5) && BYTE1(v5) != 32 )
{
v11 = v5;
BYTE1(v5) = 0;
var_6 = -1;
var_1[1].m128i_i32[0] = (v11 << 8) | v5;
}
if ( !v4 )
a2->m128i_i16[2] = *(var_8 + 20);
if ( !v3 )
a2->m128i_i16[3] = *(var_8 + 22);
if ( !v9 )
a2->m128i_i16[4] = *(var_8 + 24);
if ( !v8 )
a2->m128i_i16[5] = *(var_8 + 26);
if ( !var_1[1].m128i_i16[2] )
var_1[1].m128i_i16[2] = *(var_8 + 36);
if ( !var_1[1].m128i_i16[3] )
var_1[1].m128i_i16[3] = *(var_8 + 38);
if ( !a2->m128i_i16[6] )
a2->m128i_i16[6] = *(var_8 + 28);
if ( !a2->m128i_i16[7] )
a2->m128i_i16[7] = *(var_8 + 30);
if ( !v7 )
a2->m128i_i32[0] = 1;
v12 = _mm_loadu_si128(var_1);
v13 = *(var_8 + 8);
v18 = var_1[1].m128i_i64[0];
v14 = *(var_8 + 32);
var_16 = v12;
LODWORD(v18) = v14;
var_17 = ggiCheckMode(v13, &var_16);
if ( var_17 )
var_6 = var_17;
*(a2->m128i_i64 + 4) = *(v17.m128i_i64 + 4);
var_1[1].m128i_i32[1] = HIDWORD(v18);
a2->m128i_i32[3] = v17.m128i_i32[3];
return var_6;
}
Q:[var_1,var_8,var_6,var_17,var_16,sub_4E60,] | A:{'var_1': 'mode', 'var_8': 'priv', 'var_6': 'err', 'var_17': 'tmperr', 'var_16': 'par_mode', 'sub_4E60': 'GGI_trueemu_checkmode'} | ||
daf1184e6698d04eb142f5521f836b18 | sub_14E0 |
__int64 __fastcall sub_14E0(int a1)
{
return (a1 << 8) + a1;
}
Q:[sub_14E0,] | A:{'sub_14E0': 'ScaleCharToQuantum'} | ||
9f6d2c95d5092d40512cf9eb04f1941f | sub_66F0 |
__int64 sub_66F0()
{
var_0 = 0;
var_1 = 0;
return (*(qword_15780 + 96))(&var_0, 0LL);
}
Q:[var_0,var_1,sub_66F0,] | A:{'var_0': 'gmsg_buffer', 'var_1': 'gmsg_pos', 'sub_66F0': 'gmsg_kill'} | ||
225eebd93456b13dca0e85951cd205ec | sub_14440 |
__m128i *__fastcall sub_14440(__int64 a1, __int64 **var_1)
{
__int64 **v2;
__m128i *var_2;
__int64 v4;
v2 = var_1;
while ( 1 )
{
var_2 = sub_14250(v2);
if ( !var_2 )
break;
sub_14140(v4, var_2);
}
return var_2;
}
Q:[var_1,var_2,sub_14250,sub_14440,] | A:{'var_1': 'b', 'var_2': 'node', 'sub_14250': 'dlPopHead', 'sub_14440': 'dlCat'} | ||
e17d29447deb20095cbfe9c0994a4db4 | sub_49A0 |
__int64 __fastcall sub_49A0(_BYTE *var_2)
{
unsigned int v1;
char v2;
__int64 v3;
_BYTE *v4;
int v5;
const unsigned __int16 **v6;
const unsigned __int16 *v7;
__int64 v8;
v1 = 0;
v2 = *var_2;
if ( *var_2 )
{
v3 = 0x128825801LL;
do
{
while ( 1 )
{
v4 = var_2;
if ( v2 == 37 )
{
v5 = var_2[1];
v4 = var_2 + 1;
if ( v5 != 42 )
break;
}
v2 = v4[1];
var_2 = v4 + 1;
if ( !v2 )
return v1;
}
v6 = __ctype_b_loc();
v7 = *v6;
if ( ((*v6)[v5] & 0x800) != 0 )
{
do
{
v8 = *++v4;
v5 = v8;
}
while ( (v7[v8] & 0x800) != 0 );
}
if ( (v5 - 88) > 0x20u || !_bittest64(&v3, (v5 - 88)) )
{
sub_4C50(7LL, "Error: unrecognized pattern type: `%%%c'\n", v5);
exit(1);
}
v2 = v4[1];
++v1;
var_2 = v4 + 1;
}
while ( v2 );
}
return v1;
}
Q:[var_2,sub_49A0,] | A:{'var_2': 'fmt', 'sub_49A0': 'scan_count'} | ||
d6c43d3efe237a61311fad59bd4305a8 | sub_8BA0 |
void __fastcall sub_8BA0(
char *src,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
int a8,
int a9,
int a10,
int a11,
int a12,
int a13,
int a14,
int a15,
int a16,
int a17,
int a18,
int a19,
int a20,
int a21,
int a22,
int a23,
char a24)
{
char *v24;
__int64 var_2;
size_t v26;
unsigned int v27;
size_t v28;
unsigned int v29;
const char **v30;
const char *v31;
__int64 v32;
__int64 v33;
__int64 v34;
__int64 v35;
char *var_34;
char *v37;
char *v38;
char *v39;
char v40[8];
char v41;
unsigned __int64 v42;
v24 = src;
var_2 = 1LL;
v42 = __readfsqword(0x28u);
v26 = strlen(src);
v27 = *a2;
v28 = v26;
while ( 1 )
{
if ( v27 > 0x2F )
{
v30 = *(a2 + 8);
v29 = v27;
*(a2 + 8) = v30 + 1;
}
else
{
v29 = v27 + 8;
v30 = (*(a2 + 16) + v27);
*a2 = v27 + 8;
}
v31 = *v30;
*&v40[8 * v25] = *v30;
if ( !v31 )
break;
v28 += strlen(v31);
if ( var_2 == 15 )
{
gpg_err_set_errno(22LL);
return;
}
++var_2;
if ( v27 > 0x2F )
{
start(
v31,
a2,
v32,
v33,
v34,
v35,
a7,
a8,
a9,
a10,
a11,
a12,
a13,
a14,
a15,
a16,
a17,
a18,
a19,
a20,
a21,
a22,
a23,
a24);
return;
}
v27 = v29;
}
var_34 = malloc(v28 + 1);
if ( var_34 )
{
v37 = &v41;
v38 = var_34;
do
{
v37 += 8;
v39 = stpcpy(v38, v24);
v24 = *(v37 - 1);
v38 = v39;
}
while ( v24 );
}
}
Q:[var_2,var_34,sub_8BA0,] | A:{'var_2': 'argc', 'var_34': 'buffer', 'sub_8BA0': 'do_strconcat'} | ||
0730778463b0482bee18cccc3b4055d9 | sub_1200 |
__int64 __fastcall sub_1200(__int64 var_1, _DWORD *var_4)
{
__int64 v2;
FILE *v3;
size_t var_3;
v2 = *(var_1 + 232);
v3 = *(var_1 + 88);
*(var_1 + 152) = 64;
*(var_1 + 128) = 80;
*(var_1 + 168) = v2 + 64;
var_3 = fread((v2 + 64), 1uLL, 0x50uLL, v3);
if ( !var_3 )
return 0LL;
*(var_1 + 132) = 2 * var_3;
*var_4 = 2 * var_3;
*(var_1 + 128) = var_3;
return var_1 + 96;
}
Q:[var_1,var_4,var_3,sub_1200,] | A:{'var_1': 's', 'var_4': 'whennext', 'var_3': 'res', 'sub_1200': 'vox_read'} | ||
faa0fb15acf6c5b2d952e706622e4f51 | sub_D9A0 |
__int64 __fastcall sub_D9A0(__int64 var_2, int var_0)
{
__int64 v2;
__int64 result;
if ( var_0 <= 0 )
{
g_log(0LL, 4LL, "Wordlength must be greater than zero");
while ( 1 )
;
}
v2 = *(var_2 + 16);
*(var_2 + 24) = var_0;
result = var_0 / *(*(v2 + 16) + 8LL);
*(var_2 + 28) = result;
return result;
}
Q:[var_2,var_0,sub_D9A0,] | A:{'var_2': 'hsp_param', 'var_0': 'wordlen', 'sub_D9A0': 'HSP_Param_set_wordlen'} | ||
63d2d4fd6423c32308864a90d42e1e26 | sub_B2130 |
__int64 __fastcall sub_B2130(__int64 *var_2, __int64 var_6, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
__int64 v6;
__int64 var_5;
unsigned int var_13;
__int128 var_4;
__int128 v11;
__int128 v12;
__int128 v13;
unsigned __int64 v14;
v14 = __readfsqword(0x28u);
v6 = *var_2;
v11 = 0LL;
var_4 = 0LL;
var_5 = *(v6 + 3984);
*&v11 = var_6;
v12 = 0LL;
v13 = 0LL;
_mask_cancellation(var_2, var_6, a3, a4, a5, a6, 0LL, 0LL);
var_13 = syncop_ftw(*(*(var_5 + 104) + 8LL * *(var_2 + 2)), &var_4, 4294967290LL, var_2, sub_B1D60);
_unmask_cancellation();
return var_13;
}
Q:[var_2,var_6,var_5,var_13,var_4,sub_B2130,] | A:{'var_2': 'healer', 'var_6': 'inode', 'var_5': 'ec', 'var_13': 'ret', 'var_4': 'loc', 'sub_B2130': 'ec_shd_full_sweep'} | ||
29d6ddf0ed47d1f76f0c2801d080cb70 | sub_EE5A |
__int64 __fastcall sub_EE5A(const char *var_2, char *var_3, int var_0, __int64 var_4)
{
BYTE1(var_0) &= ~1u;
if ( var_0 == 1 )
return -(sub_E713(var_2, var_3, (var_4 + 740)) != 0);
__snprintf_chk(var_5, 100LL, 1LL, 100LL, "'%s' not valid in this context\n", var_2);
return 0xFFFFFFFFLL;
}
Q:[var_2,var_3,var_0,var_4,var_5,sub_E713,sub_EE5A,] | A:{'var_2': 'word', 'var_3': 'value', 'var_0': 'context', 'var_4': 'item', 'var_5': 'filerr', 'sub_E713': 'set_boolean', 'sub_EE5A': 'set_debugstate'} | ||
74ba30edb239f7f7fee167116e91afac | sub_C150 |
__int64 __fastcall sub_C150(unsigned int var_1, __int64 var_3)
{
__int64 result;
unsigned int v3;
unsigned int var_4;
__int64 v5;
unsigned int v6;
result = 0LL;
if ( var_1 <= 0xFFFE )
{
v3 = *(var_3 + 4);
if ( v3 )
{
if ( v3 <= var_1 )
return result;
var_4 = var_1 + (var_1 >> 8) * v3;
}
else
{
var_4 = var_1;
}
v5 = *(var_3 + 8);
result = var_1;
if ( v5 )
{
v6 = *(var_3 + 6);
if ( v6 <= var_4 && v6 + *var_3 > var_4 )
return *(v5 + 2LL * (var_4 - v6));
}
}
return result;
}
Q:[var_1,var_3,var_4,sub_C150,] | A:{'var_1': 'code', 'var_3': 'map', 'var_4': 'inx', 'sub_C150': 'luitRecode'} | ||
1af33e42db2f3b30042003338c6b2cc4 | sub_9A70 |
_BOOL8 __fastcall sub_9A70(__int64 a1, __int64 var_2, __int64 var_5, __int64 a4)
{
__int64 type;
__int64 v7;
__int64 var_4;
__int64 var_7;
type = g_dbus_proxy_get_type(a1, var_2);
v7 = g_type_check_instance_cast(a1, type);
var_4 = g_dbus_proxy_call_finish(v7, var_5, a4);
var_7 = var_4;
if ( var_4 )
{
g_variant_get(var_4, "(^as)", var_2);
g_variant_unref(var_7);
}
return var_7 != 0;
}
Q:[var_2,var_5,var_4,var_7,sub_9A70,] | A:{'var_2': 'proxy', 'var_5': 'error', 'var_4': 'res', 'var_7': 'out_methods', 'sub_9A70': 'sso_auth_service_call_query_methods_finish'} | ||
5d19a3bfd290b4612ab68a7d8989b300 | sub_ABF10 |
char *__fastcall sub_ABF10(unsigned __int64 a1, unsigned __int64 a2)
{
char *result;
__m128i v3;
__m128i v4;
v4 = _mm_unpacklo_epi64(a1, a2);
result = sub_ABB70(0x58uLL);
v3 = _mm_load_si128(&v4);
*result = 1;
*(result + 8) = v3;
return result;
}
Q:[sub_ABF10,] | A:{'sub_ABF10': 'pcc_thunk__create_node'} | ||
294f8e166dacb1307a05e75970a65bbc | sub_113D0 |
__int64 __fastcall sub_113D0(__int64 var_9)
{
__int64 var_1;
_QWORD *var_6;
int pixel;
_QWORD *v4;
_OWORD *v5;
char *v6;
__int64 v7;
int v8;
unsigned int v9;
char *v10;
int v11;
int v12;
unsigned int v13;
unsigned int v14;
int v15;
unsigned int v16;
unsigned int v17;
int v18;
unsigned int v19;
unsigned int v20;
int v21;
unsigned int v22;
unsigned int v23;
unsigned int v24;
int v25;
unsigned int v26;
unsigned int v27;
int v28;
unsigned int v29;
unsigned int v30;
int v31;
__int64 v32;
unsigned int v33;
unsigned int v34;
__int64 v35;
__int64 v36;
unsigned int v37;
_OWORD *v39;
void *v40;
char *v41;
int v42;
unsigned int v43;
int v44;
unsigned int v45;
void *v46;
__int64 *v47;
__int64 v48;
__int64 v49;
__int64 v50;
char *v51;
unsigned int v52;
__int64 v53;
__int64 v54;
unsigned int v55;
unsigned int v56;
char *v57;
int v58;
int v59;
XColor var_5;
unsigned __int64 v62;
v62 = __readfsqword(0x28u);
sub_E820("Initializing colors...");
var_1 = qword_202D8;
if ( !qword_202D8 )
return 1LL;
while ( XParseColor(qword_20378, qword_20370, (var_1 + 25), &var_5) != 12 )
{
XAllocColor(qword_20378, qword_20370, &var_5);
var_6 = malloc(0x58uLL);
__strcpy_chk(var_6, var_1, 25LL);
pixel = v61.pixel;
var_6[9] = var_6;
var_6[6] = 0LL;
*(var_6 + 7) = pixel;
*(var_6 + 20) = strlen(var_6);
v4 = *(var_9 + 56);
if ( v4 )
{
v5 = v4[4];
v6 = (var_6 + 4);
v7 = *(v5 + 3);
*(v7 + 16) = var_6;
var_6[5] = v7 - *(v5 + 4);
LODWORD(v7) = *(v5 + 4);
*(v5 + 3) = var_6 + 4;
v8 = v7 + 1;
}
else
{
*(var_9 + 56) = var_6;
var_6[5] = 0LL;
v39 = malloc(0x40uLL);
var_6[4] = v39;
v5 = v39;
if ( !v39 )
goto LABEL_48;
v6 = (var_6 + 4);
v39[1] = 0LL;
v39[2] = 0LL;
*(v39 + 3) = var_6 + 4;
v39[3] = 0LL;
*(v39 + 4) = 32LL;
*(v39 + 1) = 0x500000020LL;
v40 = calloc(0x200uLL, 1uLL);
*v5 = v40;
if ( !v40 )
LABEL_48:
exit(-1);
*(v5 + 14) = -1609490463;
v4 = var_6;
v8 = 1;
}
*(v5 + 4) = v8;
var_6[4] = v5;
*(var_6 + 21) = -17973521;
v9 = strlen(var_6);
v10 = var_6;
v11 = -17973521;
v12 = -1640531527;
v13 = v9;
v14 = -1640531527;
if ( v9 > 0xB )
{
v15 = -1640531527;
do
{
v16 = (v10[5] << 8) + (v10[6] << 16) + v10[4] + (v10[7] << 24) + v14;
v17 = (v10[9] << 8) + (v10[10] << 16) + v10[8] + (v10[11] << 24) + v11;
v18 = (v17 >> 13) ^ ((v10[1] << 8) + (v10[2] << 16) + *v10 + (v10[3] << 24) - v17 - v16 + v15);
v19 = (v18 << 8) ^ (v16 - v17 - v18);
v20 = (v19 >> 13) ^ (v17 - v18 - v19);
v13 -= 12;
v10 += 12;
v21 = (v18 - v19 - v20) ^ (v20 >> 12);
v22 = (v19 - v20 - v21) ^ (v21 << 16);
v23 = (v22 >> 5) ^ (v20 - v21 - v22);
v15 = (v23 >> 3) ^ (v21 - v22 - v23);
v14 = (v15 << 10) ^ (v22 - v23 - v15);
v11 = (v14 >> 15) ^ (v23 - v15 - v14);
*(var_6 + 21) = v11;
}
while ( v13 > 0xB );
v59 = v11;
v58 = v14;
v57 = v10;
v9 = strlen(var_6);
v10 = v57;
v14 = v15;
v12 = v58;
v11 = v59;
}
v24 = v11 + v9;
*(var_6 + 21) = v24;
switch ( v13 )
{
case 1u:
goto LABEL_20;
case 2u:
goto LABEL_19;
case 3u:
goto LABEL_18;
case 4u:
goto LABEL_17;
case 5u:
goto LABEL_16;
case 6u:
goto LABEL_15;
case 7u:
goto LABEL_14;
case 8u:
goto LABEL_13;
case 9u:
goto LABEL_12;
case 0xAu:
goto LABEL_11;
case 0xBu:
v24 += v10[10] << 24;
*(var_6 + 21) = v24;
LABEL_11:
v24 += v10[9] << 16;
*(var_6 + 21) = v24;
LABEL_12:
v24 += v10[8] << 8;
*(var_6 + 21) = v24;
LABEL_13:
v12 += v10[7] << 24;
LABEL_14:
v12 += v10[6] << 16;
LABEL_15:
v12 += v10[5] << 8;
LABEL_16:
v12 += v10[4];
LABEL_17:
v14 += v10[3] << 24;
LABEL_18:
v14 += v10[2] << 16;
LABEL_19:
v14 += v10[1] << 8;
LABEL_20:
v14 += *v10;
break;
default:
break;
}
v25 = (v24 >> 13) ^ (v14 - (v12 + v24));
v26 = (v25 << 8) ^ (v12 - v24 - v25);
v27 = (v26 >> 13) ^ (v24 - v25 - v26);
v28 = (v25 - v26 - v27) ^ (v27 >> 12);
v29 = (v28 << 16) ^ (v26 - v27 - v28);
v30 = (v29 >> 5) ^ (v27 - v28 - v29);
v31 = (v28 - v29 - v30) ^ (v30 >> 3);
v32 = v4[4];
v33 = (v31 << 10) ^ (v29 - v30 - v31);
v34 = v30 - v31 - v33;
v33 >>= 15;
*(var_6 + 21) = v33 ^ v34;
v35 = *v32 + 16LL * ((v33 ^ v34) & (*(v32 + 8) - 1));
v36 = *v35;
v37 = *(v35 + 8) + 1;
*(v35 + 8) = v37;
var_6[8] = v36;
var_6[7] = 0LL;
if ( v36 )
*(v36 + 24) = v6;
*v35 = v6;
if ( v37 >= 2 * (5 * *(v35 + 12) + 5) && *(v5 + 13) != 1 )
{
v41 = calloc(16LL * (2 * *(v5 + 2)), 1uLL);
if ( !v41 )
goto LABEL_48;
v42 = *(v5 + 2);
v43 = *(v5 + 4);
*(v5 + 11) = 0;
v44 = 2 * v42 - 1;
v45 = (v43 >> (*(v5 + 3) + 1)) - (((v44 & v43) == 0) - 1);
*(v5 + 10) = v45;
if ( v42 )
{
v46 = *v5;
v47 = *v5;
v48 = *v5 + 16LL * (v42 - 1) + 16;
do
{
v49 = *v47;
if ( *v47 )
{
while ( 1 )
{
v50 = *(v49 + 32);
v51 = &v41[16 * (*(v49 + 52) & v44)];
v52 = *(v51 + 2) + 1;
*(v51 + 2) = v52;
if ( v45 < v52 )
{
++*(v5 + 11);
*(v51 + 3) = v52 / v45;
}
v53 = *v51;
*(v49 + 24) = 0LL;
*(v49 + 32) = v53;
if ( v53 )
{
*(v53 + 24) = v49;
*v51 = v49;
if ( !v50 )
break;
}
else
{
*v51 = v49;
if ( !v50 )
break;
}
v49 = v50;
}
}
v47 += 2;
}
while ( v48 != v47 );
}
else
{
v46 = *v5;
}
free(v46);
v54 = var_6[4];
v55 = *(v54 + 16);
++*(v54 + 12);
*v54 = v41;
*(v54 + 8) *= 2;
if ( *(v54 + 44) > v55 >> 1 )
{
v56 = *(v54 + 48) + 1;
*(v54 + 48) = v56;
if ( v56 > 1 )
*(v54 + 52) = 1;
}
else
{
*(v54 + 48) = 0;
}
}
var_1 = *(var_1 + 64);
if ( !var_1 )
return 1LL;
}
__fprintf_chk(stderr, 1LL, "Invalid X11 color %s.\n", (var_1 + 25));
return 0LL;
}
Q:[var_9,var_1,var_6,var_5,sub_113D0,] | A:{'var_9': 'c', 'var_1': 'tc', 'var_6': 'new_color', 'var_5': 'xcolor', 'sub_113D0': 'x11_initialize_colors'} | ||
4f35eb929f451c5c64d429fb7dc53016 | sub_74D50 |
__int64 __fastcall sub_74D50(__int64 var_1, __int64 var_2)
{
if ( epoxy_glGetVaryingLocationNV != sub_74D50 )
return epoxy_glGetVaryingLocationNV(var_1, var_2);
epoxy_glGetVaryingLocationNV = sub_74D40();
return epoxy_glGetVaryingLocationNV(var_1, var_2);
}
Q:[var_1,var_2,sub_74D50,] | A:{'var_1': 'program', 'var_2': 'name', 'sub_74D50': 'epoxy_glGetVaryingLocationNV_global_rewrite_ptr'} | ||
11095b4e9059d1523e694504f85af9a9 | sub_65E0 |
_QWORD *__fastcall sub_65E0(_QWORD *var_2)
{
_QWORD *v2;
const char *v3;
_QWORD *var_3;
char *v5;
char *v6;
v2 = sub_65C0();
v3 = var_2[2];
var_3 = v2;
*v2 = *var_2;
v2[1] = var_2[1];
v5 = strdup(v3);
v6 = var_2[3];
var_3[2] = v5;
if ( v6 )
v6 = strdup(v6);
var_3[3] = v6;
return var_3;
}
Q:[var_2,var_3,sub_65E0,] | A:{'var_2': 'msg', 'var_3': 'copy', 'sub_65E0': 'msg_Copy'} | ||
81dabc75d633411078ba59ff60ae066b | sub_3E00 |
void *__fastcall sub_3E00(const char *var_0, signed int var_1, __int64 var_2)
{
void *result;
sub_3DC0(var_0, var_1, var_2);
*(var_2 + 16) = var_1;
result = malloc(var_1);
*(var_2 + 24) = result;
return result;
}
Q:[var_0,var_1,var_2,sub_3DC0,sub_3E00,] | A:{'var_0': 'type', 'var_1': 'len', 'var_2': 'dst', 'sub_3DC0': 'ChMessageHeader_new', 'sub_3E00': 'ChMessage_new'} | ||
548143ec18e92a4b0489e68a832e3b61 | sub_EC50 |
__int64 __fastcall sub_EC50(__int64 var_1, int var_2)
{
int var_4;
int var_3;
__int64 var_0[7];
var_0[1] = __readfsqword(0x28u);
if ( element_in_scope(var_1, var_2, 0) )
{
close_implied_end_tags(var_1, 120);
do
{
element_stack_pop(var_1, &var_3, &var_4, var_0);
(*(*(var_1 + 88) + 40LL))(*(*(var_1 + 88) + 144LL), var_0[0]);
}
while ( var_4 != var_2 );
}
return 0LL;
}
Q:[var_1,var_2,var_4,var_3,var_0,sub_EC50,] | A:{'var_1': 'treebuilder', 'var_2': 'type', 'var_4': 'otype', 'var_3': 'ns', 'var_0': 'node', 'sub_EC50': 'process_0container_in_body'} | ||
c8a80f1a80a94cb336ca6cd48e9007cf | sub_3B30 |
__int64 __fastcall sub_3B30(
FILE *var_11,
FILE *var_45,
__int64 var_24,
__int64 var_9,
__int16 a5,
__int64 var_44,
__int16 var_42,
__int16 var_43)
{
int var_0;
char *v10;
__ssize_t var_10;
char *v12;
char v13;
char *var_14;
char v15;
char v16;
char *v17;
char v18;
int v19;
char *v20;
__int64 *v21;
__ssize_t v22;
__int64 v23;
_BYTE *v25;
const char *v26;
_BOOL8 var_46;
char *v28;
char *v29;
char *v30;
char *v31;
char v32;
char *v33;
char *v34;
__int64 v35;
__int64 v36;
char *var_59;
_BYTE *v38;
_BYTE *v39;
_BYTE *v40;
__m128i v41;
char *sc;
char *var_26;
char *sd;
char *sa;
char *sb;
const char *v47;
char *v48;
__int64 *v51;
__int64 v52;
__int16 var_5;
char *var_3;
size_t var_6;
__int64 var_35;
__int64 var_37;
__int64 var_38;
__int64 var_39;
__int64 var_4[2];
void *var_22[2];
void *v65;
unsigned __int64 v66;
var_0 = 2;
v10 = 0LL;
v66 = __readfsqword(0x28u);
var_3 = 0LL;
var_4[0] = &var_5;
var_6 = 0LL;
v51 = 0LL;
v52 = liblist_list_size(var_9);
var_5 = 0;
LABEL_5:
while ( 2 )
{
var_10 = getline(&var_3, &var_6, var_11);
LABEL_6:
if ( var_10 == -1 )
{
LABEL_51:
if ( feof(var_11) )
{
free(var_3);
return 0LL;
}
else
{
return sub_3AB0(var_11);
}
}
else
{
if ( var_10 <= 4 )
goto LABEL_2;
v12 = var_3;
if ( var_0 == 2 )
{
LABEL_40:
var_0 = 2;
if ( !memcmp("--- ", v12, 4uLL) )
{
LABEL_10:
v13 = v12[3];
var_14 = v12 + 3;
if ( v13 == 9 || v13 == 32 )
{
do
{
do
v15 = *++var_14;
while ( v15 == 32 );
}
while ( v15 == 9 );
}
v47 = v12;
sc = var_14;
free(v10);
v10 = strdup(sc);
v16 = *v10;
if ( (*v10 & 0xDF) != 0 && (v16 - 9) > 1u )
{
v17 = v10;
do
v18 = *++v17;
while ( (v18 - 9) > 1u && (v18 & 0xDF) != 0 );
}
else
{
if ( !v16 )
{
__fprintf_chk(stderr, 1LL, "Expecting filename, got nothing: \"%s\"\n", v47);
if ( var_0 != 3 )
{
free(var_22[v8]);
if ( var_0 == 1 )
{
var_0 = 3;
free(v65);
}
else
{
var_0 = 3;
}
}
continue;
}
v17 = v10;
}
*v17 = 0;
var_4[1] = v10;
liblist_list_traverse(var_24, var_4, sub_39B0, 36LL);
v19 = var_0--;
var_26 = var_3;
v20 = strdup(var_3);
var_22[v8] = v20;
v20[v11 - 1] = 0;
if ( var_0 )
{
if ( *var_26 != 43 )
continue;
sd = var_0;
var_0 = v19 - 2;
var_22[(v19 - 2)] = strdup(v20);
v25 = var_22[sd];
*v25 = 11565;
v25[2] = 45;
if ( v19 != 2 )
continue;
}
if ( !var_5 )
{
v38 = var_22[0];
v39 = var_22[1];
if ( a5 )
{
v40 = var_22[0];
v41 = _mm_unpacklo_epi64(var_22[1], var_22[0]);
*var_22[1] = 11565;
v39[2] = 45;
*var_22 = v41;
*v38 = 11051;
v38[2] = 43;
v38 = v39;
v39 = v40;
}
v51 = sub_3460(v39 + 4, v38 + 4);
}
var_35 = 0LL;
v21 = 0LL;
var_37 = 0LL;
var_38 = 0LL;
var_39 = 0LL;
while ( 1 )
{
while ( 1 )
{
v22 = getline(&var_3, &var_6, var_11);
v23 = var_39;
var_10 = v22;
if ( !(var_39 | var_37) )
break;
if ( v22 == -1 )
return sub_3AB0(var_11);
if ( *var_3 == 45 )
{
if ( !var_37 )
return sub_3A70(v10, var_3);
--var_37;
if ( a5 )
*var_3 = 43;
}
else if ( *var_3 > 45 )
{
if ( *var_3 != 92 )
{
LABEL_100:
__fprintf_chk(
stderr,
1LL,
"Unrecognized diff character '%c' for file \"%s\" in \"%s\"\n",
*var_3,
v10,
var_3);
return 1LL;
}
if ( var_37 && var_39 )
return sub_3A70(v10, var_3);
}
else if ( *var_3 == 32 )
{
if ( !var_37 || !var_39 )
return sub_3A70(v10, var_3);
--var_37;
--var_39;
}
else
{
if ( *var_3 != 43 )
goto LABEL_100;
if ( !var_39 )
return sub_3A70(v10, var_3);
--var_39;
if ( a5 )
*var_3 = 45;
}
if ( !var_5 && sub_2B60(v21, var_3) )
{
__fprintf_chk(stderr, 1LL, "error: diff_block_interpret() returned error for line: ``%s''\n", var_3);
return 1LL;
}
}
if ( var_5 )
{
if ( v22 == -1 )
goto LABEL_50;
if ( v21 )
{
fwrite("error: inconsistent state: diff_block is non-NULL\n", 1uLL, 0x32uLL, stderr);
return 1LL;
}
}
else if ( v21 )
{
if ( sub_3500(v51, v21) )
{
fwrite("error: diff_add() returned error\n", 1uLL, 0x21uLL, stderr);
return 1LL;
}
if ( var_10 == -1 )
{
if ( var_5 )
{
LABEL_50:
var_5 = 0;
goto LABEL_51;
}
LABEL_58:
if ( v52 )
sub_55C0(v51, sub_4B90, var_9);
if ( var_42 )
sub_55C0(v51, sub_4A20, 0LL);
if ( var_43 )
sub_55C0(v51, sub_4AC0, 0LL);
if ( var_44 != -1 )
sub_4990(v51, var_44, v23);
v10 = 0LL;
sub_38E0(v51, var_45);
var_0 = 2;
sub_3960(v51);
v51 = 0LL;
var_5 = 0;
goto LABEL_6;
}
}
else if ( v22 == -1 )
{
goto LABEL_58;
}
if ( var_10 <= 2 )
{
if ( !var_5 )
goto LABEL_58;
var_5 = 0;
v12 = var_3;
LABEL_68:
v10 = 0LL;
var_0 = 2;
fputs(v12, var_45);
goto LABEL_5;
}
if ( *var_3 != 64 || var_3[1] != 64 || var_3[2] != 32 )
{
v12 = var_3;
if ( !var_5 )
goto LABEL_58;
v10 = 0LL;
var_5 = 0;
if ( var_10 > 4 )
goto LABEL_40;
goto LABEL_68;
}
if ( __isoc99_sscanf(var_3, "@@ -%lu,%lu +%lu,%lu @@", &var_35, &var_37, &var_38, &var_39) == 4
|| (var_39 = 1LL, __isoc99_sscanf(var_3, "@@ -%lu,%lu +%lu @@", &var_35, &var_37, &var_38) == 3)
|| (var_37 = 1LL, __isoc99_sscanf(var_3, "@@ -%lu +%lu,%lu @@", &var_35, &var_38, &var_39) == 3) )
{
LOWORD(var_46) = 1;
}
else
{
var_37 = 1LL;
var_39 = 1LL;
var_46 = __isoc99_sscanf(var_3, "@@ -%lu +%lu @@", &var_35, &var_38) == 2;
}
var_3[v11 - 1] = 0;
v28 = var_3;
v29 = strstr(var_3 + 2, "@@");
v30 = v29 + 2;
v31 = v29;
v32 = v29[2];
sa = v30;
v33 = 0LL;
v48 = v31;
if ( v32 )
{
v34 = strchr(" \t", v32);
v33 = sa;
if ( v34 )
{
v33 = v48 + 3;
if ( !v48[3] )
v33 = 0LL;
}
}
if ( !var_46 )
{
__fprintf_chk(
stderr,
1LL,
"%s: I tried to parse \"%s\" as a magic diff header and that failed :-/\n",
v10,
v28);
return 1LL;
}
v21 = 0LL;
if ( !var_5 )
{
v35 = var_38;
if ( !var_39 )
v35 = ++var_38;
v36 = var_35;
if ( !var_37 )
v36 = ++var_35;
sb = v33;
if ( a5 )
var_59 = sub_29B0(v35, v36);
else
var_59 = sub_29B0(v36, v35);
v21 = var_59;
sub_2C30(var_59, sb);
}
}
}
}
if ( !memcmp("+++ ", v12, 4uLL) )
goto LABEL_10;
LABEL_2:
if ( var_0 != 1 )
{
if ( !v10 )
fputs(var_3, var_45);
continue;
}
v26 = "<unknown>";
if ( v10 )
v26 = v10;
var_3[v11 - 1] = 0;
__fprintf_chk(stderr, 1LL, "%s: Badly formed diff: expecting \"+++ <filename>\", got \"%s\"\n", v26, var_3);
free(v10);
free(var_3);
free(var_22[1]);
return 1LL;
}
}
}
Q:[var_11,var_45,var_24,var_9,var_44,var_42,var_43,var_0,var_10,var_14,var_46,var_59,var_26,var_5,var_3,var_6,var_35,var_37,var_38,var_39,var_4,var_22,sub_29B0,sub_2B60,sub_2C30,sub_3460,sub_3500,sub_3A70,sub_3AB0,sub_3B30,] | A:{'var_11': 'in', 'var_45': 'out', 'var_24': 'bad_files_list', 'var_9': 'cvs_keyword_list', 'var_44': 'context_lines', 'var_42': 'cleanup_allwhitespace', 'var_43': 'cleanup_somewhitespace', 'var_0': 'garbage', 'var_10': 'line_len', 'var_14': 'tmp', 'var_46': 'in_diff', 'var_59': 'diff_block', 'var_26': 'block_comment', 'var_5': 'skip_file', 'var_3': 'line', 'var_6': 'line_alloc_size', 'var_35': 'orig_begin', 'var_37': 'orig_numlines', 'var_38': 'new_begin', 'var_39': 'new_numlines', 'var_4': 'traverse_info', 'var_22': 'diff_headers', 'sub_29B0': 'diff_block_init', 'sub_2B60': 'diff_block_interpret', 'sub_2C30': 'diff_block_comment_set', 'sub_3460': 'diff_init', 'sub_3500': 'diff_add', 'sub_3A70': 'diff_error_wrongchar', 'sub_3AB0': 'diff_error_input', 'sub_3B30': 'difffilter'} | ||
1fa4ad850e9cd395b49c1e4d19b0e93e | sub_8D2E0 |
void sub_8D2E0()
{
__int64 v0;
v0 = MR_dummy_identify_function(&loc_8D320);
__asm { jmp rax }
}
Q:[sub_8D2E0,] | A:{'sub_8D2E0': 'mdb__declarative_execution_module74'} | ||
84f5c69a0ca5de5871fe6610488613e5 | sub_11D0 |
__int64 __fastcall sub_11D0(__int64 var_1)
{
__int64 var_0;
__int16 v2;
__int16 v3;
int v4;
int v5;
int v6;
int v7;
int v8;
int v9;
int v10;
__int64 i;
var_0 = *(var_1 + 8);
v2 = *(var_0 + 304);
if ( (v2 & 3) == 0 )
{
(*(xt_params + 40LL))(2LL, "policy match: neither --dir in nor --dir out specified");
goto LABEL_49;
}
if ( (v2 & 4) != 0 )
{
if ( (v2 & 8) == 0 )
{
if ( !*(var_0 + 306) )
return var_0;
goto LABEL_50;
}
LABEL_49:
(*(xt_params + 40LL))(2LL, "policy match: policy none but --strict given");
LABEL_50:
(*(xt_params + 40LL))(2LL, "policy match: policy none but policy given");
LABEL_51:
for ( i = 0LL; ; i = 2LL )
{
LABEL_45:
(*(xt_params + 40LL))(
2LL,
"policy match: empty policy element %u. --strict is in effect, but at least one of reqid, spi, tunnel-src, tunnel"
"-dst, proto or mode is required.",
i);
LABEL_46:
;
}
}
v3 = *(var_0 + 306);
*(var_0 + 306) = v3 + 1;
v4 = (v3 + 1);
if ( v3 != -1 )
{
if ( (v2 & 8) == 0 )
goto LABEL_28;
if ( (*(var_0 + 74) & 0x3F) == 0 )
goto LABEL_51;
if ( (*(var_0 + 74) & 3) != 0 )
{
v5 = *(var_0 + 72) & 0x800FF00;
if ( v5 == 134217984 || !v5 )
goto LABEL_42;
}
if ( v4 != 1 )
{
if ( (*(var_0 + 150) & 0x3F) == 0 )
{
i = 1LL;
goto LABEL_45;
}
if ( (*(var_0 + 150) & 3) != 0 )
{
v6 = *(var_0 + 148) & 0x800FF00;
if ( v6 == 134217984 || !v6 )
goto LABEL_42;
}
if ( v4 != 2 )
{
if ( (*(var_0 + 226) & 0x3F) == 0 )
goto LABEL_46;
if ( (*(var_0 + 226) & 3) != 0 )
{
v7 = *(var_0 + 224) & 0x800FF00;
if ( v7 == 134217984 || !v7 )
goto LABEL_42;
}
if ( v4 != 3 )
{
if ( (*(var_0 + 302) & 0x3F) == 0 )
{
i = 3LL;
goto LABEL_45;
}
if ( (*(var_0 + 302) & 3) != 0 )
{
var_0 = *(var_0 + 300) & 0x800FF00;
if ( var_0 == 134217984 || !var_0 )
{
LABEL_42:
while ( 1 )
{
var_0 = (*(xt_params + 40LL))(
2LL,
"policy match: --tunnel-src/--tunnel-dst is only valid in tunnel mode");
LABEL_28:
if ( (*(var_0 + 74) & 3) != 0 )
{
v8 = *(var_0 + 72) & 0x800FF00;
if ( v8 == 134217984 || !v8 )
continue;
}
if ( v4 == 1 )
break;
if ( (*(var_0 + 150) & 3) != 0 )
{
v9 = *(var_0 + 148) & 0x800FF00;
if ( v9 == 134217984 || !v9 )
continue;
}
if ( v4 == 2 )
break;
if ( (*(var_0 + 226) & 3) != 0 )
{
v10 = *(var_0 + 224) & 0x800FF00;
if ( v10 == 134217984 || !v10 )
continue;
}
if ( v4 == 3 )
break;
if ( (*(var_0 + 302) & 3) == 0 )
break;
var_0 = *(var_0 + 300) & 0x800FF00;
if ( var_0 )
{
if ( var_0 != 134217984 )
break;
}
}
}
}
}
}
}
}
return var_0;
}
Q:[var_1,var_0,sub_11D0,] | A:{'var_1': 'cb', 'var_0': 'info', 'sub_11D0': 'policy_check'} | ||
12ce013621fa3586dcd5511f73a1e4f9 | sub_46B20 |
__int64 __fastcall sub_46B20(__int64 var_1)
{
__int64 v1;
__int64 v2;
__int64 v3;
v1 = sub_41280(var_1);
*(var_1 + 32) = v1;
g_mutex_init(v1 + 32);
v2 = *(var_1 + 32);
*(v2 + 24) = g_main_context_ref_thread_default();
v3 = g_malloc0(24LL);
**(var_1 + 32) = v3;
return g_value_init(v3, 28LL);
}
Q:[var_1,sub_41280,sub_46B20,] | A:{'var_1': 'skeleton', 'sub_41280': 'xdp_dbus_network_monitor_skeleton_get_instance_private', 'sub_46B20': 'xdp_dbus_network_monitor_skeleton_init'} | ||
d42d2261888bbd104030868a7c65ea54 | sub_5710 |
__int64 __fastcall sub_5710(__int64 var_3, __int64 a2, _QWORD *var_1)
{
__int64 v4;
__int64 v6;
void *v7;
int v8;
char v9[12];
int var_4;
__int64 var_2[4];
v4 = *var_1;
var_2[1] = __readfsqword(0x28u);
if ( !enif_get_atom_length(var_3, v4, &var_4, 1LL) )
return sub_2500(var_3, 22);
if ( !enif_get_resource(var_3, var_1[1], var_5, var_2) )
return sub_2500(var_3, 22);
v6 = (var_4 + 1);
v7 = alloca(16 * ((v6 + 15) >> 4));
enif_get_atom(var_3, *var_1, v9, v6, 1LL);
if ( !strcmp(v9, "undefined") )
return sub_2500(var_3, 22);
v8 = register_tree(v9);
if ( v8 )
return sub_2500(var_3, v8);
else
return enif_make_atom(var_3, "ok");
}
Q:[var_3,var_1,var_4,var_2,var_5,sub_2500,sub_5710,] | A:{'var_3': 'env', 'var_1': 'argv', 'var_4': 'len', 'var_2': 'state', 'var_5': 'tree_state_t', 'sub_2500': 'raise', 'sub_5710': 'register_2'} | ||
481ef92e631f4c54baec1b46391f055b | sub_D710 |
_QWORD *__fastcall sub_D710(__int64 a1)
{
_QWORD *var_0;
int v2;
__int64 v3;
int var_4;
__int64 var_8;
_DWORD *v6;
_DWORD *var_11;
unsigned int v8;
_DWORD *var_13;
unsigned int v10;
_DWORD *var_15;
unsigned int v12;
_DWORD *var_17;
unsigned int v14;
_DWORD *var_19;
_DWORD *var_21;
double v17;
float v18;
_DWORD *v19;
double v20;
__int64 v21;
float var_28;
_QWORD *result;
double v24;
__int64 var_6;
unsigned int v26;
__int64 v27;
unsigned int v28;
var_0 = PL_stack_sp;
v2 = sub_3B10();
v3 = v2;
var_4 = v2 + 1;
if ( ((var_0 - PL_stack_base + -8 * v3) >> 3) == 10 )
{
var_6 = 8LL * var_4;
v27 = pack2D(*(PL_stack_base + var_6), 102);
var_8 = PL_stack_base;
v6 = *(PL_stack_base + 8LL * (v3 + 2));
if ( (v6[3] & 0x200100) == 256 )
{
v26 = *(*v6 + 32LL);
}
else
{
v26 = Perl_sv_2iv_flags(v6, 2LL);
var_8 = PL_stack_base;
}
var_11 = *(var_8 + 8LL * (v3 + 3));
if ( (var_11[3] & 0x200100) == 256 )
{
v8 = *(*var_11 + 32LL);
}
else
{
v8 = Perl_sv_2iv_flags(var_11, 2LL);
var_8 = PL_stack_base;
}
var_13 = *(var_8 + 8LL * (v3 + 4));
if ( (var_13[3] & 0x200100) == 256 )
{
v10 = *(*var_13 + 32LL);
}
else
{
v10 = Perl_sv_2iv_flags(var_13, 2LL);
var_8 = PL_stack_base;
}
var_15 = *(var_8 + 8LL * (v3 + 5));
if ( (var_15[3] & 0x200100) == 256 )
{
v12 = *(*var_15 + 32LL);
}
else
{
v12 = Perl_sv_2iv_flags(var_15, 2LL);
var_8 = PL_stack_base;
}
var_17 = *(var_8 + 8LL * (v3 + 6));
if ( (var_17[3] & 0x200100) == 256 )
{
v14 = *(*var_17 + 32LL);
}
else
{
v14 = Perl_sv_2iv_flags(var_17, 2LL);
var_8 = PL_stack_base;
}
var_19 = *(var_8 + 8LL * (v3 + 7));
if ( (var_19[3] & 0x200100) == 256 )
{
v28 = *(*var_19 + 32LL);
}
else
{
v28 = Perl_sv_2iv_flags(var_19, 2LL);
var_8 = PL_stack_base;
}
var_21 = *(var_8 + 8LL * (v3 + 8));
if ( (var_21[3] & 0x200200) == 512 )
{
v17 = *(*var_21 + 40LL);
}
else
{
v17 = Perl_sv_2nv_flags(var_21, 2LL);
var_8 = PL_stack_base;
}
v18 = v17;
v19 = *(var_8 + 8LL * (v3 + 9));
if ( (v19[3] & 0x200200) == 512 )
{
v20 = *(*v19 + 40LL);
}
else
{
v24 = Perl_sv_2nv_flags(v19, 2LL);
var_8 = PL_stack_base;
v20 = v24;
}
v21 = pack1D(*(var_8 + 8LL * (v3 + 10)), 102);
var_28 = v20;
cpgimag(v27, v26, v8, v10, v12, v14, v18, var_28, v28, v21);
result = (PL_stack_base + var_6 - 8);
PL_stack_sp = result;
}
else
{
Perl_croak_xs_usage(a1, "a, idim, jdim, i1, i2, j1, j2, a1, a2, tr");
return sub_DA10(a1);
}
return result;
}
Q:[var_0,var_4,var_8,var_11,var_13,var_15,var_17,var_19,var_21,var_28,var_6,sub_D710,sub_DA10,] | A:{'var_0': 'sp', 'var_4': 'ax', 'var_8': 'a', 'var_11': 'idim', 'var_13': 'jdim', 'var_15': 'i1', 'var_17': 'i2', 'var_19': 'j1', 'var_21': 'j2', 'var_28': 'tr', 'var_6': 'cv', 'sub_D710': 'XS_PGPLOT_pgimag', 'sub_DA10': 'XS_PGPLOT_pghi2d'} | ||
93ed902c7f0a3a18302acf0060d09577 | sub_C3380 |
unsigned __int64 __fastcall sub_C3380(__int64 a1, __int64 var_6)
{
__int64 v2;
unsigned int v4;
unsigned __int64 v5;
v5 = __readfsqword(0x28u);
v2 = (*(*&dword_1BBF98 + 1216LL))(&v4, a1 + 60, a1 + 40, 0LL, &aQsgmaterialrhi[9544]);
if ( v2 )
sub_93110(v4, off_1AD5D0, *(a1 + 40), v2, var_6);
else
QQuickWindow::focusInEvent(a1, var_6);
return v5 - __readfsqword(0x28u);
}
Q:[var_6,sub_93110,sub_C3380,] | A:{'var_6': 'a0', 'sub_93110': 'sipVH_QtQuick_14', 'sub_C3380': 'focusInEvent'} | ||
7dbc2a37b050e07b15cf1b38535784ae | sub_DCD0 |
__int64 __fastcall sub_DCD0(Window var_5, __int64 a2, __int64 a3)
{
__int64 v3;
__int64 var_1;
__int64 v5;
__int64 v6;
_QWORD *v7;
v3 = *(sub_6170() + 16);
var_1 = (v3 - 1);
if ( v3 - 1 >= 0 )
{
v5 = 8LL * var_1;
v6 = 8 * (v3 - var_1) - 16;
do
{
v7 = sub_6170();
var_1 = sub_7AE0(*(*v7 + v5));
if ( var_1 && *(var_1 + 254) && *(var_1 + 255) && (*(*(var_1 + 384) + 8LL) & var_5) == 0 )
var_1 = sub_CBA0(var_1);
v5 -= 8LL;
}
while ( v5 != v6 );
}
return var_1;
}
Q:[var_5,var_1,sub_6170,sub_CBA0,sub_DCD0,] | A:{'var_5': 'tag', 'var_1': 'i', 'sub_6170': 'windows_in_play', 'sub_CBA0': 'client_shade', 'sub_DCD0': 'tag_only'} | ||
69f99707781524149824e011f7e14e61 | sub_1850 |
__int64 __fastcall sub_1850(__int64 var_0, __int64 var_1)
{
__int64 var_2;
__int64 v5;
__int64 var_4;
__int64 v7;
int v8;
__int64 v9;
const char *v10;
__int64 v11;
__int64 var_13;
__int64 var_14;
__int64 var_21;
__int64 v15;
__int64 v16;
__int64 var_23;
__int16 v18;
__int64 v19;
__int64 v20;
__int16 v21;
__int64 v22;
__int64 v23;
__int16 v24;
__int64 v25;
__int64 v26;
__int16 v27;
__int64 v28;
__int64 v29;
__int64 var_24;
__int64 v31;
unsigned int v32;
__int64 BlobSize;
__int64 v35;
int *v36;
const char *var_16;
int var_8;
__int64 var_12;
if ( !var_0 )
__assert_fail("image_info != (const ImageInfo *) NULL", "coders/avs.c", 0x82u, "ReadAVSImage");
if ( *(var_0 + 12920) != 2880220587LL )
__assert_fail("image_info->signature == MagickCoreSignature", "coders/avs.c", 0x83u, "ReadAVSImage");
if ( !var_1 )
__assert_fail("exception != (ExceptionInfo *) NULL", "coders/avs.c", 0x84u, "ReadAVSImage");
if ( *(var_1 + 48) != 2880220587LL )
__assert_fail("exception->signature == MagickCoreSignature", "coders/avs.c", 0x85u, "ReadAVSImage");
if ( IsEventLogging() )
LogMagickEvent(0x8000LL, "coders/avs.c", "ReadAVSImage", 135LL, "%s", (var_0 + 8816));
var_2 = AcquireImage(var_0, var_1);
v5 = var_2;
if ( !OpenBlob(var_0, var_2, 2LL, var_1) )
goto LABEL_36;
var_4 = ReadBlobMSBLong(var_2);
v7 = ReadBlobMSBLong(var_2);
if ( EOFBlob(var_2) )
{
ThrowMagickException(var_1, "coders/avs.c", "ReadAVSImage", 150LL, 425LL, "ImproperImageHeader", "`%s'");
goto LABEL_43;
}
if ( !var_4 || !v7 )
{
ThrowMagickException(var_1, "coders/avs.c", "ReadAVSImage", 152LL, 425LL, "ImproperImageHeader", "`%s'");
LABEL_43:
if ( var_2 )
goto LABEL_35;
return 0LL;
}
while ( 1 )
{
v8 = *(var_0 + 532);
*(var_2 + 32) = var_4;
*(var_2 + 40) = v7;
*(var_2 + 48) = 8LL;
*(var_2 + 828) = 4;
if ( v8 )
{
v9 = *(var_0 + 64);
if ( v9 )
{
if ( *(var_2 + 704) >= (*(var_0 + 56) + v9 - 1) )
{
CloseBlob(var_2);
return GetFirstImageInList(var_2);
}
}
}
var_8 = SetImageExtent(var_2, var_4, v7, var_1);
if ( !var_8 )
return DestroyImageList(var_2);
v10 = &byte_4;
v11 = AcquireVirtualMemory(*(var_2 + 32), 4LL);
var_12 = v11;
if ( !v11 )
{
ThrowMagickException(
var_1,
"coders/avs.c",
"ReadAVSImage",
170LL,
400LL,
"MemoryAllocationFailed",
"`%s'",
var_0 + 8816);
goto LABEL_35;
}
var_13 = GetVirtualMemoryBlob(v11);
var_14 = 4LL * *(var_2 + 32);
if ( *(var_2 + 40) > 0 )
break;
LABEL_25:
RelinquishVirtualMemory(var_12, v10);
if ( EOFBlob(var_2) )
{
v36 = __errno_location();
var_16 = GetExceptionMessage(*v36);
ThrowMagickException(
var_1,
"coders/avs.c",
"ReadAVSImage",
206LL,
425LL,
"UnexpectedEndOfFile",
"'%s': %s",
(var_2 + 1016),
var_16);
DestroyString(var_16);
LABEL_30:
CloseBlob(var_2);
if ( !var_8 )
return DestroyImageList(var_2);
return GetFirstImageInList(var_2);
}
v31 = *(var_0 + 64);
if ( v31 && *(var_2 + 704) >= (*(var_0 + 56) + v31 - 1) )
goto LABEL_30;
var_4 = ReadBlobMSBLong(var_2);
v32 = ReadBlobMSBLong(var_2);
v7 = v32;
if ( !var_4 || !v32 )
goto LABEL_30;
AcquireNextImage(var_0, var_2, var_1);
if ( GetNextImageInList(var_2) )
{
var_2 = SyncNextImageInList(var_2);
BlobSize = GetBlobSize(var_2);
v35 = TellBlob(var_2);
if ( SetImageProgress(var_2, "Load/Images", v35, BlobSize) )
continue;
}
CloseBlob(var_2);
return DestroyImageList(var_2);
}
var_21 = 0LL;
while ( var_14 == ReadBlob(var_2, var_14, var_13) )
{
v10 = 0LL;
v15 = QueueAuthenticPixels(var_2, 0LL, var_21, *(var_2 + 32), 1LL, var_1);
if ( v15 )
{
for ( var_23 = 0LL; *(var_2 + 32) > var_23; v15 = var_24 + 2 * v29 )
{
v18 = sub_1400(*(var_13 + 4 * var_23));
sub_13B0(var_2, v18, v19);
v21 = sub_1400(*(var_13 + 4 * v20 + 1));
sub_13F0(var_2, v21, v22);
v24 = sub_1400(*(var_13 + 4 * v23 + 2));
sub_13E0(var_2, v24, v25);
v27 = sub_1400(*(var_13 + 4 * v26 + 3));
sub_13D0(var_2, v27, v28);
v29 = sub_1380(var_2);
}
v10 = var_1;
if ( SyncAuthenticPixels(var_2, var_1, v15, v16, var_23) )
{
if ( *(var_2 + 13376)
|| (v10 = "Load/Image", (var_8 = SetImageProgress(var_2, "Load/Image", var_21, *(var_2 + 40))) != 0) )
{
if ( *(var_2 + 40) > ++var_21 )
continue;
}
}
}
goto LABEL_25;
}
RelinquishVirtualMemory(var_12, var_14);
ThrowMagickException(var_1, "coders/avs.c", "ReadAVSImage", 179LL, 425LL, "UnableToReadImageData", "`%s'", var_0 + 8816);
LABEL_35:
CloseBlob(var_2);
v5 = var_2;
LABEL_36:
DestroyImageList(v5);
return 0LL;
}
Q:[var_0,var_1,var_2,var_4,var_13,var_14,var_21,var_23,var_24,var_16,var_8,var_12,sub_1850,] | A:{'var_0': 'image_info', 'var_1': 'exception', 'var_2': 'image', 'var_4': 'width', 'var_13': 'pixels', 'var_14': 'length', 'var_21': 'y', 'var_23': 'x', 'var_24': 'q', 'var_16': 'file_message', 'var_8': 'status', 'var_12': 'pixel_info', 'sub_1850': 'ReadAVSImage'} | ||
d5cd5ca84cc8e9e1df4f71aecaf2ab3c | sub_24000 |
__int64 __fastcall sub_24000(__int64 *var_0)
{
__int64 v1;
__int64 *v2;
__int64 *var_3;
__int64 v4;
__int64 var_5;
if ( !var_0 )
return 0LL;
v1 = *var_0;
v2 = var_0;
if ( *var_0 )
{
var_3 = g_string_new("(?:");
if ( *var_0 )
{
while ( 1 )
{
v4 = *v2++;
var_5 = g_regex_escape_string(v4, 0xFFFFFFFFLL);
g_string_append(var_3, var_5);
g_free(var_5);
if ( !*v2 )
break;
sub_238E0(var_3, 124);
}
}
sub_238E0(var_3, 41);
v1 = g_regex_new(*var_3, 8193LL, 0LL, 0LL);
g_string_free(var_3, 1LL);
}
return v1;
}
Q:[var_0,var_3,var_5,sub_24000,] | A:{'var_0': 'a', 'var_3': 'reg', 'var_5': 'tmp', 'sub_24000': 'fl_search_create_not'} | ||
18158351fc886647b4c75477e16b5199 | sub_617F0 |
__int64 __fastcall sub_617F0(__int64 var_1, __int64 *var_3)
{
__int64 v2;
__int64 v3;
v2 = json_object_new_int(var_1);
LODWORD(v3) = 0;
*var_3 = v2;
if ( !v2 )
{
sub_9FFE0(
2u,
"fapijson",
3u,
byte_EEF00,
"/var/tmp/portage/app-crypt/tpm2-tss-3.2.2/work/tpm2-tss-3.2.2/src/tss2-fapi/ifapi_json_serialize.c",
"ifapi_json_IFAPI_OBJECT_TYPE_CONSTANT_serialize",
475LL,
"Bad value %x",
var_1);
return byte_6000B;
}
return v3;
}
Q:[var_1,var_3,sub_617F0,] | A:{'var_1': 'in', 'var_3': 'jso', 'sub_617F0': 'ifapi_json_IFAPI_OBJECT_TYPE_CONSTANT_serialize'} | ||
484ade4597d326b617d318dc7a55a14e | sub_2FC0 |
__int64 __fastcall sub_2FC0(char *var_1)
{
char v1;
char v2;
v1 = *var_1;
if ( !*var_1 )
return 0LL;
while ( 1 )
{
while ( 1 )
{
v2 = var_1[1];
if ( v1 == 37 )
break;
v1 = *++var_1;
if ( !v1 )
return 0LL;
}
if ( (v2 - 99) <= 1u )
break;
if ( v2 )
{
v1 = var_1[2];
var_1 += 2;
if ( v1 )
continue;
}
return 0LL;
}
return 1LL;
}
Q:[var_1,sub_2FC0,] | A:{'var_1': 'c', 'sub_2FC0': 'cluster_header_uses_digest'} | ||
a228e8c36b12dadcb75d914617655590 | sub_3C00 |
__int64 __fastcall sub_3C00(__int64 var_0, __int64 var_1)
{
__int64 i;
int v3;
int v4;
if ( !var_0 || !var_1 )
return 0LL;
for ( i = 0LL; ; ++i )
{
v4 = *(var_0 + i);
if ( !v4 )
break;
v3 = *(var_1 + i);
if ( !v3 )
break;
if ( (v4 - 97) < 0x1A )
v4 -= 32;
if ( (v3 - 97) < 0x1A )
v3 -= 32;
if ( v4 != v3 )
return 0LL;
}
return 1LL;
}
Q:[var_0,var_1,sub_3C00,] | A:{'var_0': 'p1', 'var_1': 'p2', 'sub_3C00': 'string_starts_with'} | ||
12d610f27dbf92c46212614ba1193df0 | sub_73A0 |
char *__fastcall sub_73A0(unsigned int var_5, int var_1)
{
signed __int64 v2;
void *v3;
char v5[8];
unsigned __int64 v6;
v2 = var_1 + 1;
v6 = __readfsqword(0x28u);
v3 = alloca(v2);
__snprintf_chk(v5, var_1, 1LL, -1LL, "%d", var_5);
v5[v2] = 0;
return strdup(v5);
}
Q:[var_5,var_1,sub_73A0,] | A:{'var_5': 'num', 'var_1': 'places', 'sub_73A0': 'ItoA'} | ||
4c7922650eb22143ea5c2815bdb31154 | xmlrpc_registry_process_call |
__int64 __fastcall xmlrpc_registry_process_call(_DWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
__int64 v6[3];
v6[1] = __readfsqword(0x28u);
xmlrpc_registry_process_call2(a1, a2, a4, a5, 0LL, v6);
return v6[0];
}
Q:[] | A:{} | ||
a5baff0eab1aa79c5b596cbab9d224fa | sub_86830 |
__int64 __fastcall sub_86830(__int64 var_1)
{
__int64 v2;
__int64 v3;
__int64 v4;
__int64 result;
v2 = *(var_1 + 560);
if ( *(v2 + 36) )
sub_91080(v2);
else
sub_91120(v2);
v3 = *(var_1 + 460);
v4 = XtWidgetToApplicationContext(var_1);
result = XtAppAddTimeOut(v4, v3, sub_86830, var_1);
*(var_1 + 632) = result;
return result;
}
Q:[var_1,sub_91080,sub_91120,sub_86830,] | A:{'var_1': 'w', 'sub_91080': 'TextDBlankCursor', 'sub_91120': 'TextDUnblankCursor', 'sub_86830': 'cursorBlinkTimerProc'} | ||
96bab80a204a9b484e4e260e9f5910ad | sub_18F0 |
_QWORD *__fastcall sub_18F0(__int64 var_1)
{
_QWORD *v1;
v1 = apr_palloc(var_1, 24LL);
v1[2] = 0LL;
v1[1] = 0LL;
*v1 = 2LL;
v1[2] = apr_table_make(var_1, 4LL);
return v1;
}
Q:[var_1,sub_18F0,] | A:{'var_1': 'p', 'sub_18F0': 'create_dir_expires_config'} | ||
d985f4e4de8dd4d5429611167b2e6264 | sub_24580 |
__int64 __fastcall sub_24580(__int64 a1, __int64 var_1, __int64 var_2)
{
__int64 result;
result = *(var_1 + 8);
*(var_2 + 8) = result;
return result;
}
Q:[var_1,var_2,sub_24580,] | A:{'var_1': 'probe_ctx', 'var_2': 'value', 'sub_24580': 'ip_get_value'} | ||
0b4d86810f9be3b35475c349c1c3aab8 | sub_14F0 |
__int64 sub_14F0(__int64 var_5, __int64 var_4, ...)
{
__int64 result;
gcc_va_list var_3;
unsigned __int64 v4;
v4 = __readfsqword(0x28u);
result = 0LL;
if ( !var_2 )
{
va_start(var_3, var_4);
return __vfprintf_chk(var_5, 1LL, var_4, var_3);
}
return result;
}
Q:[var_5,var_4,var_3,var_2,sub_14F0,] | A:{'var_5': 'fp', 'var_4': 'format', 'var_3': 'ap', 'var_2': 'quiet_mode', 'sub_14F0': 'mpt_fprintf'} | ||
12ff573bb510528c1bcf9bb766883419 | sub_422F0 |
void sub_422F0()
{
void **v0;
void **v1;
void *v2;
if ( var_0 <= 0 )
{
var_0 = 0;
}
else
{
v0 = var_2;
v1 = &var_2[(var_0 - 1) + 1];
do
{
v2 = *v0++;
free(v2);
*(v0 - 1) = 0LL;
}
while ( v0 != v1 );
var_0 = 0;
}
}
Q:[var_0,var_2,sub_422F0,] | A:{'var_0': 'num_dynamic_stubs', 'var_2': 'dynamic_stub_names', 'sub_422F0': 'stub_cleanup_dynamic'} | ||
2deaddc63f998de343dc64cf42dc767e | sub_F360 |
void __fastcall sub_F360(int var_2)
{
FILE *v1;
int v2;
__int64 v3;
int var_7;
int var_9;
v1 = qword_53D3B0;
if ( qword_53D3B0 )
{
if ( var_2 )
{
v2 = dword_53D5A0;
v3 = dword_53D450;
var_7 = dword_53D5A8;
if ( dword_53D5A0 == dword_53D450 )
{
sub_E9A0(dword_53D5A8);
}
else if ( dword_53D5A0 > dword_53D450 )
{
var_9 = 0;
while ( dword_53D520[v3] )
{
LABEL_9:
++var_9;
sub_ED10(var_7, *(&qword_53D560 + 4 * v3), dword_53D4E0[v3]);
v2 = dword_53D5A0;
var_7 += var_9 % dword_53D5A4 == 0;
if ( dword_53D5A0 <= ++v3 )
return;
}
while ( v2 > ++v3 )
{
if ( dword_53D520[v3] )
goto LABEL_9;
}
}
}
else
{
if ( !dword_53D43C )
{
fputs(qword_53D600, qword_53D3C0);
v1 = qword_53D3B0;
}
while ( fgets(qword_53D600, 4094, v1) )
{
fputs(qword_53D600, qword_53D3C0);
v1 = qword_53D3B0;
}
fclose(qword_53D3B0);
qword_53D3B0 = 0LL;
fclose(qword_53D3C0);
qword_53D3C0 = 0LL;
}
}
}
Q:[var_2,var_7,var_9,sub_E9A0,sub_ED10,sub_F360,] | A:{'var_2': 'i', 'var_7': 'cpc', 'var_9': 'cbytes', 'sub_E9A0': 'lkalist', 'sub_ED10': 'lkglist', 'sub_F360': 'lkulist'} |