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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x44900c]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x104
push esi
mov esi, 4
push edi
mov edi, edx
mov dword [esp + 0x18], edi
test al, 0x10
je 0x41261c
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x10]
test al, 0x20
je 0x412651
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x10]
mov eax, ebx
and ecx, 0xf
mov ecx, dword [esp + ecx*4 + 0x40]
mov dword [ebx], ecx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
cmp eax, 0x11
ja case.0x412661.4
movzx eax, byte [eax + 0x412814]
jmp dword [eax*4 + 0x4127f8]
mov eax, dword [str.Windows]
mov dword [ebx], eax
mov eax, dword [0x43fed0]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
lea ecx, [ebx - 1]
test edx, edx
js 0x4126a0
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x412686
mov ax, word [0x43fed4]
mov word [ecx], ax
mov al, byte [0x43fed6]
jmp 0x4126b8
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4126a0
mov ax, word [0x43fed8]
mov word [ecx], ax
mov al, byte [0x43feda]
mov byte [ecx + 2], al
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
lea eax, [esp + 0x68]
push str._ver_d._d
push eax
call fcn.00401080
lea edx, [esp + 0x70]
add esp, 0x10
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4126e0
sub edx, esi
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4126f0
mov ecx, edx
mov eax, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov esi, 2
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, 2
mov eax, ebx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, 2
mov eax, ebx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44b3c4]
mov eax, dword [eax + 0x37c]
mov dword [ebx], eax
mov eax, ebx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
mov dword [ebx], eax
mov eax, ebx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, ebx
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xe4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret