joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401443
pop dword [ebp - 0x48]
mov eax, 0x401ac07b
add eax, 0xc02553c8
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x11c9751e
add dword [ebp - 0x58], 0x3c88d02d
mov dword [ebp - 0x54], 0x4459bfa0
sub dword [ebp - 0x54], 0x1226735b
mov dword [ebp - 0x50], 0x5ffa9142
add dword [ebp - 0x50], 0xec51b2ec
mov dword [ebp - 0x4c], 0xb4414072
add dword [ebp - 0x4c], 0x4bbebf8e
lea eax, [ebp - 0x58]
push eax
mov eax, 0xd4ffea4
add eax, 0xf2f08260
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x3b47439f
sub dword [ebp - 0x58], 0xc6d4da49
mov dword [ebp - 0x54], 0x10025402
sub dword [ebp - 0x54], 0xce95f28d
mov dword [ebp - 0x50], 0x67a6e276
sub dword [ebp - 0x50], 0x437760a
mov dword [ebp - 0x4c], 0x8bd822c6
add dword [ebp - 0x4c], 0x7427dd3a
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x9c0d7591
add eax, 0x64330b6f
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x397ee
push 0
call eax
mov ecx, 0x414430eb
add ecx, 0xbebc1be7
xor edx, edx
add edx, eax
mov ebx, 0x608360e2
add ebx, 0x9fc3831e
add ebx, dword [ebp - 0x48]
mov esi, 0xdd1ce751
sub esi, 0x3ee20b0b
xor dword [ebp - 0x40], 0xa99071b5
mov edi, dword [ebx]
xor edi, esi
add dword [ebp - 0x3c], edi
mov dword [edx], edi
xor dword [ebp - 0x3c], 0x1847af8b
add edx, 4
add ebx, 0xa1bb5d10
add ebx, 0x5e44a2f4
loop 0x401567
add eax, 0xf354b0e5
add eax, 0xcac7536
mov ebx, eax
add eax, 0x32548d4d
sub eax, 0x32548d48
mov ecx, 0x7fc19ab8
add ecx, 0x807e6548
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x408769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c190
cmp edx, dword [eax]
je 0x40878b
add eax, 8
inc ecx
cmp eax, 0x40c220
jl 0x40877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c190]
jne 0x4088b9
mov eax, dword [0x40cbb0]
cmp eax, 1
je 0x408893
test eax, eax
jne 0x4087bc
cmp dword [0x40c0e4], 1
je 0x408893
cmp edx, 0xfc
je 0x4088b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4087f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b45c
push edi
call fcn.00409f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409680
lea eax, [ebp - 0xa0]
push 0x40b43c
push eax
call fcn.00409680
push dword [esi + 0x40c194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00409e75
add esp, 0x2c
pop edi
jmp 0x4088b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40c194]
push 0
push eax
push dword [esi]
call fcn.00409490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4164e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4164ef
pop dword [ebp - 0x24]
mov eax, 0x4164ef
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x43060ea9
sub dword [ebp - 0x34], 0xf4b3c95e
mov dword [ebp - 0x30], 0x86eae419
add dword [ebp - 0x30], 0xab48682c
mov dword [ebp - 0x2c], 0x9c1f0c2e
sub dword [ebp - 0x2c], 0x4fd2c800
mov dword [ebp - 0x28], 0xa29506af
sub dword [ebp - 0x28], 0xa29506af
lea eax, [ebp - 0x34]
push eax
mov eax, 0xcf9a76c4
add eax, 0x30a86a94
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x83ec6ccb
sub dword [ebp - 0x34], 0xf7a0375
mov dword [ebp - 0x30], 0x7c893776
sub dword [ebp - 0x30], 0x3b1cd601
mov dword [ebp - 0x2c], 0x363c8cc6
add dword [ebp - 0x2c], 0x2d32dfa6
mov dword [ebp - 0x28], 0x465442cd
add dword [ebp - 0x28], 0xb9abbd33
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x408ba
push 0
call eax
mov ecx, 0x4715
xor esi, esi
add esi, eax
mov edi, 0xcaaab981
sub edi, 0xca64a981
add edi, dword [ebp - 0x24]
mov edx, 0xa64813a2
xor dword [ebp - 0xc], 0xe540964b
mov ebx, dword [edi]
add dword [ebp - 0xc], edx
add ebx, edx
xor dword [ebp - 8], 0xe2d71b25
mov dword [esi], ebx
xor dword [ebp - 0x10], 0x9542b2b
add esi, 0x96024166
add esi, 0x69fdbe9e
add edi, 0x21628339
sub edi, 0x21628335
loop 0x4165fd
add eax, 0x2168cf0c
add eax, 0xde98401b
mov ebx, eax
add eax, 0xf93262a2
sub eax, 0xf932629d
mov ecx, 0x343099b7
add ecx, 0xcc0f6649
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x433c96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.0040fe50
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x438d30
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], 0x438da4
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 0x401ad9
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 0x404bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x44a160]
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xb8], 0xffffffff
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x404bef
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.00433621
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 0x404c6e
cmp word [esi + edx*2], 0x2f
je 0x404c6e
dec edx
jne 0x404c64
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 0x4398e0
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 + 0xb4]
push 0
add ecx, 0xb4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405050
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43400c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x44a160]
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, 0xb4
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 0x4051c3
mov esi, dword [esp + 0x14]
cmp word [esi + 0x70], bx
je 0x40515b
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
push 0x104
lea ecx, [esp + 0x284]
push ecx
jmp 0x405172
lea edx, [esp + 0x70]
push edx
push 0x439984
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 + 0xa74]
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 0x4051d1
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x405221
cmp dword [esi + 0x20], ebx
jne 0x405203
mov eax, dword [esi + 0xa70]
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.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bd20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x44a160]
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp + 8]
push eax
push 0x43e464
push str._sGameDetails.aspx_KID_ld
lea ecx, [esp + 0x14]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea edx, [esp + 0x14]
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x214]
call fcn.00433621
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f6f0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41f704
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41f7d9
mov eax, dword [esi + 0x70]
test eax, eax
je 0x41f75e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f75e
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x41f740
mov eax, dword [esi + 0x70]
test eax, eax
je 0x41f740
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f77d
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x41f777
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f77d
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41f7a5
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41f7af
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x41f7d9
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x41f7e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x44a160]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x41f818
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.00433621
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x41f858
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x41f83f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x41f841
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x41f8ae
lea ecx, [esi + 0x74]
call fcn.0041ea30
test al, al
je 0x41f97f
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x43ea34
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x41f97f
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x41f97f
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x41f8fb
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f8fb
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x41f995
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f995
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.0041eee0
jmp 0x41f995
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x43ec30
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41f983
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x41f997
mov eax, dword [esi + 0x20]
push ebp
push 0x4e20
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.00433621
add esp, 0x260
ret 4
Function at 0x423160
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 [0x44a160]
push ebx
push esi
mov dword [esp + 0x160], eax
push edi
mov esi, ecx
je 0x42319c
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x12
jne 0x4231c0
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x7270]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x7270]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x44]
cmp word [ebx], 0x13
jne 0x4231e1
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x7270]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x7270]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x48]
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [ebx + 2], eax
jne 0x42321f
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp word [ebx], 0x12
jne 0x423205
dec word [eax]
cmp word [ebx], 0x13
jne 0x42320f
dec word [eax + 2]
mov ecx, dword [esi + 0x1ef8]
test ecx, ecx
je 0x42321f
call dword [sym.imp.GameProperty.dll_public:_void___thiscall_CDlgTrumpetItem::UpdateControlSurface_void_]
lea ecx, [esi + 0x1aec]
mov dword [esp + 0xc], ecx
call fcn.0041ea10
test al, al
je 0x42327b
mov eax, dword [ebx + 2]
mov cx, word [ebx]
mov edx, dword [ebx + 6]
mov word [esp + 0x10], cx
mov dword [esp + 0x14], eax
push 0x14c
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [esp + 0x64]
push 0x68
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push 5
call fcn.0041ef10
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov cl, byte [eax + 0x1a]
test cl, cl
je 0x423306
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 0x4232bf
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x4232aa
mov ecx, 0x43f574
push 0
push 0x43d86c
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 0x423306
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x4232cf
mov eax, 0x43f574
push 0x43d86c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x423306
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4232ff
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.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x44a160]
push ebx
push esi
push edi
mov dword [esp + 0x54c], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x138], si
mov ecx, 0x81
lea edi, [esp + 0x13a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x348], si
mov esi, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x34a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push str._sPhraseInfo.ini
lea edx, [esp + 0x350]
push 0x104
push edx
stosw word es:[edi], ax
call esi
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x32], ecx
mov dword [esp + 0x36], ecx
mov dword [esp + 0x3a], ecx
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x42], ecx
mov dword [esp + 0x46], ecx
mov dword [esp + 0x4a], ecx
xor eax, eax
mov word [esp + 0x4e], cx
mov word [esp + 0x50], ax
mov word [esp + 0x30], ax
mov ecx, 0x3f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
add esp, 0x18
push edx
lea ecx, [esp + 0x18]
mov bl, 1
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
movzx eax, bl
push eax
push str.Phrase_d
lea ecx, [esp + 0x20]
push 0x10
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x340]
push edx
push 0x80
lea eax, [esp + 0x40]
push eax
push 0x438d04
lea ecx, [esp + 0x28]
push ecx
push str.ServerChatShort
call edi
cmp word [esp + 0x38], 0
je 0x424629
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x55c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x10]
je 0x424658
inc bl
mov byte [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp word [esp + 0x38], 0
je 0x424629
cmp bl, 0x10
jb 0x424580
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54c]
call fcn.00433621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, bl
jmp 0x424635