joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bc14
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403f20
xor eax, eax
push ebp
push 0x46bdd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46bde8
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0046cd8c
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40fd64]
call fcn.00413884
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46bd61
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x46bd25
mov eax, dword [ebp - 4]
lea edx, [eax + 0x24]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov esi, eax
mov ebx, esi
push 0
push ebx
mov eax, esi
sub eax, ebx
cmp eax, 0x10000
jbe 0x46bca9
call fcn.00402d64
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x24]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x46bd25
cmp eax, 0xffffffff
jle 0x46bcf6
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x10084], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x46bd05
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x100c4]
call dword [edi + 0x100c0]
jmp 0x46bd05
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046ccc0
mov eax, dword [0x489c44]
mov eax, dword [eax]
call fcn.0044bbb4
test ebx, ebx
je 0x46bd25
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46bc96
mov eax, dword [ebp - 0xc]
call fcn.004135fc
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00413618
cmp ebx, eax
je 0x46bd4b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46bc6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bd68
mov eax, dword [ebp - 0xc]
call fcn.00402e24
ret
Function at 0x46be10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403f20
xor eax, eax
push ebp
push 0x46bfe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46bffc
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0046cd8c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100b4], edx
mov eax, dword [ebp - 4]
call fcn.0046c61c
xor eax, eax
push ebp
push 0x46bfc1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40fd64]
call fcn.00413884
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46bf59
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x46bf33
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x46bef7
mov eax, dword [ebp - 4]
lea edx, [eax + 0x24]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00413688
mov eax, dword [ebp - 4]
add dword [eax + 0x100b4], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ba], 0
je 0x46beef
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100bc]
call dword [esi + 0x100b8]
mov eax, dword [ebp - 4]
call fcn.0046c61c
cmp ebx, 0xffffffff
jne 0x46bf23
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1008c], esi
cmp esi, 0x2749
je 0x46bf43
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046ccc0
test ebx, ebx
je 0x46bf43
mov eax, dword [0x489c44]
mov eax, dword [eax]
call fcn.0044bbb4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46be93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf60
mov eax, dword [ebp - 0xc]
call fcn.00402e24
ret
Function at 0x46c024
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c1f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46c210
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0046cd8c
mov eax, esi
call fcn.00403aec
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100b4], edx
mov eax, dword [ebp - 4]
call fcn.0046c61c
xor eax, eax
push ebp
push 0x46c1db
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x46c156
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
je 0x46c17a
cmp ebx, 1
jle 0x46c120
mov eax, dword [esi]
call fcn.00403d6c
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, ebx
mov eax, esi
call fcn.004040a0
mov eax, esi
call fcn.00403f3c
mov edx, dword [ebp - 8]
inc edx
dec edx
cmp edx, dword [eax - 4]
jb 0x46c0dc
call fcn.00402d64
inc edx
lea edx, [eax + edx - 1]
mov eax, dword [ebp - 4]
add eax, 0x24
mov ecx, ebx
call fcn.0040281c
mov eax, dword [ebp - 4]
add dword [eax + 0x100b4], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ba], 0
je 0x46c116
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100bc]
call dword [ebx + 0x100b8]
mov eax, dword [ebp - 4]
call fcn.0046c61c
jmp 0x46c14a
inc ebx
jne 0x46c14a
call sub.wsock32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1008c], ebx
cmp ebx, 0x2749
je 0x46c17a
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046ccc0
mov eax, dword [0x489c44]
mov eax, dword [eax]
call fcn.0044bbb4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x46c17a
cmp edi, 0xffffffff
je 0x46c083
mov eax, dword [esi]
call fcn.00403d6c
cmp edi, eax
jg 0x46c083
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46c1c5
mov eax, dword [ebp - 4]
mov byte [eax + 0x10088], 0
mov ecx, 0x46c228
mov dl, 1
mov eax, dword [0x46a900]
call fcn.0040bd30
call fcn.004035bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x10282], 0
je 0x46c1c5
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10284]
call dword [ebx + 0x10280]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c1e2
mov eax, dword [ebp - 4]
call fcn.0046c674
ret
Function at 0x46cbc8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x46cc94
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46cca8
mov dl, 4
mov eax, ebx
call fcn.0046cd8c
mov byte [ebx + 0x10290], 0
mov si, word [ebx + 0x10288]
cmp si, 0xffff
je 0x46cc7e
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x46cc70
test byte [ebx + 0x20], 8
jne 0x46cc2d
cmp word [ebx + 0x1004a], 0
je 0x46cc2d
mov edx, ebx
mov eax, dword [ebx + 0x1004c]
call dword [ebx + 0x10048]
cmp byte [ebx + 0x10089], 0
jne 0x46cc7e
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x46cc50
call fcn.00402d64
mov word [ebx + 0x10288], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x1028c]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x46cc7e
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0046ccc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc9b
lea eax, [ebp - 4]
call fcn.00403aec
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x46ce70
mov dl, 8
mov eax, ebx
call fcn.0046cd8c
push 2
push 1
lea eax, [ebx + 0x24]
push eax
movzx eax, word [ebx + 0x10288]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x46ce62
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x46ce87
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x46ced4
mov dl, 8
mov eax, ebx
call fcn.0046cd8c
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10288]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret

Function at 0x46d10c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
mov edi, esp
mov dword [edi], 0x10
push edi
lea edx, [esp + 8]
push edx
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_getsockname
push dword [esp + 8]
call sub.wsock32.dll_inet_ntoa
mov ebx, eax
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov edx, dword [edi]
cmp byte [ebx + edx], 0x2e
jne 0x46d14f
mov edx, dword [edi]
mov byte [ebx + edx], 0x2c
inc eax
inc dword [edi]
cmp eax, 3
jl 0x46d140
mov edx, esi
mov eax, ebx
call fcn.00409464
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x46d168
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
mov esi, edx
mov dword [esp], 0x10
push esp
lea edx, [esp + 8]
push edx
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_getsockname
push esi
mov bx, word [esp + 0xa]
mov eax, ebx
and ax, 0xff
movzx eax, ax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
shr bx, 8
movzx eax, bx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
lea edx, [esp + 0x18]
mov ecx, 1
mov eax, 0x46d1d4
call fcn.004099ac
add esp, 0x24
pop esi
pop ebx
ret
Function at 0x47174c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47175e
add esp, 0xfffffff0
call fcn.00403164
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403f20
mov eax, dword [ebp + 0x10]
call fcn.00403f20
xor eax, eax
push ebp
push 0x47180f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x10], 1
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00403b40
mov edx, dword [esi + 8]
mov eax, esi
call fcn.00471b2c
mov edx, dword [esi + 0xc]
mov eax, esi
call fcn.00471bac
lea eax, [esi + 0x14]
mov edx, 0x47183c
call fcn.00403b40
lea eax, [esi + 0x18]
mov edx, dword [ebp + 0x10]
call fcn.00403b40
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x28]
mov edx, 0x47184c
call fcn.00403b40
lea eax, [esi + 0x2c]
mov edx, 0x47185c
call fcn.00403b40
lea eax, [esi + 0x30]
mov edx, 0x471870
call fcn.00403b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471816
lea eax, [ebp - 4]
call fcn.00403aec
lea eax, [ebp + 0x10]
call fcn.00403aec
ret
Function at 0x474df8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403f20
xor eax, eax
push ebp
push 0x474f08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x474e6d
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004085ac
test al, al
je 0x474e61
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x474e62
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jne 0x474e3b
cmp byte [ebp - 9], 0
je 0x474e9f
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.00408af4
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
mov eax, ebx
call fcn.00408bbc
mov ecx, edi
mov edx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x474eda
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004085ac
test al, al
jne 0x474ee5
inc ebx
dec esi
jne 0x474eba
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f0f
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403b10
lea eax, [ebp - 8]
call fcn.00403aec
ret
Function at 0x47b28c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b3d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408438
mov edx, dword [ebp - 0xc]
mov eax, 0x47b3f0
call fcn.00404058
test eax, eax
jle 0x47b39a
mov ecx, dword [0x489c44]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x476054]
call fcn.004763b0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47b393
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
add eax, 0x10298
mov edx, esi
call fcn.00403b40
mov eax, dword [ebp - 8]
mov byte [eax + 0x102b4], 1
xor eax, eax
push ebp
push 0x47b36f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1029c]
mov eax, 0x47b400
call fcn.00404058
test eax, eax
jle 0x47b365
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1029c]
call fcn.00408438
mov edx, dword [ebp - 0x10]
mov eax, 0x47b40c
call fcn.00404058
test eax, eax
jle 0x47b365
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b37d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b3ba
mov eax, dword [ebp - 8]
call fcn.00402e24
ret
push 0
mov eax, esi
call fcn.00403f30
push eax
mov eax, ebx
call fcn.00403f30
push eax
call sub.kernel32.dll_CopyFileA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b3dc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403b10
ret
Function at 0x47b7e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f20
mov eax, dword [ebp - 8]
call fcn.00403f20
xor eax, eax
push ebp
push 0x47b927
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x64]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 8]
call fcn.004701fc
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
call fcn.00403b84
xor eax, eax
push ebp
push 0x47b8f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040724c
mov dword [ebp - 0x50], 0x44
lea ecx, [ebp - 0xc]
mov edx, 0x47b93c
mov eax, dword [ebp - 4]
call fcn.004701a0
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0047af90
test al, al
je 0x47b8d8
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403f30
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f30
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x47b8b7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x47b8d8
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x68]
call fcn.0040b550
mov ecx, dword [ebp - 0x68]
mov dl, 1
mov eax, dword [0x47adfc]
call fcn.0040bd30
call fcn.004035bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b8ff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x4be0aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], ecx
xor eax, eax
mov edx, dword [ecx]
mov edi, dword [eax + 0x4fb930]
mov dword [eax + edx], edi
add eax, 4
cmp eax, 0x48
jl 0x4be0ba
xor eax, eax
mov edx, 0x100
mov edi, dword [ecx + 4]
mov ebx, dword [eax + 0x4fb978]
mov dword [eax + edi], ebx
add eax, 4
dec edx
jne 0x4be0d4
cmp eax, 0x1000
jl 0x4be0cf
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
lea eax, [esi + 1]
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx edi, byte [esi + ebx]
mov eax, dword [eax]
shl edi, 0x18
and edi, 0xff00ffff
movzx ecx, byte [edx + ebx]
mov edx, dword [ebp - 4]
add dword [ebp - 4], 4
add edx, eax
lea eax, [esi + 2]
mov dword [ebp - 0xc], edx
cdq
idiv dword [ebp + 0xc]
shl ecx, 0x10
xor ecx, edi
xor eax, eax
xor cx, cx
mov ah, byte [edx + ebx]
xor eax, ecx
mov ecx, eax
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
movzx eax, byte [edx + ebx]
or ecx, eax
mov eax, dword [ebp - 0xc]
xor dword [eax], ecx
lea eax, [esi + 4]
cdq
idiv dword [ebp + 0xc]
cmp dword [ebp - 4], 0x48
mov esi, edx
jl 0x4be0f3
xor esi, esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
mov edi, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.004bd9c6
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
mov dword [esi + eax], ecx
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [esi + eax + 4], ecx
add esi, 8
cmp esi, 0x48
jl 0x4be15d
push 4
pop esi
mov ebx, 0x80
mov edi, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.004bd9c6
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [esi + eax - 4], ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
mov dword [esi + eax], ecx
add esi, 8
dec ebx
jne 0x4be190
cmp esi, 0x1004
jl 0x4be18b
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c0411
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4c6390
call 0x555c54
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call 0x56c6b8
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call 0x56c55c
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call 0x56c423
mov eax, dword [edi]
push 1
push ebx
push ebx
mov dword [esi + 8], eax
push dword [edi + 0x1c]
call 0x556bb0
mov ecx, dword [edi + 0x20]
add eax, ecx
lea ecx, [ebp + 8]
adc edx, ebx
and dword [esi + 0x30], ebx
and dword [esi + 0x2c], ebx
mov dword [esi + 0x10], eax
or ebx, 0xffffffff
lea eax, [edi + 4]
push ebx
push eax
mov dword [esi + 0x14], edx
call 0x569cb9
mov eax, dword [ebp + 8]
push ebx
mov dword [esi + 0x18], eax
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp + 8]
call 0x569cb9
mov eax, dword [ebp + 8]
add edi, 0x14
push ebx
push edi
lea ecx, [ebp + 8]
mov dword [esi + 0x1c], eax
call 0x569cb9
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov dword [ebp - 4], ebx
call 0x56c423
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4c1b62
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4c67a0
call 0x555c54
push ecx
mov eax, dword [0x508bf4]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [ebx], eax
mov eax, dword [0x508bf4]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 8], eax
mov eax, dword [0x508bf4]
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004c0550
mov ecx, ebx
mov byte [ebp - 4], 3
mov dword [esi], 0x4d6604
call 0x56c3ae
lea ecx, [esi + 8]
call 0x56c3ae
lea ecx, [esi + 0x38]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x20], edi
call 0x56c3ae
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], 0x32
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4f2f2e
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4cb7de
call 0x555c54
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ee202
mov eax, dword [0x508bf4]
and dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
and dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x4d65e0
push 0x50d798
mov byte [ebp - 4], 2
mov dword [esi], 0x4d8158
mov dword [esi + 4], 7
call 0x56c5ac
and dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x64
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4f2f39
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4cb7de
call 0x555c54
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ee202
mov eax, dword [0x508bf4]
and dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
and dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x4d65e0
push 0x50d798
mov byte [ebp - 4], 2
mov dword [esi], 0x4d8158
mov dword [esi + 4], 7
call 0x56c5ac
and dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x64
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4fbdcc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cc5fd
call 0x555c54
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004fc3e1
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x4fbdfe
mov ecx, eax
call fcn.004ee98d
mov esi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov edi, esp
mov dword [ebp - 0x10], esp
push ecx
mov dword [esi + 8], 0x66
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x5003f0
call 0x56c491
push edi
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004fd8e8
xor edi, edi
push eax
inc edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call 0x56c423
push esi
lea ecx, [ebx + 0x14]
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xfffffff6
call 0x56b166
mov ecx, dword [ebp - 0xc]
and dword [ebx + 0x2ec], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4fc1d5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cc716
call 0x555c54
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x508bf4]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 8], eax
mov eax, dword [0x508bf4]
mov dword [esi + 0xc], eax
push 0xa
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call 0x56b05c
push 0xa
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call 0x56b05c
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call 0x56b05c
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.004fb53b
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 6
call 0x52e3af
lea eax, [esi + 0x204]
mov ecx, 0x4d65e0
mov dword [eax + 4], edi
mov dword [eax], ecx
lea eax, [esi + 0x20c]
mov dword [eax + 4], edi
mov dword [eax], ecx
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 9
call fcn.0050da43
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xa
call fcn.0050da43
lea ecx, [esi + 0x29c]
mov byte [ebp - 4], 0xb
call fcn.0050da43
mov ecx, esi
mov byte [ebp - 4], 0xc
mov dword [esi], 0x4d9118
call fcn.004fc3e1
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x2e0], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x2e4], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret