Function at 0x18003c09c
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.1800590f8
xor r14d, r14d
cmp rax, r14
je 0x18003c0f6
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x18003c0f9
mov rax, r14
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.180007a84
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 0x18003c127
cmp rsi, rsi
je 0x18003c12c
call fcn.1800590d8
cmp rbp, r13
je 0x18003c1e8
cmp rsi, r14
jne 0x18003c144
call fcn.1800590d8
mov r11, r14
jmp 0x18003c147
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c152
call fcn.1800590d8
cmp qword [rbp + 0x30], 8
jb 0x18003c15f
mov rcx, qword [rbp + 0x18]
jmp 0x18003c163
lea rcx, [rbp + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r14d
je 0x18003c1c2
cmp rsi, r14
jne 0x18003c17d
call fcn.1800590d8
mov r11, r14
jmp 0x18003c180
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c18b
call fcn.1800590d8
mov rdi, qword [rsp + 0x58]
lea r9, [rbp + 0x10]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1800095e8
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180009684
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp rsi, r14
jne 0x18003c1d1
call fcn.1800590d8
mov r11, r14
jmp 0x18003c1d4
mov r11, qword [rsi]
cmp rbp, qword [r11 + 0x28]
jne 0x18003c1df
call fcn.1800590d8
mov rbp, qword [rbp]
jmp 0x18003c11d
cmp qword [rsp + 0x60], r14
jne 0x18003c1f9
mov ebx, 0x44e
jmp 0x18003c3db
xor edx, edx
mov rcx, r12
call fcn.180001dd8
mov rcx, r12
call fcn.180002940
mov r9, r12
lea r8, [0x1800846d8]
lea rdx, str.__s__a___s_
lea rcx, [rsp + 0x98]
call fcn.180005490
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 0x18003c260
cmp rdi, rbp
je 0x18003c265
call fcn.1800590d8
cmp rbx, rsi
je 0x18003c300
cmp rdi, r14
jne 0x18003c27d
call fcn.1800590d8
mov r11, r14
jmp 0x18003c280
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003c28b
call fcn.1800590d8
cmp qword [rbx + 0x30], 8
jb 0x18003c298
mov r8, qword [rbx + 0x18]
jmp 0x18003c29c
lea r8, [rbx + 0x18]
lea rdx, str.___s_
lea rcx, [rsp + 0x68]
call fcn.180005490
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180008c9c
nop
cmp qword [rsp + 0x88], 8
jb 0x18003c2db
mov rcx, qword [rsp + 0x70]
call fcn.1800018ec
cmp rdi, r14
jne 0x18003c2ea
call fcn.1800590d8
mov r11, r14
jmp 0x18003c2ed
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x28]
jne 0x18003c2f8
call fcn.1800590d8
mov rbx, qword [rbx]
jmp 0x18003c256
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, 7
cmp rax, r14
je 0x18003c348
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rcx, rax
lea rdx, [0x1800841e8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x18003c348
mov r8, rdi
lea rdx, str.__md1M
lea rcx, [rsp + 0x98]
call fcn.180008dcc
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.18003bb18
mov ebx, eax
cmp qword [rsp + 0x88], 0x10
jb 0x18003c39c
mov rcx, qword [rsp + 0x70]
call fcn.1800018ec
cmp ebx, r14d
je 0x18003c3aa
mov rcx, r12
call fcn.180002940
nop
cmp qword [rsp + 0xb8], 8
jb 0x18003c3c2
mov rcx, qword [rsp + 0xa0]
call fcn.1800018ec
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
lea rcx, [rsp + 0x30]
call fcn.180009568
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059930
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