Function at 0x100045a0
Capabilities:
Get hostname
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x638
push ebx
push esi
lea eax, [esp + 0x2a0]
push edi
xor ebx, ebx
push eax
mov byte [esp + 0x2a4], 0x66
mov byte [esp + 0x5de], bl
mov dword [esp + 0x2a8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x654]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5e0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1a0], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], pe_nt_image_headers32
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1a1]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push str.NetSubKey
push closesocket
mov dword [esp + 0x38], esi
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1a0]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push 0x10010ef0
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004680
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10004693
lea edx, [esp + 0x10]
lea eax, [esp + 0x1a0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x64c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x24]
mov ecx, 0xc
lea esi, [esp + 0x1a0]
lea edi, [esp + 0x5a8]
mov dword [esp + 0x5a4], edx
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [esp + 0x64]
mov word [esp + 0x340], cx
call fcn.100044e0
lea edx, [esp + 0x30]
mov dword [esp + 0x344], eax
push edx
mov dword [esp + 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x38]
shr eax, 0x14
inc eax
mov dword [esp + 0x348], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, 0x31b5d43b
imul edi
sar edx, 0x18
mov ecx, edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0xdc]
push 0x1000f100
push edx
call esi
mov eax, edi
mov ecx, 0x5265c00
cdq
idiv ecx
mov eax, 0x4a90be59
lea ecx, [esp + 0x80]
mov edi, edx
imul edi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x1000f100
push ecx
call esi
mov eax, edi
mov ecx, 0x36ee80
cdq
idiv ecx
mov eax, 0x45e7b273
lea ecx, [esp + 0x154]
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x1000f100
push ecx
call esi
lea edx, [esp + 0x160]
lea eax, [esp + 0x98]
push edx
lea ecx, [esp + 0x100]
push eax
push ecx
lea edx, [esp + 0x37c]
push 0x1000f910
push edx
call esi
add esp, 0x38
call fcn.10004540
lea ecx, [esp + 0x2a0]
mov byte [esp + 0x5da], al
mov eax, dword [esp + 0x650]
push 0x3a4
push ecx
mov ecx, ebx
mov dword [esp + 0x5e4], eax
call fcn.10001cd0
pop edi
pop esi
pop ebx
add esp, 0x638
ret