joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b520
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b433b
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebx, ecx
test edi, edi
je 0x41b5d1
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41b56b
mov ecx, eax
call fcn.0041b9a0
mov esi, eax
jmp 0x41b56d
xor esi, esi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 0xffffffff
test edx, edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x30], ecx
jle 0x41b5be
mov ecx, dword [edi + 4]
xor eax, eax
test ecx, ecx
jbe 0x41b5be
mov ecx, edi
mov ecx, dword [ecx + 8]
inc eax
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [esi + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x41b5ae
push str.AniMgr__AddNormalAni_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov ecx, ebx
call fcn.0041b700
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x41d120
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b43f1
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.0041d330
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jle 0x41d26b
lea eax, [esp + ecx + 0x1c]
mov cl, byte [esp + ecx + 0x1b]
cmp cl, 0x67
jne 0x41d26b
cmp byte [eax - 2], 0x66
jne 0x41d26b
cmp byte [eax - 3], 0x63
jne 0x41d26b
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
push ecx
call fcn.004ad15f
add esp, 4
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_sdown.cfg
push ecx
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 0
call fcn.004ac05e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41d206
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
jmp 0x41d225
mov eax, dword [esp + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41d244
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004ac05e
jmp 0x41d310
mov ecx, esi
call fcn.0041cdf0
mov ecx, esi
call fcn.0041cf40
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004ac05e
jmp 0x41d310
lea ecx, [esp + 0x120]
push 0x104
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0041d380
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x41d2a2
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 0x41d310
push ecx
lea eax, [esp + 0x124]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x234], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x234], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0041d440
mov ecx, esi
call fcn.0041cf40
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 4
Function at 0x4231a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b4bc3
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.00470e10
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 0x423268
mov eax, dword [esp + 0x18]
push ebx
push edi
mov ecx, dword [eax + 0x4c08]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esi + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0x12c]
mov dword [esi + 4], 0x505a0a0
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
mov dword [esi + 0x18], 0x10
mov dword [esi], 0x4bc568
mov dword [esi + 8], edx
mov byte [esi + 0xe], 1
mov dword [esi + 0x14], ebp
jmp 0x42326a
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.004727b0
mov eax, dword [esp + 0x10]
add edi, 0xa
dec eax
mov dword [esp + 0x10], eax
jne 0x423206
lea ecx, [esp + 0x28]
call fcn.004729d0
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
mov dword [esp + 0x14], edi
jl 0x4231fe
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x50d0a8]
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.00470f10
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x424520
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00424620
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42460f
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
push 0x4d0c34
push eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x42460f
push 2
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x424606
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 0x424605
test eax, eax
je 0x424605
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
push ebp
jne 0x424606
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.00425060
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 0x438710
Capabilities:
Create process on windows

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

Function at 0x4388a0
Capabilities:
Create process on windows

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

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

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

Disassembly:
push 0xffffffffffffffff
push 0x4b6ce8
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.0049f580
lea edx, [esp + 4]
push 3
push edx
push 0x17
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0049f600
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.0049f5c0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x44b7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6d08
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.0049f580
lea edx, [esp + 4]
push 3
push edx
push 0x18
push 7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0049f600
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.0049f5c0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x4667b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7248
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.0049f580
lea edx, [esp + 4]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0049f600
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.0049f5c0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x466850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7268
push eax
movsx eax, byte [0x50e904]
mov dword fs:[0], esp
sub esp, 0x24
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [esp + 0x40]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*2]
shl ecx, 2
mov esi, dword [ecx + 0x50f224]
test esi, esi
jle 0x4668c2
lea ecx, [ecx + 0x50f228]
cmp dword [ecx], ebx
je 0x4668a8
inc edx
add ecx, 4
cmp edx, esi
jl 0x46689a
jmp 0x4668c2
mov ecx, eax
add edx, eax
shl ecx, 6
add ecx, eax
lea ecx, [eax + ecx*4]
lea edx, [edx + ecx*2]
mov esi, dword [edx*4 + 0x50f2c8]
test esi, esi
jne 0x4668d4
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.0049f580
lea edx, [esp + 0xc]
push 2
push edx
push 0x1c
push 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
call fcn.0049f600
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
add esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0049f5c0
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 0x4695d0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b72eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [esp + 0x21c]
push ebp
mov ebp, ecx
push esi
mov ecx, dword [eax + 0xc]
push edi
mov dword [0x50d7dc], ecx
mov edx, dword [eax + 8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x118]
push 0x1a
push eax
push 0
mov dword [0x50d7d8], edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x114]
lea edx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
push str._sTencentQQGameDdzRpg_adconfig.ini
push 0x103
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [esp + 0x20]
push 0x4d08cc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x469698
mov ecx, ebp
call fcn.00469c30
mov byte [ebp + 0x31], 1
mov eax, 1
jmp 0x469719
push str.ActivityVersion
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push str.ActivityVer
push edx
mov dword [esp + 0x230], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [0x50d7dc]
add esp, 4
cmp edi, eax
jge 0x469703
mov ecx, ebp
call fcn.00469c30
lea ecx, [esp + 0xc]
mov byte [ebp + 0x31], 1
mov dword [esp + 0x220], 0xffffffff
call fcn.004ac05e
mov eax, 1
jmp 0x469719
lea ecx, [esp + 0xc]
mov dword [esp + 0x220], 0xffffffff
call fcn.004ac05e
xor eax, eax
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4699d0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2020
call fcn.004ac9a0
mov eax, dword [esp + 0x2028]
push ebx
xor ebx, ebx
lea edx, [eax + 0xc]
cmp edx, ebx
je 0x469c11
cmp dword [edx], 0x2710
jne 0x469c11
or eax, 0xffffffff
push esi
push edi
mov dword [esp + 0x320], eax
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x338]
mov dword [esp + 0x31c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x3a0]
mov dword [esp + 0x39c], ebx
lea esi, [esp + 0x318]
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [esp + 0x7a2]
mov word [esp + 0x7a0], bx
mov dword [esp + 0x1024], 0x64
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x824]
mov word [esp + 0x822], bx
mov dword [esp + 0x1028], 0xd0c
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 4]
lea edi, [esp + 0x102c]
mov dword [esp + 0x338], ecx
mov ecx, 0x343
lea edx, [esp + 0x1024]
mov dword [esp + 0x318], 0x1f4
mov dword [esp + 0x324], 0x51
mov dword [esp + 0x330], ebx
mov dword [esp + 0x334], 1
push edx
rep movsd dword es:[edi], dword [esi]
push 0x1008
push 0xb3
mov ecx, 0x50d048
call fcn.00438680
mov ecx, 0x1a2
xor eax, eax
lea edi, [esp + 0x31c]
mov dword [esp + 0x318], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
push str.TencentQQGameDDzRpg_ad.7z
push ecx
lea edx, [esp + 0x21c]
push 0x4d1e94
push edx
stosb byte es:[edi], al
call esi
add esp, 0x10
mov ecx, 0x40
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
lea eax, [esp + 0xc]
push str.TencentQQGameDDzRpg
push eax
lea ecx, [esp + 0x118]
push 0x4d1e94
push ecx
call esi
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
lea edx, [esp + 0x224]
push 0x2ff
lea eax, [esp + 0x338]
push edx
push eax
mov dword [esp + 0x338], 3
mov dword [esp + 0x33c], 1
mov dword [esp + 0x334], ebx
call esi
lea ecx, [esp + 0x12c]
push 0x2ff
lea edx, [esp + 0x644]
push ecx
push edx
call esi
push 0x7f
lea eax, [esp + 0x950]
push 0x4daff4
push eax
call esi
add esp, 0x34
lea ecx, [esp + 0x318]
push ecx
push 0x68c
push 0xa3
mov ecx, 0x50d048
call fcn.00438680
pop edi
pop esi
pop ebx
add esp, 0x2020
ret 8
Function at 0x469c30
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc0c
push esi
push edi
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
stosb byte es:[edi], al
push 1
lea eax, [esp + 0xc]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], 0
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 + 0x30d]
mov byte [esp + 0x30c], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push 0x1ff
stosw word es:[edi], ax
lea ecx, [esp + 0x110]
push str._minigamefile_ddz_ad_ad.7z
push ecx
stosb byte es:[edi], al
call esi
add esp, 0xc
lea edx, [esp + 8]
lea eax, [esp + 0x30c]
push str.TencentQQGameDDzRpg_ad.7z
push edx
push 0x4d1e94
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x120]
push 0x3ff
lea edx, [esp + 0x52c]
push ecx
push edx
call esi
lea eax, [esp + 0x32c]
push 0x2ff
lea ecx, [esp + 0x938]
push eax
push ecx
call esi
add esp, 0x2c
lea edx, [esp + 0x50c]
mov ecx, 0x50d048
mov dword [esp + 0x510], 4
push edx
push 0x708
push 0xa2
mov dword [esp + 0x518], 0x2710
call fcn.00438680
pop edi
pop esi
add esp, 0xc0c
ret