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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1fd7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xd0
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x65]
call fcn.0040b800
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x64]
call fcn.00414c40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x4b8
call fcn.00415500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414a10
lea ecx, [ebp - 0x89]
call fcn.0040b800
push eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x88]
call fcn.00414c40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x4d8
call fcn.00415500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00414a10
mov dword [ebp - 0x1c], 0x100
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x294
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2 + 0x294], ax
mov dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x496
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 + 0x496], dx
mov edx, dword [ebp + 8]
mov al, byte [ebp + 0x1c]
mov byte [edx + 0x50], al
lea ecx, [ebp - 0x8a]
call fcn.0040b800
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414c40
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.0048ded0
add esp, 8
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x15], al
push 0
lea ecx, [ebp - 0x40]
push ecx
call fcn.0048f5a0
add esp, 8
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xad]
call fcn.0040b800
push eax
push 0x50c2dc
lea ecx, [ebp - 0xac]
call fcn.00414c40
mov byte [ebp - 4], 4
push 0
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004902c0
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x8b], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00414a10
movzx edx, byte [ebp - 0x8b]
test edx, edx
je 0x4b0e84
push str.Cannot_Open_Log_File
call fcn.004b2380
add esp, 4
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4b0ea2
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004324d0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0048eb20
mov dword [ebp - 0x14], 2
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x4b0ec2
movzx edx, byte [ebp + 0x1c]
test edx, edx
je 0x4b0ec2
mov byte [ebp - 0xdd], 0
jmp 0x4b0ec9
mov byte [ebp - 0xdd], 1
lea ecx, [ebp - 0xd1]
call fcn.0040b800
push eax
push 0x50c310
lea ecx, [ebp - 0xd0]
call fcn.00414c40
mov byte [ebp - 4], 5
movzx eax, byte [ebp - 0xdd]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.004b06c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.00414a10
mov dword [ebp - 0xd8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
mov eax, dword [ebp - 0xd8]
jmp 0x4b0f7a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 0x18