Function at 0x18003fbc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r12, qword [rbp + 0x430]
xor r13b, r13b
xor esi, esi
mov word [rbp - 0x70], si
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x6e]
call fcn.180140c00
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.18003f360
cmp byte [r15 + 0x40], sil
je 0x18003fc64
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003fc5d
test al, 0x10
jne 0x18003fc5d
call fcn.180073ca0
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.180074170
test al, al
jne 0x18003fc64
xor al, al
jmp 0x18003fe10
mov qword [r15 + 0x48], rsi
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18003fc5d
lea rdx, [0x1801ab460]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18003fdfd
mov qword [r15 + 0x48], rsi
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0xffffffff
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [r15 + 0x50]
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x18003f240]
mov rdx, rdi
mov rcx, rbx
call r10
test eax, eax
sete r13b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18003fdf0
cmp dword [rsp + 0x50], 0
jle 0x18003fdcf
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
movsxd rdx, dword [rsp + 0x50]
mov rcx, r14
call fcn.18003fe60
mov edi, ebx
cmp dword [rsp + 0x50], ebx
jle 0x18003fda8
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
add rcx, rbx
cmp dword [rcx + 0x10], 0
setne byte [rsp + 0x68]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
mov qword [rsp + 0x58], rax
lea rdx, [rcx + 0x14]
cmp word [rdx], 0
jne 0x18003fd71
xor r8d, r8d
jmp 0x18003fd80
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18003fd75
lea rcx, [rsp + 0x70]
call fcn.180005920
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.18003fec0
inc edi
add rbx, 0x21c
cmp edi, dword [rsp + 0x50]
jl 0x18003fd40
xor ebx, ebx
cmp qword [rbp - 0x78], 8
jb 0x18003fdb9
mov rcx, qword [rsp + 0x70]
call fcn.180139b7c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18003fdf0
lea rdx, [0x1801ab448]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18003fdf0
mov rcx, qword [rsp + 0x48]
call rax
test r12, r12
je 0x18003fdfd
mov ecx, dword [rsp + 0x54]
mov dword [r12], ecx
xor eax, eax
mov qword [r15 + 0x48], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, r13b
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.180139310
add rsp, 0x4c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret