Function at 0x42a194
Capabilities:
Get session user name

Disassembly:
push 0x14
mov eax, 0x45caab
call fcn.00447d5b
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0043fb27
push dword [0x49c558]
mov ecx, esi
call fcn.0043694d
call fcn.00434582
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
and dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043680d
mov dword [ebp - 0x18], eax
mov edi, 0x49c488
test eax, eax
je 0x42a216
push 0x485720
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.0040c354
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.0043694d
mov ecx, dword [ebp - 0x14]
push 0x401
call fcn.0043680d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a262
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.0040c354
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.0043694d
mov ecx, dword [ebp - 0x14]
push 0x403
call fcn.0043680d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a2ae
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.0040c354
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.0043694d
mov ecx, dword [ebp - 0x14]
push 0x404
call fcn.0043680d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a2fa
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.0040c354
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.0043694d
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0043680d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a343
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.0040c354
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.0043694d
mov ecx, dword [ebp - 0x14]
push 2
call fcn.0043680d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a38c
push 0x46ad38
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.0040c354
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.0043694d
mov esi, dword [ebp - 0x14]
push 0x400
mov ecx, esi
call fcn.0043680d
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x12c
test eax, eax
je 0x42a435
call fcn.00434582
push eax
lea ecx, [ebp - 0x18]
call fcn.0040210b
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42a3d9
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00409158
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x42a3e7
cmp eax, ebx
jle 0x42a410
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.004023e8
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040c50a
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.0043694d
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040253e
mov esi, dword [ebp - 0x14]
push 0x404
mov ecx, esi
call fcn.0043680d
test eax, eax
je 0x42a461
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x42a461
push 0
push dword [ecx + 4]
push 0xf1
push dword [eax + 0x20]
call edi
push 0x402
mov ecx, esi
call fcn.0043680d
mov esi, eax
test esi, esi
je 0x42a494
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.00447e33
ret