joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490370
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push 0
push 0x80
push ebx
push 0
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x49046e
call fcn.00410170
test eax, eax
jl 0x4904f2
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0xffffffff
jne 0x49047a
cmp ebx, 4
jne 0x490475
lea edx, [ebp - 8]
xor edi, edi
push edx
mov ecx, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.00490050
cmp dword [ebp - 4], edi
ja 0x4903e8
cmp dword [ebp - 8], 2
jb 0x49047a
mov eax, dword [esi]
push 4
push 2
push edi
push edi
push edi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
call fcn.00490090
test eax, eax
mov ebx, dword [ebp - 0x28]
jl 0x490432
test ebx, ebx
je 0x490432
movzx eax, word [ebx]
cmp eax, 0xfeff
je 0x49042d
cmp eax, 0xfffe
je 0x49042d
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
call fcn.0048ffb0
add esp, 8
test eax, eax
je 0x490432
mov edi, 1
test ebx, ebx
mov dword [ebp + 0x14], 0
je 0x490450
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x490450
call fcn.00410170
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49047a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x49047a
cmp dword [ebp + 0x14], eax
jl 0x49047a
call fcn.00410170
jmp 0x49047a
mov dword [esi], eax
jmp 0x4903b0
mov edi, 1
mov dword [esi + 4], edi
cmp edi, 1
pop edi
jne 0x4904ce
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4904a4
call fcn.00410170
test eax, eax
jl 0x4904a9
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x4904ce
mov eax, dword [esi]
push 0
lea ecx, [ebp + 0x10]
push ecx
push 2
lea edx, [ebp + 0x14]
push edx
push eax
mov dword [ebp + 0x14], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4904ce
call fcn.00410170
mov edx, dword [esi]
push 2
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4904f0
call fcn.00410170
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x499c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push str.OnDownloadComplete_:__d
push 0xb
push str..Logical2UIHomePagePersonalInfo.cpp
mov edi, ecx
call fcn.004f3a00
add esp, 0x10
test esi, esi
je 0x499c88
cmp esi, 1
jne 0x499cb6
lea esi, [edi + 0x524]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
push 1
push esi
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXHttpDownload::MoveDownloadFile_wchar_t_const___int_]
test eax, eax
je 0x499cb6
push 1
push 0
push 0xa03
call fcn.0040d0e0
add esp, 0xc
pop edi
pop esi
pop ebp
ret 8
Function at 0x49aa10
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [0x56ebd8]
test ecx, ecx
mov dword [ebp - 0x214], 0
je 0x49ab47
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x214]
push edx
push 0
push 0
push str.HotNewsFileName
call eax
test eax, eax
je 0x49ab47
mov ecx, dword [ebp - 0x214]
push edi
push ecx
call sub.MFC80U.DLL_Ordinal_265
mov edi, eax
add esp, 4
test edi, edi
je 0x49ab46
mov eax, dword [ebp - 0x214]
mov ecx, dword [0x56ebd8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push eax
push edi
push str.HotNewsFileName
call edx
test eax, eax
je 0x49ab3d
cmp dword [ebp - 0x214], 0
jbe 0x49ab3d
push esi
push 0x208
lea eax, [ebp - 0x20e]
push 0
push eax
mov word [ebp - 0x210], 0
call sub.MSVCR80.dll_memset
push 0
push 0
lea ecx, [ebp - 0x210]
push 0x104
push ecx
call fcn.004f6360
add esp, 0x1c
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49ab2f
mov ecx, dword [ebp - 0x214]
push 0
lea eax, [ebp - 0x218]
push eax
push ecx
push edi
push esi
mov dword [ebp - 0x218], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
pop edi
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0x598]
push 6
push ecx
push 0x3a98
call dword [sym.imp.Common.dll_int___cdecl_TXTimer::SetTimeout_unsigned_int__struct_ITXTimerCallback___unsigned_int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x4ac590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x62
lea eax, [ebp - 0x66]
push 0
push eax
mov esi, ecx
mov word [ebp - 0x68], 0
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [ebp - 0x26e]
push 0
push ecx
mov word [ebp - 0x270], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea edx, [ebp - 0x270]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.QQPConfig.exe
lea ecx, [ebp - 0x270]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0x84
push esi
push str._page__s
lea edx, [ebp - 0x68]
push 0x32
push edx
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x10
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push 0x4e22
call fcn.00455290
mov ecx, eax
call fcn.00455f00
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f019a
mov esp, ebp
pop ebp
ret

Function at 0x4add90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov word [ebp - 0x20c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push 0x5c
push edx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x4addff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
push str.QQPCSoftMgr.exe
mov word [eax + 2], 0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push 1
push 0
push esi
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor edx, edx
cmp eax, 0x20
setg dl
xor ecx, ebp
pop esi
mov eax, edx
call fcn.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x4ade90
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x11c
lea ecx, [ebp - 0x120]
push 0
push ecx
mov dword [ebp - 0x124], eax
call sub.MSVCR80.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call ebx
test eax, eax
jne 0x4adeff
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call ebx
test eax, eax
je 0x4adf11
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [esi], ecx
mov dword [edi], edx
jmp 0x4adf1d
mov dword [esi], 0
mov dword [edi], 0
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
pop esi
pop ebx
je 0x4adf7e
lea ecx, [ebp - 0x148]
push ecx
call eax
jmp 0x4adf8b
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x148]
cmp ax, 6
je 0x4adfbd
cmp ax, 0xa
je 0x4adfbd
cmp ax, 9
je 0x4adfbd
mov eax, dword [ebp - 0x124]
mov dword [eax], 0x20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x124]
mov dword [ecx], 0x40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x4ae8e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x28
push 0
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.xGraphic32.dll_LockTextureBits]
add esp, 0xc
test eax, eax
je 0x4ae9ec
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
jle 0x4ae9dd
mov eax, dword [ebp - 0x24]
push ebx
push esi
push edi
mov esi, dword [ebp - 0x1c]
imul esi, ecx
add esi, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
jle 0x4ae9cb
movzx ecx, byte [ebp + 0x10]
mov dl, byte [ebp + 0xc]
mov byte [ebp - 1], 0xff
mov byte [ebp - 3], dl
mov dword [ebp - 0x10], ecx
xor edi, edi
jmp 0x4ae940
lea ecx, [eax - 1]
mov eax, edi
cdq
idiv ecx
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 2], al
mov eax, ecx
sub eax, dword [ebp - 0xc]
add ecx, 0xffffffff
sub eax, 1
imul eax, dword [ebp - 0x10]
cdq
idiv ecx
mov byte [ebp - 4], al
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.xGraphic32.dll_AHSLtoARGB]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov byte [ebp - 5], cl
movzx ecx, cl
add ecx, 1
imul edx, ecx
sar edx, 8
mov byte [ebp - 6], dl
mov edx, eax
shr edx, 8
movzx eax, al
movzx edx, dl
imul eax, ecx
imul edx, ecx
sar eax, 8
sar edx, 8
mov byte [ebp - 8], al
mov byte [ebp - 7], dl
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov eax, dword [ebp - 0x24]
add ebx, 1
add esp, 4
add esi, 4
add edi, 0xff
cmp ebx, eax
jl 0x4ae940
mov ecx, dword [ebp - 0xc]
add ecx, 1
cmp ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
jl 0x4ae915
pop edi
pop esi
pop ebx
mov edx, dword [ebp + 8]
push 0
push edx
call dword [sym.imp.xGraphic32.dll_UnlockTextureBits]
add esp, 8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aea00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x24
push 0
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.xGraphic32.dll_LockTextureBits]
add esp, 0xc
test eax, eax
je 0x4aeaf4
xor eax, eax
cmp dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
jle 0x4aeae5
mov ecx, dword [ebp - 0x20]
push ebx
mov ebx, dword [sym.imp.xGraphic32.dll_AHSLtoARGB]
push esi
push edi
jmp 0x4aea40
mov esi, dword [ebp - 0x18]
imul esi, eax
add esi, dword [ebp - 0x10]
xor edi, edi
test ecx, ecx
jle 0x4aead3
mov dl, byte [ebp + 0xc]
mov al, byte [ebp + 0x10]
mov byte [ebp - 1], 0xff
mov byte [ebp - 2], dl
mov byte [ebp - 4], al
mov eax, ecx
sub eax, edi
sub eax, 1
imul eax, eax, 0xff
add ecx, 0xffffffff
cdq
idiv ecx
mov byte [ebp - 3], al
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
mov byte [ebp - 5], cl
movzx edx, dl
movzx ecx, cl
add ecx, 1
imul edx, ecx
sar edx, 8
mov byte [ebp - 6], dl
mov edx, eax
shr edx, 8
movzx edx, dl
movzx eax, al
imul edx, ecx
imul eax, ecx
sar edx, 8
sar eax, 8
mov byte [ebp - 7], dl
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x20]
add edi, 1
add esp, 4
add esi, 4
cmp edi, ecx
jl 0x4aea63
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jl 0x4aea40
pop edi
pop esi
pop ebx
mov edx, dword [ebp + 8]
push 0
push edx
call dword [sym.imp.xGraphic32.dll_UnlockTextureBits]
add esp, 8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b05c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fce1e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004aeb00
mov dword [esi], vtable.TGFCustomControl_struct_IMoreColorPage__struct_IGFControl_.3.0
mov dword [esi + 8], vtable.TGFCustomControl_struct_IMoreColorPage__struct_IGFControl_.2.0
mov dword [esi + 0xc], vtable.TGFCustomControl_struct_IMoreColorPage__struct_IGFControl_.1.0
mov dword [esi + 0x10], vtable.TGFCustomControl_struct_IMoreColorPage__struct_IGFControl_.0
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push esi
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.004b02f0
mov dword [esi + 0x68], vtable.CTXTimerCallbackPtr_class_CMoreColorPage_.0
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x44], eax
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov edx, 0xdc
or eax, 0xffffffff
mov dword [esi + 0x30], edx
mov ecx, edx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x6c]
mov ebx, 0x43
mov edx, 0xa
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x70], edi
mov ecx, 0x4afe90
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2c90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd1b6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CMoreSkinLogic.0
mov eax, dword [edi + 0x68]
mov ecx, dword [eax]
lea esi, [edi + 0x64]
push eax
push esi
push ecx
push esi
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.004b2400
mov eax, dword [esi + 4]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
lea ecx, [edi + 0x48]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [edi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [edi + 0xc]
test eax, eax
mov byte [ebp - 4], 0
je 0x4b2d31
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public_virtual:_void___thiscall_CTXHttpDownloadSink::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b2d60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd216
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.Common.dll_protected:_void___thiscall_CTXHttpDownloadSink::constructor_void_]
xor ebx, ebx
mov dword [esi], vtable.CMoreSkinLogic.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esi + 0x30]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x48]
push 0x52738f
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00470c20
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ba3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdd9c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004b7870
mov dword [esi], vtable.TGFCustomControl_struct_ISkinBoxUnit__struct_IGFControl_.3.0
mov dword [esi + 8], vtable.TGFCustomControl_struct_ISkinBoxUnit__struct_IGFControl_.2.0
mov dword [esi + 0xc], vtable.TGFCustomControl_struct_ISkinBoxUnit__struct_IGFControl_.1.0
mov dword [esi + 0x10], vtable.TGFCustomControl_struct_ISkinBoxUnit__struct_IGFControl_.0
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
push esi
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xc
call fcn.004b9ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c4340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fee80
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.Common.dll_protected:_void___thiscall_CTXHttpDownloadSink::constructor_void_]
xor edi, edi
mov dword [esi], vtable.CSkinRecommendTips.0
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push esi
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 8
call fcn.004c35d0
mov dword [esi + 0xa0], vtable.CTXTimerCallbackPtr_class_CSkinRecommendTips_.0
push esi
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 9
call fcn.004c4100
push esi
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0xa
call fcn.004c3fd0
lea ebx, [esi + 0x118]
mov ecx, ebx
mov byte [ebp - 4], 0xb
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXHttpDownload::constructor_void_]
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 0xc
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXHttpDownload::constructor_void_]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2d0], edi
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXHttpDownload::SetUIInterface_class_CTXHttpDownloadSink__]
push esi
mov ecx, ebx
mov byte [ebp - 4], 0xd
call edi
push esi
lea ecx, [esi + 0x1f4]
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f019a
mov esp, ebp
pop ebp
ret

Function at 0x4c7ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x54
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.xGraphic32.dll_LockTextureBits]
add esp, 0xc
test eax, eax
jne 0x4c7af4
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push ebx
mov edx, eax
imul eax, ecx
push edi
push edi
push 2
push edi
push edi
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0xc]
neg edx
add eax, 0x36
push 0x40000000
mov dword [ebp - 0x54], 0x28
mov dword [ebp - 0x4c], edx
mov word [ebp - 0x48], 1
mov word [ebp - 0x46], 0x20
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x14], 0x4d42
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], di
mov word [ebp - 0xc], di
mov dword [ebp - 0xa], 0x36
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c7bd4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 4]
push eax
push 0xe
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov dword [ebp - 4], edi
call esi
push edi
lea edx, [ebp - 4]
push edx
push 0x28
lea eax, [ebp - 0x54]
push eax
push ebx
mov dword [ebp - 4], edi
call esi
xor esi, esi
cmp dword [ebp - 0x24], edi
jle 0x4c7bcc
lea ebx, [ebx]
mov edx, dword [ebp - 0x28]
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x20]
imul ecx, esi
add ecx, dword [ebp - 0x18]
lea eax, [edx*4]
push eax
push ecx
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, 1
cmp esi, dword [ebp - 0x24]
jl 0x4c7ba0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov edx, dword [ebp + 8]
push edi
push edx
call dword [sym.imp.xGraphic32.dll_UnlockTextureBits]
add esp, 8
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret