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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1800ee530]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor edi, edi
mov ebx, ecx
mov qword [rsp + 0x48], rdi
mov r15d, edi
mov r14d, edi
test ecx, ecx
jne 0x18001fb5f
mov ecx, 0x42ea
call fcn.18001d720
test eax, eax
je 0x18001fb2b
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x20a
call fcn.18006b2e0
lea rcx, [rsp + 0x70]
call fcn.18001b990
cmp di, word [rsp + 0x70]
je 0x18001fb2b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18001fb2b
test al, 0x10
je 0x18001fb2b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], di
jne 0x18001faa4
inc rbx
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18001fb5f
test rbx, rbx
je 0x18001fb1e
cmp rbx, 0x7fffffff
ja 0x18001fb1b
mov edx, 0x7ffffffe
lea r8, [rsp + 0x70]
sub rdx, rbx
mov rcx, rax
sub r8, rax
nop dword [rax]
lea rax, [rdx + rbx]
test rax, rax
je 0x18001fb10
movzx eax, word [r8 + rcx]
test ax, ax
je 0x18001fb10
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x18001faf0
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x18001fb61
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x50], 0x20
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x1770
call fcn.18001d720
test eax, eax
jne 0x18001fb87
lea ecx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180068690
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x1800ef210]
test rax, rax
jne 0x18001fbad
xor edx, edx
lea rcx, [0x1800ca040]
call fcn.18001d950
mov qword [0x1800ef210], rax
test rax, rax
je 0x18001fb5f
cmp qword [0x1800ef238], rdi
jne 0x18001fbd9
lea rdx, [0x1800ca0b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800ef238], rax
test rax, rax
je 0x18001fb5f
mov rax, qword [0x1800ef210]
cmp qword [0x1800ef248], rdi
jne 0x18001fc09
lea rdx, [0x1800ca0d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800ef248], rax
test rax, rax
je 0x18001fb5f
mov rax, qword [0x1800ef210]
cmp qword [0x1800ef240], rdi
jne 0x18001fc32
lea rdx, [0x1800ca090]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800ef240], rax
test rax, rax
je 0x18001fb5f
lea r8, [rsp + 0x50]
mov ecx, ebx
lea rdx, [rsp + 0x48]
call fcn.18001b600
test eax, eax
je 0x18001fb5f
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x2c8], r12
lea r8, [0x1800d17f8]
mov r12, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x28], edi
mov rcx, r12
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], edi
call qword [0x1800ef238]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18001fe2e
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x18001fe2e
mov ecx, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov dword [rsp + 0x38], edi
lea r8, [0x1800d17f8]
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [0x1800ef238]
test eax, eax
je 0x18001fe2e
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r15
call qword [0x1800ef248]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18001fe2e
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x18001fe2e
mov ecx, dword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, r15
call qword [0x1800ef248]
test eax, eax
je 0x18001fe2e
mov edx, 0x5c
mov rcx, r14
call fcn.18006bb68
lea rsi, [rax + 2]
test rax, rax
jne 0x18001fd77
mov rsi, r14
sub rsi, r14
sar rsi, 1
sub rsi, 1
js 0x18001fe2e
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [r14 + rbx*2], di
jne 0x18001fd90
cmp rsi, rbx
mov ecx, 0x40
cmovb rbx, rsi
inc rbx
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8, rax
test rax, rax
je 0x18001fe2e
test rbx, rbx
je 0x18001fe1f
cmp rbx, 0x7fffffff
jbe 0x18001fdce
mov word [rax], di
jmp 0x18001fe1f
mov edx, 0x7ffffffe
cmp rsi, rdx
jbe 0x18001fddd
mov word [rax], di
jmp 0x18001fe1f
sub rsi, rbx
mov rdx, r14
sub rdx, r8
mov rcx, r8
nop dword [rax]
lea rax, [rsi + rbx]
test rax, rax
je 0x18001fe0f
movzx eax, word [rdx + rcx]
test ax, ax
je 0x18001fe0f
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x18001fdf0
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
jne 0x18001fe2b
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, rdi
mov rdi, r8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r12, r12
je 0x18001fe4e
mov rcx, r12
call qword [0x1800ef240]
mov r12, qword [rsp + 0x2c8]
test rdi, rdi
je 0x18001fe63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
jmp 0x18001fb61