joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a8a0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46a1c1
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.0040aab0
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jle 0x40a9eb
lea eax, [esp + ecx + 0x1c]
mov cl, byte [esp + ecx + 0x1b]
cmp cl, 0x67
jne 0x40a9eb
cmp byte [eax - 2], 0x66
jne 0x40a9eb
cmp byte [eax - 3], 0x63
jne 0x40a9eb
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
push ecx
call fcn.00463fe7
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 sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a986
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
jmp 0x40a9a5
mov eax, dword [esp + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40a9c4
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 sub.MFC42.DLL_CString::CString
jmp 0x40aa8b
mov ecx, esi
call fcn.0040a560
mov ecx, esi
call fcn.0040a6c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x40aa8b
lea ecx, [esp + 0x120]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0040ab00
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40aa1d
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 0x40aa8b
push ecx
lea eax, [esp + 0x124]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x234], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_3
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.0040abc0
mov ecx, esi
call fcn.0040a6c0
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 4
Function at 0x40e770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46a6d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], edi
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::constructor_void_
mov ecx, ebx
mov byte [esp + 0x18], 1
mov dword [esi], 0x4720a4
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], 0xff000000
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x414c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46ae43
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.0043d260
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 0x414cf8
mov eax, dword [esp + 0x18]
push ebx
push edi
mov ecx, dword [eax + 0x61bc]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esi + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_2
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], 0x4720e8
mov dword [esi + 8], edx
mov byte [esi + 0xe], 1
mov dword [esi + 0x14], ebp
jmp 0x414cfa
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.0043ec20
mov eax, dword [esp + 0x10]
add edi, 0xa
dec eax
mov dword [esp + 0x10], eax
jne 0x414c96
lea ecx, [esp + 0x28]
call fcn.0043ee40
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
mov dword [esp + 0x14], edi
jl 0x414c8e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4a91b0]
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.0043d360
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4153f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004154f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4154df
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
push 0x48142c
push eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4154df
push 2
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x4154d6
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 0x4154d5
test eax, eax
je 0x4154d5
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x4154d6
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.00415f70
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 0x4201c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x558
push esi
mov edx, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x161]
mov byte [esp + 0x160], 0
push 0x12c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x38]
push 0x12c
push eax
mov ecx, edx
call fcn.00420090
mov edx, dword [0x481bdc]
mov eax, dword [0x481be0]
mov ecx, 7
mov esi, str.http:__ptlogin.qq.com_jump_
lea edi, [esp + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x564]
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.keyindex1u1]
lea eax, [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [0x481be4]
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [0x4b4e74]
lea ecx, [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push str._sclientuin_uclientkey_s_s_s
lea ecx, [esp + 0x178]
push 0x3ff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x20
lea edx, [esp + 0x160]
push 1
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
add esp, 0x558
ret 4
Function at 0x429830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
push esi
mov dword [esp + 4], eax
mov dword [esp + 4], 0x1d
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
call fcn.00462d70
lea eax, [esp + 4]
push 1
push eax
push 0x1d
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.00462df0
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4a9188
call fcn.00462c20
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x42c600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator
push 0xa
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
mov ebp, dword [esp + 0x30]
mov esi, eax
cmp esi, 0xffffffff
je 0x42c71f
push ebx
mov bl, 3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
inc esi
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
push eax
push esi
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push ebp
mov ecx, dword [eax - 8]
push ecx
push eax
call sub.CLUINewEngine.dll_public:_static_int___cdecl_CxImage::GetTextWidth_char_const___int__struct_HFONT____
add esp, 0xc
cmp edi, eax
jge 0x42c6fa
mov edi, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
push 0xa
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
jne 0x42c671
pop ebx
mov eax, dword [esp + 0xc]
push ebp
mov ecx, dword [eax - 8]
push ecx
push eax
call sub.CLUINewEngine.dll_public:_static_int___cdecl_CxImage::GetTextWidth_char_const___int__struct_HFONT____
add esp, 0xc
cmp edi, eax
jge 0x42c737
mov edi, eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42d6d0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x46c3e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4730bc
push str.CMyMif::Release__
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ebx, [esi + 4]
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Release_void_
mov ecx, 0x21
xor eax, eax
lea edi, [esi + 0x28]
mov byte [esp + 0x18], al
rep stosd dword es:[edi], eax
mov ecx, ebx
call sub.CLUINewEngine.dll_public_virtual:_void___thiscall_CxImage::destructor_void_
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x4730f0
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x430440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c5f8
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.00462d70
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00462df0
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.00462db0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x430650
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46c771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
lea ebp, [edi + 4]
mov dword [edi], 0x473164
mov dword [ebp], 0x473158
mov dword [esp + 0x20], 0
lea esi, [edi + 0x384]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x358]
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x334]
mov byte [esp + 0x20], 9
call sub.CLUINewEngine.dll_public_virtual:_void___thiscall_CxImage::destructor_void_
push sub.MFC42.DLL_CString::CString
push 0x10
lea eax, [esi + 0x2f4]
push 4
push eax
mov byte [esp + 0x30], 8
call fcn.0046367c
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2e8]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x284]
mov byte [esp + 0x20], 5
call fcn.0040e810
lea ecx, [esi + 0x224]
mov byte [esp + 0x20], 4
call fcn.0040e810
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.0040bf30
lea esi, [edi + 0x20]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x358]
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x334]
mov byte [esp + 0x20], 0x10
call sub.CLUINewEngine.dll_public_virtual:_void___thiscall_CxImage::destructor_void_
push sub.MFC42.DLL_CString::CString
push 0x10
lea ecx, [esi + 0x2f4]
push 4
push ecx
mov byte [esp + 0x30], 0xf
call fcn.0046367c
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x20], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2e8]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x284]
mov byte [esp + 0x20], 0xc
call fcn.0040e810
lea ecx, [esi + 0x224]
mov byte [esp + 0x20], 0xb
call fcn.0040e810
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.0040bf30
lea ecx, [edi + 0x18]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x20], 0
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.00462b10
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.00462a60
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x436640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cbc8
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.00462d70
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.00462df0
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.00462db0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x4366e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cbe8
push eax
movsx eax, byte [0x4a9388]
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]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
shl ecx, 3
mov esi, dword [ecx + 0x4aa140]
test esi, esi
jle 0x43674b
lea ecx, [ecx + 0x4aa144]
cmp dword [ecx], ebx
je 0x436734
inc edx
add ecx, 4
cmp edx, esi
jl 0x436726
jmp 0x43674b
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
lea ecx, [edx + eax*2]
mov esi, dword [ecx*4 + 0x4aa1e4]
test esi, esi
jne 0x43675d
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [esp + 0x44]
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc], 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.00462d70
lea ecx, [esp + 0xc]
push 2
push ecx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.00462df0
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
add esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00462db0
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 0x4371b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc0c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x311]
mov byte [esp + 0x310], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push 0x1ff
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push str._minigamefile_doubleddzRpg_NewVersion.cfg
push eax
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
push 1
push 0x1a
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0xc]
push str.TencentQQGamedoubleddzRpgNewVersion.cfg
push edx
push 0x48067c
lea eax, [esp + 0x31c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x124]
push 0x1ff
lea edx, [esp + 0x530]
push ecx
push edx
call esi
lea eax, [esp + 0x330]
push 0x1ff
lea ecx, [esp + 0x93c]
push eax
push ecx
call esi
add esp, 0x2c
lea edx, [esp + 0x510]
mov ecx, 0x4a9158
mov dword [esp + 0x514], 4
push edx
push 0x708
push 0xa2
mov dword [esp + 0x51c], ebx
call fcn.0041f790
pop edi
pop esi
pop ebx
add esp, 0xc0c
ret

Function at 0x43a380
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 0x43a424
test byte [eax], 8
je 0x43a3ae
push str.Ctrl
mov ecx, edi
call fcn.0046307c
mov eax, dword [esi + 4]
test byte [eax], 4
je 0x43a3c2
push str.Shift
mov ecx, edi
call fcn.0046307c
mov ecx, dword [esi + 4]
test byte [ecx], 0x10
je 0x43a3d6
push str.Alt
mov ecx, edi
call fcn.0046307c
mov eax, dword [esi + 4]
test byte [eax], 1
je 0x43a412
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.0046307c
pop edi
pop esi
add esp, 0x40
ret 4
cmp word [eax + 2], 0x1b
je 0x43a424
mov al, byte [eax + 2]
mov ecx, edi
push eax
call fcn.00463430
pop edi
pop esi
add esp, 0x40
ret 4
Function at 0x43c8e0
Capabilities:
Create directory
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x46d4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xf8]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
test eax, eax
je 0x43c954
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x48396c
lea ecx, [esp + 0x14]
push 0x4800dc
push ecx
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
lea ebx, [edi + 0x1f8]
push 0x483968
push ebx
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x43c998
mov eax, dword [0x487cc0]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push eax
push str._sprit__npanelpage_d
push esi
call ebx
mov edx, dword [edi + 0x2f8]
add esp, 0xc
xor ecx, ecx
test edx, edx
sete cl
push ecx
jmp 0x43c9cf
push 0x48394c
push ebx
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x43c9e1
mov edx, dword [0x487cc0]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push edx
push str._sprit__npanelpage_d
push esi
call ebx
mov edx, dword [edi + 0x2f8]
add esp, 0xc
xor eax, eax
test edx, edx
sete al
push eax
push str._nshowtip_d
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret