Function at 0x140059f50
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x90
mov rcx, rax
call fcn.14003be70
movzx eax, al
test eax, eax
je 0x140059f90
jmp 0x14005a250
lea rcx, [rsp + 0xb0]
call fcn.1400481f0
nop
mov rax, qword [rsp + 0xf0]
add rax, 0x90
mov qword [rsp + 0x20], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140001d80
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.14001ec10
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140001d80
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
call fcn.14001ebe0
jmp 0x140059ff9
lea rcx, [rsp + 0x60]
call fcn.14001e760
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140001ea0
movzx eax, al
test eax, eax
je 0x14005a206
lea rcx, [rsp + 0x60]
call fcn.14001e780
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.140052480
nop
mov r8w, 0x2e
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140006740
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [0x1400d6ee8]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1400217c0
nop
lea rcx, [rsp + 0x40]
call fcn.140003bf0
lea rcx, [rsp + 0x70]
call fcn.140003970
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005a125
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x78]
test eax, eax
je 0x14005a0ea
mov dl, 1
mov rcx, qword [rsp + 0xf0]
call fcn.14005da90
nop
lea rcx, [rsp + 0x70]
call fcn.140003bf0
nop
lea rcx, [rsp + 0x90]
call fcn.140003bf0
nop
lea rcx, [rsp + 0xb0]
call fcn.140003bf0
jmp 0x14005a250
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x48]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x48], eax
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
call fcn.14005c6e0
movzx eax, al
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x4c], eax
lea rcx, [rsp + 0x90]
call fcn.140003970
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005a1e9
lea rcx, [rsp + 0x70]
call fcn.140003970
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14005a1e9
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x78]
test eax, eax
je 0x14005a1a9
mov dl, 1
mov rcx, qword [rsp + 0xf0]
call fcn.14005da90
nop
lea rcx, [rsp + 0x70]
call fcn.140003bf0
nop
lea rcx, [rsp + 0x90]
call fcn.140003bf0
nop
lea rcx, [rsp + 0xb0]
call fcn.140003bf0
jmp 0x14005a250
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x48]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x48], eax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xf0]
call fcn.14005c4f0
movzx eax, al
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x4c], eax
lea rcx, [rsp + 0x70]
call fcn.140003bf0
nop
lea rcx, [rsp + 0x90]
call fcn.140003bf0
jmp 0x140059fef
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x78]
test eax, eax
je 0x14005a235
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call fcn.14005da90
nop
lea rcx, [rsp + 0xb0]
call fcn.140003bf0
jmp 0x14005a250
mov rcx, qword [rsp + 0xf0]
call fcn.14005dc70
nop
lea rcx, [rsp + 0xb0]
call fcn.140003bf0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140069a00
add rsp, 0xe8
ret