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

Disassembly:
sub esp, 0xcc
push ebx
mov ebx, dword [esp + 0xd4]
test bl, 0x10
push esi
mov esi, 4
mov dword [esp + 0xc], 0x104
je 0x41193c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test bl, 0x20
je 0x411972
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xdc]
and ebx, 0xf
mov edx, dword [esp + ebx*4 + 0x34]
pop esi
mov dword [eax], edx
mov dword [ecx], 4
pop ebx
add esp, 0xcc
ret
cmp ebx, 0x11
push edi
ja case.0x411983.4
movzx edx, byte [ebx + 0x411b98]
jmp dword [edx*4 + 0x411b7c]
mov eax, dword [str.Windows]
mov ebx, dword [esp + 0xe4]
mov dword [ebx], eax
mov ecx, dword [0x433660]
mov dword [ebx + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edi, ebx
dec edi
test eax, eax
js 0x4119d0
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4119b0
mov dx, word [0x433658]
mov word [edi], dx
mov cl, byte [0x43365a]
jmp 0x4119e8
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4119d0
mov dx, word [0x433654]
mov word [edi], dx
mov cl, byte [0x433656]
movzx edx, ah
push edx
and eax, 0xff
push eax
lea eax, [esp + 0x60]
push str._ver_d._d
push eax
mov byte [edi + 2], cl
call fcn.004237b1
lea eax, [esp + 0x68]
add esp, 0x10
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411a10
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411a20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push ebx
call fcn.00422950
mov esi, dword [esp + 0x14]
mov eax, esi
add esp, 8
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411a50
jmp 0x411abd
mov ebx, dword [esp + 0xe4]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0xc]
push edx
push ebx
call fcn.00422950
mov esi, dword [esp + 0x14]
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411a83
jmp 0x411abd
mov ebx, dword [esp + 0xe4]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0xc]
push edx
push ebx
call fcn.00422950
mov esi, dword [esp + 0x14]
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411ab6
sub eax, edx
cmp ebx, esi
je 0x411ad9
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
lea eax, [esp + 0xc]
push eax
call fcn.00422960
mov edx, dword [esp + 0xe4]
add esp, 4
mov esi, 2
pop edi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
add esp, 0xcc
ret
mov ecx, dword [0x43e2fc]
mov edx, dword [ecx + 0x37c]
mov ebx, dword [esp + 0xe4]
mov dword [ebx], edx
mov edx, dword [esp + 0xe0]
pop edi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
add esp, 0xcc
ret
mov ebx, dword [esp + 0xe4]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xe0]
mov dword [ebx], eax
pop edi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
add esp, 0xcc
ret
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xe0]
mov dword [ebx], ecx
pop edi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
add esp, 0xcc
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xcc
ret