Function at 0x422824
Capabilities:
Get session user name

Disassembly:
push 0x14
mov eax, 0x454858
call fcn.0043dfc3
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.00436168
push dword [0x48e530]
mov ecx, esi
call fcn.0042e53a
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
and dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
mov ebx, 0x48e460
test eax, eax
je 0x4228a4
push 0x478ef0
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00408548
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.0042e53a
mov ecx, dword [ebp - 0x14]
push 0x401
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4228ee
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.00408548
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.0042e53a
mov ecx, dword [ebp - 0x14]
push 0x403
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
test eax, eax
je 0x422938
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.00408548
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.0042e53a
mov ecx, dword [ebp - 0x14]
push 0x404
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
test eax, eax
je 0x422982
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.00408548
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.0042e53a
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4229c9
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.00408548
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.0042e53a
mov ecx, dword [ebp - 0x14]
push 2
call fcn.0042e3fa
mov dword [ebp - 0x18], eax
test eax, eax
je 0x422a10
push 0x4605e8
lea ecx, [ebp - 0x1c]
call fcn.0040215a
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00408548
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.0042e53a
mov esi, dword [ebp - 0x14]
push 0x400
mov ecx, esi
call fcn.0042e3fa
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x12c
test eax, eax
je 0x422ab9
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x18]
call fcn.004104de
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x80]
test eax, eax
je 0x422a5d
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00408fde
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x422a6b
cmp eax, ebx
jle 0x422a94
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.00408ef4
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.0042e53a
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.004025dc
mov esi, dword [ebp - 0x14]
push 0x404
mov ecx, esi
call fcn.0042e3fa
test eax, eax
je 0x422ae5
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x422ae5
push 0
push dword [ecx + 4]
push 0xf1
push dword [eax + 0x20]
call edi
push 0x402
mov ecx, esi
call fcn.0042e3fa
mov esi, eax
test esi, esi
je 0x422b18
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.0043e09b
ret