Function at 0x436ea0
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe30
push ebx
push esi
push edi
call fcn.00438120
test eax, eax
je 0x436ec4
xor eax, eax
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5a1be8]
xor ebx, ebx
cmp eax, ebx
jne 0x436ee5
call fcn.004374f0
test eax, eax
jne 0x436ee5
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x104
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x630]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
lea ecx, [ebp - 0x11c]
push eax
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [ebp - 4]
lea eax, [ebp - 0x220]
push edx
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, dword [ebp + 8]
mov ecx, edi
cmp edi, ebx
mov dword [ebp + 8], ecx
je 0x436f52
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00461830
mov eax, esp
push esi
push edi
push eax
call fcn.005124b5
mov ebx, eax
mov ecx, edi
mov al, byte [edi]
test al, al
je 0x436f67
cmp al, 0x5c
jne 0x436f67
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x5c
je 0x436f5c
mov dword [ebp + 8], ecx
mov ax, word [ebx]
test ax, ax
je 0x436f7e
cmp ax, 0x5c
jne 0x436f7e
add ebx, 2
cmp word [ebx], 0x5c
je 0x436f75
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x220]
push ecx
xor esi, esi
call edi
xor ecx, ecx
test eax, eax
jle 0x436fa4
movsx edx, byte [ebp + ecx - 0x220]
add esi, edx
inc ecx
cmp ecx, eax
jl 0x436f95
lea eax, [ebp - 0x11c]
push eax
call edi
xor ecx, ecx
test eax, eax
jle 0x436fc2
movsx edx, byte [ebp + ecx - 0x11c]
add esi, edx
inc ecx
cmp ecx, eax
jl 0x436fb3
push ebx
push esi
lea eax, [ebp - 0xe30]
push 0x59279c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xe30]
lea edx, [ebp - 0x10]
push ecx
push edx
call fcn.00437400
mov edi, dword [ebp + 0xc]
add esp, 0x18
test edi, edi
jne 0x436ff4
xor eax, eax
jmp 0x437015
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00461830
mov eax, esp
push esi
push edi
push eax
call fcn.005124b5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [ebp - 0x630]
push eax
call ebx
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x437030
xor eax, eax
jmp 0x437051
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00461830
mov eax, esp
push esi
push edi
push eax
call fcn.005124b5
lea ecx, [ebp - 0x428]
push eax
push ecx
call ebx
lea edx, [ebp - 8]
push edx
push 0x20
push 0
call fcn.00437470
add esp, 0xc
test eax, eax
je 0x43707e
xor eax, eax
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x630]
push 0x410
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.00437440
mov ecx, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
push edx
push eax
push ecx
call dword [fcn.005a1bf8]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4370b8
push eax
call dword [fcn.005a1bf4]
call fcn.005269f5
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
push 1
push edx
push 0x592784
mov ecx, eax
call fcn.0051a0a9
lea esp, [ebp - 0xe3c]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret