Function at 0x11047f20
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118110f
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x1119ef78
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x388], ebx
call fcn.11147060
add esp, 4
cmp edi, ebx
je 0x1104847b
mov eax, dword [ebp + 0xc]
cmp eax, 0xa4
jne 0x11047ff6
mov ecx, dword [esi + 0x280]
push ecx
call fcn.11162777
mov edx, dword [esi + 0x284]
push edx
mov dword [esi + 0x280], ebx
call fcn.11162777
mov eax, dword [esi + 0x288]
push eax
mov dword [esi + 0x284], ebx
call fcn.11162777
mov ecx, dword [esi + 0x28c]
push ecx
mov dword [esi + 0x288], ebx
call fcn.11162777
mov edx, dword [esi + 0x290]
push edx
mov dword [esi + 0x28c], ebx
call fcn.11162777
mov eax, dword [esi + 0x294]
push eax
mov dword [esi + 0x290], ebx
call fcn.11162777
add esp, 0x18
mov dword [esi + 0x294], ebx
jmp 0x110484d4
cmp eax, 0xa3
je 0x1104847b
cmp word [edi + 6], 1
je 0x11048351
cmp dword [esi + 0x268], ebx
jne 0x11048490
mov eax, dword [esi + 0x26c]
push eax
call fcn.11162777
mov eax, dword [esi + 0x270]
push eax
mov dword [esi + 0x26c], ebx
call fcn.11162777
mov eax, dword [esi + 0x274]
push eax
mov dword [esi + 0x270], ebx
call fcn.11162777
mov eax, dword [esi + 0x278]
push eax
mov dword [esi + 0x274], ebx
call fcn.11162777
mov eax, dword [esi + 0x27c]
push eax
mov dword [esi + 0x278], ebx
call fcn.11162777
mov dword [esi + 0x27c], ebx
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
add esp, 0x14
push ebx
call eax
mov ecx, dword [ebp - 0x384]
push ebx
push ecx
push edi
lea ecx, [ebp - 0x3bc]
call fcn.110b05e0
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3a0]
push edx
mov edx, dword [eax + 0x58]
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 4], ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [ebp - 0x38c]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [ebp - 0x3c0]
push ecx
mov ecx, eax
call edx
lea ecx, [ebp - 0x39c]
call fcn.110d1930
test byte [ebp - 0x38c], 0x10
mov byte [ebp - 4], 1
je 0x1104811d
mov edx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x39c]
push eax
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x3bc]
call eax
push ebx
lea ecx, [ebp - 0x39c]
call fcn.110094d0
push eax
call fcn.11142e60
add esp, 8
mov dword [esi + 0x278], eax
test byte [ebp - 0x38c], 0x20
je 0x11048159
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x3bc]
call eax
push ebx
lea ecx, [ebp - 0x39c]
call fcn.110094d0
push eax
call fcn.11142e60
add esp, 8
mov dword [esi + 0x27c], eax
test byte [ebp - 0x38c], 0x40
je 0x11048195
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x3bc]
call eax
push ebx
lea ecx, [ebp - 0x39c]
call fcn.110094d0
push eax
call fcn.11142e60
add esp, 8
mov dword [esi + 0x26c], eax
test byte [ebp - 0x38c], 0x80
je 0x110481d1
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x3bc]
call eax
push ebx
lea ecx, [ebp - 0x39c]
call fcn.110094d0
push eax
call fcn.11142e60
add esp, 8
mov dword [esi + 0x270], eax
test dword [ebp - 0x38c], 0x100
je 0x11048210
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x68]
lea ecx, [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x3bc]
call eax
push ebx
lea ecx, [ebp - 0x39c]
call fcn.110094d0
push eax
call fcn.11142e60
add esp, 8
mov dword [esi + 0x274], eax
mov byte [ebp - 0x388], bl
call fcn.110183b0
test al, al
jne 0x1104822c
call fcn.110181d0
test al, al
je 0x110482ad
lea ecx, [ebp - 0x164]
push 0x104
push ecx
mov byte [ebp - 0x164], bl
call fcn.11018460
add esp, 8
mov byte [ebp - 0x388], al
cmp al, bl
je 0x110482ad
lea edx, [ebp - 0x164]
push edx
push 0x1119ef6c
push ebx
call fcn.111457a0
add esp, 4
push eax
push 0x1119ef60
call fcn.11147ad0
add esp, 0x10
mov dword [ebp - 0x384], eax
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
push ebx
push 1
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 0xec]
mov byte [ebp - 4], 2
call eax
mov ecx, dword [ebp - 0x384]
push ecx
mov byte [ebp - 4], 1
call fcn.11162777
add esp, 4
push ebx
push 0x1119ef50
call fcn.11031b50
push 0xa4
mov dword [ebp - 0x384], eax
call fcn.111101b0
add esp, 0xc
mov dword [ebp - 0x3c4], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x110482ee
mov edx, dword [ebp - 0x388]
mov ecx, dword [edi + 2]
push edx
push ecx
push esi
mov ecx, eax
call fcn.110396a0
jmp 0x110482f0
xor eax, eax
mov edx, dword [ebp - 0x384]
mov dword [eax + 0x7c], edx
mov byte [ebp - 4], 1
push ebx
cmp byte [0x111ee168], bl
je 0x11048320
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
push 0xffffffffffffffff
push 0x471
push eax
mov eax, dword [edx + 0x16c]
call eax
jmp 0x1104832c
push 0x471
mov ecx, eax
call fcn.110ceeb0
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], bl
call fcn.110d0a10
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 4], 0xffffffff
call fcn.110b0660
jmp 0x110484d4
push 0x190
lea ecx, [ebp - 0x1f0]
push ebx
push ecx
call fcn.11162be0
add esp, 0xc
cmp dword [0x111ee0e0], 0xc0003
mov edx, 0xa2
mov eax, 1
mov word [ebp - 0x1f0], dx
mov word [ebp - 0x1ea], ax
mov dword [ebp - 0x1ee], ebx
lea edi, [ebp - 0x1e8]
jl 0x110483bb
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
push eax
push eax
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
jne 0x110483bb
push 0x1119ef28
call fcn.11147060
add esp, 4
jmp 0x11048490
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push ebx
push 0xffffffffffffffff
call eax
lea ecx, [ebp - 0x384]
push ecx
lea edx, [ebp - 0x60]
push edx
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x384], 0x50
call dword [sym.imp.aDvapi32.DLL_GetUserNameA]
test eax, eax
jne 0x11048410
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
push 0x1119eef4
call fcn.11147060
add esp, 8
mov dword [ebp - 0x388], 1
jmp 0x11048434
or dword [ebp - 0x1ee], 1
push ebx
push 0x50
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.111433d0
add esp, 0x10
lea edi, [ebp + eax - 0x1e7]
lea edx, [ebp - 0x60]
push edx
push 0x1119db70
call fcn.11147060
mov ecx, dword [0x111ee308]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
add esp, 8
push ebx
push ebx
call edx
cmp dword [ebp - 0x388], ebx
jne 0x11048490
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
lea ecx, [ebp - 0x1f0]
push 1
sub edi, ecx
mov edx, ecx
push edi
push edx
mov ecx, esi
call eax
jmp 0x110484d4
mov ecx, dword [esi + 0x268]
cmp ecx, ebx
je 0x110484d4
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp edi, ebx
jne 0x110484d4
push 0x190
lea ecx, [ebp - 0x380]
push ebx
push ecx
call fcn.11162be0
mov esi, dword [esi + 4]
add esp, 0xc
mov edx, 0xa2
mov eax, 0xffff
push 1
mov word [ebp - 0x380], dx
mov word [ebp - 0x37a], ax
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push 8
lea eax, [ebp - 0x380]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret