joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4752b0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x30], 0xffffffff
jne 0x4752d8
xor eax, eax
jmp 0x475346
cmp dword [ebp + 8], 0
je 0x475341
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
push 0x10
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x475335
mov edx, dword [ebp - 4]
add edx, 0x20
push edx
push 0x20
mov eax, dword [ebp - 4]
push eax
call fcn.0045dfd0
add esp, 0xc
mov eax, 1
jmp 0x475346
mov ecx, dword [ebp - 4]
call fcn.00474870
xor eax, eax
jmp 0x475346
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x47a930
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp + 8]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x47a95c
xor eax, eax
jmp 0x47a975
cmp dword [ebp - 4], 0
jne 0x47a96b
mov dword [ebp - 8], 1
jmp 0x47a972
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x47a9f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x47aa06
mov dword [ebp + 8], 0
cmp dword [ebp + 0xc], 0xffffffff
jne 0x47aa13
mov dword [ebp + 0xc], 0
push 4
lea eax, [ebp + 8]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x47aa3e
mov dword [ebp - 8], 1
jmp 0x47aa45
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp + 0xc]
push ecx
push 0x1006
push 0xffff
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x47aa76
mov dword [ebp - 0x10], 1
jmp 0x47aa7d
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x47ab00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa218
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0x44
push 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.004d64c0
add esp, 0xc
mov dword [ebp - 0x70], 0x44
cmp dword [ebp + 0x14], 0
jne 0x47ab5d
mov dword [ebp - 0x44], 1
xor edx, edx
mov word [ebp - 0x40], dx
push 0x50602c
lea ecx, [ebp - 0x10]
call fcn.0044ddc0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044e400
push 0x506030
lea ecx, [ebp - 0x10]
call fcn.0044e400
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0044e400
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0044ff30
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47ac11
push 0xffffffffffffffff
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e100
mov eax, dword [ebp - 0x18]
jmp 0x47ac2a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e100
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x47acb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x481320
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x50], 0x6a09e667
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x50], 0xbb67ae85
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x50], 0x3c6ef372
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x50], 0xa54ff53a
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x50], 0x510e527f
mov edx, 4
imul eax, edx, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x50], 0x9b05688c
mov edx, 4
imul eax, edx, 6
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x50], 0x1f83d9ab
mov edx, 4
imul eax, edx, 7
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x50], 0x5be0cd19
pop ebp
ret
Function at 0x48cab0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0048ca30
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x48cb08
mov eax, dword [ebp - 4]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xffffffff
xor eax, eax
jmp 0x48cb0d
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x48d170
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x48eaa0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 0x90
mov dword [ebp - 0x14], 0x3a98
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48eafc
jmp 0x48eb4f
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x48eb38
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 8], 0
jmp 0x48eb3a
jmp 0x48eb4f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x48eb4f
cmp dword [ebp - 0x10], 3
jb 0x48eade
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 0
jne 0x48eb99
cmp dword [ebp - 4], 0
je 0x48eb99
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x17
je 0x48eb87
jmp 0x48eb8e
mov eax, 1
jmp 0x48eb9b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 4], eax
jmp 0x48eb5b
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x48f900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x48f915
xor eax, eax
jmp 0x48f951
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48f947
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x48f94e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x48fa95
xor eax, eax
jmp 0x48faba
mov dword [ebp - 8], 0x10
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x491810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0044e960
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x491843
cmp dword [ebp - 8], 2
je 0x491857
cmp dword [ebp - 8], 3
je 0x49186b
jmp 0x49187d
push 0x50b32c
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
jmp 0x49187d
push 0x50b334
push 0x69
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
jmp 0x49187d
push 0x50b33c
push 0x6a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x491887
xor eax, eax
jmp 0x491900
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4918a0
xor eax, eax
jmp 0x491900
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4918b9
xor eax, eax
jmp 0x491900
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4918d0
xor eax, eax
jmp 0x491900
mov dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e960
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00450f40
mov ecx, dword [ebp + 8]
call fcn.00450050
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4acf70
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fed40
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7a
jne 0x4ad122
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e6f0
mov ecx, dword [ebp + 8]
call fcn.00443a60
mov dword [ebp - 0x10], eax
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ad122
call fcn.00489bb0
cmp dword [eax + 0x30], 0
je 0x4ad11b
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00489ce0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push eax
push str.CxyzRoute::get_windows_routing_table
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0044e360
add esp, 0xc
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
call fcn.00443490
push eax
lea ecx, [ebp - 0x58]
call fcn.004566f0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.004aa110
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
push ecx
push str.NOTE:_GetIpForwardTable_returned_error
lea edx, [ebp - 0x50]
push edx
call fcn.00457cc0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.00457c20
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
call fcn.00443490
push eax
call fcn.00489bb0
mov ecx, eax
call fcn.00489740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.0044e100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0044e100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0044e100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0044e100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0044e140
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ad9e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004adaa0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ada29
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.sparsehash:_FATAL_ERROR:_failed_to_reallocate__lu_elements_for_ptr__p
push 2
call fcn.004da3cf
add esp, 4
push eax
call fcn.004ae940
add esp, 0x10
push 1
call fcn.004e4acf
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4ada40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004adac0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ada89
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.sparsehash:_FATAL_ERROR:_failed_to_reallocate__lu_elements_for_ptr__p
push 2
call fcn.004da3cf
add esp, 4
push eax
call fcn.004ae940
add esp, 0x10
push 1
call fcn.004e4acf
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4b24d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4b2558
lea edx, [ebp - 0x204]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044ddc0
mov eax, dword [ebp - 0x208]
or eax, 1
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 8]
jmp 0x4b2574
push 0
mov ecx, dword [ebp + 8]
call fcn.0044ddc0
mov ecx, dword [ebp - 0x208]
or ecx, 1
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 8
Function at 0x4b3730
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x4b3752
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x4b3758
mov al, 1
jmp 0x4b375e
xor al, al
jmp 0x4b375e
mov esp, ebp
pop ebp
ret
Function at 0x4b5760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4b5775
xor eax, eax
jmp 0x4b57c0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b57a4
mov dword [ebp - 8], 1
jmp 0x4b57ab
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b9040
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x10
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x4b90b1
push 0
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e960
mov ecx, dword [ebp + 8]
call fcn.00443a60
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x10
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b90b1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4c0a40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fff03
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea ecx, [ebp - 0x7c]
call fcn.004c0510
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.004c05b0
mov byte [ebp - 4], 1
push 0xf003f
lea ecx, [ebp - 0x7c]
call fcn.00443a60
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x88]
call fcn.004c2790
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4c0ae6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004c05e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00456950
jmp 0x4c0c83
xor eax, eax
mov word [ebp - 0x74], ax
push 0x62
push 0
lea ecx, [ebp - 0x72]
push ecx
call fcn.004d64c0
add esp, 0xc
mov dword [ebp - 0x90], 0x32
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x74]
push eax
push str.ProcessorNameString
lea ecx, [ebp - 0x88]
call fcn.004c2890
test eax, eax
jne 0x4c0b31
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c06d0
lea edx, [ebp - 0x94]
push edx
push str.MHz
lea ecx, [ebp - 0x88]
call fcn.004c2830
test eax, eax
jne 0x4c0b57
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
lea ecx, [ebp - 0x88]
call fcn.004c0850
xor edx, edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xa4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x24a
ja 0x4c0be1
cmp dword [ebp - 0x78], 0x24a
je 0x4c0c1b
cmp dword [ebp - 0x78], 0x182
je 0x4c0bf5
cmp dword [ebp - 0x78], 0x1e6
je 0x4c0c08
jmp 0x4c0c54
cmp dword [ebp - 0x78], 0x898
je 0x4c0c2e
cmp dword [ebp - 0x78], 0x21d8
je 0x4c0c41
jmp 0x4c0c54
push str.Intel_386_processor
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c0940
add esp, 8
jmp 0x4c0c65
push str.Intel_486_Processor
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c0940
add esp, 8
jmp 0x4c0c65
push str.Intel_Pentium_Processor
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c0940
add esp, 8
jmp 0x4c0c65
push str.Intel_IA64_Processor
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c0940
add esp, 8
jmp 0x4c0c65
push str.AMD_X8664_Processor
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c0940
add esp, 8
jmp 0x4c0c65
push 0x511308
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c0940
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004c05e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00456950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c14a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [ebp - 0x44], 0x40
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4c1662
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
movsd xmm0, qword [0x502e80]
movsd qword [ebp - 0x94], xmm0
movsd xmm0, qword [0x502e80]
movsd qword [ebp - 0x8c], xmm0
push 0
push 0x40000000
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004d2f60
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push 0
push 0x40000000
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004d2d70
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push 0
push 0x40000000
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004d2d70
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push 0
push 0x40000000
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.004d2f60
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x68], 0
ja 0x4c1596
cmp dword [ebp - 0x6c], 0
jbe 0x4c15c1
push 0
push 0x100000
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004d2d70
mov ecx, eax
call fcn.004d2b70
divsd xmm0, qword [0x511680]
movsd qword [ebp - 0x94], xmm0
cmp dword [ebp - 0x70], 0
ja 0x4c15cd
cmp dword [ebp - 0x74], 0
jbe 0x4c15f8
push 0
push 0x100000
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.004d2d70
mov ecx, eax
call fcn.004d2b70
divsd xmm0, qword [0x511680]
movsd qword [ebp - 0x8c], xmm0
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
call fcn.004d2b70
addsd xmm0, qword [ebp - 0x94]
movsd qword [ebp - 0x94], xmm0
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
call fcn.004d2b70
addsd xmm0, qword [ebp - 0x8c]
movsd qword [ebp - 0x8c], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x8c]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x94]
movsd qword [esp], xmm0
push str.total__.2f_GB___.2f_GB_available_
mov edx, dword [ebp + 8]
push edx
call fcn.004c0940
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 8