Function at 0x1109f8c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e03c8
mov eax, dword fs:[0]
push eax
mov eax, 0x22c4
call fcn.111d92c0
mov eax, dword [0x11279148]
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 edi, ecx
mov esi, edx
test edi, edi
jne 0x1109f911
push 0x5105
push str.CltConn.cpp
push str.idata___NULL
call fcn.11067750
add esp, 0xc
test esi, esi
jne 0x1109f92c
push 0x5106
push str.CltConn.cpp
push str.pnc___NULL
call fcn.11067750
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
push 0
push 0
push str.DisableLogon
push str.Client
call fcn.110bbc00
test eax, eax
jne 0x110a0277
mov ecx, dword [edi + 4]
call fcn.110c7040
mov ebx, eax
lea ecx, [ebp - 0x1f0c]
mov dword [ebp - 0x2234], ebx
add esi, 2
mov dword [ebp - 0x2270], 0x101
call fcn.11081680
movzx eax, word [edi + 0x50]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], 0
call fcn.110ea660
push ebx
push 0x400
lea edx, [ebp - 0x189c]
push edx
push esi
call fcn.111bb8a0
push 8
lea eax, [ebp - 0x18]
push eax
push 0x100
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x189c]
push edx
call fcn.110ea730
mov eax, esi
add esp, 0x2c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1109f9c3
sub eax, ecx
push ebx
lea esi, [esi + eax + 1]
push 0x400
lea eax, [ebp - 0x1c9c]
push eax
push esi
call fcn.111bb8a0
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0x100
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0x1c9c]
push eax
call fcn.110ea730
mov eax, esi
add esp, 0x24
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1109fa10
push ebx
sub eax, ecx
push 0x40
lea ecx, [ebp - 0x58]
lea eax, [esi + eax + 1]
push ecx
push eax
call fcn.111bb8a0
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
add esp, 0x10
push 0
call eax
cmp dword [0x1127aa48], 0x50002
jge 0x1109fa69
lea ecx, [ebp - 0x2270]
push ecx
lea edx, [ebp - 0xc9c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp word [ebp - 0xc9c], 0
setne bl
jmp 0x1109fa7e
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
test eax, eax
sete bl
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
test eax, eax
je 0x1109faa2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
or eax, 1
mov dword [edi + 0x354], eax
test bl, bl
je 0x1109fab8
push str.DoAutoLogon___appear_to_be_logged_on_so_ignore_n
call fcn.111bd7b0
add esp, 4
jmp 0x110a0265
mov eax, dword [ebp - 0x2234]
mov edi, dword [edi + 4]
push eax
push 0x190
lea ecx, [ebp - 0x228c]
mov dword [ebp - 0x2258], edi
call fcn.1111a110
mov edx, dword [ebp - 0x228c]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x226c]
push ecx
lea ecx, [ebp - 0x228c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x226c], 0xea
call eax
mov edx, dword [ebp - 0x228c]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2250]
push ecx
xor ebx, ebx
lea ecx, [ebp - 0x228c]
mov dword [ebp - 0x2250], ebx
call eax
mov edx, dword [ebp - 0x228c]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2254]
push ecx
lea ecx, [ebp - 0x228c]
mov dword [ebp - 0x2254], ebx
call eax
mov edx, dword [ebp - 0x228c]
mov eax, dword [edx + 0x28]
push 0x11247f3c
lea ecx, [ebp - 0x228c]
call eax
push 1
lea ecx, [ebp - 0x228c]
push ecx
mov ecx, edi
call fcn.110825d0
push ebx
push ebx
push 6
call fcn.111bb9f0
add esp, 0xc
lea ecx, [ebp - 0x58]
test eax, eax
je 0x110a0227
lea edx, [ebp - 0x2230]
push edx
push ebx
push 2
lea eax, [ebp - 0x498]
push eax
push ecx
lea edx, [ebp - 0x298]
push edx
mov dword [ebp - 0x2230], ebx
call fcn.11161190
mov esi, eax
add esp, 0x18
cmp esi, ebx
jne 0x1109fc9a
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x298]
push ecx
push str.AutoLogon_cant_logon__s_for__s_n
call fcn.111bd7b0
push 0x200
lea edx, [ebp - 0x698]
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.111b8020
mov ebx, 7
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 0x1ca4], ebx
mov dword [ebp - 0x1ca8], 0
mov word [ebp - 0x1cb8], cx
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
lea eax, [ebp - 0x1cb8]
push eax
lea eax, [ebp - 0x698]
push eax
mov byte [ebp - 4], 2
call edx
test eax, eax
je 0x1109fc81
cmp dword [ebp - 0x1ca4], 8
mov eax, dword [ebp - 0x1cb8]
jae 0x1109fc30
lea eax, [ebp - 0x1cb8]
push 0x200
lea ecx, [ebp - 0x298]
push ecx
push eax
call fcn.111b7fd0
lea edx, [ebp - 0x2230]
push edx
push 0
push 2
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.11161190
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x1109fc81
lea eax, [ebp - 0x298]
push eax
push str.AutoLogon_cant_logon__s_n
call fcn.111bd7b0
add esp, 8
lea ecx, [ebp - 0x1cb8]
mov byte [ebp - 4], 1
call fcn.11004bc0
test esi, esi
je 0x110a0160
xor ebx, ebx
mov ecx, dword [ebp - 0x2230]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x2225], 0
mov byte [ebp - 0x2226], 0
xor edi, edi
mov bl, 3
lea esp, [esp]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
test edi, edi
je 0x1109fcce
mov esi, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
lea ecx, [ebp - 0x222c]
call fcn.11143200
push 0x20119
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x222c]
mov byte [ebp - 4], bl
call fcn.111435f0
test eax, eax
jne 0x1109fd57
lea edx, [ebp - 0x2264]
push edx
lea eax, [ebp - 0xa98]
push eax
mov esi, 0x100
push str.LegalNoticeCaption
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2264], esi
call fcn.111437f0
lea ecx, [ebp - 0x225c]
push ecx
lea edx, [ebp - 0x898]
push edx
push str.LegalNoticeText
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x225c], esi
call fcn.111437f0
cmp word [ebp - 0x898], 0
jne 0x1109fd72
cmp word [ebp - 0xa98], 0
jne 0x1109fd72
lea ecx, [ebp - 0x222c]
mov byte [ebp - 4], 1
call fcn.11143c00
inc edi
cmp edi, 2
jl 0x1109fcc0
jmp 0x1109fdc6
lea ecx, [ebp - 0x222c]
mov byte [ebp - 0x2225], 1
mov byte [ebp - 4], 1
call fcn.11143c00
push str.Found_legal_info__trying_to_dismiss_n
call fcn.111bd7b0
add esp, 4
xor esi, esi
jmp 0x1109fda0
lea ecx, [ebp - 0x1f0c]
call fcn.110802c0
test eax, eax
jne 0x1109fdbf
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x1109fda0
jmp 0x1109fdc6
mov byte [ebp - 0x2226], 1
lea ecx, [ebp - 0x1f0c]
call fcn.110825b0
cmp word [eax], 0
je 0x1109fde1
push 0xd
call fcn.1107fe70
add esp, 4
xor bl, bl
xor edi, edi
lea ecx, [ebp - 0x2224]
call fcn.111062e0
cmp byte [0x1127ad8d], 0
mov byte [ebp - 4], 4
mov esi, str.GlobalClient32Provider
je 0x1109fe07
mov esi, str.GlobalDNAClient32Provider
call fcn.111babb0
test al, al
je 0x1109fe15
mov esi, str.GlobalCICClient32Provider
push esi
lea ecx, [ebp - 0x2224]
call fcn.111064d0
test eax, eax
jne 0x1109fe65
lea ecx, [ebp - 0x2224]
call fcn.111062c0
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.error_opening_ipc_lap__d_to_logon__e_d___s_n
call fcn.111bd7b0
add esp, 0x10
test bl, bl
jne 0x1109ff8d
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa0]
call edx
mov bl, 1
jmp 0x1109ff8d
push 0x100
lea eax, [ebp - 0x149c]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.111b8020
lea esi, [ebp + eax*2 - 0x149a]
push 0x100
lea edx, [ebp - 0x498]
push esi
push edx
call fcn.111b8020
lea esi, [esi + eax*2 + 2]
push 0x100
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.111b8020
lea eax, [esi + eax*2 + 2]
lea ecx, [ebp - 0x149c]
sub eax, ecx
sar eax, 1
add eax, eax
add esp, 0x24
mov dword [ebp - 0x22cc], eax
lea eax, [ebp - 0x22d0]
push eax
mov edx, ecx
push 0
push 0x4a
lea ecx, [ebp - 0x2224]
mov dword [ebp - 0x22d0], 0x400
mov dword [ebp - 0x22c8], edx
call fcn.11107340
mov esi, eax
mov ecx, 0x800
lea eax, [ebp - 0x149c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x1109fef7
lea ecx, [ebp - 0x2224]
call fcn.111062c0
push eax
push esi
push str.IPC_client32login_SendMessage_ret__d__ipc_err_s__n
call fcn.111bd7b0
add esp, 0xc
test esi, esi
je 0x1109ffb3
push edi
push str.client32provider_reported_error__send_CAD_just_in_case__lap__d__n
call fcn.111bd7b0
add esp, 8
test bl, bl
jne 0x1109ff8d
push str.Send_CAD_n
call fcn.111bd7b0
add esp, 4
lea ecx, [ebp - 0x2238]
call fcn.11113780
lea ecx, [ebp - 0x2238]
mov byte [ebp - 4], 5
call fcn.111137a0
test al, al
je 0x1109ff6c
lea ecx, [ebp - 0x2238]
call fcn.11113ab0
test al, al
jne 0x1109ff7c
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa0]
call eax
lea ecx, [ebp - 0x2238]
mov bl, 1
mov byte [ebp - 4], 4
call fcn.11113790
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2224]
mov byte [ebp - 4], 1
call fcn.111062f0
inc edi
cmp edi, 0x14
jl 0x1109fde5
jmp 0x110a0241
cmp byte [ebp - 0x2225], 0
je 0x110a0005
cmp byte [ebp - 0x2226], 0
jne 0x110a0005
xor esi, esi
jmp 0x1109ffd0
lea ecx, [ebp - 0x1f0c]
call fcn.110802c0
test eax, eax
jne 0x110a014c
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x1109ffd0
lea ecx, [ebp - 0x2224]
mov byte [ebp - 4], 1
call fcn.111062f0
jmp 0x110a0241
xor edi, edi
jmp 0x110a0010
xor ebx, ebx
mov dword [ebp - 0x223c], ebx
call fcn.11107510
test eax, eax
je 0x110a007c
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x223c]
push eax
lea eax, [ebp - 0x98]
push eax
call edx
test eax, eax
je 0x110a007c
mov eax, dword [ebp - 0x223c]
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [ebp - 0x98]
push str.WinLogon
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x110a014c
lea ecx, [ebp - 0x1f0c]
call fcn.110825b0
mov esi, eax
cmp word [esi], bx
jne 0x110a009e
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x110a0010
lea ecx, [ebp - 0x2224]
mov byte [ebp - 4], 1
call fcn.111062f0
jmp 0x110a0241
mov edx, dword [ebp - 0x2234]
push edx
push 0x190
lea ecx, [ebp - 0x22a8]
call fcn.1111a110
mov edx, dword [ebp - 0x22a8]
lea eax, [ebp - 0x224c]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x22a8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x224c], 0xea
call eax
mov edx, dword [ebp - 0x22a8]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2244]
push ecx
lea ecx, [ebp - 0x22a8]
mov dword [ebp - 0x2244], ebx
call eax
mov edx, dword [ebp - 0x22a8]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2248]
push ecx
lea ecx, [ebp - 0x22a8]
mov dword [ebp - 0x2248], ebx
call eax
mov edx, dword [ebp - 0x22a8]
mov eax, dword [edx + 0x28]
push esi
lea ecx, [ebp - 0x22a8]
call eax
push 1
lea ecx, [ebp - 0x22a8]
push ecx
mov ecx, dword [ebp - 0x2258]
call fcn.110825d0
lea ecx, [ebp - 0x22a8]
mov byte [ebp - 4], 4
call fcn.1111ab70
lea ecx, [ebp - 0x2224]
mov byte [ebp - 4], 1
call fcn.111062f0
jmp 0x110a0241
push str.NSMLogonUser_Failed_n
call fcn.111bd7b0
mov edx, dword [ebp - 0x2234]
add esp, 4
push edx
push 0x190
lea ecx, [ebp - 0x22c4]
call fcn.1111a110
mov edx, dword [ebp - 0x22c4]
lea eax, [ebp - 0x2260]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x22c4]
mov byte [ebp - 4], bl
mov dword [ebp - 0x2260], 0xea
call eax
mov edx, dword [ebp - 0x22c4]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2268]
push ecx
xor esi, esi
lea ecx, [ebp - 0x22c4]
mov dword [ebp - 0x2268], esi
call eax
mov edx, dword [ebp - 0x22c4]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x2240]
push ecx
lea ecx, [ebp - 0x22c4]
mov dword [ebp - 0x2240], esi
call eax
mov esi, dword [ebp - 0x22c4]
push 0x475
call fcn.111bccb0
mov edx, dword [esi + 0x28]
add esp, 4
push eax
lea ecx, [ebp - 0x22c4]
call edx
push 1
lea eax, [ebp - 0x22c4]
push eax
mov ecx, edi
call fcn.110825d0
lea ecx, [ebp - 0x22c4]
mov byte [ebp - 4], 1
call fcn.1111ab70
jmp 0x110a0241
push ecx
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x1f0c]
call fcn.11081d50
mov ecx, 0x200
lea eax, [ebp - 0x498]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x110a0250
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x228c]
call fcn.1111ab70
lea ecx, [ebp - 0x1f0c]
mov dword [ebp - 4], 0xffffffff
call fcn.110817d0
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.111d9022
mov esp, ebp
pop ebp
ret