joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fb50
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 0x46fbf4
test byte [eax], 8
je 0x46fb7e
push str.Ctrl
mov ecx, edi
call fcn.004ac100
mov eax, dword [esi + 4]
test byte [eax], 4
je 0x46fb92
push str.Shift
mov ecx, edi
call fcn.004ac100
mov ecx, dword [esi + 4]
test byte [ecx], 0x10
je 0x46fba6
push str.Alt
mov ecx, edi
call fcn.004ac100
mov eax, dword [esi + 4]
test byte [eax], 1
je 0x46fbe2
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.004ac100
pop edi
pop esi
add esp, 0x40
ret 4
cmp word [eax + 2], 0x1b
je 0x46fbf4
mov al, byte [eax + 2]
mov ecx, edi
push eax
call fcn.004ac4c0
pop edi
pop esi
add esp, 0x40
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4b76d9
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], 0x4bc158
lea eax, [esp + 0x10]
push ebx
push eax
push 0x154
push 0x29
mov byte [esp + 0x17c], 1
mov dword [esi], 0x4be228
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 0x473270
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], 0
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push str._sTencentQQGameDdzRpg_ad_activity1.mif
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x100
push edx
call edi
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push 0
push 0
push 3
push 0
push 0
push eax
push 0xb2
call fcn.00473340
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push str._sTencentQQGameDdzRpg_ad_activity2.mif
push 0x100
push edx
call edi
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push 0
push 0
push 3
push 0
push 0
push eax
push 0xb3
call fcn.00473340
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
Function at 0x475310
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b7ceb
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 0x475392
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 [0x50d0f4]
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 0x4753f1
lea eax, [esp + 0x11c]
push 0x2f
push eax
call esi
add esp, 8
dec edi
mov word [eax], 0
jne 0x4753cf
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..config.ini
push 0
push str.Version
push 0x4d7914
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 0x4d7904
call fcn.004b0d20
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 0x4d78dc
push 0x4d7914
call ebx
push 0
push eax
call fcn.004b1410
mov eax, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x534], 0xffffffff
mov dword [eax + 0x7d9c], 1
call fcn.004ac05e
pop edi
pop esi
mov ecx, dword [esp + 0x524]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x528
ret
Function at 0x475870
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b7d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::Empty
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004ac05e
push str.Rank.ini
lea ecx, [esp + 0x14]
call fcn.004ac100
lea edx, [esi + 0x18bc]
mov ecx, 0x9d
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
stosw word es:[edi], ax
call sub.MFC42.DLL_CString::CString_4
call fcn.004adaa4
add esp, 8
lea ecx, [esp + 0x14]
push 0x4daff4
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 2
push eax
call fcn.004ad15f
add esp, 4
push str...HelpDll.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.004ac05e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004ac05e
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x5d8], eax
je 0x475a3e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QGMessageBoxA
push eax
call edi
mov dword [esi + 0x5dc], eax
mov eax, dword [esi + 0x5d8]
push str.QGMessageBoxB
push eax
call edi
mov ecx, dword [esi + 0x5d8]
push str.QGMessageBoxURLWithClick
push ecx
mov dword [esi + 0x5e0], eax
call edi
mov edx, dword [esi + 0x5d8]
push str.QQExceptionFilter
push edx
mov dword [esi + 0x5e4], eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x5d8]
push str.GetGameZipPtr
push eax
call edi
cmp eax, ebx
mov dword [esi + 0x5ec], eax
je 0x475a25
call eax
mov dword [esi + 0x5f0], eax
jmp 0x475a2b
mov dword [esi + 0x5f0], ebx
cmp ebp, ebx
je 0x475a3e
cmp dword [esi + 0x7d9c], ebx
je 0x475a3e
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, esi
call fcn.00477510
cmp dword [esi + 0x4d8], ebx
jne 0x475a54
mov ecx, esi
call fcn.00477880
mov ecx, esi
call fcn.0047a210
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004ac05e
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004ac05e
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x475b10
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b7d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x7ab8]
test eax, eax
jne 0x475b86
push str.Tenio_Initialize_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x60
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 1
je 0x475b61
mov ecx, eax
call fcn.0049cc80
jmp 0x475b63
xor eax, eax
mov dword [esi + 0x7ab8], eax
mov edx, dword [0x50d0a8]
test edx, edx
mov dword [esp + 0x10], 0xffffffff
je 0x475b7e
mov edx, dword [edx + 0x20]
push edx
mov ecx, eax
call fcn.0049cef0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x475c20
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b7d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, dword [0x4d7a54]
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x4be878
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0047dea0
test eax, eax
je 0x475c8f
push 0x169
push eax
lea ecx, [esp + 0x10]
call fcn.0047de40
mov ecx, eax
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x475ca9
lea eax, [esp + 8]
push str._Tenio_Error__Create_ComponentFactory_in_TenFact.dll_Fail_n
push eax
jmp 0x475c99
lea ecx, [esp + 8]
push str._Tenio_Error__Load_TenFact.dll_Fail._n
push ecx
call fcn.0047e1d0
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
je 0x475cc2
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0x20]
test eax, eax
mov dword [esp + 0xc], eax
je 0x475cc2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x10]
push 0
push 8
mov dword [esp + 0x248], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x475d8a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x475d8a
push edi
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x224
push eax
push ebx
call sub.KERNEL32.dll_Module32First
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
test eax, eax
je 0x475d3a
mov ecx, dword [esp + 0x30]
push str.TenioDllFreeMap
push ecx
call esi
test eax, eax
je 0x475d2b
call eax
lea edx, [esp + 0x14]
push edx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x475d19
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0xc]
push 1
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [esp + 0x14]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x475d83
mov ecx, dword [esp + 0x30]
push str.TenioSetDllSafe
push ecx
call esi
test eax, eax
je 0x475d74
push 0
call eax
add esp, 4
lea edx, [esp + 0x14]
push edx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x475d5d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Tenio_Uninitialize_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
add esp, 0x23c
ret
Function at 0x476600
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 + 0x1878]
test eax, eax
jbe 0x476718
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 + 0x1878]
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
lea edx, [esp + 0x134]
push ecx
push edx
push str._sTencentQQGameDdzRpgSetting_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 + 0x1708]
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 + 0x180c]
lea ecx, [esp + 0x10]
push eax
push 0x4ce98c
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 + 0x1810]
lea edx, [esp + 0x10]
push ecx
push 0x4ce98c
push 0x20
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.UseDefaultDesk
push str.SkinDesk
call ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x228
ret
Function at 0x477020
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x134
push ebp
mov ebp, ecx
push esi
mov esi, dword [0x50d0a8]
mov al, byte [ebp + 0x7890]
test al, al
je 0x47714a
test esi, esi
je 0x47714a
push ebx
add esi, 0x2ffc
push 0
push 0x8c
mov ecx, esi
mov byte [ebp + 0x7890], 0
call fcn.00472c90
push 0
push 0x8b
mov ecx, esi
call fcn.00472c90
xor eax, eax
mov ebx, dword [esp + 0x144]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push 0x32
mov dword [esp + 0x2c], eax
mov ecx, 0x50d048
mov dword [esp + 0x1c], 5
mov dword [esp + 0x14], 0x4bdee0
mov dword [esp + 0x30], eax
mov byte [esp + 0x18], 0x32
mov byte [esp + 0x34], 2
mov byte [esp + 0x35], bl
call fcn.004386f0
test ebx, ebx
pop ebx
jne 0x47714a
mov edx, dword [ebp + 0x7898]
mov ebp, dword [ebp + 0x78a0]
push edi
mov ecx, 0x43
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
test ebp, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x138], 0x66
mov dword [esp + 0x13c], 1
pop edi
jne 0x477108
mov ebp, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0xff
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
push 5
push 0
push 0
push str.qqgameprotocol:___ENTERAPP_APPID:388
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x50d0a8]
push 0
push 0
push 0x10
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
pop ebp
add esp, 0x134
ret 4
Function at 0x477510
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b7f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x4daff4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.004ad15f
add esp, 4
push str...ClientCommon1013GameListMenu1.dll
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.004ac05e
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.004ac05e
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edx
call edi
cmp eax, ebx
mov dword [esi + 0x57c], eax
jne 0x4775fd
lea eax, [esp + 0x10]
push eax
call fcn.004ad15f
add esp, 4
push str...GameListMenu1.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 3
call fcn.004ac05e
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004ac05e
mov edx, dword [esp + 0xc]
push edx
call edi
mov dword [esi + 0x57c], eax
mov eax, dword [esi + 0x57c]
cmp eax, ebx
je 0x47773a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateRMenuObject
push eax
call edi
mov dword [esi + 0x580], eax
mov eax, dword [esi + 0x57c]
push str.ReleaseRMenuWnd
push eax
call edi
mov ecx, dword [esi + 0x57c]
push str.AddNewMenu
push ecx
mov dword [esi + 0x584], eax
call edi
mov edx, dword [esi + 0x57c]
push str.CreateRMenu
push edx
mov dword [esi + 0x588], eax
call edi
mov dword [esi + 0x58c], eax
mov eax, dword [esi + 0x57c]
push str.SetLpIGameSite
push eax
call edi
mov ecx, dword [esi + 0x57c]
push str.CreateRMenuNewVipKick
push ecx
mov dword [esi + 0x594], eax
call edi
mov edx, dword [esi + 0x57c]
push str.CreateRMenuWithNoSpeak
push edx
mov dword [esi + 0x590], eax
call edi
mov dword [esi + 0x598], eax
mov eax, dword [esi + 0x57c]
push str.CreateRMenuNew
push eax
call edi
mov dword [esi + 0x59c], eax
mov eax, dword [esi + 0x4d8]
cmp eax, ebx
je 0x4776c9
mov ecx, dword [esi + 0x57c]
push str.MenuOnOtherMsg
push ecx
call edi
mov dword [esi + 0x4d0], eax
cmp dword [esi + 0x580], ebx
je 0x4776f1
cmp dword [esi + 0x584], ebx
je 0x4776f1
cmp dword [esi + 0x588], ebx
je 0x4776f1
cmp dword [esi + 0x58c], ebx
je 0x4776f1
cmp dword [esi + 0x594], ebx
jne 0x47773a
push ebx
push ebx
push 0x4d7b9c
call sub.MFC42.DLL_AfxMessageBox_1
mov edx, dword [esi + 0x57c]
mov dword [esi + 0x580], ebx
push edx
mov dword [esi + 0x584], ebx
mov dword [esi + 0x588], ebx
mov dword [esi + 0x58c], ebx
mov dword [esi + 0x594], ebx
mov dword [esi + 0x590], ebx
mov dword [esi + 0x598], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x57c], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004ac05e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x477880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
push 0x4daff4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
call fcn.004ad15f
add esp, 4
push str...hcq.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.004ac05e
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.004ac05e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [edi + 0x7878], eax
je 0x4779d6
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x477935
mov eax, dword [edi + 0x7878]
push eax
jmp 0x4779d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x4c0048
push 0x4be708
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4779c9
test eax, eax
jl 0x4779c9
mov edx, dword [ecx]
lea esi, [edi + 0x7ab4]
push esi
push 0x4be6e8
push 0
push ecx
call dword [edx + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
test eax, eax
je 0x4779b4
test ebp, ebp
jl 0x4779b4
mov edx, dword [eax]
push 0x10
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ac05e
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [edi + 0x7878]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
jmp 0x4779d6
mov ecx, dword [edi + 0x7878]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ac05e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x47a210
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b8068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 0x4daff4
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov dword [esp + 0x18], 0
push eax
call fcn.004ad15f
add esp, 4
push str.dlgprj.dll
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004ac05e
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004ac05e
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x65c], eax
je 0x47a3d9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DLGAboutShow
push eax
call edi
mov dword [esi + 0x660], eax
mov eax, dword [esi + 0x65c]
push str.DLGSetting
push eax
call edi
mov ecx, dword [esi + 0x65c]
push str.DLGExit
push ecx
mov dword [esi + 0x664], eax
call edi
mov edx, dword [esi + 0x65c]
push str.DLGExitAnswer
push edx
mov dword [esi + 0x668], eax
call edi
mov dword [esi + 0x66c], eax
mov eax, dword [esi + 0x65c]
push str.DLGBuyItem
push eax
call edi
mov ecx, dword [esi + 0x65c]
push str.DLGVipGift
push ecx
mov dword [esi + 0x670], eax
call edi
mov edx, dword [esi + 0x65c]
push str.DLGShowTips
push edx
mov dword [esi + 0x674], eax
call edi
mov dword [esi + 0x678], eax
mov eax, dword [esi + 0x65c]
push str.DLGShowScore
push eax
call edi
mov ecx, dword [esi + 0x65c]
push str.DLGSetBg
push ecx
mov dword [esi + 0x67c], eax
call edi
mov edx, dword [esi + 0x65c]
push str.DLGSettingEx
push edx
mov dword [esi + 0x680], eax
call edi
mov dword [esi + 0x684], eax
mov eax, dword [esi + 0x660]
test eax, eax
pop edi
je 0x47a3cb
mov eax, dword [esi + 0x668]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x664]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x66c]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x670]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x678]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x67c]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x680]
test eax, eax
je 0x47a3cb
mov eax, dword [esi + 0x674]
test eax, eax
jne 0x47a3d9
push 0
push 0
push 0x4d7cac
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004ac05e
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret