Function at 0x140055c40
Capabilities:
Impersonate user

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov r14, rcx
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor r12d, r12d
xor edi, edi
mov rax, qword [r14 + 0x178]
cmp dword [rax + 0x7f0], edi
jne 0x140055ca1
lea r13d, [r12 + 1]
jmp 0x140056065
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.1400a7780
lea r9, str.Prompting_user_for_personal_login
mov edx, 5
lea r8d, [rdx - 0x10]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
xor r15d, r15d
lea r13d, [r15 + 1]
nop word [rax + rax]
cmp r15d, 3
jge 0x14005604c
lea rdx, [case.0x14009db83.3]
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rsi, [r14 + 0x6c0]
lea rdx, [case.0x14009db83.3]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [case.0x14009db83.3]
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rax, qword [r14 + 0x178]
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x48]
mov rdx, qword [rax + 0x810]
mov rcx, r14
call fcn.1400562c0
test eax, eax
je 0x14005604c
mov rax, qword [rbp + 0x48]
cmp dword [rax - 0x10], 0
je 0x14005603f
mov edx, 0x2e
xor r8d, r8d
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CPaneFrameWnd::EnterDragMode]
mov ebx, eax
cmp eax, 0xffffffff
jle 0x140055df2
mov r8d, eax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rbp + 0x48]
lea r8d, [rbx + 1]
cmp dword [rax - 0x10], r8d
jle 0x140055de5
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [0x1401171d8]
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CRecordset::ExecuteUpdateSQL]
mov ebx, eax
cmp eax, 0xffffffff
jle 0x140055e6a
mov r8d, eax
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rbp + 0x48]
lea r8d, [rbx + 1]
cmp dword [rax - 0x10], r8d
jle 0x140055e77
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140055e77
lea rdx, [rbp + 0x48]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCStatusBarCmdUI::SetText]
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CStatusCmdUI::SetText]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCStatusBarCmdUI::SetText]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CStatusCmdUI::SetText]
mov rax, qword [rsi]
cmp dword [rax - 0x10], 0
jne 0x140055eb1
dec r15d
inc r12d
jmp 0x14005603f
mov rdx, rsi
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [rbp + 0x50]
cmp dword [rax - 0x10], 0
je 0x140055ee3
mov r9, rax
mov r8, qword [rsi]
lea rdx, str._s_on_Domain__s
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov rax, qword [rbp + 0x50]
mov rdx, qword [r14 + 0x178]
cmp dword [rdx + 0x7f4], 0
jne 0x140055f14
cmp dword [rax - 0x10], 0
je 0x140055f14
mov rax, qword [r14]
xor r8d, r8d
mov rdx, qword [rdx + 0x890]
mov rcx, r14
call qword [rax + 0xa0]
jmp 0x140055ff8
mov rcx, qword [rbp + 0x58]
cmp dword [rcx - 0x10], 0
jne 0x140055f3d
lea r8, [rbp + 0x58]
mov rdx, qword [rdx + 0x808]
mov rcx, r14
call fcn.140056390
test eax, eax
je 0x14005604c
mov rax, qword [rbp + 0x50]
cmp dword [rax - 0x10], 0
jne 0x140055f6a
mov rax, qword [rbp - 0x48]
lea rcx, [rbp + 0x50]
cmp dword [rax - 0x10], 0
jne 0x140055f60
lea rdx, [0x14010ec9c]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x140055f6a
lea rdx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov edx, r13d
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdi, rax
mov edx, r13d
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rbx, rax
mov edx, r13d
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rcx, rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 3
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x1400560a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov edx, 0xffffffff
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov edx, 0xffffffff
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rcx, qword [r14 + 0x178]
mov r9, qword [r14]
xor r8d, r8d
mov rdx, qword [rcx + 0x878]
mov rcx, r14
call qword [r9 + 0xa0]
mov dword [rsp + 0x28], edi
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.User_login_Failed:__s__err:_d_
mov edx, 2
lea r8d, [rdx - 0xd]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
inc r15d
cmp r12d, 0x14
jl 0x140055cf0
xor r13d, r13d
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r13d
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.User_login:__s
xor edx, edx
lea r8d, [rdx - 0xb]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
jmp 0x14005604f