Function at 0x14003cee0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
lea r15, [rcx + 0x88]
mov dword [r15], 0x1e
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea rcx, [rsp + 0x40]
call fcn.14003f0d0
test al, al
je 0x14003d5ca
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140006070
nop
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea r8d, [r12 + 6]
lea rdx, str..trace
lea rcx, [rsp + 0x20]
call fcn.140006890
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea rsi, [r12 - 1]
test eax, eax
jne 0x14003cfcc
xor bl, bl
jmp 0x14003d025
lea rax, [rbp - 0x80]
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003cfd3
mov rax, qword [rsp + 0x78]
cmp rdx, rax
ja 0x14003d015
lea rdi, [rsp + 0x60]
cmp rax, 8
cmovae rdi, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rbx + rdi], r12w
jmp 0x14003d023
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140006cd0
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003d067
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d062
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d639
call fcn.14007c190
test bl, bl
je 0x14003d574
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov r14d, eax
test eax, eax
je 0x14003d574
lea rax, [rbp - 0x80]
mov rdx, rsi
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003d0c0
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x14003d102
lea rdi, [rsp + 0x40]
cmp rax, 8
cmovae rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rbx + rdi], r12w
jmp 0x14003d110
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006cd0
cmp r14d, 1
jne 0x14003d574
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r14d
je 0x14003d3ad
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea r8d, [r14 + 5]
lea rdx, str..debug
lea rcx, [rsp + 0x20]
call fcn.140006890
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
test eax, eax
jne 0x14003d1a0
xor bl, bl
jmp 0x14003d202
lea rax, [rbp - 0x80]
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003d1b0
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x14003d1f2
lea rdi, [rsp + 0x40]
cmp rax, 8
cmovae rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rbx + rdi], r12w
jmp 0x14003d200
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006cd0
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003d244
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d23f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d63f
call fcn.14007c190
test bl, bl
je 0x14003d268
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14003d56c
lea rcx, [rsp + 0x40]
call fcn.14003f350
test al, al
je 0x14003d574
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8d, 9
lea rdx, str.asu.trace
lea rcx, [rsp + 0x20]
call fcn.140006890
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov r14d, eax
test eax, eax
je 0x14003d340
lea rax, [rbp - 0x80]
mov rdx, rsi
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003d2f0
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x14003d332
lea rdi, [rsp + 0x40]
cmp rax, 8
cmovae rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rbx + rdi], r12w
jmp 0x14003d340
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006cd0
cmp r14d, 1
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003d389
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d645
call fcn.14007c190
test bl, bl
je 0x14003d574
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14003d3b7
mov eax, 0xa
jmp 0x14003d571
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x14003d574
lea rax, [rbp - 0x80]
mov rdx, rsi
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14003d3f0
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x14003d432
lea rdi, [rsp + 0x40]
cmp rax, 8
cmovae rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rbx + rdi], r12w
jmp 0x14003d440
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140006cd0
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8d, 9
lea rdx, str.asu.debug
lea rcx, [rsp + 0x20]
call fcn.140006890
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140082c08
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov r14d, eax
test eax, eax
je 0x14003d503
lea rax, [rbp - 0x80]
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14003d4b0
mov rax, qword [rsp + 0x58]
cmp rsi, rax
ja 0x14003d4f2
lea rdi, [rsp + 0x40]
cmp rax, 8
cmovae rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14007e1c0
mov word [rdi + rbx], r12w
jmp 0x14003d503
lea r9, [rbp - 0x80]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140006cd0
cmp r14d, 1
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003d54c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d547
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d64b
call fcn.14007c190
test bl, bl
je 0x14003d574
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14003d574
mov eax, 0x14
mov dword [r15], eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14003d5b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d5b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d651
call fcn.14007c190
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003d608
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d633
call fcn.14007c190
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140082b90
nop
call fcn.140082b90
nop
call fcn.140082b90
int3
call fcn.140082b90
int3
call fcn.140082b90
nop
call fcn.140082b90
int3