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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rdi, rdx
lea r13, [0x10003b820]
mov qword [rsp + 0x30], r13
lea r14, [0x10003c6b0]
mov qword [rsp + 0x38], r14
lea r15, [0x10003b800]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x469
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
xor ebx, ebx
mov word [rsp + 0xd0], bx
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e842c
nop
mov qword [rsp + 0xe0], rbx
lea rax, [0x100039468]
mov qword [rsp + 0xd8], rax
cmp word [rdi], bx
jne 0x100100d09
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
xor al, al
jmp 0x10010102a
mov rdx, rdi
lea rcx, [rsp + 0xd8]
call fcn.100061300
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
mov rsi, qword [rsp + 0xe0]
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r12d, [rax + 0x5c]
cmp word [rsi + rcx*2 - 4], r12w
jne 0x100100d44
mov word [rsi + rcx*2 - 4], bx
mov r8d, 0x104
lea rdx, [rsp + 0x160]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, ebx
jne 0x100100e19
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x47f
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, [0x10003bee0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9608
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
cmp rsi, rbx
je 0x100100e14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x10010101b
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x160]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x15c], r12w
jne 0x100100e3f
mov word [rsp + rcx*2 + 0x15c], bx
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jb 0x100100fde
mov rdx, rsi
lea rcx, [rsp + 0x160]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
je 0x100100fde
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100100ef5
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x49e
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, [0x10003c700]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9608
jmp 0x100100efb
bt eax, 0xa
jb 0x100100f33
mov edx, r12d
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsrchr]
cmp rax, rbx
je 0x100100fde
mov word [rax], bx
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jae 0x100100e58
jmp 0x100100fde
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x4a2
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], bx
mov byte [rsp + 0xd2], bl
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, [0x10003c750]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9608
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
cmp rsi, rbx
je 0x100100fda
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov bl, 1
jmp 0x10010101b
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
cmp rsi, rbx
je 0x10010101b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
mov al, bl
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.100130df0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret