joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40495e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403f48
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ccc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404948
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404965
lea eax, [ebp - 0x10]
call fcn.00403cf4
ret

Function at 0x406750
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406789
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403de4
jmp 0x406792
mov eax, ebx
mov edx, esi
call fcn.00403d48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40679c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4067bd
mov al, byte [esp]
jmp 0x4067bf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406e44
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406cbc
mov eax, dword [0x4093b0]
cmp byte [eax], 0
je 0x406ec0
mov eax, dword [0x409304]
call fcn.00402a34
call fcn.0040262c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405c44
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406f08
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406ef6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00404348
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x4078b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407918
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403f48
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405b18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40791f
lea eax, [ebp - 0xc]
call fcn.00403cf4
ret
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x412210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44d686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.00409ef0
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4542e8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x45433c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xa
mov dword [esi + 4], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
mov byte [esp + 0x14], 1
je 0x401aa9
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 0x20], edi
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
add esp, 4
mov dword [esi + 0x20], edi
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], 0xb
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x472388]
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xc8], 0xffffffff
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4078cf
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor esi, esi
mov word [esp + 0x218], si
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
mov word [esp + 0x18], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push ecx
push str._sDownLoad
lea edx, [esp + 0x20]
push 0x104
push edx
stosw word es:[edi], ax
call ebx
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
test edx, edx
jbe 0x40794e
cmp word [esi + edx*2], 0x2f
je 0x40794e
dec edx
jne 0x407944
xor eax, eax
mov word [esp + 0x420], 0
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + edx*2 + 2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x455cc8
lea edx, [esp + 0x42c]
push 0x104
push edx
call ebx
add esp, 0x14
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc4]
push 0
add ecx, 0xc4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407f40
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dd9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x472388]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x484], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0x81
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
add ebx, 0xc4
stosw word es:[edi], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [esp + 0x498], esi
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call edi
sub eax, esi
shl eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + eax + 0x70], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x4080b6
mov esi, dword [esp + 0x14]
cmp word [esi + 0x80], bx
je 0x40804e
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
push 0x104
lea ecx, [esp + 0x284]
push ecx
jmp 0x408065
lea edx, [esp + 0x70]
push edx
push 0x455f34
push 0x104
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0xa88]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [esp + 0x298]
push eax
push ebx
mov dword [esp + 0x50], 0x44
mov word [esp + 0x80], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4080c4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x408114
cmp dword [esi + 0x20], ebx
jne 0x4080f6
mov eax, dword [esi + 0xa84]
mov edx, dword [esi]
push ebx
push 0x64
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x40000000
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [edx + 0x5c]
mov edx, dword [esi + 0x20]
push ebx
push 0x64
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x472388]
push esi
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov esi, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetValidateLink_void_]
push eax
mov ecx, esi
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s__sShop_Index.aspx
lea eax, [esp + 0x14]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044c98b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40eb40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x472388]
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov edx, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s_LogonLink5.aspx
lea eax, [esp + 0x10]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044c98b
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x411e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x472388]
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov edx, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s_Agreement.aspx
lea eax, [esp + 0x10]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044c98b
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x472388]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x628], eax
cmp dword [esi + 0x27c], 0xffffffff
push edi
je 0x41f34d
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor ebx, ebx
mov word [esp + 0x420], bx
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x420]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
xor eax, eax
mov word [esp + 0x220], bx
mov ecx, 0x81
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x70]
push ecx
lea edx, [esp + 0x42c]
push edx
push 0x45be28
stosw word es:[edi], ax
lea eax, [esp + 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x1c
mov word [esp + 0x10], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jbe 0x41f40a
mov ecx, 0x5c
lea ecx, [ecx]
cmp word [esp + eax*2 + 0x10], cx
je 0x41f40a
dec eax
jne 0x41f400
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
mov word [esp + eax*2 + 0x1e], bx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [esi + 0x278]
push ebx
lea ecx, [esi + 0x278]
push 0x1001
lea eax, [esp + 0x220]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44fd19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinMenu::constructor_void_]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::CreateMenu_void_]
mov esi, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::AppendMenuW_unsigned_int__wchar_t_const___unsigned_int_]
push 0
push 0x45c82c
push 0x8045
lea ecx, [esp + 0x28]
call esi
push 0
push 0x45c804
push 0x8046
lea ecx, [esp + 0x28]
call esi
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ebx, dword [sym.imp.SkinControl.dll_public:_unsigned_int___thiscall_CSkinMenu::CheckMenuItem_unsigned_int__unsigned_int_]
mov esi, eax
cmp byte [esi + 0x1f], 1
jne 0x422894
push 8
push 0x8045
lea ecx, [esp + 0x24]
call ebx
mov al, byte [esi + 0x1f]
test al, al
jne 0x4228a8
push 8
push 0x8046
lea ecx, [esp + 0x24]
call ebx
mov ecx, dword [edi + 0x2c4]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call sub.MFC71U.DLL_COleControl::ClientToParent
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::TrackPopupMenu_int__int__class_CWnd__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.SkinControl.dll_public_virtual:_void___thiscall_CSkinMenu::destructor_void_]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x422910
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44fd3a
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC71U.DLL_COleControl::ClientToParent
mov eax, dword [esi + 0x710]
test eax, eax
jne 0x422996
push edi
push 0x7c
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edi, eax
add esp, 4
mov dword [esp + 8], edi
test edi, edi
mov dword [esp + 0x24], 0
je 0x422985
mov ecx, edi
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CExpressionControl::constructor_void_]
mov dword [edi], 0x45c848
jmp 0x422987
xor edi, edi
mov dword [esi + 0x710], edi
mov dword [esp + 0x24], 0xffffffff
pop edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esi + 0x25c]
push eax
push ecx
mov ecx, dword [esi + 0x710]
push edx
push esi
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CExpressionControl::ShowExpression_class_CWnd___int__int__struct_IExpressionSink__]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42b0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45076d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call dword [sym.imp.FGuimfcFactory.dll_public:_void___thiscall_CFGuiWnd::constructor_void_]
mov eax, dword [sym.imp.SkinControl.dll_public_virtual:_void___thiscall_CEncircleBMP::destructor_void_]
mov ecx, dword [sym.imp.SkinControl.dll_public:_void___thiscall_CEncircleBMP::constructor_void_]
push eax
push ecx
push 3
push 0x38
lea ebp, [esi + 0x1d8]
push ebp
mov dword [esp + 0x4c], 0
mov dword [esi], 0x45e238
mov dword [esi + 0x54], 0x45e230
mov dword [esi + 0x58], 0x45e228
mov dword [esi + 0x5c], 0x45fedc
mov dword [esi + 0x60], 0x45e220
call fcn.0044cc88
lea ecx, [esi + 0x280]
mov byte [esp + 0x38], 1
call fcn.0042ac10
lea ecx, [esi + 0x540]
mov byte [esp + 0x38], 2
call fcn.0042ac10
lea ecx, [esi + 0x800]
mov byte [esp + 0x38], 3
call fcn.0042ac10
xor eax, eax
mov byte [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0x11d
mov dword [esi + 0x1a4], 0x1e
mov ecx, 0xc
lea edi, [esi + 0x1a8]
mov byte [esp + 0x38], 4
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x1d8
mov dword [esp + 0x14], 0x1d7
mov dword [esp + 0x18], 0x1df
mov dword [esp + 0x1c], 0x1de
mov dword [esp + 0x20], 0x1cf
mov dword [esp + 0x24], 0x1ce
mov dword [esp + 0x28], 0x1dd
mov dword [esp + 0x2c], 0x1d1
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CEncircleBMP::InitEncircleResource_struct_tagEncircleResource___struct_HINSTANCE____]
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call edi
mov dword [esp + 0x10], 0x1dc
mov dword [esp + 0x14], 0x1d2
mov dword [esp + 0x18], 0x1d4
mov dword [esp + 0x1c], 0x1d3
mov dword [esp + 0x20], 0x1d0
mov dword [esp + 0x24], 0x1d9
mov dword [esp + 0x28], 0x1d5
mov dword [esp + 0x2c], 0x1db
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x210]
call edi
mov dword [esp + 0x10], 0x1cd
mov dword [esp + 0x14], 0x1cc
mov dword [esp + 0x18], 0x1cb
mov dword [esp + 0x1c], 0x1e2
mov dword [esp + 0x20], 0x1e1
mov dword [esp + 0x24], 0x1e0
mov dword [esp + 0x28], 0x1da
mov dword [esp + 0x2c], 0x1d6
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x248]
call edi
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x434720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
cmp word [ebp + 0xc], 0x14a
mov eax, dword [0x472388]
push ebx
push esi
push edi
mov dword [esp + 0x164], eax
mov edi, ecx
je 0x43475c
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x2170]
lea ecx, [eax + 0x23c]
mov eax, dword [ecx]
push 0x6010100
push 0x460148
call dword [eax + 4]
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x12
mov esi, eax
jne 0x434795
mov eax, dword [ebx + 6]
mov edx, dword [esi]
push eax
lea ecx, [ebx + 0x4a]
push ecx
lea eax, [ebx + 0xa]
push eax
mov ecx, esi
call dword [edx + 0x44]
cmp word [ebx], 0x13
jne 0x4347ae
mov eax, dword [ebx + 6]
mov edx, dword [esi]
push eax
lea ecx, [ebx + 0x4a]
push ecx
lea eax, [ebx + 0xa]
push eax
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [edi + 0x1fc]
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp dword [ebx + 2], eax
jne 0x4347dc
mov ecx, dword [edi + 0x1fc]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp word [ebx], 0x12
jne 0x4347d2
dec word [eax]
cmp word [ebx], 0x13
jne 0x4347dc
dec word [eax + 2]
lea ecx, [edi + 0x1d60]
mov dword [esp + 0xc], ecx
call fcn.004412d0
test al, al
je 0x434838
mov ecx, dword [ebx + 2]
mov dx, word [ebx]
mov eax, dword [ebx + 6]
mov dword [esp + 0x14], ecx
mov word [esp + 0x10], dx
mov dword [esp + 0x18], eax
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x14c
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push 0x68
push 5
call fcn.004417c0
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov cl, byte [eax + 0x1a]
test cl, cl
je 0x4348c3
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 8]
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
test eax, eax
je 0x43487c
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x434867
mov ecx, str.BUGLE_EX
push 0
push 0x45d558
push ecx
push esi
mov ecx, eax
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
test al, al
jne 0x4348c3
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x43488c
mov eax, str.BUGLE_EX
push 0x45d558
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4348c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4348bc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 7
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x164]
mov al, 1
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8