Function at 0x140043560
Capabilities:
Connect network resource

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov dword [rbp - 0x40], 0
mov r8d, 2
lea rdx, [rbp + 0x30]
add rcx, 0x3b8
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov dword [rbp - 0x40], 1
lea rdx, [0x14010dda8]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jne 0x1400435c1
mov rax, qword [rsi + 0x178]
mov rcx, qword [rax + 0x70]
cmp dword [rcx - 0x10], 0
je 0x1400435c1
mov dil, 1
jmp 0x1400435c4
xor dil, dil
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x40], eax
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test dil, dil
je 0x140043752
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rsi + 0x178]
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsi + 0x3b8]
lea r8, str.Connecting_to_remote_share_____s__as__s
mov edx, 5
mov rcx, rsi
call fcn.14004b3e0
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsi + 0x3b8]
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rdx, qword [rsi + 0x178]
add rdx, 0x70
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rdx, qword [rsi + 0x178]
add rdx, 0x78
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov dword [rbp - 0x2c], 1
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov qword [rbp - 0x18], rax
mov edx, 1
mov rcx, rax
call sub.MPR.dll_WNetCancelConnectionW
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov rbx, rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov rdx, rax
xor r9d, r9d
mov r8, rbx
lea rcx, [rbp - 0x30]
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x140043727
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14009d5a0
nop
mov rcx, qword [rsi + 0x3b8]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea r8, str.Unable_to_connect_to_remote_share____s____s_
mov edx, 2
mov rcx, rsi
call fcn.14004b3e0
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x38]
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]
xor eax, eax
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x38]
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]
mov eax, 1
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret