joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dfd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa4a8
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.004d6720
add esp, 0xc
mov dword [ebp - 0x70], 0x44
cmp dword [ebp + 0x14], 0
jne 0x47e02d
mov dword [ebp - 0x44], 1
xor edx, edx
mov word [ebp - 0x40], dx
push 0x50602c
lea ecx, [ebp - 0x10]
call fcn.0044dc60
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
push 0x506030
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0044e2e0
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.0044e020
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47e0e1
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.0044dfa0
mov eax, dword [ebp - 0x18]
jmp 0x47e0fa
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044dfa0
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 0x47e110
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 0x484b50
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 0x490190
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00490110
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 0x4901e8
mov eax, dword [ebp - 4]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xffffffff
xor eax, eax
jmp 0x4901ed
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x490850
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.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x492180
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 0x4921dc
jmp 0x49222f
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 0x492218
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 0x49221a
jmp 0x49222f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x49222f
cmp dword [ebp - 0x10], 3
jb 0x4921be
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 0
jne 0x492279
cmp dword [ebp - 4], 0
je 0x492279
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 0x492267
jmp 0x49226e
mov eax, 1
jmp 0x49227b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 4], eax
jmp 0x49223b
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x492fe0
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 0x492ff5
xor eax, eax
jmp 0x493031
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 0x493027
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x49302e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x493160
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 0x493175
xor eax, eax
jmp 0x49319a
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 0x494ef0
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.0044e840
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x494f23
cmp dword [ebp - 8], 2
je 0x494f37
cmp dword [ebp - 8], 3
je 0x494f4b
jmp 0x494f5d
push 0x50b2fc
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
jmp 0x494f5d
push 0x50b304
push 0x69
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
jmp 0x494f5d
push 0x50b30c
push 0x6a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x494f67
xor eax, eax
jmp 0x494fe0
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 0x494f80
xor eax, eax
jmp 0x494fe0
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 0x494f99
xor eax, eax
jmp 0x494fe0
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 0x494fb0
xor eax, eax
jmp 0x494fe0
mov dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e840
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00450e00
mov ecx, dword [ebp + 8]
call fcn.0044ff10
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4b0030
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4feb90
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 0x4b01e2
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e5d0
mov ecx, dword [ebp + 8]
call fcn.0043ffc0
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 0x4b01e2
call fcn.0048d360
cmp dword [eax + 0x30], 0
je 0x4b01db
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.0048d490
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.0044e220
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.004432f0
push eax
lea ecx, [ebp - 0x58]
call fcn.00457cd0
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.004acfc0
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.004594c0
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.00459420
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.004432f0
push eax
call fcn.0048d360
mov ecx, eax
call fcn.0048cef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.0044dfa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0044dfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0044dfa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0044dfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0044dfe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0044dfe0
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 0x4b0c20
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.004b0ce0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b0c69
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.004da5ff
add esp, 4
push eax
call fcn.004b1b40
add esp, 0x10
push 1
call fcn.004e4d3b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4b0c80
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.004b0d00
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b0cc9
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.004da5ff
add esp, 4
push eax
call fcn.004b1b40
add esp, 0x10
push 1
call fcn.004e4d3b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4b5870
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 0x4b58f8
lea edx, [ebp - 0x204]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dc60
mov eax, dword [ebp - 0x208]
or eax, 1
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 8]
jmp 0x4b5914
push 0
mov ecx, dword [ebp + 8]
call fcn.0044dc60
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.004d219c
mov esp, ebp
pop ebp
ret 8
Function at 0x4b6ad0
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 0x4b6af2
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x4b6af8
mov al, 1
jmp 0x4b6afe
xor al, al
jmp 0x4b6afe
mov esp, ebp
pop ebp
ret
Function at 0x4b8b00
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 0x4b8b15
xor eax, eax
jmp 0x4b8b60
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 0x4b8b44
mov dword [ebp - 8], 1
jmp 0x4b8b4b
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 0x4bc280
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 0x4bc2f1
push 0
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044e840
mov ecx, dword [ebp + 8]
call fcn.0043ffc0
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 0x4bc2f1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4c34f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500283
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.004c2fc0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.004c3060
mov byte [ebp - 4], 1
push 0xf003f
lea ecx, [ebp - 0x7c]
call fcn.0043ffc0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x88]
call fcn.004c5260
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4c3596
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004c3090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00457f30
jmp 0x4c3733
xor eax, eax
mov word [ebp - 0x74], ax
push 0x62
push 0
lea ecx, [ebp - 0x72]
push ecx
call fcn.004d6720
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.004c5360
test eax, eax
jne 0x4c35e1
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c3180
lea edx, [ebp - 0x94]
push edx
push str.MHz
lea ecx, [ebp - 0x88]
call fcn.004c5300
test eax, eax
jne 0x4c3607
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
lea ecx, [ebp - 0x88]
call fcn.004c3300
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 0x4c3691
cmp dword [ebp - 0x78], 0x24a
je 0x4c36cb
cmp dword [ebp - 0x78], 0x182
je 0x4c36a5
cmp dword [ebp - 0x78], 0x1e6
je 0x4c36b8
jmp 0x4c3704
cmp dword [ebp - 0x78], 0x898
je 0x4c36de
cmp dword [ebp - 0x78], 0x21d8
je 0x4c36f1
jmp 0x4c3704
push str.Intel_386_processor
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c33f0
add esp, 8
jmp 0x4c3715
push str.Intel_486_Processor
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c33f0
add esp, 8
jmp 0x4c3715
push str.Intel_Pentium_Processor
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c33f0
add esp, 8
jmp 0x4c3715
push str.Intel_IA64_Processor
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c33f0
add esp, 8
jmp 0x4c3715
push str.AMD_X8664_Processor
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c33f0
add esp, 8
jmp 0x4c3715
push 0x5112d8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c33f0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004c3090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00457f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c3f70
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 0x4c4132
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.004d3150
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.004d2f60
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.004d2f60
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.004d3150
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x68], 0
ja 0x4c4066
cmp dword [ebp - 0x6c], 0
jbe 0x4c4091
push 0
push 0x100000
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004d2f60
mov ecx, eax
call fcn.004d2d60
divsd xmm0, qword [0x511650]
movsd qword [ebp - 0x94], xmm0
cmp dword [ebp - 0x70], 0
ja 0x4c409d
cmp dword [ebp - 0x74], 0
jbe 0x4c40c8
push 0
push 0x100000
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.004d2f60
mov ecx, eax
call fcn.004d2d60
divsd xmm0, qword [0x511650]
movsd qword [ebp - 0x8c], xmm0
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
call fcn.004d2d60
addsd xmm0, qword [ebp - 0x94]
movsd qword [ebp - 0x94], xmm0
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
call fcn.004d2d60
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.004c33f0
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret 8
Function at 0x4c5360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4c5369
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c53ac
mov eax, dword [ebp - 8]
jmp 0x4c5412
cmp dword [ebp - 0xc], 1
je 0x4c53bf
cmp dword [ebp - 0xc], 2
je 0x4c53bf
mov eax, 0xd
jmp 0x4c5412
cmp dword [ebp + 0xc], 0
je 0x4c5406
cmp dword [ebp - 4], 0
je 0x4c53f5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4c53ec
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4c53f3
mov eax, 0xd
jmp 0x4c5412
jmp 0x4c5406
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc