joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e6d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0040e7d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40e7bf
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
push 0x466914
push eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x40e7bf
push 2
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x40e7b6
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 0x40e7b5
test eax, eax
je 0x40e7b5
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x40e7b6
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.0040f250
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 0x41be00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x62c
push esi
mov edx, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x235]
mov byte [esp + 0x234], 0
push 0x200
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x38]
push 0x200
push eax
mov ecx, edx
call fcn.0041bcd0
mov edx, dword [0x4672f0]
mov eax, dword [0x4672f4]
mov ecx, 7
mov esi, str.http:__ptlogin.qq.com_jump_
lea edi, [esp + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x638]
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 [0x4672f8]
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [0x47a1b0]
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 + 0x24c]
push 0x3ff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x20
lea edx, [esp + 0x234]
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, 0x62c
ret 4
Function at 0x41c970
Capabilities:
Set current directory

Disassembly:
sub esp, 0x110
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
lea edi, [esp + 0x1d]
lea ebx, [esi + 0x70bc]
mov byte [esp + 0x1c], 0
mov dword [ebx], eax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push ecx
stosb byte es:[edi], al
call fcn.0044e035
mov edx, dword [eax]
add esp, 4
lea eax, [esp + 0x1c]
push edx
push 0x466078
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00424b60
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esi + 0x7238], eax
call edi
push 1
mov ebp, eax
call edi
cmp ebp, 0x320
jg 0x41ca06
mov ebp, 0x320
cmp eax, 0x23a
jg 0x41ca12
mov eax, 0x23a
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x17]
push eax
push ecx
push 0
push ebx
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x27], 1
call dword [sym.imp.2DEngineDll.dll_public:_static_long_int___cdecl_IXHandler::IDisplay::InitializeEx2_struct_HWND____const_const___char_const___bool_const___unsigned_int_const___unsigned_int_const__]
add esp, 0x14
mov ecx, esi
call fcn.0041f150
lea ecx, [esi + 0x80]
call fcn.00447ca0
lea ecx, [esi + 0x388c]
call fcn.0040a510
lea ecx, [esi + 0x7160]
call fcn.00447320
lea ecx, [esi + 0x678c]
call fcn.0044b480
mov ecx, esi
call fcn.0041f440
push 2
mov ecx, esi
mov dword [esi + 0x70cc], 1
call fcn.0041d5c0
push 0
call edi
push 1
mov ebx, eax
call edi
push 0x10
mov ebp, eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x41cadc
lea edx, [esp + 0x14]
mov dword [edi], 0x45b6f8
push edx
push eax
push 0x26200a
push eax
push ebp
push ebx
mov dword [esp + 0x2c], eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esi + 0x7260], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
mov dword [esi + 0x7260], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x424d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455cb8
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.0044cfc0
lea eax, [esp + 4]
push 1
push eax
push 0x1d
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0044d040
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x46a8a0
call fcn.0044ce70
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044d000
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8

Function at 0x4264b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 8]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
test eax, eax
je 0x426500
mov byte [eax + 1], 0
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x103
sub eax, ecx
lea ecx, [esp + 8]
push eax
push str...LogicAvMgrGm.dll
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
jne 0x42654f
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ERROR:_Load_advertisement_manager_for_game_DLL_fail._Path:
call esi
lea eax, [esp + 8]
push eax
call esi
pop edi
pop esi
add esp, 0x104
ret

Function at 0x429080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455fc8
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.0044cfc0
lea edx, [esp + 4]
push 3
push edx
push 0x17
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0044d040
mov ecx, dword [esi + 8]
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.0044d000
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x429110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455fe8
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.0044cfc0
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0044d040
mov ecx, dword [esi + 8]
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.0044d000
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4560a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044cc80
lea edi, [esi + 4]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0044cd20
mov dword [esi + 0x18], 0x45b8bc
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 2
mov dword [esi + 0x24], 0x45b8b0
call sub.MFC42.DLL_CString::CString_2
push ebp
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 3
call fcn.00414d70
push ebp
lea ecx, [esi + 0xa0c]
mov byte [esp + 0x1c], 4
call fcn.00419330
push ebp
lea ecx, [esi + 0x129c]
mov byte [esp + 0x1c], 5
call fcn.0041a570
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x45b8a4
mov dword [esi], 0x45b7b8
mov dword [esi + 0x18], 0x45b7b4
mov dword [esi + 0x24], 0x45b7a8
mov dword [esi + 0x14], 2
mov dword [esi + 0x2c], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429480
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4561c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebp, [esi + 0x18]
mov dword [esi], 0x45b7b8
mov dword [esi + 4], 0x45b8a4
mov dword [esi + 0x24], 0x45b7a8
mov dword [ebp], 0x45b7b4
mov dword [esp + 0x24], 0
lea edi, [esi + 0x129c]
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x9e4]
mov byte [esp + 0x24], 0xb
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0xc
lea eax, [edi + 0x9a4]
push 4
push eax
mov byte [esp + 0x34], 0xa
call fcn.0044d9da
lea ecx, [edi + 0x8e4]
mov byte [esp + 0x24], 9
call fcn.0040bc30
lea ecx, [edi + 0x824]
mov byte [esp + 0x24], 8
call fcn.0040bc30
mov ebx, dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::destructor_void_]
lea ecx, [edi + 0x794]
mov byte [esp + 0x24], 7
call ebx
lea ecx, [edi + 0x704]
mov byte [esp + 0x24], 6
call ebx
mov ecx, edi
mov byte [esp + 0x24], 5
call fcn.00409750
lea edi, [esi + 0xa0c]
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x884]
mov byte [esp + 0x24], 0xf
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0xc
lea ecx, [edi + 0x854]
push 4
push ecx
mov byte [esp + 0x34], 0xe
call fcn.0044d9da
lea ecx, [edi + 0x794]
mov byte [esp + 0x24], 0xd
call fcn.0040bc30
lea ecx, [edi + 0x704]
mov byte [esp + 0x24], 0xc
call ebx
mov ecx, edi
mov byte [esp + 0x24], 4
call fcn.00409750
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
call fcn.004167b0
mov byte [esp + 0x24], 2
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov edi, esi
mov byte [esp + 0x24], 1
neg edi
sbb edi, edi
xor ebx, ebx
and edi, ebp
mov dword [edi], 0x45b8bc
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x4295e3
mov edx, dword [ecx]
call dword [edx + 8]
mov dword [edi + 8], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4295f4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], ebx
mov ecx, esi
lea eax, [esi + 4]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x24], 0
and ecx, eax
call fcn.0044cd60
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call fcn.0044ccb0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x42f2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456768
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.0044cfc0
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0044d040
mov ecx, dword [esi + 8]
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.0044d000
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x42f390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456788
push eax
movsx eax, byte [0x46ac10]
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*2]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov esi, dword [ecx + 0x46b3f8]
test esi, esi
jle 0x42f400
lea ecx, [ecx + 0x46b3fc]
cmp dword [ecx], ebx
je 0x42f3e7
inc edx
add ecx, 4
cmp edx, esi
jl 0x42f3d9
jmp 0x42f400
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
lea edx, [edx + eax*2]
add eax, edx
mov esi, dword [eax*4 + 0x46b49c]
test esi, esi
jne 0x42f412
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.0044cfc0
lea edx, [esp + 0xc]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.0044d040
mov ecx, dword [edi + 8]
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.0044d000
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 0x435f30
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x228
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x364]
test eax, eax
jbe 0x436048
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebp
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x138]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esi + 0x364]
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
lea edx, [esp + 0x134]
push ecx
push edx
push str._sTencentQQGameSkRpgSetting_u_dsk.ini
lea eax, [esp + 0x3c]
push 0x103
push eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x14
lea ecx, [esp + 0x30]
lea edx, [esi + 0x1ac]
push ecx
push edx
push str.FileName
push str.SkinDesk
call ebx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x2b0]
lea ecx, [esp + 0x10]
push eax
push 0x46622c
push 0x20
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push str.DrawType
push str.SkinDesk
call ebx
mov ecx, dword [esi + 0x2b4]
lea edx, [esp + 0x10]
push ecx
push 0x46622c
push 0x20
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x4681d8
push str.SkinDesk
call ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x228
ret
Function at 0x436840
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x618
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x436897
lea edx, [esp + 0xc]
push 0x2f
push edx
call edi
add esp, 8
mov esi, eax
mov word [esi], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x214]
push eax
push str._s..
push 0x103
push ecx
call ebx
add esp, 0x10
push str..config.ini
push 0
push str.Version
push str.Public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [esp + 0x214]
mov edi, 0x2710
push edx
xor edx, edx
mov ecx, eax
push 0xffffffffffffffff
div edi
push 0
push 0x804
push 1
push 1
mov eax, ecx
mov edi, 0xf4240
add esi, 2
push edx
xor edx, edx
div edi
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
mov eax, 0x431bde83
push edx
mul ecx
shr edx, 0x12
push edx
lea eax, [esp + 0x30]
push esi
push eax
push esi
push 0x4682ec
call fcn.00451b70
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x452]
mov word [esp + 0x450], 0
rep stosd dword es:[edi], eax
add esp, 0x34
lea ecx, [esp + 0x214]
lea edx, [esp + 0x41c]
push ecx
push str._sconfigDynamicInfo.ini
push 0x103
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x10
lea eax, [esp + 0x41c]
push eax
push 0x2710
push str.LastQQUin
push 0x468290
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push eax
call fcn.004521d0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x618
ret
Function at 0x4369d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::Empty
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push str.Rank.ini
lea ecx, [esp + 0x10]
call fcn.0044d35a
lea edx, [esi + 0x3ac]
mov ecx, 0x9d
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
stosw word es:[edi], ax
call fcn.0044d702
call fcn.0044e97a
add esp, 8
lea ecx, [esp + 0x10]
push 0x46a404
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov byte [esp + 0x24], 2
push eax
call fcn.0044e035
add esp, 4
push str...HelpDll.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x168], eax
je 0x436b62
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QGMessageBoxA
push eax
call edi
mov dword [esi + 0x16c], eax
mov eax, dword [esi + 0x168]
push str.QGMessageBoxB
push eax
call edi
mov ecx, dword [esi + 0x168]
push str.GetGameZipPtr
push ecx
mov dword [esi + 0x170], eax
call edi
cmp eax, ebx
mov dword [esi + 0x178], eax
je 0x436b5c
call eax
mov dword [esi + 0x17c], eax
jmp 0x436b62
mov dword [esi + 0x17c], ebx
mov ecx, esi
call fcn.00438300
mov ecx, esi
call fcn.00438570
mov ecx, esi
call fcn.0043afa0
mov ecx, esi
call fcn.00436bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x437df0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457200
push eax
mov dword fs:[0], esp
mov dword [esp + 8], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 5
push ecx
push str.public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [esp + 0x14]
cmp eax, 5
mov byte [esp + 8], 0
lea ecx, [esp + 0x10]
mov dword [edx], eax
jne 0x437e61
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc

Function at 0x438300
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x457228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push 0x46a404
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.0044e035
add esp, 4
push str...GameListMenu1.dll
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x130], eax
je 0x43847c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateRMenuObject
push eax
call edi
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x130]
push str.ReleaseRMenuWnd
push eax
call edi
mov ecx, dword [esi + 0x130]
push str.AddNewMenu
push ecx
mov dword [esi + 0x138], eax
call edi
mov edx, dword [esi + 0x130]
push str.CreateRMenu
push edx
mov dword [esi + 0x13c], eax
call edi
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x130]
push str.SetLpIGameSite
push eax
call edi
mov ecx, dword [esi + 0x130]
push str.MenuOnOtherMsg
push ecx
mov dword [esi + 0x144], eax
call edi
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x134]
cmp eax, ebx
pop edi
je 0x438439
cmp dword [esi + 0x138], ebx
je 0x438439
cmp dword [esi + 0x13c], ebx
je 0x438439
cmp dword [esi + 0x140], ebx
je 0x438439
cmp dword [esi + 0x144], ebx
jne 0x43847c
push ebx
push ebx
push 0x4684bc
call sub.MFC42.DLL_AfxMessageBox
mov edx, dword [esi + 0x130]
mov dword [esi + 0x134], ebx
push edx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x130], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret