Function at 0x14003a4d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
xor ebp, ebp
mov edi, ebp
mov dword [rsp + 0x20], ebp
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003a782
mov rbx, qword [0x14034dd18]
test rbx, rbx
je 0x14003a535
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a528
call fcn.140095d64
mov edx, FDICreate
mov rcx, rbx
call fcn.1400081a0
mov ecx, FDICreate
call fcn.140095d1c
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003a572
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.14000fd70
nop
mov edi, 1
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140036740
jmp 0x14003a575
mov rax, rbp
mov qword [0x14034dd18], rax
test dil, 1
je 0x14003a5de
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003a5cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a5bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a7ca
call fcn.1400081a0
mov rax, qword [0x14034dd18]
movdqa xmm0, xmmword [0x1402fa1a0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
test rax, rax
je 0x14003a782
cmp qword [rax], 0
je 0x14003a782
mov rbx, qword [0x14034dd10]
test rbx, rbx
je 0x14003a613
lea rcx, [rbx + 0x60]
call fcn.1400152c0
mov edx, 0x10088
mov rcx, rbx
call fcn.1400081a0
mov ecx, 0x10088
call fcn.140095d1c
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003a66f
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x20], rbp
mov dword [rax + 0x28], ebp
mov qword [rax + 0x30], rbp
mov qword [rax + 0x40], rbp
lea rdx, [rax + 0x10078]
mov qword [rdx], rbp
mov qword [rax + 0x10080], rbp
lea rcx, [rax + 0x78]
mov qword [rax + 0x60], rcx
mov rax, rcx
neg rax
and eax, 7
add rax, rcx
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rdx
jmp 0x14003a672
mov rbx, rbp
mov qword [0x14034dd10], rbx
mov rax, qword [0x14034dd18]
mov r8, qword [rax]
mov qword [rsp + 0x20], r8
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x14003a6a3
mov qword [rax + 0x20], rbp
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x14003a691
mov r8, qword [rsp + 0x20]
mov qword [rbx + 0x30], rbp
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14003a6c2
mov qword [rax + 0x20], rbp
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14003a6b0
mov r8, qword [rsp + 0x20]
mov qword [rbx + 0x40], rbp
cmp byte [r8], 0xef
jne 0x14003a6e3
cmp byte [r8 + 1], 0xbb
jne 0x14003a6e3
cmp byte [r8 + 2], 0xbf
jne 0x14003a6e3
add r8, 3
mov qword [rsp + 0x20], r8
lea rdi, [0x1402eeee0]
nop word [rax + rax]
movzx eax, byte [r8]
cmp byte [rax + rdi], 0
je 0x14003a70d
nop word [rax + rax]
inc r8
movzx eax, byte [r8]
cmp byte [rax + rdi], 0
jne 0x14003a700
mov qword [rsp + 0x20], r8
movzx eax, byte [r8]
test al, al
je 0x14003a77e
cmp al, 0x3c
jne 0x14003a7a7
lea rax, [r8 + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140045090
mov rcx, rax
test rax, rax
jne 0x14003a747
mov r8, qword [rsp + 0x20]
jmp 0x14003a6f0
cmp qword [rbx + 0x30], 0
je 0x14003a760
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x50], rax
mov rax, qword [rbx + 0x38]
mov qword [rax + 0x58], rcx
jmp 0x14003a768
mov qword [rax + 0x50], rbp
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], rcx
mov qword [rcx + 0x20], rbx
mov qword [rcx + 0x58], rbp
mov r8, qword [rsp + 0x20]
jmp 0x14003a6f0
mov al, 1
jmp 0x14003a784
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402155d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, [0x1402f0758]
lea rcx, [rsp + 0x30]
call fcn.140036710
lea rdx, [0x140337e88]
lea rcx, [rsp + 0x30]
call fcn.140241d30
int3
call fcn.14024b534
int3