Function at 0x140036e40
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
lea r14, [rcx + 0x88]
mov dword [r14], 0x1e
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
call fcn.140045340
test al, al
je 0x14003742d
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140004480
nop
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea r8d, [r15 + 6]
lea rdx, str..trace
lea rcx, [rsp + 0x20]
call fcn.140003250
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
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, [r15 - 1]
test eax, eax
jne 0x140036f2c
xor bl, bl
jmp 0x140036f85
lea rax, [rbp - 0x80]
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140036f33
mov rax, qword [rsp + 0x78]
cmp rdx, rax
ja 0x140036f75
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.14007c470
mov word [rbx + rdi], r15w
jmp 0x140036f83
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140003380
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140036fc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003749d
call fcn.140079b70
test bl, bl
je 0x1400373d7
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
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 ebx, eax
test eax, eax
je 0x1400373d7
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140002cb0
cmp ebx, 1
jne 0x1400373d7
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x140037260
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea r8d, [rbx + 5]
lea rdx, str..debug
lea rcx, [rsp + 0x20]
call fcn.140003250
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
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 0x1400370af
xor bl, bl
jmp 0x140037108
lea rax, [rbp - 0x80]
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400370b6
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x1400370f8
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.14007c470
mov word [rdi + rbx], r15w
jmp 0x140037106
lea r9, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140003380
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003714a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037145
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400374a3
call fcn.140079b70
test bl, bl
je 0x14003716e
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 0x1400373cf
lea rcx, [rsp + 0x40]
call fcn.1400454d0
test al, al
je 0x1400373d7
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8d, 9
lea rdx, str.asu.trace
lea rcx, [rsp + 0x20]
call fcn.140003250
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
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 ebx, eax
test eax, eax
je 0x1400371f4
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140002cb0
cmp ebx, 1
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003723c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037237
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400374a9
call fcn.140079b70
test bl, bl
je 0x1400373d7
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 0x14003726a
mov eax, 0xa
jmp 0x1400373d4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1400373d7
lea rax, [rbp - 0x80]
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400372a0
mov rax, qword [rsp + 0x58]
cmp rsi, rax
ja 0x1400372e2
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.14007c470
mov word [rdi + rbx], r15w
jmp 0x1400372f3
lea r9, [rbp - 0x80]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140003380
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8d, 9
lea rdx, str.asu.debug
lea rcx, [rsp + 0x20]
call fcn.140003250
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140080dac
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 ebx, eax
test eax, eax
je 0x140037367
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140002cb0
cmp ebx, 1
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400373af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400373aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400374af
call fcn.140079b70
test bl, bl
je 0x1400373d7
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 0x1400373d7
mov eax, 0x14
mov dword [r14], eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140037419
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037414
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400374b5
call fcn.140079b70
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003746b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037466
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037497
call fcn.140079b70
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140079b50
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
int3
call fcn.140080d34
int3
call fcn.140080d34
nop
call fcn.140080d34
int3