joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419d40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b3528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x224], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x228], edx
push ecx
mov dword [esi + 0x220], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1d4], ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x2c], 0
mov dword [esi], eax
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 4]
mov ecx, edi
call fcn.00402c30
push edi
push 0x64
lea eax, [esp + 0x14]
push 0x64
push eax
mov ecx, esi
call fcn.0041a270
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub edi, ecx
lea ecx, [esp + 0x38]
sub ebx, eax
mov eax, dword [esi + 0x228]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x224]
push edx
mov edx, dword [esi + 0x220]
push eax
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00419a80
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add esp, 0x1c
mov dword [esi + 0x1e0], ecx
add ecx, ebx
mov dword [esi + 0x1dc], eax
push 0
push 0
add eax, edi
mov dword [esi + 0x1e8], ecx
push 0
push str.data_PetSystem_tip_tipbg.mif
lea ecx, [esi + 0x1fc]
mov dword [esi + 0x1e4], eax
call sub.CLRenderNewEngine.dll_public:_bool___thiscall_CxImage::CreateImageFromFile_char_const___struct_IDisplay::_SELECT_PARA___unsigned_int__unsigned_long_int__
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
shl ecx, 1
test eax, eax
mov dword [esi + 0x1f4], ecx
jle 0x419e66
mov dword [esi + 0x1f8], 1
push 1
mov ecx, esi
call fcn.0041a020
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x1c
Function at 0x41b2f0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b36cb
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebx, ecx
test edi, edi
je 0x41b3a1
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41b33b
mov ecx, eax
call fcn.0041b770
mov esi, eax
jmp 0x41b33d
xor esi, esi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 0xffffffff
test edx, edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x30], ecx
jle 0x41b38e
mov ecx, dword [edi + 4]
xor eax, eax
test ecx, ecx
jbe 0x41b38e
mov ecx, edi
mov ecx, dword [ecx + 8]
inc eax
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [esi + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x41b37e
push str.AniMgr__AddNormalAni_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov ecx, ebx
call fcn.0041b4d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x41cef0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3781
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
push 0x104
push eax
mov esi, ecx
push ebp
call fcn.0041d100
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jle 0x41d03b
lea eax, [esp + ecx + 0x1c]
mov cl, byte [esp + ecx + 0x1b]
cmp cl, 0x67
jne 0x41d03b
cmp byte [eax - 2], 0x66
jne 0x41d03b
cmp byte [eax - 3], 0x63
jne 0x41d03b
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
push ecx
call fcn.004ac51f
add esp, 4
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_sdown.cfg
push ecx
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 0
call fcn.004ab42e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41cfd6
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
jmp 0x41cff5
mov eax, dword [esp + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41d014
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004ab42e
jmp 0x41d0e0
mov ecx, esi
call fcn.0041cbc0
mov ecx, esi
call fcn.0041cd10
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004ab42e
jmp 0x41d0e0
lea ecx, [esp + 0x120]
push 0x104
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0041d150
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x41d072
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41d0e0
push ecx
lea eax, [esp + 0x124]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x234], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x234], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0041d210
mov ecx, esi
call fcn.0041cd10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 4
Function at 0x422f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b3f53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov dword [esp + 0x10], ecx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00470160
xor ebx, ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CMenu::Attach
mov eax, 0xf2f2f2
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], 2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 5
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x6c], 1
je 0x423038
mov eax, dword [esp + 0x18]
push ebx
push edi
mov ecx, dword [eax + 0x4c08]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esi + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0x12c]
mov dword [esi + 4], 0x505a0a0
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
mov dword [esi + 0x18], 0x10
mov dword [esi], 0x4bb558
mov dword [esi + 8], edx
mov byte [esi + 0xe], 1
mov dword [esi + 0x14], ebp
jmp 0x42303a
xor esi, esi
push ebx
push esi
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
mov dword [esi + 0x18], 0x14
call fcn.00471b00
mov eax, dword [esp + 0x10]
add edi, 0xa
dec eax
mov dword [esp + 0x10], eax
jne 0x422fd6
lea ecx, [esp + 0x28]
call fcn.00471d20
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
mov dword [esp + 0x14], edi
jl 0x422fce
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x50ae58]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push eax
push ecx
push edx
push 0x42
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CMenu::TrackPopupMenu
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00470260
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4242f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004243f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4243df
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
push 0x4cebe4
push eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4243df
push 2
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x4243d6
call dword [sym.imp.MSVCRT.dll_ftell]
mov edi, eax
lea esi, [edi + 1]
push esi
call sub.MFC42.DLL_operatornew
push esi
mov dword [ebx], eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx]
add esp, 0xc
test ecx, ecx
mov dword [ebx + 4], eax
je 0x4243d5
test eax, eax
je 0x4243d5
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x4243d6
mov eax, dword [ebx]
push edi
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [ebx]
mov dword [ebx + 8], eax
add esp, 0x10
mov byte [eax + ecx], 0
mov ecx, dword [ebx + 8]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
inc ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
inc eax
push eax
push ecx
mov ecx, ebx
call fcn.00424e30
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov word [ebx + 0xc], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x4384e0
Capabilities:
Create process on windows

Disassembly:
mov edx, ecx
sub esp, 0x20
mov ecx, dword [0x50b31c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x438512
mov eax, dword [0x50ae58]
test eax, eax
je 0x4384fe
mov eax, dword [eax + 0x20]
push 1
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x20
ret
push esi
push edi
mov ecx, 5
mov esi, str.qqgame:__exchangecoin
lea edi, [esp + 8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x1e], eax
lea ecx, [esp + 8]
mov dword [esp + 0x22], eax
push ecx
lea edi, [esp + 0xc]
or ecx, 0xffffffff
mov word [esp + 0x2a], ax
mov esi, dword [edx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55
mov ecx, edx
call dword [esi + 0x70]
pop edi
pop esi
add esp, 0x20
ret

Function at 0x438590
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
push str.http:__baobao.qq.com_act_gamepet_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x438670
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x200
mov ecx, 0x50ae38
push eax
call fcn.00476b20
mov edx, eax
test edx, edx
je 0x4386d2
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [edx]
lea edx, [esp + 4]
push ecx
push str.http:__game_web.qq.com_cgi_bin_36107_show_points_hall_uin_u
push 0x1ff
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [esp + 4]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
add esp, 0x200
ret 4
Function at 0x439470
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5496
push eax
mov dword fs:[0], esp
sub esp, 0x108
xor eax, eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43959b
lea edx, [esp + 0x10]
push ebp
push edx
call sub.CLRenderNewEngine.dll_void___cdecl_QGEG::HELPER::GetRootPath_char__
add esp, 4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x124]
lea ecx, [esp + 0x10]
push eax
push 0x4d192c
push ecx
mov dword [esp + 0x128], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 4]
add esp, 0xc
lea ecx, [esp + 0x124]
mov edx, dword [eax]
push ecx
push 4
push 0x16
push eax
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push 0x4cc990
push eax
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push str..._tmpRelation.txt
call fcn.004ab4d0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push 0
push str.GameFriend
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
push eax
push 0
push str.GameEnemy
push ecx
call ebp
mov edx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
push edx
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 0
call fcn.004ab42e
lea ecx, [esp + 0x10]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004ab42e
pop ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 4
Function at 0x441c60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebp
push esi
push edi
push eax
call fcn.004ac51f
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x14]
push ecx
push str._s..QQGame.exe
push 0xff
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.004ab42e
xor esi, esi
lea eax, [esp + 0x14]
push esi
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, esi
jbe 0x441d58
push edi
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x441d58
push ebp
push edi
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x441d4f
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push 0x4d1f78
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x441d4f
mov ecx, dword [esp + 0xc]
push ebx
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov esi, eax
and eax, 0xffff
mov ecx, edi
mov ebx, eax
shr ecx, 0x10
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shr esi, 0x10
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
shl eax, 2
sub ecx, eax
lea eax, [esi + esi*4]
and edi, 0xffff
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
pop ebx
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*4]
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x108
ret
Function at 0x44b3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0x17
call fcn.0049e950
lea edx, [esp + 4]
push 3
push edx
push 0x17
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0049e9d0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049e990
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x44b480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0x18
call fcn.0049e950
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0049e9d0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049e990
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x466720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b65b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1c
call fcn.0049e950
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0049e9d0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049e990
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4667c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b65d8
push eax
movsx eax, byte [0x50c6bc]
mov dword fs:[0], esp
sub esp, 0x24
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [esp + 0x40]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*2]
shl ecx, 2
mov esi, dword [ecx + 0x50cfdc]
test esi, esi
jle 0x466832
lea ecx, [ecx + 0x50cfe0]
cmp dword [ecx], ebx
je 0x466818
inc edx
add ecx, 4
cmp edx, esi
jl 0x46680a
jmp 0x466832
mov ecx, eax
add edx, eax
shl ecx, 6
add ecx, eax
lea ecx, [eax + ecx*4]
lea edx, [edx + ecx*2]
mov esi, dword [edx*4 + 0x50d080]
test esi, esi
jne 0x466844
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [esp + 0x44]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0xc], 0x1c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
call fcn.0049e950
lea edx, [esp + 0xc]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.0049e9d0
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
add esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0049e990
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x46eea0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x40
push esi
push edi
mov edi, dword [esp + 0x4c]
mov esi, ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esi + 4]
test eax, eax
je 0x46ef44
test byte [eax], 8
je 0x46eece
push str.Ctrl
mov ecx, edi
call fcn.004ab4d0
mov eax, dword [esi + 4]
test byte [eax], 4
je 0x46eee2
push str.Shift
mov ecx, edi
call fcn.004ab4d0
mov ecx, dword [esi + 4]
test byte [ecx], 0x10
je 0x46eef6
push str.Alt
mov ecx, edi
call fcn.004ab4d0
mov eax, dword [esi + 4]
test byte [eax], 1
je 0x46ef32
xor edx, edx
push 0
mov dx, word [eax + 2]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea ecx, [esp + 8]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [esp + 8]
mov ecx, edi
push edx
call fcn.004ab4d0
pop edi
pop esi
add esp, 0x40
ret 4
cmp word [eax + 2], 0x1b
je 0x46ef44
mov al, byte [eax + 2]
mov ecx, edi
push eax
call fcn.004ab890
pop edi
pop esi
add esp, 0x40
ret 4

Function at 0x470160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b69f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
lea edi, [esi + 8]
mov dword [esp + 0x16c], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x4bb148
lea eax, [esp + 0x10]
push ebx
push eax
push 0x154
push 0x29
mov byte [esp + 0x17c], 1
mov dword [esi], 0x4bd218
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 4
call edi
push 0xd
mov dword [esi + 0x10], eax
call edi
push 0xe
mov dword [esi + 0x14], eax
call edi
push 7
mov dword [esi + 0x1c], eax
call edi
push 0x11
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x164]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x24], 0xc00000
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4746d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b700b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x326]
mov word [esp + 0x324], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x324]
push 0x103
push eax
push 0
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x324]
push 0x5c
push ecx
call esi
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x474752
lea edx, [esp + 0x324]
push 0x2f
push edx
call esi
add esp, 8
mov ebp, eax
mov word [ebp], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
mov word [esp + 0x11c], 0
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [0x50aea4]
stosw word es:[edi], ax
lea eax, [esp + 0x120]
push eax
push ecx
call ebx
mov edi, 2
lea edx, [esp + 0x11c]
push 0x5c
push edx
call esi
add esp, 8
test eax, eax
jne 0x4747b1
lea eax, [esp + 0x11c]
push 0x2f
push eax
call esi
add esp, 8
dec edi
mov word [eax], 0
jne 0x47478f
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..config.ini
push 0
push str.Version
push 0x4d57fc
call ebx
mov ecx, eax
mov eax, 0x431bde83
mul ecx
mov esi, edx
mov eax, ecx
xor edx, edx
mov edi, 0xf4240
div edi
mov eax, 0xd1b71759
shr esi, 0x12
mul edx
mov edi, edx
mov eax, ecx
xor edx, edx
mov ecx, 0x2710
div ecx
lea ecx, [esp + 0x11c]
lea eax, [ebp + 2]
push ecx
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
shr edi, 0xd
push edx
push edi
push esi
lea edx, [esp + 0x348]
push eax
push edx
push eax
push 0x4d57ec
call fcn.004b00d0
add esp, 0x34
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x538], 0
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str._sconfigDynamicInfo.ini
lea ecx, [esp + 0x20]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push 0x2710
push 0x4d57c4
push 0x4d57fc
call ebx
push 0
push eax
call fcn.004b07c0
mov eax, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x534], 0xffffffff
mov dword [eax + 0x7da4], 1
call fcn.004ab42e
pop edi
pop esi
mov ecx, dword [esp + 0x524]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x528
ret