joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x43476c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x434794
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x43479a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x434802
jg 0x4347b1
test esi, esi
je 0x434802
test ecx, ecx
jl 0x4347fd
jg 0x4347bb
test eax, eax
je 0x4347fd
cmp edi, ecx
jg 0x4347cf
jl 0x4347c5
cmp esi, eax
jae 0x4347cf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x434805
mov ecx, dword [ebp + 8]
jmp 0x43480f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x434829
jg 0x43480f
test esi, esi
je 0x434829
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x434829
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x434840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
jg 0x434864
jl 0x434859
test ecx, ecx
jne 0x434864
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x43487e
push eax
push ecx
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x4348c4
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x4348ca
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add esp, 0xc
add dword [ebp + 8], esi
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4348ca
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x434939
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4348f6
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x434927
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x434939
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x434903
test edi, edi
je 0x434939
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x434d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5e0ce8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x434db0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x434dec
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x434dec
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x434ec3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x434e14
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x434e20
movsx eax, bl
jmp 0x434e58
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x434e82
sub eax, 1
je 0x434e82
sub eax, 2
jne 0x434ec3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x434ea0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x434ec3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057516e
mov esp, ebp
pop ebp
ret 4
Function at 0x4359c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5e0ce8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x435a7c
cmp byte [esi + 0x3d], 0
je 0x435a7c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x435a6a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x435a31
sub eax, 1
je 0x435a35
sub eax, 2
jne 0x435a6a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x435a53
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x435a6a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0057516e
mov esp, ebp
pop ebp
ret
Function at 0x442e90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x7bd4b4], 0
push esi
jne 0x443049
push 0x74
call fcn.00575385
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [esp + 4], esi
mov dword [0x7bd4b4], esi
mov byte [esi], 0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
movups xmmword [esi + 0x3c], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0xf
mov byte [esi + 0x3c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
call fcn.00401720
movd xmm0, dword [eax + 0x1d2120]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x5ba038]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x54], xmm0
call fcn.00401720
movd xmm0, dword [eax + 0x1d2144]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x5ba038]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0x58], xmm0
call dword [sym.imp.libcocos2d.dll_public:_static_bool___cdecl_cocos2d::experimental::AudioEngine::lazyInit_void_]
test al, al
jne 0x442f89
push 0
call dword [sym.imp.libcocos2d.dll_public:_static_void___cdecl_cocos2d::experimental::AudioEngine::setEnabled_bool_]
mov eax, dword [0x7bd4b4]
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x5e24e0], 1
je 0x442fad
mov byte [0x5e24e1], 0
mov dword [0x5e24e8], 0x10
mov dword [0x5e24ec], 0
push 1
mov ecx, 0x5e24d8
call fcn.004a3200
mov byte [esi + 0x5c], 1
call fcn.00444a70
push 0x200
push 4
push 0x8010
push 0xac44
call sym.MonteX34_DC.exe_Mix_OpenAudio
add esp, 0x10
test eax, eax
jns 0x443008
call sym.MonteX34_DC.exe_SDL_GetError
push 2
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push esi
push str.Unable_to_open_audio:__s_n
push eax
call fcn.00442e40
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 4
call sym.MonteX34_DC.exe_Mix_AllocateChannels
add esp, 4
test eax, eax
jns 0x44303f
call sym.MonteX34_DC.exe_SDL_GetError
push 2
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push esi
push str.Unable_to_allocate_mixing_channels:__s_n
push eax
call fcn.00442e40
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 8
call sym.MonteX34_DC.exe_Mix_Init
add esp, 4
mov eax, dword [0x7bd4b4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x490e00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov cl, 1
call fcn.0044b710
push 0x26ad
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
mov ecx, eax
call edx
push 0x64
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x490e90
call fcn.00401720
mov byte [eax + ?getRotation3D@Node@cocos2d@@UBE?AVVec3@2@XZ], 0
call fcn.00401720
mov ecx, eax
call fcn.0042d5b0
push 0x177
push str.C:Users_robjdevMonte_Git3ClassesRestoreSelect.cpp
push str.Menu_assert
push str.menu
push str.ASSERT___ls_:__s_FILE:_ls_LINE:_d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
push ecx
mov ecx, eax
mov esi, esp
call dword [sym.imp.libcocos2d.dll_public:_char_const____thiscall_cocos2d::__String::getCString_void_const]
push eax
mov ecx, esi
call fcn.004018b0
call fcn.00432b70
add esp, 0x18
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov cl, 1
call fcn.0044b710
mov eax, dword [eax + 0x29c]
cmp eax, 7
jne 0x490f11
mov eax, dword [ebp + 8]
test eax, eax
je 0x490f0a
push 0
push 0x5e2abc
push 0x5e49ac
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x490f0a
call fcn.00401720
call fcn.0042f250
cvtss2sd xmm0, xmm0
mov ecx, esi
movsd xmm1, qword [0x5b9e78]
divsd xmm0, qword [0x5b9f20]
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x5b9e30]
cvtpd2ps xmm1, xmm0
call fcn.0041c340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jg 0x490f0a
mov ebx, dword [ebp + 8]
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x110]
lea eax, [esi + 0x65]
push eax
call edx
test eax, eax
je 0x490f67
cmp eax, ebx
je 0x490f45
inc esi
cmp esi, 6
jl 0x490f20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, 1
call fcn.0044b710
mov cl, 1
mov dword [eax + 0x29c], esi
call fcn.0044b710
mov ecx, eax
call fcn.004910b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401720
mov byte [eax + ?getRotation3D@Node@cocos2d@@UBE?AVVec3@2@XZ], 0
call fcn.00401720
mov ecx, eax
call fcn.0042d5b0
push 0x18f
push str.C:Users_robjdevMonte_Git3ClassesRestoreSelect.cpp
push str.MenuItem_assert
push str.menuItem
jmp 0x490e62
Function at 0x4a19e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov cl, 1
push ebx
push esi
push edi
call fcn.0040c210
mov edi, dword [eax + 0x29c]
test edi, edi
jne 0x4a1a57
call fcn.00401720
mov byte [eax + ?getRotation3D@Node@cocos2d@@UBE?AVVec3@2@XZ], 0
call fcn.00401720
mov ecx, eax
call fcn.0042d5b0
push 0xff
push str.C:Users_robjdevMonte_Git3ClassesTutorial.cpp
push str.Menu_assert
push str.menu
push str.ASSERT___ls_:__s_FILE:_ls_LINE:_d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
push ecx
mov ecx, eax
mov esi, esp
call dword [sym.imp.libcocos2d.dll_public:_char_const____thiscall_cocos2d::__String::getCString_void_const]
push eax
mov ecx, esi
call fcn.004018b0
call fcn.00432b70
add esp, 0x18
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov cl, 1
call fcn.0040c210
cmp dword [eax + 0x2ac], 7
jne 0x4a1ab8
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a1ab1
push 0
push 0x5e2abc
push 0x5e49ac
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x4a1a98
movss xmm1, dword [0x5b9c94]
mov ecx, eax
call fcn.0041c340
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::Director____cdecl_cocos2d::Director::getInstance_void_]
mov ecx, eax
call dword [sym.imp.libcocos2d.dll_public:_class_cocos2d::Size_const____thiscall_cocos2d::Director::getWinSize_void_const]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Size::constructor_class_cocos2d::Size_const__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
xor esi, esi
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x110]
lea eax, [esi + 0x65]
push eax
call edx
test eax, eax
je 0x4a1b07
cmp eax, ebx
je 0x4a1ae5
inc esi
cmp esi, 6
jl 0x4a1ac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, 1
call fcn.0040c210
mov cl, 1
mov dword [eax + 0x2ac], esi
call fcn.0040c210
mov ecx, eax
call fcn.004a1bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401720
mov byte [eax + ?getRotation3D@Node@cocos2d@@UBE?AVVec3@2@XZ], 0
call fcn.00401720
mov ecx, eax
call fcn.0042d5b0
push 0x111
push str.C:Users_robjdevMonte_Git3ClassesTutorial.cpp
push str.MenuItem_assert
push str.menuItem
jmp 0x4a1a29
Function at 0x4a3200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f9bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5e0ce8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 8], 1
je 0x4a32dd
cmp byte [ebp + 8], 1
mov byte [esi + 8], 1
jne 0x4a32b0
push 8
call fcn.00575385
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], esi
mov dword [eax + 4], 0x4a32f0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x4a34a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4a32a1
cmp dword [esi + 4], 0
je 0x4a3287
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x10]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [ebp - 0x10], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp byte [esi + 9], 1
jne 0x4a32d0
call fcn.004a3320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004a3320
cmp byte [esi + 8], 1
je 0x4a32d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4a4ba0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
mov ebx, ecx
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
mov cl, byte [ebx]
test cl, cl
je 0x4a4c1a
push edi
mov eax, 0x12345678
mov edi, 0x23456789
mov edx, 0x34567890
mov ebx, dword [ebp + 8]
movsx ecx, cl
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebx + ecx*4]
movzx ecx, al
add ecx, edi
mov dword [esi], eax
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
mov dword [esi + 4], edi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
mov ebx, dword [ebp - 4]
inc ebx
mov dword [esi + 8], edx
mov dword [ebp - 4], ebx
mov cl, byte [ebx]
test cl, cl
jne 0x4a4bd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6150
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
test byte [esi + 0xac], 1
je 0x4a620d
cmp dword [esi + 0x8c], ecx
jbe 0x4a620d
mov eax, 0xffffff44
lea ebx, [esi + 0xbc]
sub eax, esi
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100e8]
xor eax, ecx
mov edx, dword [esi + 0x100f4]
movzx eax, al
mov edi, dword [esi + 0x100f0]
shr ecx, 8
and edi, 0xfffd
or edi, 2
xor ecx, dword [edx + eax*4]
movzx eax, cl
add eax, dword [esi + 0x100ec]
imul eax, eax, 0x8088405
mov dword [esi + 0x100e8], ecx
mov ecx, dword [esi + 0x100f0]
inc eax
mov dword [esi + 0x100ec], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x100f0], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, dword [esi + 0x8c]
jb 0x4a6192
mov ebx, dword [esi + 0x8c]
mov dword [esp + 0x10], ebx
nop word [eax + eax]
cmp dword [esi + 0x1011c], 0
mov eax, ebx
mov dword [esp + 0x1c], eax
ja 0x4a623c
cmp dword [esi + 0x10118], 0
jbe 0x4a62d9
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x20]
push 2
push 0
test edx, edx
je 0x4a6258
push 0
push eax
push ecx
call edx
add esp, 0x14
jmp 0x4a6262
push eax
mov eax, dword [esi + 0x30]
push ecx
call eax
add esp, 0x10
cmp dword [esi + 0x14], 0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x20]
push eax
push ecx
je 0x4a627a
mov eax, dword [esi + 0x10]
call eax
add esp, 8
jmp 0x4a6290
mov eax, dword [esi + 0x2c]
call eax
add esp, 8
cmp eax, 0xffffffff
jne 0x4a628e
or eax, eax
or edx, 0xffffffff
jmp 0x4a6290
xor edx, edx
mov edi, dword [esi + 0x10118]
mov ebx, dword [esi + 0x1011c]
sub edi, eax
mov eax, edi
mov dword [esp + 0x18], 0
sbb ebx, edx
or eax, ebx
jne 0x4a62c3
mov ecx, esi
call fcn.004a5370
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4a634d
test ebx, ebx
mov ebx, dword [esp + 0x10]
ja 0x4a62d5
jb 0x4a62d1
cmp edi, ebx
jae 0x4a62d5
mov eax, edi
jmp 0x4a62d9
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
add eax, 0xbc
add eax, esi
push eax
push dword [esi + 0x34]
mov eax, dword [esi + 0xc]
push dword [esi + 0x20]
call eax
push dword [esi + 0x34]
mov ecx, dword [esi + 0x1c]
mov edi, eax
push dword [esi + 0x20]
call ecx
add esp, 0x18
test eax, eax
jne 0x4a6356
add dword [esp + 0x14], edi
sub ebx, edi
mov dword [esp + 0x10], ebx
jne 0x4a6220
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x8c]
add dword [esi + 0x100d8], eax
mov eax, dword [esi + 0x58]
adc dword [esi + 0x100dc], 0
add dword [esi + 0x100e0], eax
mov dword [esi + 0x58], 0
adc dword [esi + 0x100e4], 0
mov dword [esi + 0x8c], 0
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
or ecx, 0xffffffff
jmp 0x4a6319
Function at 0x4a8f20
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x5e84c0], 0
jne 0x4a8f7f
push 0xca0
push 0
push 0x7bdf40
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.004ab900
test eax, eax
jne 0x4a8f4e
call fcn.004ab990
xor eax, eax
ret
push 0x7bdfe4
call fcn.004a9100
add esp, 4
mov dword [0x7bdfe0], eax
mov dword [0x5e84c0], 1
call fcn.004abfb0
mov dword [0x7bdfe8], eax
mov dword [0x7bdfec], edx
call fcn.004ab4f0
mov eax, 1
ret

Function at 0x4a9bb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
mov eax, dword [0x5e0ce8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [esp + 0x10]
push 1
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x4a9c2a
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
jne 0x4a9c09
mov esi, dword [0x7bdfdc]
test esi, esi
je 0x4a9c17
push esi
call fcn.004ab3c0
mov esi, dword [esi]
add esp, 4
test esi, esi
jne 0x4a9bf8
jmp 0x4a9c17
lea eax, [esp + 0x10]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x4a9be7
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x4a9ca9
push str.GLFW
push eax
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
test ebx, ebx
je 0x4a9ca9
call fcn.004aa610
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, eax
push 0xa0
call esi
movzx edi, ax
push 0xa1
shr edi, 0xf
call esi
movzx esi, ax
shr esi, 0xf
test edi, edi
jne 0x4a9c8b
cmp byte [ebx + 0x1bc], 1
jne 0x4a9c8b
push ebp
push edi
push edi
push 0x154
push ebx
call fcn.004ab710
add esp, 0x14
test esi, esi
jne 0x4a9ca9
cmp byte [ebx + 0x1c0], 1
jne 0x4a9ca9
push ebp
push esi
push esi
push 0x158
push ebx
call fcn.004ab710
add esp, 0x14
mov esi, dword [0x7be740]
test esi, esi
je 0x4a9d24
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x280]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp dword [esi + 0x294], ecx
jne 0x4a9cea
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp dword [esi + 0x298], eax
je 0x4a9d24
mov eax, edi
mov dword [esp + 0x2c], ecx
cdq
sub eax, edx
mov dword [esi + 0x294], ecx
sar eax, 1
mov dword [esp + 0x30], eax
mov dword [esi + 0x298], eax
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x280]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057516e
add esp, 0x30
ret