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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0x104
push esi
mov esi, 4
test bl, 0x10
je 0x4123c9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test bl, 0x20
je 0x4123ef
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 0x10]
and ebx, 0xf
mov ecx, dword [ebp + ebx*4 - 0x48]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x11
ja case.0x4123ff.4
movzx eax, byte [ebx + 0x4125c8]
jmp dword [eax*4 + 0x4125ac]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], 0x646e6957
mov dword [ebx + 4], 0x73776f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
lea ecx, [ebx - 1]
test edx, edx
js 0x412440
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x412425
mov ax, word [0x444754]
mov word [ecx], ax
mov al, byte [0x444756]
jmp 0x412458
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x412440
mov ax, word [0x444758]
mov word [ecx], ax
mov al, byte [0x44475a]
mov byte [ecx + 2], al
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
lea eax, [ebp - 0xc8]
push str._ver_d._d
push eax
call fcn.00401ba0
lea edx, [ebp - 0xc8]
add esp, 0x10
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x412484
push edi
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412491
mov ecx, edx
lea eax, [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00422970
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, ecx
pop edi
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4124c0
sub esi, edx
cmp ebx, ecx
je 0x4124dc
push esi
push ecx
push ebx
call fcn.00423fa0
add esp, 0xc
mov byte [esi + ebx], 0
lea eax, [ebp + 8]
push eax
call fcn.00422a90
mov ecx, dword [ebp + 0xc]
add esp, 4
mov esi, 2
mov eax, ebx
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00422970
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x412520
jmp 0x4124c7
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00422970
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x412550
jmp 0x4124c7
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x457b28]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x37c]
mov dword [ebx], eax
mov eax, ebx
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov eax, ebx
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret