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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e5c2
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x44e100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], 0
push 1
lea ecx, [ebp - 0x38c]
call fcn.0040b1a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x4403f4
movzx ecx, word [ebp - 0x2dc]
push ecx
push 0x4403f8
lea edx, [ebp - 0x37c]
push edx
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d840
push eax
call fcn.00403f30
add esp, 8
push 0x440428
mov eax, dword [ebp - 0x2c8]
push eax
push 0x44042c
lea ecx, [ebp - 0x37c]
push ecx
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040d9c0
push eax
call fcn.00403f30
add esp, 8
mov dword [ebp - 0x2b8], pe_nt_image_headers32
lea edx, [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x40253b
push 0x440454
lea ecx, [ebp - 0x210]
push ecx
push 0x440458
lea edx, [ebp - 0x37c]
push edx
call fcn.00403f30
add esp, 8
push eax
call fcn.00403f30
add esp, 8
push eax
call fcn.00403f30
add esp, 8
lea eax, [ebp - 0x270]
push eax
call fcn.004022f0
add esp, 4
mov byte [ebp - 4], 1
push 0x440474
lea ecx, [ebp - 0x270]
push ecx
push 0x440478
lea edx, [ebp - 0x37c]
push edx
call fcn.00403f30
add esp, 8
push eax
call fcn.00404210
add esp, 8
push eax
call fcn.00403f30
add esp, 8
mov dword [ebp - 0x2b0], 0x40
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x402629
push 0x440490
push 0
push 0x100000
mov ecx, dword [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.0041c4a0
push edx
push eax
push str.TotalPhysMemory
lea eax, [ebp - 0x37c]
push eax
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040db40
push eax
call fcn.00403f30
add esp, 8
push 0x4404bc
push 0
push 0x100000
mov ecx, dword [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.0041c4a0
push edx
push eax
push str.AvailPhysMemory
lea eax, [ebp - 0x37c]
push eax
call fcn.00403f30
add esp, 8
mov ecx, eax
call fcn.0040db40
push eax
call fcn.00403f30
add esp, 8
lea ecx, [ebp - 0x240]
push ecx
call fcn.00401fd0
add esp, 4
mov byte [ebp - 4], 2
push str.Microsoft_Basic_Render_Driver
lea edx, [ebp - 0x240]
push edx
call fcn.00404240
add esp, 8
movzx eax, al
test eax, eax
jne 0x402666
lea ecx, [ebp - 0x240]
call fcn.00416120
test eax, eax
jne 0x40266e
push 0
call fcn.004217ab
nop
push 0x440524
lea ecx, [ebp - 0x240]
push ecx
push 0x440528
lea edx, [ebp - 0x37c]
push edx
call fcn.00403f30
add esp, 8
push eax
call fcn.00404210
add esp, 8
push eax
call fcn.00403f30
add esp, 8
lea eax, [ebp - 0x258]
push eax
call fcn.00402110
add esp, 4
mov byte [ebp - 4], 3
push 0x440544
lea ecx, [ebp - 0x258]
push ecx
push 0x440548
lea edx, [ebp - 0x37c]
push edx
call fcn.00403f30
add esp, 8
push eax
call fcn.00404210
add esp, 8
push eax
call fcn.00403f30
add esp, 8
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x38c]
call fcn.004189b0
nop
lea ecx, [ebp - 0x228]
call fcn.00415690
movzx ecx, al
test ecx, ecx
jne 0x402729
lea ecx, [ebp - 0x228]
call fcn.004136f0
movzx edx, word [eax]
cmp edx, 0x26
jne 0x402729
lea ecx, [ebp - 0x228]
call fcn.00417260
nop
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ae20
mov ecx, dword [ebp - 0x2b4]
or ecx, 1
mov dword [ebp - 0x2b4], ecx
lea ecx, [ebp - 0x228]
call fcn.0040cb40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.0040cb40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.0040cb40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040cb40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.0040e700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c2df
mov esp, ebp
pop ebp
ret