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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [rcx + 8]
xor r14d, r14d
xor ebp, ebp
mov r13, r9
mov r15, r8
mov r12, rdx
mov rdi, rcx
test rax, rax
je 0x10001b125
cmp qword [rcx], rbp
je 0x10001b125
test rdx, rdx
je 0x10001b0f0
test r8, r8
je 0x10001b0f0
mov esi, dword [rax]
mov ecx, dword [rcx + 0x10]
mov eax, esi
imul eax, eax, 0x250
add eax, 0x254
cmp ecx, eax
jae 0x10001adbf
lea edx, [rcx + rax]
mov rcx, rdi
call fcn.10001abd4
mov ebx, eax
test eax, eax
jns 0x10001adbf
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001b169
test byte [rcx + 0x1c], 4
je 0x10001b169
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x1e]
lea r9, [0x100004ae0]
lea r8, [0x100001960]
mov dword [rsp + 0x20], ebx
call fcn.10001a3dc
jmp 0x10001b169
test r13, r13
je 0x10001adfc
mov eax, dword [r13]
mov rcx, qword [rdi + 8]
imul rsi, rsi, 0x250
mov dword [rsi + rcx + 0x28], eax
mov rax, qword [r13 + 0x14]
mov rcx, qword [rdi + 8]
mov qword [rsi + rcx + 0x3c], rax
mov eax, dword [r13 + 0x20]
mov rcx, qword [rdi + 8]
mov dword [rsi + rcx + 0x48], eax
mov eax, dword [r13 + 0x1c]
xor r13d, r13d
jmp 0x10001afa0
xor r13d, r13d
mov rcx, r12
cmp dword [rsp + 0xd0], r13d
je 0x10001ae91
imul rsi, rsi, 0x250
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r11d, eax
mov rax, qword [rdi + 8]
mov dword [rsi + rax + 0x28], r11d
mov rax, qword [rdi + 8]
cmp dword [rsi + rax + 0x28], 0xffffffff
jne 0x10001ae7e
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001ae64
test byte [rcx + 0x1c], 4
je 0x10001ae64
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
lea r8, [0x100001960]
mov r9, r12
call fcn.10000d674
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
jmp 0x10001b169
mov dword [rsi + rax + 0x48], r13d
mov rax, qword [rdi + 8]
mov dword [rsi + rax + 0x44], r13d
jmp 0x10001afad
mov r8d, 3
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x10001af04
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001aeea
test byte [rcx + 0x1c], 4
je 0x10001aeea
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x21]
lea r8, [0x100001960]
call fcn.10000b094
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
jmp 0x10001b160
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x34]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
cmp eax, r13d
jne 0x10001af6f
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001af55
test byte [rcx + 0x1c], 4
je 0x10001af55
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001960]
mov edx, 0x21
call fcn.10000b094
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
jmp 0x10001b15b
mov rcx, qword [rdi + 8]
mov eax, dword [rsp + 0x40]
imul rsi, rsi, 0x250
mov dword [rsi + rcx + 0x28], eax
mov rcx, qword [rdi + 8]
mov rax, qword [rsp + 0x54]
mov qword [rsi + rcx + 0x3c], rax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rdi + 8]
mov dword [rsi + rcx + 0x48], eax
mov eax, dword [rsp + 0x60]
mov rcx, qword [rdi + 8]
mov ebp, 0x20
mov dword [rsi + rcx + 0x44], eax
mov rax, qword [rdi + 8]
or ebp, 0x4044
mov r8d, 0x250
mov dword [rsi + rax + 4], ebp
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
lea rcx, [rsi + rax + 4]
lea rdx, [rsi + rdx + 4]
call sub.msvcrt.dll_memcpy
mov r11, qword [rdi + 8]
mov r8d, 0x104
lea rcx, [rsi + r11 + 0x4c]
mov rdx, r8
mov ebx, r13d
sub r12, rcx
lea rax, [rdx + 0x7ffffefa]
cmp rax, r13
je 0x10001b013
movzx eax, word [r12 + rcx]
cmp ax, r13w
je 0x10001b013
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10001afef
mov r9d, 0x8007007a
cmp rdx, r13
jne 0x10001b025
sub rcx, 2
mov ebx, r9d
cmp ebx, r13d
mov word [rcx], r13w
jge 0x10001b056
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001b15b
test byte [rcx + 0x1c], 4
je 0x10001b15b
mov edx, 0x22
jmp 0x10001b0c3
mov rax, qword [rdi]
mov ebx, r13d
lea rcx, [rsi + rax + 0x4c]
sub r15, rcx
lea rax, [r8 + 0x7ffffefa]
cmp rax, r13
je 0x10001b088
movzx eax, word [r15 + rcx]
cmp ax, r13w
je 0x10001b088
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x10001b064
cmp r8, r13
jne 0x10001b094
sub rcx, 2
mov ebx, r9d
cmp ebx, r13d
mov word [rcx], r13w
jge 0x10001b0e0
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001b15b
test byte [rcx + 0x1c], 4
je 0x10001b15b
mov edx, 0x23
mov rcx, qword [rcx + 0x10]
lea r9, [0x100004b10]
lea r8, [0x100001960]
mov dword [rsp + 0x20], ebx
call fcn.10001a3dc
jmp 0x10001b15b
mov rax, qword [rdi]
mov ebx, r13d
inc dword [rax]
mov rax, qword [rdi + 8]
inc dword [rax]
jmp 0x10001b15b
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001b11e
test byte [rcx + 0x1c], 4
je 0x10001b11e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001960]
mov edx, 0x1d
call fcn.10000b094
mov ebx, 0x80004005
jmp 0x10001b169
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10001b153
test byte [rcx + 0x1c], 4
je 0x10001b153
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001960]
mov edx, 0x1c
call fcn.10000b094
mov ebx, 0x8000ffff
xor r13d, r13d
cmp r14, r13
je 0x10001b169
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret