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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
xor ebx, ebx
xor ebp, ebp
call fcn.00599644
mov esi, eax
mov eax, dword [esp + 0x18]
push edi
push eax
push esi
call sub.MSVCR90.dll_memcpy
xor eax, eax
add esp, 0x10
cmp edi, 2
mov dword [esp + 0x18], eax
jl 0x40180b
lea ecx, [edi - 1]
movzx edx, byte [esi + eax]
xor edx, 2
add ebx, edx
movzx edx, byte [esi + eax + 1]
xor edx, 2
add eax, 2
add ebp, edx
cmp eax, ecx
jl 0x4017f1
cmp eax, edi
jge 0x40181a
movzx eax, byte [eax + esi]
xor eax, 2
mov dword [esp + 0x18], eax
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
lea eax, [ebx + ebp]
add eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
ret 8

Function at 0x401930
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x401963
xor eax, eax
jmp 0x4019b9
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4019b0
push ebx
mov ebx, dword [esp + 0x13c]
lea ebx, [ebx]
cmp dword [esp + 0x14], ebx
je 0x401997
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401980
jmp 0x4019af
lea edx, [esp + 0x30]
push edx
push 0x6924c0
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 8
mov edi, 0x6924c0
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x130]
pop edi
pop esi
xor ecx, esp
call fcn.005997a8
add esp, 0x12c
ret 4

Function at 0x4019e0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x401a43
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x401a43
cmp dword [esp + 0x14], edi
je 0x401a27
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x401a12
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
push edx
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
pop edi
pop esi
add esp, 0x1c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x401d50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Encode data using xor
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
push 0
push 1
push 2
mov ebx, ecx
call sub.WSOCK32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
je 0x401df5
mov eax, 2
push 0xa1
mov word [esp + 0x14], ax
call sub.WSOCK32.dll_htons
add ebx, 0x39
push ebx
mov word [esp + 0x16], ax
call sub.WSOCK32.dll_inet_addr
push 0x10
lea ecx, [esp + 0x14]
push ecx
push edi
mov dword [esp + 0x20], eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
je 0x401df5
mov ecx, dword [esi + 4]
xor eax, eax
cmp dword [esi], eax
jle 0x401dc9
lea ebx, [ebx]
xor byte [eax + ecx], 2
inc eax
cmp eax, dword [esi]
jl 0x401dc0
mov edx, dword [esi]
push 0
push 4
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], edx
call sub.WSOCK32.dll_send
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0
push ecx
push edx
push edi
call sub.WSOCK32.dll_send
push edi
call sub.WSOCK32.dll_closesocket
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005997a8
add esp, 0x18
ret 4
Function at 0x402890
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3c]
push 0x40
add eax, edi
mov eax, dword [eax + 0x50]
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, eax
mov eax, dword [edi + 0x3c]
movzx ecx, word [eax + edi + 0x14]
add eax, edi
mov edx, dword [ecx + eax + 0x28]
mov ebx, dword [ecx + eax + 0x24]
lea esi, [ecx + eax + 0x18]
mov eax, dword [esi + 0x14]
push edx
add eax, edi
push eax
add ebx, ebp
push ebx
call sub.MSVCR90.dll_memcpy
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00599644
mov edx, dword [esi + 0x10]
push edx
mov edi, eax
push ebx
push edi
call sub.MSVCR90.dll_memcpy
xor eax, eax
add esp, 0x1c
cmp dword [esi + 0x10], eax
jbe 0x402901
xor byte [eax + edi], 2
inc eax
cmp eax, dword [esi + 0x10]
jb 0x4028f7
push 0x8000
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x402ff0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x682708
call fcn.0041ed70
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x691aa8], ebp
call ebx
mov edi, eax
push 7
add edi, edi
call ebx
mov esi, eax
push 4
add esi, esi
call ebx
mov ecx, eax
add ecx, esi
mov esi, dword [0x6cac40]
xor edx, edx
mov eax, esi
div dword [0x6ca1c8]
mov eax, dword [0x6ca1cc]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x40304e
cmp dword [edx], esi
je 0x403092
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x403043
push 0
push ebp
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push connect
push 0x2ca0000
push 0x6918a8
push 0x691ac0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x691894], esi
test esi, esi
jne 0x4030ae
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x40304e
mov eax, dword [edx + 8]
push 0
push ebp
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x403063
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x5e50a4
call fcn.00404ca0
cmp dword [0x685c40], 0
push 0
mov ecx, 0x5e50a4
push 0
jne 0x4030ff
push 1
call fcn.004049c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.004049c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4038f0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ecx + 0xd9], 1
mov dword [ecx + 0x1a5], 0
mov edx, 0xda1f20ba
lea eax, [ecx + 0xe1]
mov edi, 0xa
jmp 0x403920
lea esi, [edx - 1]
xor esi, dword [ecx + 0xd9]
add eax, 0x14
mov dword [eax - 0x18], esi
add dword [ecx + 0x1a5], esi
mov esi, dword [ecx + 0xd9]
xor esi, edx
mov dword [eax - 0x14], esi
add dword [ecx + 0x1a5], esi
lea esi, [edx + 1]
xor esi, dword [ecx + 0xd9]
mov dword [eax - 0x10], esi
add dword [ecx + 0x1a5], esi
lea esi, [edx + 2]
xor esi, dword [ecx + 0xd9]
mov dword [eax - 0xc], esi
add dword [ecx + 0x1a5], esi
lea esi, [edx + 3]
xor esi, dword [ecx + 0xd9]
add edx, 5
mov dword [eax - 8], esi
add dword [ecx + 0x1a5], esi
sub edi, 1
jne 0x403920
mov eax, dword [ecx + 0x1a5]
xor dword [ecx + 0xd9], eax
pop edi
pop esi
ret
Function at 0x41d455
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x5e50ac]
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
mov dword [ecx + 0xc], 1
cmp dword [esi + 0x10], 0
push 0
mov ecx, 0x5e50a4
push 0
je 0x41d48b
push 3
mov dword [0x693018], 1
call fcn.004049c0
mov dword [esi + 0x10], 0
jmp 0x41d492
push 2
call fcn.004049c0
cmp dword [0x685c40], 0
pop esi
jne 0x41d4b0
mov dword [0x685c40], 1
mov ecx, 0x685ba8
jmp fcn.004d5110
ret

Function at 0x41f860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59be88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x190
lea eax, [esi + 0x10]
push 0
push eax
call sub.MSVCR90.dll_memset
push 0x320
lea ecx, [esi + 0x1a0]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], edx
mov ecx, dword [eax]
mov dword [esi + 0x2d60], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x60]
add esp, 0x18
mov dword [esi + 0x2d64], edx
mov dword [esi + 0x2d68], eax
mov edi, 1
lea ebx, [esi + 0x1c0]
nop
push 4
push ebx
lea ecx, [edi - 1]
push ecx
mov ecx, 0x69d200
call fcn.0042f6b0
inc edi
add ebx, 0x20
cmp edi, 0xc8
jl 0x41f8e0
cmp dword [esi + 8], 0
jne 0x41f90a
mov ecx, esi
call fcn.0041f4e0
lea ecx, [esp + 0x10]
call fcn.00429880
push 0
lea edx, [esp + 0x14]
push edx
push 0x3f
mov ecx, 0x69d200
mov dword [esp + 0x44], 0
call fcn.0042f6b0
push 0x1e1e1e
lea eax, [esp + 0x14]
push eax
push 0xf0f0f0
push 0
lea ecx, [esi + 0x2d6c]
call fcn.0042dac0
cmp dword [esi + 0x2f38], 0
mov dword [esi + 0x2dbc], 0xdc
mov dword [esi + 0x2f34], 0
jle 0x41f989
mov cx, word [esi + 0x2f38]
mov word [esi + 0x10e], cx
mov dword [esi + 0x2f34], 1
mov dword [esi + 0x2f38], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00429890
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x42ce10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59c89f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x10]
mov dword [esi], vtable.cMultiLineText.0
call fcn.00429880
push fcn.00429890
push fcn.00429880
push 5
push 0x20
lea eax, [esi + 0x58]
xor edi, edi
push eax
mov dword [esp + 0x2c], edi
call fcn.00599ab7
lea ecx, [esi + 0xf8]
mov byte [esp + 0x18], 1
call fcn.00429880
lea ecx, [esi + 0x120]
mov byte [esp + 0x18], 2
call fcn.00429880
push edi
push edi
push edi
mov eax, 0xffffff
push edi
lea edx, [esi + 0x38]
xor ecx, ecx
push edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], edi
mov dword [esi + 4], edi
mov word [esi + 0xc], cx
mov dword [esi + 0x4c], edi
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esi + 0x50], 0xff
mov dword [esi + 0x54], 0x64
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43bd40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59d993
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0042db70
xor edi, edi
lea ecx, [esi + 0x50]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.cWindow.0
call fcn.0042ce10
mov ebx, 1
lea ecx, [esi + 0x218]
mov byte [esp + 0x1c], bl
call fcn.00429880
fldz
fst dword [esi + 0x268]
xor eax, eax
fstp dword [esi + 0x26c]
mov ecx, ebx
fld1
xor edx, edx
fst dword [esi + 0x274]
mov word [esi + 0x1c], ax
mov word [esi + 0x272], ax
fstp dword [esi + 0x278]
mov dword [esi + 8], edi
mov word [esi + 0xc], cx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov word [esi + 0x270], dx
mov dword [esi + 0x238], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x23c], 0xffffff
mov dword [esi + 0x240], 0xff
mov dword [esi + 0x244], 0x64
mov dword [esi + 0x18], 0x43bd30
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x445960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59db9b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00429880
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x69d200
mov dword [esp + 0xe4], 0
call fcn.0042f6b0
push 0x166
mov ecx, 0x682f30
call fcn.0042e1b0
lea edx, [esp + 0x4c]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4459d5
mov eax, dword [0x6a0ec4]
lea ecx, [eax + eax*4]
shl ecx, 7
add ecx, 0x6a0384
push ecx
mov ecx, dword [0x6938d8]
lea edx, [esp + 0x30]
push edx
call fcn.004ce4e0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push str._s__s_
push edx
call edi
add esp, 0x10
push 0x33517d
lea eax, [esp + 0x10]
push eax
push 0xffffff
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x2a0]
call fcn.0043c130
push 0x168
mov ecx, 0x682f30
call fcn.0042e1b0
lea edx, [esp + 0x4c]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x445a50
mov eax, dword [0x6a0ec4]
mov ecx, dword [0x6938d8]
lea eax, [eax + eax*4]
shl eax, 7
add eax, 0x6a03d4
push eax
lea edx, [esp + 0x30]
push edx
call fcn.004ce4e0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push str._s__s_
push edx
call edi
add esp, 0x10
push 0x33517d
lea eax, [esp + 0x10]
push eax
push 0xffffff
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x2a8]
call fcn.0043c130
lea ecx, [esp + 0xc]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00429890
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.005997a8
add esp, 0xd0
ret
Function at 0x4474f0
Capabilities:
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59dce3
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x74
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, 0x62
xor ebp, ebp
mov ebx, 1
lea ecx, [esp + 0xd4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 7
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], 9
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x58], 0xb
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x60], 0xd
mov dword [esp + 0x64], 0xe
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], 0x11
mov dword [esp + 0x74], 0x12
mov dword [esp + 0x78], 0x13
mov dword [esp + 0x7c], 0x14
mov dword [esp + 0x80], 0x15
mov dword [esp + 0x84], 0x16
mov dword [esp + 0x88], 0x17
mov dword [esp + 0x8c], 0x18
mov dword [esp + 0x90], 0x19
mov dword [esp + 0x94], 0x1a
mov dword [esp + 0x98], 0x1b
mov dword [esp + 0x9c], 0x1c
mov dword [esp + 0xa0], 0x1d
mov dword [esp + 0xa4], 0x4d
mov dword [esp + 0xa8], 0x4e
mov dword [esp + 0xac], 0x4f
call fcn.00429880
lea ecx, [esp + 0xb4]
mov dword [esp + 0x11c], ebp
call fcn.00429880
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], bl
call fcn.00429880
movzx eax, word [esp + 0x124]
lea esi, [eax + eax*2]
add esi, esi
push ebp
lea eax, [esp + 0xb8]
add esi, esi
mov ecx, dword [esp + esi + 0x18]
push eax
push ecx
mov ecx, 0x69d200
mov byte [esp + 0x128], 2
call fcn.0042f6b0
mov eax, dword [esp + esi + 0x18]
push ebp
lea edx, [esp + 0xf8]
push edx
push eax
mov ecx, 0x69d200
call fcn.0042f6b0
mov edx, dword [esp + esi + 0x1c]
push ebp
lea ecx, [esp + 0xd8]
push ecx
push edx
mov ecx, 0x69d200
call fcn.0042f6b0
push 0x45c
call fcn.00599902
add esp, 4
mov dword [esp + 0xb0], eax
mov byte [esp + 0x11c], 3
cmp eax, ebp
je 0x447728
mov ecx, eax
call fcn.004437a0
mov esi, eax
jmp 0x44772a
xor esi, esi
mov ebp, dword [esi]
lea ecx, [edi + 0x308]
mov byte [esp + 0x11c], 2
add ebp, 0x40
call fcn.00594c60
push eax
push 0
lea eax, [esp + 0xfc]
push eax
movzx eax, word [edi + 0x2c2]
lea ecx, [esp + 0xc0]
push ecx
movzx ecx, word [edi + 0x2c0]
lea edx, [esp + 0xe4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push 0
push 0
mov ecx, esi
call edx
lea ecx, [esp + 0xf4]
mov dword [esi + 0x24], ebx
mov byte [esp + 0x11c], bl
call fcn.00429890
lea ecx, [esp + 0xb4]
mov byte [esp + 0x11c], 0
call fcn.00429890
lea ecx, [esp + 0xd4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00429890
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
Function at 0x456dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59e448
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x525
call edx
mov dword [esi + 0x29c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x526
mov ecx, esi
call edx
mov dword [esi + 0x2a0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x523
mov ecx, esi
call edx
mov dword [esi + 0x4308], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x52b
mov ecx, esi
call edx
mov dword [esi + 0x2a8], eax
mov eax, dword [esi + 0x4308]
test eax, eax
je 0x456e5a
lea ecx, [eax + 0x44c]
lea edx, [esi + 0x430c]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x456e50
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x52a
mov ecx, esi
call edx
lea ecx, [esp + 8]
mov dword [esi + 0x2a4], eax
call fcn.00429880
push 0
lea eax, [esp + 0xc]
push eax
push 0x3f
mov ecx, 0x69d200
mov dword [esp + 0x3c], 0
call fcn.0042f6b0
push 0x33517d
lea ecx, [esp + 0xc]
push ecx
push 0xffffffffffffffff
push 0x4b4
mov ecx, 0x6a0f60
call fcn.004d6bc0
mov ecx, dword [esi + 0x2a4]
push eax
call fcn.0043c130
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429890
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x45eb40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59e856
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00424b30
xor ebx, ebx
lea ecx, [esi + 0x29c]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CBigMapDlg.0
call fcn.004612b0
lea edi, [esi + 0x314]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esi + method.CMemoryPoolTempl_class_CMiniMapIcon_.virtual_0], vtable.CMemoryPoolTempl_class_CMiniMapIcon_.0
mov dword [esi + 0x33c], ebx
mov dword [esi + 0x340], ebx
mov byte [esi + 0x348], bl
push 0x461450
push 0x45d6c0
push 0x14
push 0xc
lea eax, [esi + 0x4c8]
push eax
mov byte [esp + 0x30], 3
call fcn.00599ab7
lea ecx, [esi + 0x5bc]
mov byte [esp + 0x1c], 4
call fcn.00445c70
lea ecx, [esi + 0x5e0]
mov byte [esp + 0x1c], 5
call fcn.00429880
push 0x40
mov ecx, edi
mov byte [esp + 0x20], 6
call fcn.0045dbf0
push 0x80
lea ecx, [esi + 0x348]
push 0x5b55a8
push ecx
call dword [sym.imp.MSVCR90.dll_strncpy]
lea edi, [esi + 0x33c]
add esp, 0xc
mov dword [esi + 0x344], 0xa
cmp dword [edi], ebx
jne 0x45ec47
push 0x64
push edi
call fcn.0045e840
mov edx, dword [edi]
add esp, 8
mov dword [esi + 0x340], edx
mov dword [esi + 0x23c], 0x78ffffff
mov dword [esi + 0x600], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x45fd00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59e9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x44
lea eax, [esi + 0x4dc]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0045f1f0
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
push 0x53c
mov ecx, esi
call eax
mov edx, dword [esi]
mov dword [esi + 0x29c], eax
mov eax, dword [edx + 0x60]
push 0x53d
mov ecx, esi
call eax
mov edx, dword [esi]
mov dword [esi + 0x2a0], eax
mov eax, dword [edx + 0x60]
push 0x53b
mov ecx, esi
call eax
mov edx, dword [esi]
mov dword [esi + 0x2a4], eax
mov eax, dword [edx + 0x60]
push 0x53e
mov ecx, esi
call eax
mov dword [esi + 0x2a8], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push 0
call eax
lea ecx, [esp + 8]
call fcn.00429880
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x3f
mov ecx, 0x69d200
mov dword [esp + 0x3c], 0
call fcn.0042f6b0
mov ecx, dword [esi + 0x2a8]
push 0x1e1e1e
lea edx, [esp + 0xc]
push edx
push 0xffffff
push 0x5af25f
call fcn.0043c130
mov ecx, esi
call fcn.0045fa90
mov ecx, esi
call fcn.0045f580
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00429890
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x460b20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59ea60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00424b30
xor ebx, ebx
lea ecx, [esi + 0x2b0]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CMiniMapDlg.0
call fcn.004612b0
lea edi, [esi + 0x328]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esi + method.CMemoryPoolTempl_class_CMiniMapIcon_.virtual_0], vtable.CMemoryPoolTempl_class_CMiniMapIcon_.0
mov dword [esi + 0x350], ebx
mov dword [esi + 0x354], ebx
mov byte [esi + 0x35c], bl
push 0x461450
push 0x45d6c0
push 0x11
push 0xc
lea eax, [esi + 0x4dc]
push eax
mov byte [esp + 0x30], 3
call fcn.00599ab7
push 0x45f1e0
push 0x45f1d0
push 2
push 0x28
lea ecx, [esi + 0x5ac]
push ecx
mov byte [esp + 0x30], 4
call fcn.00599ab7
lea ecx, [esi + 0x5fc]
mov byte [esp + 0x1c], 5
call fcn.00429880
mov byte [esp + 0x1c], 6
lea eax, [esi + 0x63c]
lea ecx, [ebx + 0xa]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
sub ecx, 1
jns 0x460bf5
mov eax, 0x63
mov dword [esi + 0x724], eax
mov dword [esi + 0x728], ebx
mov byte [esi + 0x72c], bl
mov dword [esi + 0x730], eax
mov dword [esi + 0x734], ebx
mov byte [esi + 0x738], bl
mov dword [esi + 0x73c], eax
mov dword [esi + 0x740], ebx
mov byte [esi + 0x744], bl
mov dword [esi + 0x748], eax
mov dword [esi + 0x74c], ebx
mov byte [esi + 0x750], bl
mov dword [esi + 0x754], eax
mov dword [esi + 0x758], ebx
mov byte [esi + 0x75c], bl
mov dword [esi + 0x760], eax
mov dword [esi + 0x764], ebx
mov byte [esi + 0x768], bl
mov dword [esi + 0x76c], eax
mov dword [esi + 0x770], ebx
mov byte [esi + 0x774], bl
mov dword [esi + 0x778], eax
mov dword [esi + 0x77c], ebx
mov byte [esi + 0x780], bl
mov dword [esi + 0x784], eax
mov dword [esi + 0x788], ebx
mov byte [esi + 0x78c], bl
push 0x40
mov ecx, edi
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
call fcn.0045dbf0
fld dword [0x5b0be4]
fstp dword [esi + 0x634]
push 0x80
fld dword [0x5b56bc]
lea edx, [esi + 0x35c]
fstp dword [esi + 0x638]
push 0x5b55a8
fldz
push edx
fst dword [esi + 0x62c]
fstp dword [esi + 0x630]
mov dword [esi + 0x5d0], ebx
mov dword [esi + 0x5cc], ebx
mov dword [esi + 0x5f8], ebx
mov dword [esi + 0x5f4], ebx
call dword [sym.imp.MSVCR90.dll_strncpy]
lea edi, [esi + 0x350]
add esp, 0xc
mov dword [esi + 0x358], 0xa
cmp dword [edi], ebx
jne 0x460d46
push 0x64
push edi
call fcn.0045e840
mov eax, dword [edi]
add esp, 8
mov dword [esi + 0x354], eax
mov eax, esi
mov dword [esi + 0x7a8], ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret