Function at 0x43a7aa
Capabilities:
Get session user name

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 0x43a679
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test bl, 0x20
je 0x43a69f
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.0x43a6af.4
movzx eax, byte [ebx + 0x43a878]
jmp dword [eax*4 + 0x43a85c]
mov ebx, dword [ebp + 0x10]
mov eax, dword [str.Windows]
mov dword [ebx], eax
mov eax, dword [0x47a504]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
lea ecx, [ebx - 1]
test edx, edx
js 0x43a6f1
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x43a6d7
mov ax, word [0x47a508]
mov word [ecx], ax
mov al, byte [0x47a50a]
jmp 0x43a709
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x43a6f1
mov ax, word [0x47a50c]
mov word [ecx], ax
mov al, byte [0x47a50e]
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.0042e310
lea edx, [ebp - 0xc8]
add esp, 0x10
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x43a735
push edi
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a742
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.0043b040
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, ecx
pop edi
lea edx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x43a770
sub esi, edx
cmp ebx, ecx
je 0x43a78c
push esi
push ecx
push ebx
call fcn.004586e0
add esp, 0xc
mov byte [esi + ebx], 0
lea eax, [ebp + 8]
push eax
call fcn.0043b160
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.0043b040
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 0x43a7d0
jmp 0x43a777
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.0043b040
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 0x43a800
jmp 0x43a777
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x49c560]
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