Function at 0x41b1a0
Capabilities:
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov dword [ebp - 0x10], 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0x104
mov ecx, dword [ebp + 8]
and ecx, 0x10
je 0x41b1cf
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp + 8]
and eax, 0x20
je 0x41b208
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [ebp - 0x68]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
and eax, 0xf
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
jmp 0x41b419
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x11
ja case.0x41b222.4
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x41b43c]
jmp dword [edx*4 + 0x41b420]
push str.Windows
mov eax, dword [ebp - 4]
push eax
call fcn.00442cdc
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x80000000
jne 0x41b261
push 0x457b38
mov edx, dword [ebp - 4]
push edx
call fcn.00442c4b
add esp, 8
jmp 0x41b272
push 0x457b40
mov eax, dword [ebp - 4]
push eax
call fcn.00442c4b
add esp, 8
mov ecx, dword [ebp - 0x14]
and ecx, 0xff00
shr ecx, 8
push ecx
mov edx, dword [ebp - 0x14]
and edx, 0xff
push edx
push str._ver_d._d
lea eax, [ebp - 0x168]
push eax
call fcn.0041b020
add esp, 0x10
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00442c4b
add esp, 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004105e0
add esp, 8
mov edx, dword [ebp - 8]
push edx
call fcn.0043be10
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x41b2f4
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00436080
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
lea edx, [ebp - 8]
push edx
call fcn.00410660
add esp, 4
mov dword [ebp - 0x10], 2
jmp 0x41b40e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004105e0
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043be10
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x41b361
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00436080
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
lea ecx, [ebp - 8]
push ecx
call fcn.00410660
add esp, 4
mov dword [ebp - 0x10], 2
jmp 0x41b40e
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004105e0
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.0043be10
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
je 0x41b3ce
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00436080
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov byte [edx], 0
lea eax, [ebp - 8]
push eax
call fcn.00410660
add esp, 4
mov dword [ebp - 0x10], 2
jmp 0x41b40e
mov ecx, dword [ebp - 4]
mov edx, dword [0x46b0e0]
mov eax, dword [edx + 0x37c]
mov dword [ecx], eax
jmp 0x41b40e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
jmp 0x41b40e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x41b40e
xor eax, eax
jmp 0x41b419
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret