Function at 0x140003830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2390]
mov eax, 0x2490
call fcn.14000c9b0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x24c8], rbx
mov qword [rsp + 0x24d0], rsi
mov qword [rsp + 0x24d8], rdi
mov rax, qword [0x140018020]
xor rax, rsp
mov qword [rbp + 0x2380], rax
mov rsi, rcx
call qword [sym.imp.mfc100u.dll_CMFCOutlookBarPane::OnEraseWorkArea]
call fcn.140003f00
test al, al
je 0x140003c52
mov edx, 0x104
lea rcx, [rbp + 0x760]
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_GetHelpFileName_wchar_t____ptr64__unsigned_long_int_]
test eax, eax
je 0x1400038c1
lea rdx, [rbp + 0x760]
lea rcx, [0x140018c08]
call qword [sym.imp.mfc100u.dll_CVSListBoxBase::CVSListBoxBase]
mov edx, 0x104
lea rcx, [rbp + 0x970]
call qword [sym.imp.UserData.dll_unsigned_int___cdecl_GetContextFileName_wchar_t____ptr64__unsigned_long_int_]
test eax, eax
je 0x1400038eb
lea rdx, [rbp + 0x970]
lea rcx, [0x140018c00]
call qword [sym.imp.mfc100u.dll_CVSListBoxBase::CVSListBoxBase]
mov r9, qword [rsi + 0x988]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsi + 0x988]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rsi + 0x998]
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 7
mov edx, 0x10
lea r9d, [rdx - 0xb]
mov r8d, edx
mov rcx, rdi
call qword [sym.imp.mfc100u.dll_COleSafeArray::Copy]
xor r15d, r15d
test rdi, rdi
mov r9d, r15d
je 0x140003959
mov r9, qword [rdi + 8]
mov edx, 0x1003
mov r8d, 1
mov rcx, qword [rsi + 0x8f0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CFtpFileFind::FindFile]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov edx, 0xe
mov ecx, 0xa0
call qword [sym.imp.mfc100u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, 0xa0
call qword [sym.imp.USER32.dll_LoadIconW]
mov rbx, rax
mov rdi, qword [rsi + 0x9a0]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov rcx, qword [rax + 0x100]
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.14000a910
mov dword [rsi + 0x9ac], eax
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov edx, 0xe
mov ecx, 0xa1
call qword [sym.imp.mfc100u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, 0xa1
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
mov rbx, qword [rsi + 0x9a0]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov rcx, qword [rax + 0x100]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14000a910
mov dword [rsi + 0x9b0], eax
mov rax, qword [0x140018c10]
mov r12, r15
cmp dword [rax - 0x10], r12d
je 0x140003aa6
mov rdi, r15
lea r13, [rsi + 0x9b4]
lea r14, [0x140018c10]
nop dword [rax]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
movzx edi, word [rdi + r14 + 8]
mov edx, 0xe
mov ecx, edi
call qword [sym.imp.mfc100u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, edi
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
mov rbx, qword [rsi + 0x9a0]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov rcx, qword [rax + 0x100]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.14000a910
mov dword [r13], eax
inc r12
add r13, 4
lea rdi, [r12 + r12*2]
shl rdi, 4
mov rax, qword [rdi + r14]
cmp dword [rax - 0x10], r15d
jne 0x140003a40
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x8f0]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 0x20
xor r8d, r8d
mov edx, 0x1036
mov rcx, qword [rsi + 0x8f0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400133a0]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x140010470]
xor edx, edx
lea rcx, [rsi + 0x8b0]
call qword [sym.imp.mfc100u.dll_CHttpFile::GetVerb]
lea rcx, [rsp + 0x30]
call qword [0x14000fd10]
nop
mov edx, 0x68
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
mov edx, dword [rsp + 0x58]
sub edx, dword [rsp + 0x50]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140012f20]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea edx, [r9 + 1]
lea rcx, [rsi + 0x8b0]
call qword [sym.imp.mfc100u.dll_CHttpFile::GetVerb]
mov edx, 0x69
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
mov edx, dword [rsp + 0x58]
sub edx, dword [rsp + 0x50]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140013398]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea edx, [r9 + 2]
lea rcx, [rsi + 0x8b0]
call qword [sym.imp.mfc100u.dll_CHttpFile::GetVerb]
mov edx, 0x6a
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140013390]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea edx, [r9 + 3]
lea rcx, [rsi + 0x8b0]
call qword [sym.imp.mfc100u.dll_CHttpFile::GetVerb]
lea rdx, [0x140018a48]
mov qword [rsp + 0x20], rdx
lea r9, [0x140011610]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140011600]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140003c59
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
xor eax, eax
jmp 0x140003ecf
mov rax, qword [rsi + 0xa38]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140003e42
mov r12d, r15d
mov rbx, r15
jle 0x140003e3a
nop dword [rax]
mov rdx, qword [rsi + 0xa38]
test rbx, rbx
js 0x140003e33
cmp rbx, qword [rdx + 0x10]
jge 0x140003e33
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + rbx*8]
lea rcx, [rsp + 0x40]
call fcn.140009e50
nop
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call fcn.1400022b0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
cmp word [rsp + 0x60], 0
jne 0x140003cdb
mov word [rbp + 0xb80], r15w
jmp 0x140003d40
lea rdx, [rbp + 0x1380]
lea rcx, [rsp + 0x60]
call fcn.1400024e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1380]
repne scasw ax, word [rdi]
not rcx
lea rdx, [rsp + rcx*2 + 0x5e]
cmp word [rdx], 0x5c
jne 0x140003d1a
nop word [rax + rax]
add rdx, 2
cmp word [rdx], 0x5c
je 0x140003d10
lea rcx, [rbp + 0xb80]
sub rcx, rdx
nop word [rax + rax]
movzx eax, word [rdx]
mov word [rdx + rcx], ax
add rdx, 2
test ax, ax
jne 0x140003d30
mov edx, 0x2e
lea rcx, [rbp + 0xb80]
call qword [sym.imp.MSVCR100.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x140003dbf
add rdi, 2
mov rdx, rdi
lea rax, [rbp + 0x1b80]
sub rax, rdi
nop dword [rax + rax]
movzx ecx, word [rdx]
mov word [rdx + rax], cx
add rdx, 2
test cx, cx
jne 0x140003d70
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
test ecx, ecx
je 0x140003dbf
lea rdx, str.AcSign
lea rcx, [rbp + 0x1b80]
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
sete al
test al, al
je 0x140003dbf
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140007690
jmp 0x140003e14
lea rcx, [rsp + 0x60]
call fcn.140002ac0
test eax, eax
jne 0x140003e04
cmp word [rsp + 0x60], ax
je 0x140003e04
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003e04
and al, 0x10
cmp al, 0x10
sete al
test al, al
je 0x140003e04
xor r9d, r9d
mov r8b, 1
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140007510
jmp 0x140003e14
mov r8b, 1
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140006b40
inc r12d
inc rbx
mov rax, qword [rsi + 0xa38]
mov rcx, qword [rax + 0x10]
movsxd rax, r12d
cmp rax, rcx
jl 0x140003c80
jmp 0x140003e3a
call qword [sym.imp.mfc100u.dll_AfxPropSheetCallback]
int3
mov rcx, rsi
call fcn.140007980
mov rcx, rsi
call fcn.140008e90
mov rcx, rsi
call fcn.140006a40
mov rcx, rsi
call fcn.1400081a0
test al, al
jne 0x140003e6d
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
xor eax, eax
jmp 0x140003ecf
mov rcx, rsi
call fcn.140008740
lea rcx, [rsp + 0x38]
call qword [0x14000fd10]
nop
mov edx, 0x6f
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100u.dll_CDaoRecordset::IsBOF]
lea rcx, [rsi + 0x2c8]
mov rdx, qword [rsp + 0x38]
call qword [sym.imp.mfc100u.dll_COleServerItem::XOleObject::SetMoniker]
mov byte [rsi + 0xa69], 0
mov rcx, rsi
call fcn.140007cd0
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov eax, 1
mov rcx, qword [rbp + 0x2380]
xor rcx, rsp
call fcn.14000c160
lea r11, [rsp + 0x2490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret