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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push edi
call fcn.005dd920
mov dword [0x746330], eax
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0xe8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xe8], 0x20
lea ecx, [ebp - 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 0xe0]
mov dword [0x74632c], edx
call fcn.005debb0
test eax, eax
jne 0x5decb9
mov eax, dword [0x74632c]
push eax
call fcn.005dcd40
add esp, 4
mov dword [0x74632c], eax
mov ecx, dword [ebp - 0xd8]
mov dword [0x7462e4], ecx
mov edx, dword [ebp - 0xd0]
sub edx, dword [ebp - 0xcc]
mov dword [0x7462e8], edx
mov dword [0x74631c], 0
cmp dword [0x74631c], 0
jne 0x5decfe
mov eax, dword [0x7462e8]
imul eax, eax, 0x64
cdq
idiv dword [0x74632c]
mov dword [0x74631c], eax
mov dword [ebp - 0xa4], 0x28
lea eax, [ebp - 0xa4]
push eax
push 0x746338
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x9c], ecx
mov dword [0x746320], 0
mov edx, dword [ebp - 0x94]
mov dword [0x746328], edx
mov eax, dword [ebp - 0x90]
mov dword [0x746324], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0
je 0x5ded76
cmp dword [ebp - 0xec], 1
je 0x5ded9c
cmp dword [ebp - 0xec], 2
je 0x5dedcc
jmp 0x5dedf0
mov edx, dword [0x746324]
push edx
push 0x2e
mov eax, dword [0x746328]
push eax
push str.Win_32s__d_c_02d
push 0x7462f0
call fcn.00667e70
add esp, 0x14
jmp 0x5dee1d
mov ecx, dword [ebp - 0x8c]
and ecx, 0xffff
push ecx
mov edx, dword [0x746324]
push edx
push 0x2e
mov eax, dword [0x746328]
push eax
push str.Win95_98__d_c_02d__build__d
push 0x7462f0
call fcn.00667e70
add esp, 0x18
jmp 0x5dee1d
mov ecx, dword [0x746324]
push ecx
push 0x2e
mov edx, dword [0x746328]
push edx
push str.Win_NT__d_c_02d
push 0x7462f0
call fcn.00667e70
add esp, 0x14
jmp 0x5dee1d
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [0x746324]
push edx
mov eax, dword [0x746328]
push eax
push str._:_v_d_r_d_b_d_o_d
push 0x7462f0
call fcn.00667e70
add esp, 0x18
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0xc8]
and edx, 0xffff
test edx, edx
jne 0x5dee54
mov eax, dword [str.Intel]
mov dword [0x746368], eax
mov cx, word [0x694628]
mov word [0x74636c], cx
jmp 0x5deec1
mov edx, dword [ebp - 0xc8]
and edx, 0xffff
cmp edx, 1
jne 0x5dee7d
mov eax, dword [str.MIPS]
mov dword [0x746368], eax
mov cl, byte [0x694620]
mov byte [0x74636c], cl
jmp 0x5deec1
mov edx, dword [ebp - 0xc8]
and edx, 0xffff
cmp edx, 2
jne 0x5deea8
mov eax, dword [str.ALPHA]
mov dword [0x746368], eax
mov cx, word [0x694618]
mov word [0x74636c], cx
jmp 0x5deec1
mov edx, dword [ebp - 0xb0]
push edx
push str.PowerPC__ld
push 0x746368
call fcn.00667e70
add esp, 0xc
cmp dword [0x751654], 0
je 0x5deeee
cmp dword [0x74f5b8], 0
je 0x5deeee
mov eax, dword [ebp - 0xb0]
push eax
push str.CPU_type__ld_n
mov ecx, dword [0x74f5b8]
push ecx
call fcn.00666c30
add esp, 0xc
lea edx, [ebp - 0xb4]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 0
jmp 0x5def15
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 4
jge 0x5def54
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebp - 0xa0]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x5def52
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0xa0]
xor ecx, ecx
mov cl, byte [eax]
mov dword [0x7462e0], ecx
mov dword [ebp - 0xa0], 4
jmp 0x5def06
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret