Function at 0x140048430
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rcx, [rsp + 0x1c8]
call fcn.14000c2f0
nop
mov eax, dword [rsp + 0x258]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 2
je 0x140048498
cmp dword [rsp + 0x34], 6
jle 0x14004862e
cmp dword [rsp + 0x34], 8
jle 0x140048588
jmp 0x14004862e
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401ce600]
mov rcx, qword [rsp + 0x40]
call fcn.14000b5f0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400153d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400484e9
lea rdx, [0x1401ce600]
lea rcx, [rsp + 0x1c8]
call fcn.14000b480
jmp 0x140048583
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x50], rax
lea rdx, [0x1401ce620]
mov rcx, qword [rsp + 0x50]
call fcn.14000b5f0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400153d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140048537
lea rdx, [0x1401ce620]
lea rcx, [rsp + 0x1c8]
call fcn.14000b480
jmp 0x140048583
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
lea rdx, [0x1401ce6a0]
mov rcx, qword [rsp + 0x60]
call fcn.14000b5f0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400153d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140048583
lea rdx, [0x1401ce6a0]
lea rcx, [rsp + 0x1c8]
call fcn.14000b480
jmp 0x14004862e
lea rax, [rsp + 0x128]
mov qword [rsp + 0x70], rax
lea rdx, [0x1401ce600]
mov rcx, qword [rsp + 0x70]
call fcn.14000b5f0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140015340
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400485d6
lea rdx, [0x1401ce600]
lea rcx, [rsp + 0x1c8]
call fcn.14000b480
jmp 0x14004862e
lea rax, [rsp + 0x148]
mov qword [rsp + 0x80], rax
lea rdx, [0x1401ce620]
mov rcx, qword [rsp + 0x80]
call fcn.14000b5f0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140015340
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14004862e
lea rdx, [0x1401ce620]
lea rcx, [rsp + 0x1c8]
call fcn.14000b480
lea rcx, [rsp + 0x1c8]
call fcn.14000c1f0
movzx eax, al
test eax, eax
jne 0x1400487bd
lea rax, [rsp + 0x168]
mov qword [rsp + 0x90], rax
lea rdx, [0x1401877c8]
mov rcx, qword [rsp + 0x90]
call fcn.140019710
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1c8]
call fcn.140039510
lea rcx, [rsp + 0x1c8]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400487bd
lea rax, [rsp + 0x188]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xa0]
call fcn.14000b5f0
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x260]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x258]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x250]
lea rcx, [rsp + 0x1e8]
call fcn.140035720
nop
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xb0]
call fcn.14000b5f0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x208]
call fcn.140016db0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x248]
add rax, 0x40
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.14000b510
lea rcx, [rsp + 0x208]
call fcn.14000b4e0
mov rax, qword [rsp + 0x248]
add rax, 0x60
lea rdx, [rsp + 0x1c8]
mov rcx, rax
call fcn.14000b480
mov rax, qword [rsp + 0x248]
add rax, 0x20
lea rdx, [rsp + 0x1e8]
mov rcx, rax
call fcn.14000b480
nop
lea rcx, [rsp + 0x1e8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x238
ret