Function at 0x18003bdec
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 [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, rdx
mov r12, rcx
mov ecx, 8
call fcn.180058f28
xor r14d, r14d
cmp rax, r14
je 0x18003be46
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x18003be49
mov rax, r14
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1800079a4
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 0x18003be77
cmp rsi, rsi
je 0x18003be7c
call fcn.180058f08
cmp rbp, r13
je 0x18003bf38
cmp rsi, r14
jne 0x18003be94
call fcn.180058f08
mov r11, r14
jmp 0x18003be97
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003bea2
call fcn.180058f08
cmp qword [rbp + 0x30], 8
jb 0x18003beaf
mov rcx, qword [rbp + 0x18]
jmp 0x18003beb3
lea rcx, [rbp + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r14d
je 0x18003bf12
cmp rsi, r14
jne 0x18003becd
call fcn.180058f08
mov r11, r14
jmp 0x18003bed0
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003bedb
call fcn.180058f08
mov rdi, qword [rsp + 0x58]
lea r9, [rbp + 0x10]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180009624
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1800096c0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp rsi, r14
jne 0x18003bf21
call fcn.180058f08
mov r11, r14
jmp 0x18003bf24
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003bf2f
call fcn.180058f08
mov rbp, qword [rbp]
jmp 0x18003be6d
cmp qword [rsp + 0x60], r14
jne 0x18003bf49
mov ebx, 0x44e
jmp 0x18003c12b
xor edx, edx
mov rcx, r12
call fcn.180001de4
mov rcx, r12
call fcn.18000291c
mov r9, r12
lea r8, [0x1800846f8]
lea rdx, str.__s__a___s_
lea rcx, [rsp + 0x98]
call fcn.180005498
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 0x18003bfb0
cmp rdi, rbp
je 0x18003bfb5
call fcn.180058f08
cmp rbx, rsi
je 0x18003c050
cmp rdi, r14
jne 0x18003bfcd
call fcn.180058f08
mov r11, r14
jmp 0x18003bfd0
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003bfdb
call fcn.180058f08
cmp qword [rbx + 0x30], 8
jb 0x18003bfe8
mov r8, qword [rbx + 0x18]
jmp 0x18003bfec
lea r8, [rbx + 0x18]
lea rdx, str.___s_
lea rcx, [rsp + 0x68]
call fcn.180005498
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180008cd8
nop
cmp qword [rsp + 0x88], 8
jb 0x18003c02b
mov rcx, qword [rsp + 0x70]
call fcn.180058b34
cmp rdi, r14
jne 0x18003c03a
call fcn.180058f08
mov r11, r14
jmp 0x18003c03d
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003c048
call fcn.180058f08
mov rbx, qword [rbx]
jmp 0x18003bfa6
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, 7
cmp rax, r14
je 0x18003c098
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 0x18003c098
mov r8, rdi
lea rdx, str.__md1M
lea rcx, [rsp + 0x98]
call fcn.180008e08
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.18003b868
mov ebx, eax
cmp qword [rsp + 0x88], 0x10
jb 0x18003c0ec
mov rcx, qword [rsp + 0x70]
call fcn.180058b34
cmp ebx, r14d
je 0x18003c0fa
mov rcx, r12
call fcn.18000291c
nop
cmp qword [rsp + 0xb8], 8
jb 0x18003c112
mov rcx, qword [rsp + 0xa0]
call fcn.180058b34
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
lea rcx, [rsp + 0x30]
call fcn.1800095a4
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x30]
call fcn.180058b34
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059760
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