Function at 0x41e380
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4ff94c]
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 esi, ecx
lea ecx, [ebp - 0x170]
call dword [0x4cb4cc]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call sub.mfc100u.dll_CDialog::OnInitDialog
mov eax, dword [esi + 0xa4]
push eax
lea ecx, [ebp - 0x170]
mov dword [0x509e9c], esi
call fcn.00409210
test eax, eax
je 0x41e3f2
mov ecx, dword [ebp - 0x170]
push ecx
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetWindowTextW
push 0x459
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e419
mov edx, dword [ebp - 0x170]
push edx
push 0x459
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x495
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e440
mov eax, dword [ebp - 0x170]
push eax
push 0x495
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x496
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e467
mov ecx, dword [ebp - 0x170]
push ecx
push 0x496
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x44f
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e48b
mov edx, dword [ebp - 0x170]
push edx
push 1
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x80b0
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e4b2
mov eax, dword [ebp - 0x170]
push eax
push 0x80b0
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x471
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e4d9
mov ecx, dword [ebp - 0x170]
push ecx
push 0x471
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x490
lea ecx, [ebp - 0x170]
call fcn.00409210
test eax, eax
je 0x41e500
mov edx, dword [ebp - 0x170]
push edx
push 0x490
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
push 0x4cbbf0
call fcn.0040c7c0
or eax, 0xffffffff
add esp, 4
cmp byte [0x50ed48], 0
mov dword [0x509e98], eax
mov dword [0x509ef0], eax
mov dword [0x509f04], edi
mov dword [0x509f08], edi
jne 0x41e56b
cmp byte [0x50efb0], 0
je 0x41e54f
push 0x1e
push 0x50efb0
push 0x50ed48
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
jmp 0x41e56b
lea eax, [ebp - 0x174]
push eax
push 0x50ed48
mov dword [ebp - 0x174], 0x1e
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [esi + 0x20]
push 0x50ed48
push 0x80af
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x80af
mov ecx, esi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1e
push 0xc5
push edx
call ebx
cmp byte [0x50ed48], 0
je 0x41e5f2
mov edi, 0x50efb0
mov eax, 0x50ed48
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x41e5d2
test cl, cl
je 0x41e5ce
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x41e5d2
add eax, 2
add edi, 2
test cl, cl
jne 0x41e5b2
xor eax, eax
jmp 0x41e5d7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e5f2
push 0x1d
push 0x50ecd8
push 0x50ed7c
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
jmp 0x41e5f9
mov byte [0x50ed7c], 0
mov eax, dword [esi + 0x20]
push 0x50ed7c
push 0x80ae
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x80ae
mov ecx, esi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0x1d
push 0xc5
push ecx
call ebx
push 0x80af
mov ecx, esi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x43b
push edx
call ebx
push 0x80af
mov ecx, esi
mov edi, eax
call sub.mfc100u.dll_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
or edi, 1
push edi
xor edi, edi
push edi
push 0x445
push eax
call ebx
mov ecx, esi
call fcn.0041cc90
mov ecx, esi
call fcn.0041d0d0
push 0x5c
lea ecx, [ebp - 0x16c]
push edi
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.Arial
lea edx, [ebp - 0x150]
push edx
mov dword [ebp - 0x16c], 0x16
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x15c], 0x190
mov dword [ebp - 0x158], 0x1000000
mov dword [ebp - 0x154], 0x2000000
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esi + 0x9c]
call sub.mfc100u.dll_CGdiObject::Attach
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x50eb68]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x41e6f0
lea eax, [ebp - 0x110]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41e710
mov ecx, dword [str.logo.bmp]
mov edx, dword [0x4d12f4]
mov dword [eax], ecx
mov cx, word [0x4d12f8]
mov dword [eax + 4], edx
mov edx, dword [0x50af1c]
push edi
mov word [eax + 8], cx
push edi
lea eax, [ebp - 0x110]
push edi
push eax
mov dword [edx + 0x4d78], edi
call fcn.00444fb0
add esp, 0x10
cmp eax, edi
je 0x41e772
cmp dword [eax + 8], edi
je 0x41e769
mov ecx, dword [0x50af1c]
mov dword [ecx + 0x4d78], eax
jmp 0x41e772
push eax
call fcn.00445010
add esp, 4
mov edx, dword [0x50af1c]
cmp dword [edx + 0x4d78], edi
jne 0x41e812
cmp byte [str.Pronto_Xi_Thin_Client_Version_7.2v3.0], 0
mov ebx, str.Pronto_Xi_Thin_Client_Version_7.2v3.0
je 0x41e7d3
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 4
push str.BETA
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x41e7ef
push 0xb
push str.Pre_Release
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x41e7ef
push 5
push str.ALPHA
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x41e7ef
inc ebx
cmp byte [ebx], 0
jne 0x41e798
xor edi, edi
lea ecx, [esi + 0x98]
push ecx
push 0x11a
call fcn.00445750
add esp, 8
mov dword [esi + 0x94], eax
jmp 0x41e825
cmp byte [ebx], 0
je 0x41e7d1
lea eax, [esi + 0x98]
push eax
push 0x138
call fcn.00445750
add esp, 8
mov dword [esi + 0x94], eax
xor edi, edi
jmp 0x41e825
push 0x4d12c8
mov dword [esi + 0x94], edi
call fcn.0040f320
add esp, 4
cmp byte [0x509e4a], 0
mov ecx, esi
je 0x41e87e
push edi
push 0x80b0
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::EnableWindow
push edi
push 0x471
mov ecx, esi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::EnableWindow
push edi
push 0x490
mov ecx, esi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::EnableWindow
mov edx, dword [esi + 0x20]
push edi
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41e8ce
push 1
call sub.mfc100u.dll_CWnd::ShowWindow
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [sym.imp.mfc100u.dll_CWnd::wndTopMost]
push 3
push edi
push edi
push edi
push edi
push ecx
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetWindowPos
mov edx, dword [sym.imp.mfc100u.dll_CWnd::wndNoTopMost]
push 3
push edi
push edi
push edi
push edi
push edx
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetWindowPos
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call sub.mfc100u.dll_CWnd::FromHandle
mov ecx, esi
call sub.mfc100u.dll_CWnd::SetFocus
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, 1
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.004b7f56
mov esp, ebp
pop ebp
ret