joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474c30
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b7068
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.004ab42e
push str.Rank.ini
lea ecx, [esp + 0x14]
call fcn.004ab4d0
lea edx, [esi + 0x18c4]
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.004ace64
add esp, 8
lea ecx, [esp + 0x14]
push 0x4d8eb4
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 2
push eax
call fcn.004ac51f
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.004ab42e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004ab42e
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x5d8], eax
je 0x474dfe
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 0x474de5
call eax
mov dword [esi + 0x5f0], eax
jmp 0x474deb
mov dword [esi + 0x5f0], ebx
cmp ebp, ebx
je 0x474dfe
cmp dword [esi + 0x7da4], ebx
je 0x474dfe
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, esi
call fcn.004768d0
cmp dword [esi + 0x4d8], ebx
jne 0x474e14
mov ecx, esi
call fcn.00476c40
mov ecx, esi
call fcn.004795d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004ab42e
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x474ed0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b708b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x7ac0]
test eax, eax
jne 0x474f46
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 0x474f21
mov ecx, eax
call fcn.0049c050
jmp 0x474f23
xor eax, eax
mov dword [esi + 0x7ac0], eax
mov edx, dword [0x50ae58]
test edx, edx
mov dword [esp + 0x10], 0xffffffff
je 0x474f3e
mov edx, dword [edx + 0x20]
push edx
mov ecx, eax
call fcn.0049c2c0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b70ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, dword [0x4d593c]
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x4bd868
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0047d270
test eax, eax
je 0x47504f
push 0x169
push eax
lea ecx, [esp + 0x10]
call fcn.0047d210
mov ecx, eax
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x475069
lea eax, [esp + 8]
push str._Tenio_Error__Create_ComponentFactory_in_TenFact.dll_Fail_n
push eax
jmp 0x475059
lea ecx, [esp + 8]
push str._Tenio_Error__Load_TenFact.dll_Fail._n
push ecx
call fcn.0047d5a0
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
je 0x475082
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0x20]
test eax, eax
mov dword [esp + 0xc], eax
je 0x475082
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 0x47514a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x47514a
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 0x4750fa
mov ecx, dword [esp + 0x30]
push str.TenioDllFreeMap
push ecx
call esi
test eax, eax
je 0x4750eb
call eax
lea edx, [esp + 0x14]
push edx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4750d9
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 0x475143
mov ecx, dword [esp + 0x30]
push str.TenioSetDllSafe
push ecx
call esi
test eax, eax
je 0x475134
push 0
call eax
add esp, 4
lea edx, [esp + 0x14]
push edx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x47511d
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 0x4759c0
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 + 0x1880]
test eax, eax
jbe 0x475ad8
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 + 0x1880]
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 + 0x1710]
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 + 0x1814]
lea ecx, [esp + 0x10]
push eax
push 0x4cc98c
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 + 0x1818]
lea edx, [esp + 0x10]
push ecx
push 0x4cc98c
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 0x4768d0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b7288
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 0x4d8eb4
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.004ac51f
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.004ab42e
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.004ab42e
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 0x4769bd
lea eax, [esp + 0x10]
push eax
call fcn.004ac51f
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.004ab42e
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004ab42e
mov edx, dword [esp + 0xc]
push edx
call edi
mov dword [esi + 0x57c], eax
mov eax, dword [esi + 0x57c]
cmp eax, ebx
je 0x476afa
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 0x476a89
mov ecx, dword [esi + 0x57c]
push str.MenuOnOtherMsg
push ecx
call edi
mov dword [esi + 0x4d0], eax
cmp dword [esi + 0x580], ebx
je 0x476ab1
cmp dword [esi + 0x584], ebx
je 0x476ab1
cmp dword [esi + 0x588], ebx
je 0x476ab1
cmp dword [esi + 0x58c], ebx
je 0x476ab1
cmp dword [esi + 0x594], ebx
jne 0x476afa
push ebx
push ebx
push 0x4d5a5c
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.004ab42e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x476c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b72b8
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 0x4d8eb4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
call fcn.004ac51f
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.004ab42e
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.004ab42e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [edi + 0x7880], eax
je 0x476d96
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x476cf5
mov eax, dword [edi + 0x7880]
push eax
jmp 0x476d90
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x4bf038
push 0x4bd6f8
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x476d89
test eax, eax
jl 0x476d89
mov edx, dword [ecx]
lea esi, [edi + 0x7abc]
push esi
push 0x4bd6d8
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 0x476d74
test ebp, ebp
jl 0x476d74
mov edx, dword [eax]
push 0x10
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ab42e
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 + 0x7880]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
jmp 0x476d96
mov ecx, dword [edi + 0x7880]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ab42e
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 0x4795d0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b7388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 0x4d8eb4
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov dword [esp + 0x18], 0
push eax
call fcn.004ac51f
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.004ab42e
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004ab42e
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x65c], eax
je 0x479799
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 0x47978b
mov eax, dword [esi + 0x668]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x664]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x66c]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x670]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x678]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x67c]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x680]
test eax, eax
je 0x47978b
mov eax, dword [esi + 0x674]
test eax, eax
jne 0x479799
push 0
push 0
push 0x4d5b6c
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x47a610
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x78]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [0x50c6b8]
lea edx, [esp + 0x74]
push ecx
lea edi, [esi + 0x654]
push edx
push str._sTencentQQGameUsers_u
push edi
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi]
add esp, 0x10
lea ebp, [esi + 0x658]
push eax
push str._sgamecomm.ini
push ebp
call sub.MFC42.DLL_CString::Format
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
mov ebp, dword [ebp]
push 0x4d5d6c
stosw word es:[edi], ax
push ebp
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x14
cmp edi, ebx
mov dword [esi + 0x6e4], 1
je 0x47a723
mov ebp, dword [sym.imp.MSVCRT.dll_fgets]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push edi
lea ecx, [esp + 0x14]
push 0x64
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x47a719
lea edx, [esp + 0x10]
push str.panelpage
push edx
call ebx
add esp, 8
test eax, eax
je 0x47a6f2
lea eax, [esp + 0x1a]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0x6e0], eax
jmp 0x47a6b8
lea ecx, [esp + 0x10]
push str.showtip
push ecx
call ebx
add esp, 8
test eax, eax
je 0x47a6b8
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0x6e4], eax
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
Function at 0x47a730
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b741b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x18]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x4d5a08
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], ebx
call fcn.004ab4d0
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mkdir]
push edx
call edi
add esp, 4
lea ecx, [esp + 0x10]
push str.QQGame
call fcn.004ab4d0
mov eax, dword [esp + 0x10]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
push str.Users
call fcn.004ab4d0
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov eax, dword [esi + 0x654]
push eax
call edi
mov eax, dword [esi + 0x658]
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
push 0x4d5dc0
push eax
call ebp
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x47a81e
mov edx, dword [esi + 0x6e0]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push edx
push str._sprit__npanelpage_d
push edi
call ebx
mov eax, dword [esi + 0x6e4]
add esp, 0xc
push eax
jmp 0x47a854
mov eax, dword [esi + 0x658]
push 0x4d5c20
push eax
call ebp
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x47a866
mov ecx, dword [esi + 0x6e0]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push ecx
push str._sprit__npanelpage_d
push edi
call ebx
mov edx, dword [esi + 0x6e4]
add esp, 0xc
push edx
push str._nshowtip_d
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x47d5a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x4cb2a8]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x47e000
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x47e06d
mov al, byte [esp + 0x14]
test al, al
je 0x47e06d
cmp al, 0x20
je 0x47e065
cmp al, 9
jne 0x47e0b0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47e05d
mov esi, dword [esp + 0x120]
test esi, esi
je 0x47e0a3
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x47e0a3
test ebx, ebx
je 0x47e0a3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x47e0a3
push ebx
push edx
push esi
call dword [0x4cb2bc]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x47e176
cmp byte [esp + 0x14], 0x5c
je 0x47e176
test ebx, ebx
je 0x47e0a3
mov edi, dword [esp + 0x120]
test edi, edi
je 0x47e0a3
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x47e0a3
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x47e107
push 0x2f
push ebx
call esi
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x47e12e
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x47e159
cmp ebp, esi
jle 0x47e159
push esi
push ebx
push ebp
push edi
call dword [0x4cb2b8]
add esp, 0x10
mov byte [esi + edi], 0
jmp 0x47e159
mov esi, dword [esp + 0x10]
push ebp
push ebx
mov ecx, esi
call fcn.0047e4a0
test eax, eax
je 0x47e14b
push ebx
push ebp
push edi
call dword [0x4cb2bc]
add esp, 0xc
push 0x4d1f78
push ebp
push edi
mov ecx, esi
call fcn.0047e550
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebp
push edi
call fcn.0047e550
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0047e000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc

Function at 0x4826c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp], eax
mov dword [esp], 0x10
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], edx
call fcn.0049e950
lea eax, [esp]
push 2
push eax
push 0x10
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0049e9d0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x50ae28
call fcn.0049e800
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049e990
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8