Function at 0x140116bc0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10960]
mov eax, 0x10a60
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x10950], rax
mov rsi, r8
mov r14, rdx
mov r13, rcx
lea rdx, str.CBaseInfoAddIn::WriteAddInPrnTransInfo
lea rcx, [rbp + 0xb0]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea r15, [0x1402bbdb0]
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x140116ca1
test byte [rbx + 0x1c], 1
je 0x140116c62
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAGetLastError
lea r8, [0x1402608d8]
mov rcx, qword [rbx + 0x10]
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x140116ca1
test byte [rbx + 0x1c], 1
je 0x140116ca1
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSAGetLastError
mov qword [rsp + 0x20], r14
lea r8, [0x1402608d8]
mov rcx, qword [rbx + 0x10]
call fcn.14001b1a0
mov rbx, qword [0x1402a8360]
xor edi, edi
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x8540]
call fcn.1401e7e40
test r14, r14
jne 0x140116cd0
mov edi, 0x80010001
mov dword [0x1402bbd98], 1
jmp 0x14011710c
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x40], edi
lea rcx, [r13 + 0x430]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140116d24
lea r8d, [rax + 0x22]
lea rdx, [r13 + 0x430]
lea rcx, [rbp + 0x8130]
call fcn.14011a7d0
nop
cmp qword [rbp + 0x81b8], 0
je 0x140116d18
lea rcx, [rbp + 0x8130]
call fcn.14011a730
nop
lea rcx, [rbp + 0x8130]
call fcn.1401103f0
lea rdx, [r13 + 0x430]
lea rcx, [rsp + 0x50]
call fcn.14011a940
nop
cmp qword [rbp - 0x18], 0
je 0x1401170fb
mov dword [rsp + 0x3c], edi
mov r13d, 2
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140099550
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140099400
mov ecx, dword [rax + 8]
add ecx, dword [rax]
je 0x140116db7
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140070e10
lea r8d, [r13 + 2]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x50]
call fcn.140071020
lea r8d, [r13 + 2]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x50]
call fcn.140071020
lea r8d, [r13 + 2]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140071020
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140099550
mov r8d, 4
lea rdx, [0x1402a83bc]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, 4
lea rdx, [0x1402acc34]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
inc dword [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
cmp dword [rsp + 0x30], 1
jbe 0x140116e28
mov r8d, r13d
mov rdx, 0xfffffffffffffffc
lea rcx, [rsp + 0x60]
call fcn.140099550
mov r8d, 4
lea rdx, [0x1402acc4c]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov rdx, r14
lea rcx, [rbp + 0x8540]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov r8d, 0x410
lea rdx, [rbp + 0x8540]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 4
movabs rcx, 0xbc396a7812f8e2ab
imul rax, rcx
mov dword [rsp + 0x40], eax
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x14011708f
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], 7
mov word [rbp + 0x108], di
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x8130]
call fcn.1401e7e40
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x34], edi
mov r8d, 4
lea rdx, [0x1402acbec]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x8130]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x8000
lea rcx, [rbp + 0x8950]
call fcn.1401e7e40
mov eax, dword [rbx]
mov dword [rbp + 0x100], eax
lea r8, [rbx + 8]
lea rax, [rbp + 0x108]
cmp rax, r8
je 0x140116f58
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140116f48
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x108]
call fcn.140004b70
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0x128], eax
mov eax, dword [rbx + 0x2c]
mov dword [rbp + 0x12c], eax
lea rdx, [rbx + 0x30]
mov r8d, 0x8000
lea rcx, [rbp + 0x130]
call fcn.1401e7770
lea rdx, [rbp + 0x108]
cmp qword [rbp + 0x120], 8
cmovae rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x8130]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rbp + 0x128]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x12c]
mov dword [rsp + 0x34], eax
mov r8d, eax
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x8950]
call fcn.1401e7770
mov r8d, 0x410
lea rdx, [rbp + 0x8130]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, 4
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, dword [rsp + 0x34]
lea rdx, [rbp + 0x8950]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, 4
lea rdx, [0x1402acc3c]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 8
jb 0x140117083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011707e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140117254
call fcn.1400079c0
add rbx, 0x8030
jmp 0x140116e9b
mov r8d, 4
lea rdx, [0x1402acc44]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
mov r8d, 4
lea rdx, [0x1402acc24]
lea rcx, [rsp + 0x60]
call fcn.14011aa90
lea rcx, [rsp + 0x68]
call fcn.140042d50
test rax, rax
jne 0x1401170fb
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx - 0x68], 0
cmovne eax, r13d
or eax, dword [rsp + rcx + 0x60]
and eax, 0x17
mov dword [rsp + rcx + 0x60], eax
mov edx, dword [rsp + rcx + 0x64]
and edx, eax
jne 0x1401171fd
lea rcx, [rsp + 0x50]
call fcn.140099040
mov rbx, qword [0x1402a8360]
mov al, 1
mov byte [rbp + 0xb8], al
cmp rbx, r12
je 0x140117158
test byte [rbx + 0x1c], al
je 0x140117158
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
mov dword [rsp + 0x20], edi
lea r8, [0x1402608d8]
mov rcx, qword [rbx + 0x10]
call fcn.140001b40
movzx eax, byte [rbp + 0xb8]
mov rbx, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rbp + 0xb0], rcx
test al, al
jne 0x1401171b9
cmp rbx, r12
je 0x1401171b9
test byte [rbx + 0x1c], 1
je 0x1401171b9
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rcx, qword [rbp + 0xc0]
cmp qword [0x1402bbdc8], 8
cmovae r15, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, r15
lea r8, [0x140252818]
mov rcx, qword [rbx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0xe0]
call fcn.1400048a0
lea rcx, [rbp + 0xc0]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x10950]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x10ab8]
add rsp, 0x10a60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dl, 4
je 0x14011720b
lea rbx, str.ios_base::badbit_set
jmp 0x140117220
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.140009c40
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.14000aa90
lea rdx, [0x1402a33e0]
lea rcx, [rbp + 0x88]
call fcn.1401e83cc
int3
call fcn.1401ec41c
int3