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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r14, r8
mov r15, rdx
mov rsi, rcx
call fcn.14000b5a0
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x140009f86
mov rcx, qword [rbx]
test rcx, rcx
je 0x140009f86
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [rsi]
xor r12d, r12d
test rdi, rdi
jne 0x14000a313
lea rdx, [rbp - 0x70]
call fcn.14000aab0
nop
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
jb 0x140009fb7
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x14000a0ba
cmp word [rdi], 0
je 0x14000a0ba
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x50]
call fcn.140019fd0
lea rcx, [rbp - 0x50]
sub rcx, rdi
nop dword [rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140009fe0
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.140019cec
mov rdi, rax
test rax, rax
jne 0x14000a01a
lea edx, [rax + 0x2f]
lea rcx, [rbp - 0x50]
call fcn.140019cec
mov rdi, rax
test rax, rax
je 0x14000a01f
mov word [rdi + 2], r12w
lea rcx, [rbp - 0x50]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000a030
movups xmm0, xmmword [str.vcruntime140.dll]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140034e30]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x140034e40]
mov word [rcx + 0x20], ax
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 8], rax
test rdi, rdi
je 0x14000a072
mov word [rdi + 2], r12w
lea rcx, [rbp - 0x50]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000a080
movups xmm0, xmmword [str.msvcp140.dll]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x140034e58]
movsd qword [rcx + 0x10], xmm1
movzx eax, word [0x140034e60]
mov word [rcx + 0x18], ax
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x10], rax
lea rdx, [rsp + 0x50]
call fcn.14000ab90
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, r15
call fcn.140009600
test al, al
jne 0x14000a0ea
mov rdi, r12
jmp 0x14000a26f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140035c00]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], r12w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x14000a110
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140002380
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140008070
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000a180
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a17b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a35f
call fcn.140018460
movdqa xmm0, xmmword [0x140035c00]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
jb 0x14000a1aa
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000a218
cmp qword [rsi], 0
jne 0x14000a218
call fcn.1400091b0
cmp qword [rax], 0
jne 0x14000a1c6
mov rdx, r15
mov rcx, rax
call fcn.140009250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000a1f7
test al, 0x10
jne 0x14000a1f7
call fcn.14000c800
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14000c8f0
test al, al
jne 0x14000a1fc
mov rdx, rdi
call fcn.140009310
mov rdi, r12
jmp 0x14000a21b
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14000a1f7
mov qword [rsi], rax
jmp 0x14000a21b
mov rdi, qword [rsi]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000a25c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a365
call fcn.140018460
movdqa xmm0, xmmword [0x140035c00]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000a2b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a36b
call fcn.140018460
movdqa xmm0, xmmword [0x140035c00]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000a301
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a359
call fcn.140018460
movdqa xmm0, xmmword [0x140035c00]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
test rbx, rbx
je 0x14000a32b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000a326
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x20], r12
mov rax, rdi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140018400
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14001c594
nop
call fcn.14001c594
nop
call fcn.14001c594
nop
call fcn.14001c594
int3