Function at 0x4226cc
Capabilities:
Get session user name

Disassembly:
push 0x14
mov eax, 0x4545f8
call fcn.0043dd63
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.00435f11
push dword [0x48e530]
mov ecx, esi
call fcn.0042e2e6
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x10]
call fcn.00410472
and dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
mov ebx, 0x48e460
test eax, eax
je 0x42274c
push 0x478d58
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov ecx, dword [ebp - 0x14]
push 0x401
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x422796
push str.IDS_PROXY_AUTH_USERNAME
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov ecx, dword [ebp - 0x14]
push 0x403
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4227e0
push str.IDS_PROXY_AUTH_PASSWORD
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov ecx, dword [ebp - 0x14]
push 0x404
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42282a
push str.IDS_PROXY_AUTH_CHECKBOX
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x422871
push str.IDS_BTN_OK
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov ecx, dword [ebp - 0x14]
push 2
call fcn.0042e1a6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4228b8
push 0x4605e8
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0040853c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042e2e6
mov esi, dword [ebp - 0x14]
push 0x400
mov ecx, esi
call fcn.0042e1a6
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x12c
test eax, eax
je 0x422961
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00410472
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x80]
test eax, eax
je 0x422905
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00408fd2
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x422913
cmp eax, ebx
jle 0x42293c
lea ecx, [ebp - 0x20]
mov eax, 0x100
push ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.00402467
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00408ee8
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0
push ebx
push 0xc5
push dword [eax + 0x20]
call edi
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042e2e6
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.004025dc
mov esi, dword [ebp - 0x14]
push 0x404
mov ecx, esi
call fcn.0042e1a6
test eax, eax
je 0x42298d
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x42298d
push 0
push dword [ecx + 4]
push 0xf1
push dword [eax + 0x20]
call edi
push 0x402
mov ecx, esi
call fcn.0042e1a6
mov esi, eax
test esi, esi
je 0x4229c0
push 0
push ebx
push 0xc5
push dword [esi + 0x20]
call edi
mov esi, dword [esi + 0x20]
mov eax, dword [ebp - 0x14]
push 1
push esi
push 0x28
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
call fcn.0043de3b
ret