Function at 0x40876c
Capabilities:
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff724
mov eax, 0x48276c
call fcn.00460328
mov word [ebp - 0x20], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
mov word [ebp - 0x20], 0x20
xor ecx, ecx
mov dword [ebp - 8], ecx
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push str.CPT_INFOR
lea eax, [ebp - 0x83c]
push eax
call fcn.00460078
add esp, 8
cmp dword [0x488478], 2
jne 0x4087ee
push str._1_0_
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
push 0x48225b
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
jmp 0x408816
push 0x48225d
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
push 0x48225f
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
mov dword [ebp - 0x8dc], 0x20
lea ecx, [ebp - 0x8dc]
push ecx
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [ebp - 0x8d4]
shr eax, 0x14
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x34]
push 0xa
lea edx, [ebp - 0x8bc]
push edx
push dword [ebp - 0x34]
call fcn.004642a8
add esp, 0xc
push 0x482261
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
lea eax, [ebp - 0x8bc]
push eax
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
lea eax, [ebp - 4]
mov edx, 0x10
call fcn.0046b778
cmp dword [ebp - 4], 0
je 0x408894
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 4]
jmp 0x408896
xor eax, eax
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x3c]
push edx
cmp dword [ebp - 4], 0
je 0x4088a8
mov ecx, dword [ebp - 4]
jmp 0x4088ad
mov ecx, 0x482263
push ecx
call sub.KERNEL32.DLL_GetComputerNameA
push 0x482264
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
cmp dword [ebp - 4], 0
je 0x4088d2
mov edx, dword [ebp - 4]
jmp 0x4088d7
mov edx, 0x482266
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
lea ecx, [ebp - 0x8bc]
push ecx
push 0x482267
call fcn.00408b78
add esp, 8
push 0x48226a
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
lea edx, [ebp - 0x8bc]
push edx
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
lea eax, [ebp - 0x8bc]
push eax
push 0x48226c
call fcn.00408b78
add esp, 8
push 0x48226f
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
lea ecx, [ebp - 0x8bc]
push ecx
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
lea edx, [ebp - 0x8bc]
push edx
push 0x482271
call fcn.00408b78
add esp, 8
push 0x482274
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
lea eax, [ebp - 0x8bc]
push eax
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
lea ecx, [ebp - 0x8bc]
push ecx
push 0x482276
call fcn.00408b78
add esp, 8
push 0x482279
lea eax, [ebp - 0x83c]
push eax
call fcn.0045ffe8
add esp, 8
lea edx, [ebp - 0x8bc]
push edx
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
call fcn.00408acc
fstp dword [ebp - 0x38]
mov word [ebp - 0x20], 0x2c
fld dword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
push edx
inc dword [ebp - 0x14]
mov ecx, 1
mov edx, 8
mov al, 2
call fcn.0044d6b4
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0046b6a8
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0046b678
push 0x48227b
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045ffe8
add esp, 8
cmp dword [ebp - 8], 0
je 0x408a4d
mov eax, dword [ebp - 8]
jmp 0x408a52
mov eax, 0x48227d
push eax
lea edx, [ebp - 0x83c]
push edx
call fcn.0045ffe8
add esp, 8
lea ecx, [ebp - 0x83c]
push ecx
call fcn.004600a8
pop ecx
mov dword [ebp - 0x34], eax
mov ax, word [ebp - 0x34]
push eax
lea edx, [ebp - 0x83c]
push edx
push 0x488534
push 0x488544
push dword [ebp + 0xc]
push 0x618
push dword [ebp + 8]
call fcn.00403530
add esp, 0x1c
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046b678
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret