Function at 0x14007b370
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x100
mov qword [rax - 0x90], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14028cab8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rdx
mov rsi, rcx
call fcn.1400716c0
call fcn.1400718d0
test al, al
je 0x14007b406
mov byte [rsp + 0xa0], 0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa1]
call fcn.140072970
test eax, eax
jne 0x14007b406
cmp byte [rsp + 0xa0], al
je 0x14007b406
call fcn.140072360
mov ecx, dword [0x140294840]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov dword [rdx + rax], 2
call fcn.1400718d0
test al, al
jne 0x14007b41a
call fcn.140072360
nop
jmp 0x14007b928
lea r15, [0x14028d9b0]
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b452
test dword [rcx + 0x44], 0x800000
je 0x14007b452
cmp byte [rcx + 0x41], 5
jb 0x14007b452
mov edx, 0x13
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
nop
mov rcx, rdi
call fcn.14004bdd0
mov ebx, eax
test eax, eax
je 0x14007b49e
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b491
test dword [rcx + 0x44], 0x800000
je 0x14007b491
cmp byte [rcx + 0x41], 3
jb 0x14007b491
mov edx, 0x14
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
nop
call fcn.140072360
nop
mov eax, ebx
jmp 0x14007b92d
lea rax, [rsp + 0x28]
mov qword [rsp + 0x90], rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
xor r8d, r8d
lea rdx, [0x140231acc]
lea rcx, [rsp + 0x28]
call fcn.140009360
nop
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x14007b4f2
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140009360
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.140036fe0
nop
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r14w
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14007b554
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140009360
lea rcx, [rsp + 0x68]
call fcn.140037850
test al, al
jne 0x14007b604
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b5b1
test dword [rcx + 0x44], 0x800000
je 0x14007b5b1
cmp byte [rcx + 0x41], 5
jb 0x14007b5b1
mov edx, 0x15
mov r9, rdi
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
nop
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x14007b5d7
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14000c430
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r14w
call fcn.140072360
nop
mov eax, 0xd
jmp 0x14007b92d
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007b6a5
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b646
test dword [rcx + 0x44], 0x800000
je 0x14007b646
cmp byte [rcx + 0x41], 2
jb 0x14007b646
lea edx, [rax + 0x16]
mov r9, rdi
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.14004bd70
mov ebx, eax
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x14007b67b
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14000c430
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r14w
call fcn.140072360
nop
mov eax, ebx
jmp 0x14007b92d
xor eax, eax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
call fcn.14004fb60
nop
mov qword [rsp + 0xe0], 1
mov qword [rsp + 0xe8], r14
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call fcn.14006cb20
mov ebx, eax
test eax, eax
je 0x14007b7f2
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b736
test dword [rcx + 0x44], 0x800000
je 0x14007b736
cmp byte [rcx + 0x41], 2
jb 0x14007b736
mov edx, 0x17
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov ecx, ebx
call fcn.14004bd70
mov ebx, eax
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14007b7a2
movzx r9d, byte [rsp + 0xa1]
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
call fcn.14003ba00
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xa8]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0xa8]
call fcn.1400390d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], r14
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x14007b7c8
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14000c430
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r14w
call fcn.140072360
nop
mov eax, ebx
jmp 0x14007b92d
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14007b872
mov rbx, qword [rsp + 0xe8]
mov ecx, 1
call fcn.14004c270
mov r9, rbx
mov r8, rax
lea rdx, [rsp + 0xa8]
mov rcx, rsi
call fcn.140081150
test eax, eax
je 0x14007b86a
mov rcx, qword [0x14028d9b0]
cmp rcx, r15
je 0x14007b86a
test dword [rcx + 0x44], 0x800000
je 0x14007b86a
cmp byte [rcx + 0x41], 3
jb 0x14007b86a
mov edx, 0x18
lea r8, [0x140203b98]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14007b8cd
movzx r9d, byte [rsp + 0xa1]
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
call fcn.14003ba00
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xa8]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0xa8]
call fcn.1400390d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], r14
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x14007b8f3
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14000c430
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], r14w
call fcn.140072360
nop
xor eax, eax
jmp 0x14007b92d
mov eax, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140189c60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret