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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe30
push ebx
push esi
push edi
call fcn.00439000
test eax, eax
je 0x438934
xor eax, eax
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4b5a54]
xor ebx, ebx
cmp eax, ebx
jne 0x438955
call fcn.00438c40
test eax, eax
jne 0x438955
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 - 8]
lea ecx, [ebp - 0x11c]
push eax
push ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [ebp - 8]
lea eax, [ebp - 0x220]
push edx
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, dword [ebp + 8]
cmp edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x4389a5
xor edi, edi
jmp 0x4389c4
push edi
call ebx
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00447a20
mov eax, esp
push esi
push edi
push eax
call fcn.0045d1e9
mov edi, eax
mov ax, word [edi]
test ax, ax
je 0x4389db
cmp ax, 0x5c
jne 0x4389db
add edi, 2
cmp word [edi], 0x5c
je 0x4389d2
lea ecx, [ebp - 0x220]
xor esi, esi
push ecx
call ebx
xor ecx, ecx
test eax, eax
jle 0x4389fb
movsx edx, byte [ebp + ecx - 0x220]
add esi, edx
inc ecx
cmp ecx, eax
jl 0x4389ec
lea eax, [ebp - 0x11c]
push eax
call ebx
xor ecx, ecx
test eax, eax
jle 0x438a19
movsx edx, byte [ebp + ecx - 0x11c]
add esi, edx
inc ecx
cmp ecx, eax
jl 0x438a0a
push edi
push esi
lea eax, [ebp - 0xe30]
push 0x4aef58
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xe30]
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.00438b50
lea eax, [ebp - 4]
push eax
push 0x20
push 0
call fcn.00438bc0
add esp, 0x24
test eax, eax
je 0x438a60
xor eax, eax
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x18]
push ecx
push edx
push eax
call dword [fcn.004b5a68]
test eax, eax
jne 0x438b2d
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x410
jne 0x438b26
mov esi, dword [eax + 4]
mov ecx, 0x104
lea edi, [ebp - 0x630]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x630]
test ecx, ecx
jne 0x438aac
xor eax, eax
jmp 0x438ad5
lea edx, [ebp - 0x630]
push edx
call edi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00447a20
mov eax, esp
lea ecx, [ebp - 0x630]
push esi
push ecx
push eax
call fcn.0045d212
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push edx
call ebx
lea eax, [ebp - 0x428]
test eax, eax
je 0x438b15
lea ecx, [ebp - 0x428]
push ecx
call edi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00447a20
mov eax, esp
lea edx, [ebp - 0x428]
push esi
push edx
push eax
call fcn.0045d212
push eax
mov eax, dword [ebp + 0x10]
push eax
call ebx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
call dword [fcn.004b5a5c]
mov eax, dword [ebp - 4]
test eax, eax
je 0x438b3b
push eax
call dword [fcn.004b5a60]
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xe3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret