Function at 0x18003c118
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xd0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, rdx
mov r12, rcx
mov ecx, 8
call fcn.1800592c8
xor r14d, r14d
cmp rax, r14
je 0x18003c172
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x18003c175
mov rax, r14
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1800078cc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r14
mov r13, qword [rsi + 0x28]
mov rbp, qword [r13]
mov rsi, qword [rsi]
cmp rsi, r14
je 0x18003c1a3
cmp rsi, rsi
je 0x18003c1a8
call fcn.1800592a8
cmp rbp, r13
je 0x18003c264
cmp rsi, r14
jne 0x18003c1c0
call fcn.1800592a8
mov r11, r14
jmp 0x18003c1c3
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c1ce
call fcn.1800592a8
cmp qword [rbp + 0x30], 8
jb 0x18003c1db
mov rcx, qword [rbp + 0x18]
jmp 0x18003c1df
lea rcx, [rbp + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r14d
je 0x18003c23e
cmp rsi, r14
jne 0x18003c1f9
call fcn.1800592a8
mov r11, r14
jmp 0x18003c1fc
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c207
call fcn.1800592a8
mov rdi, qword [rsp + 0x58]
lea r9, [rbp + 0x10]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18000954c
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800095e8
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp rsi, r14
jne 0x18003c24d
call fcn.1800592a8
mov r11, r14
jmp 0x18003c250
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c25b
call fcn.1800592a8
mov rbp, qword [rbp]
jmp 0x18003c199
cmp qword [rsp + 0x60], r14
jne 0x18003c275
mov ebx, 0x44e
jmp 0x18003c457
xor edx, edx
mov rcx, r12
call fcn.180001e50
mov rcx, r12
call fcn.180002988
mov r9, r12
lea r8, [0x180084700]
lea rdx, str.__s__a___s_
lea rcx, [rsp + 0x98]
call fcn.180005488
nop
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov rbp, qword [rsp + 0x30]
mov qword [rsp + 0x20], rbp
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
cmp rdi, r14
je 0x18003c2dc
cmp rdi, rbp
je 0x18003c2e1
call fcn.1800592a8
cmp rbx, rsi
je 0x18003c37c
cmp rdi, r14
jne 0x18003c2f9
call fcn.1800592a8
mov r11, r14
jmp 0x18003c2fc
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003c307
call fcn.1800592a8
cmp qword [rbx + 0x30], 8
jb 0x18003c314
mov r8, qword [rbx + 0x18]
jmp 0x18003c318
lea r8, [rbx + 0x18]
lea rdx, str.___s_
lea rcx, [rsp + 0x68]
call fcn.180005488
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180008c00
nop
cmp qword [rsp + 0x88], 8
jb 0x18003c357
mov rcx, qword [rsp + 0x70]
call fcn.180058ed8
cmp rdi, r14
jne 0x18003c366
call fcn.1800592a8
mov r11, r14
jmp 0x18003c369
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003c374
call fcn.1800592a8
mov rbx, qword [rbx]
jmp 0x18003c2d2
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, 7
cmp rax, r14
je 0x18003c3c4
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rcx, rax
lea rdx, [0x180084208]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x18003c3c4
mov r8, rdi
lea rdx, str.__md1M
lea rcx, [rsp + 0x98]
call fcn.180008d30
mov qword [rsp + 0x88], sendto
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], r14b
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x68]
call fcn.18003bb94
mov ebx, eax
cmp qword [rsp + 0x88], 0x10
jb 0x18003c418
mov rcx, qword [rsp + 0x70]
call fcn.180058ed8
cmp ebx, r14d
je 0x18003c426
mov rcx, r12
call fcn.180002988
nop
cmp qword [rsp + 0xb8], 8
jb 0x18003c43e
mov rcx, qword [rsp + 0xa0]
call fcn.180058ed8
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
lea rcx, [rsp + 0x30]
call fcn.1800094cc
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x30]
call fcn.180058ed8
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059b00
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret