Function at 0x140070830
Capabilities:
Check if file exists

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rsi, r9
mov ebp, r8d
mov edi, edx
mov r14, rcx
cmp qword [0x14021cd68], 0
je 0x140070bb4
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007087d
mov rcx, r14
call fcn.1400704f0
mov qword [rsp + 0x20], 0
mov ebx, 1
cmp edi, ebx
jbe 0x1400708bb
nop
mov r8d, 9
lea rdx, str._dd___dd_
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
js 0x1400708b3
inc ebx
cmp ebx, edi
jb 0x140070890
jmp 0x1400708bb
mov ecx, eax
call fcn.14004a980
int3
or rbx, 0xffffffffffffffff
mov rax, rbx
test ebp, ebp
jne 0x1400708f3
lea rdx, str._br___font_color___Red__face___verdana__size_2__
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400708d0
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070953
mov ecx, eax
call fcn.14004a980
int3
cmp ebp, 3
jne 0x140070923
lea rdx, str._br___font_color___Black__face___verdana__size_2___b_
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140070900
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070953
mov ecx, eax
call fcn.14004a980
int3
lea rdx, str._br___font_color___Black__face___verdana__size_2__
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140070930
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070953
mov ecx, eax
call fcn.14004a980
int3
lea r15, [0x1401cff44]
test rsi, rsi
je 0x1400709b6
mov rax, rbx
inc rax
cmp word [r15 + rax*2], 0
jne 0x140070962
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070989
mov ecx, eax
call fcn.14004a980
int3
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140070990
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x1400709b6
mov ecx, eax
call fcn.14004a980
int3
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x140070a26
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400709d0
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x1400709f7
mov ecx, eax
call fcn.14004a980
int3
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140070a00
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070a26
mov ecx, eax
call fcn.14004a980
int3
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x140070a96
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140070a40
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070a67
mov ecx, eax
call fcn.14004a980
int3
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140070a70
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070a96
mov ecx, eax
call fcn.14004a980
int3
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x140070b06
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140070ab0
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070ad7
mov ecx, eax
call fcn.14004a980
int3
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140070ae0
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070b06
mov ecx, eax
call fcn.14004a980
int3
cmp ebp, 3
jne 0x140070b38
lea rdx, str.__b_
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x140070b15
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070b38
mov ecx, eax
call fcn.14004a980
int3
lea rdx, str.__font_
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140070b40
mov r8d, ebx
lea rcx, [rsp + 0x20]
call fcn.1400703c0
test eax, eax
jns 0x140070b63
mov ecx, eax
call fcn.14004a980
int3
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x140070b74
mov qword [rsp + 0x28], rbx
jmp 0x140070b9d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140070b9d
mov ecx, 0x8007000e
call fcn.14004a980
int3
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140072b10
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret