Function at 0x100166f0
Capabilities:
Get hostname
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x688
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 + 0x6a4]
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], 0x100
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 0x100195d8
push 0x80000001
mov dword [esp + 0x38], esi
stosb byte es:[edi], al
call dword [fcn.1001b9b4]
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 0x10023d10
push eax
mov dword [esp + 0x34], esi
call dword [fcn.1001b984]
test eax, eax
jne 0x100167d0
mov ecx, dword [esp + 0xc]
push ecx
call dword [fcn.1001b9bc]
jmp 0x100167e3
lea edx, [esp + 0x10]
lea eax, [esp + 0x1a0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x69c]
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 [fcn.1001babc]
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.10016000
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 [0x1001ba7c]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0xdc]
push 0x1001a368
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 0x1001a368
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 0x1001a368
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 0x1001a360
push edx
call esi
add esp, 0x38
call fcn.10016060
mov byte [esp + 0x5da], al
mov eax, dword [esp + 0x6a0]
mov dword [esp + 0x5dc], eax
call fcn.100160c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x644]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3f4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2a4]
push ecx
mov ecx, ebx
call fcn.100028b0
pop edi
pop esi
pop ebx
add esp, 0x688
ret