Function at 0x42a476
Capabilities:
Get session user name

Disassembly:
push 0x14
mov eax, 0x45ce19
call fcn.0044806b
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0043fe34
push dword [0x49d558]
mov ecx, esi
call fcn.00436c5d
call fcn.00434892
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
and dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00436b1d
mov dword [ebp - 0x18], eax
mov edi, 0x49d488
test eax, eax
je 0x42a4f8
push 0x486710
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov ecx, dword [ebp - 0x14]
push 0x401
call fcn.00436b1d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a544
push str.IDS_PROXY_AUTH_USERNAME
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov ecx, dword [ebp - 0x14]
push 0x403
call fcn.00436b1d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a590
push str.IDS_PROXY_AUTH_PASSWORD
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov ecx, dword [ebp - 0x14]
push 0x404
call fcn.00436b1d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a5dc
push str.IDS_PROXY_AUTH_CHECKBOX
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00436b1d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a625
push str.IDS_BTN_OK
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov ecx, dword [ebp - 0x14]
push 2
call fcn.00436b1d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a66e
push 0x46bd38
lea ecx, [ebp - 0x1c]
call fcn.00402060
lea esi, [ebp - 0x10]
lea ebx, [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040c35e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00436c5d
mov esi, dword [ebp - 0x14]
push 0x400
mov ecx, esi
call fcn.00436b1d
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x12c
test eax, eax
je 0x42a717
call fcn.00434892
push eax
lea ecx, [ebp - 0x18]
call fcn.0040210b
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42a6bb
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00409162
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x42a6c9
cmp eax, ebx
jle 0x42a6f2
lea ecx, [ebp - 0x20]
mov eax, pe_nt_image_headers32
push ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004023c9
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040c514
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.00436c5d
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040253e
mov esi, dword [ebp - 0x14]
push 0x404
mov ecx, esi
call fcn.00436b1d
test eax, eax
je 0x42a743
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x42a743
push 0
push dword [ecx + 4]
push 0xf1
push dword [eax + 0x20]
call edi
push 0x402
mov ecx, esi
call fcn.00436b1d
mov esi, eax
test esi, esi
je 0x42a776
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.0040253e
xor eax, eax
inc eax
call fcn.00448143
ret