Function at 0x4038f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6504a0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
push 0
mov ecx, dword [ebp - 0x228]
call fcn.005113dc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [eax], vtable.CCUHApp.0
mov ecx, dword [ebp - 0x228]
add ecx, 0xd0
call fcn.00403670
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
add ecx, 0xdc
call fcn.00407030
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
add ecx, 0xe0
call fcn.00407030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
call fcn.00407030
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0xe8], 0
push 0x67f030
mov ecx, dword [ebp - 0x228]
add ecx, 0xdc
call fcn.00407590
mov edx, dword [ebp - 0x228]
mov dword [edx + 0xec], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00407030
mov byte [ebp - 4], 5
push 0x104
push 0x104
lea ecx, [ebp - 0x22c]
call fcn.00408130
push eax
push 0x67f034
push 0x67f044
push SysReAllocStringLen
call fcn.0040e010
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [ebp - 0x22c]
call fcn.00408770
lea ecx, [ebp - 0x22c]
call fcn.00408240
movzx eax, al
test eax, eax
jne 0x403a43
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
call fcn.00407570
jmp 0x403c37
xor edx, edx
mov word [ebp - 0x224], dx
push 0x200
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.0062db60
add esp, 0xc
mov dword [ebp - 0x244], 0x101
mov dword [ebp - 0x250], 2
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x250]
push eax
call sub.Secur32.dll_GetUserNameExW
call fcn.00408f00
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
lea edx, [ebp - 0x224]
mov dword [ebp - 0x230], edx
cmp dword [ebp - 0x230], 0
jne 0x403ad2
mov dword [ebp - 0x23c], 0
jmp 0x403b4a
mov eax, dword [ebp - 0x230]
push eax
call fcn.0062eae8
add esp, 4
add eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0x3fffffff
jle 0x403b02
mov dword [ebp - 0x240], 0
jmp 0x403b3e
mov eax, dword [ebp - 0x234]
shl eax, 1
call fcn.0062f6a0
mov dword [ebp - 0x254], esp
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x234]
shl edx, 1
push edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00407a50
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x23c], edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call fcn.0041dd40
push 0x10
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.0040f230
add esp, 0xc
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24c]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x238]
call fcn.00406ed0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x264]
call fcn.0041a9d0
lea ecx, [ebp - 0x238]
call fcn.00408240
movzx eax, al
test eax, eax
jne 0x403bec
mov ecx, dword [ebp - 0x238]
push ecx
push 0x67f074
push 0x67f0a0
mov edx, dword [ebp - 0x228]
add edx, 0xe4
push edx
call fcn.00407ff0
add esp, 0x10
jmp 0x403c02
push 0x67f0ac
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
call fcn.00407590
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
call fcn.0046af70
push eax
push str.TaskId
push 0x67f0e8
push SysReAllocStringLen
call fcn.0040e550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.004071f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
lea esp, [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret