Function at 0x10004ad0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x110
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0xa0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rbp - 0xa4], 0
mov dword [rbp - 0xa8], 0
lea rax, [rbp - 0xc0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov edx, 1
mov rcx, qword [rbp + 0x10]
call fcn.100c0d10
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov r9d, 2
lea r8, [0x100c7032]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf570
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
je 0x10004be8
lea rax, [rbp - 0xe0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [rbp - 0xe0]
mov qword [rsp + 0x20], 2
lea r9, [0x100c7032]
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.100bf700
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp - 0x20]
lea rax, [rbp - 0xc0]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, rdx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x28], rax
jmp 0x10004c16
nop
lea rax, [rbp - 0xc0]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, qword [rbp + 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0xc0]
mov rax, qword [rax]
mov rcx, rax
call fcn.100c1a60
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sub.KERNEL32.dll_GetFileAttributesW
mov dword [rbp - 0x3c], eax
cmp dword [rbp - 0x3c], 0xffffffff
setne al
movzx eax, al
neg eax
cdqe
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.100c1d30
cmp qword [rbp - 0x48], 0
je 0x10004c8b
lea rax, [rbp - 0xc0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0xa0]
mov rcx, rax
call fcn.100c0370
jmp 0x10004df3
nop
mov edx, 1
lea rcx, [0x100c7032]
call fcn.100c0e30
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x50]
lea rax, [rbp - 0xc0]
mov r8, rdx
mov rdx, rax
mov ecx, 1
call fcn.100c0830
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0xa4], eax
mov eax, dword [rbp - 0xa4]
test eax, eax
je 0x10004dd4
mov eax, dword [rbp - 0xa4]
cmp eax, 3
jle 0x10004d78
mov eax, dword [rbp - 0xa4]
movsxd rdx, eax
lea rax, [rbp - 0xc0]
mov r8, rdx
mov edx, 1
mov rcx, rax
call fcn.100c0bf0
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp - 0x60]
lea rax, [rbp - 0xa0]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, rdx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0xa0]
mov rax, qword [rax]
mov rcx, rax
call fcn.100c1a60
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x78]
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateDirectoryW
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.100c1d30
jmp 0x10004d79
nop
mov eax, dword [rbp - 0xa4]
add eax, 1
mov dword [rbp - 0xa8], eax
mov edx, 1
lea rcx, [0x100c7032]
call fcn.100c0e30
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0xa8]
cdqe
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0xc0]
mov r8, rcx
mov rcx, rax
call fcn.100c0830
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
mov dword [rbp - 0xa4], eax
jmp 0x10004cca
nop
lea rax, [rbp - 0xc0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0xa0]
mov rcx, rax
call fcn.100c0370
nop
leave
ret