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

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x220
mov qword [rax - 0x118], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14008c110]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rbx, rdx
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x30], esi
movzx eax, byte [0x14008de48]
mov edx, eax
lea r13d, [rsi + 1]
cmp al, r13b
cmovne edx, r13d
mov byte [0x14008de48], dl
call fcn.14000372c
nop
mov r8, rbx
mov edx, edi
lea rcx, [0x14008de30]
call fcn.14001aec4
test al, al
jne 0x14000bdec
mov eax, dword [0x14008de10]
jmp 0x14000c87f
mov dword [rsp + 0x20], 0x31
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 0xa]
lea r12, [0x14008de10]
mov rcx, r12
call fcn.140002f48
call fcn.140003f78
test al, al
jne 0x14000be22
mov eax, dword [0x14008de10]
jmp 0x14000c87f
call fcn.140006a80
test al, al
jne 0x14000be36
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp byte [0x14008de70], sil
je 0x14000be52
mov rdx, qword [rbx]
call fcn.140004560
mov eax, dword [0x14008de10]
jmp 0x14000c87f
lea rdx, [0x14007676c]
lea rcx, [rsp + 0x190]
call fcn.14000737c
nop
lea rdx, [rsp + 0x190]
call fcn.1400039ec
mov ebx, eax
lea rcx, [rsp + 0x190]
call fcn.1400022c0
test ebx, ebx
jne 0x14000bed2
lea rdx, [0x14007676c]
lea rcx, [rsp + 0x1b0]
call fcn.14000737c
nop
lea rdx, [rsp + 0x1b0]
call fcn.1400039ec
mov r8d, eax
mov edx, 0x138c
mov rcx, r12
call fcn.140002db8
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400022c0
mov eax, dword [0x14008de10]
jmp 0x14000c87f
mov rcx, qword [0x14008de80]
mov rax, rcx
mov rdx, qword [0x14008de78]
sub rax, rdx
cmp rax, 0x20
jae 0x14000c05e
lea rcx, [rsp + 0x1f0]
call fcn.14000bbec
mov r14, rax
mov rdi, qword [0x14008de80]
mov rbx, qword [0x14008de78]
cmp rbx, rdi
je 0x14000bf2b
mov rcx, rbx
call fcn.1400022c0
add rbx, 0x20
cmp rbx, rdi
jne 0x14000bf13
mov rbx, qword [0x14008de78]
mov qword [0x14008de80], rbx
cmp qword [0x14008de88], rbx
je 0x14000bf50
mov rdx, r14
mov rcx, rbx
call fcn.1400073f0
add qword [0x14008de80], 0x20
jmp 0x14000bf63
mov r8, r14
mov rdx, rbx
lea rcx, [0x14008de78]
call fcn.140016bc0
nop
lea rcx, [rsp + 0x1f0]
call fcn.1400022c0
mov cl, byte [0x14008de73]
test cl, cl
je 0x14000bf9b
cmp qword [0x14008dec0], rsi
je 0x14000bf9b
mov edx, 0x138e
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
mov al, byte [0x14008e050]
test al, al
jne 0x14000bfae
cmp byte [0x14008dff9], sil
je 0x14000bfcf
cmp byte [0x14008de72], sil
jne 0x14000bfcf
mov edx, 0x139a
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp qword [0x14008df18], rsi
je 0x14000bff4
test cl, cl
jne 0x14000bff4
mov edx, 0x1398
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp qword [0x14008dea0], rsi
je 0x14000c20b
cmp qword [0x14008dea8], 8
jb 0x14000c018
cmp qword [0x14008de90], rsi
je 0x14000c20b
lea r14, [0x14008de90]
mov rcx, r14
cmp qword [0x14008dea8], 8
cmovae rcx, qword [0x14008de90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000c192
cmp qword [0x14008dea0], rsi
jne 0x14000c0f9
mov r8, rsi
jmp 0x14000c10c
mov edi, esi
sub rcx, rdx
sar rcx, 5
mov ebx, edi
cmp rbx, rcx
jae 0x14000bf70
mov ecx, ebx
shl rcx, 5
add rcx, rdx
cmp qword [rcx + 0x18], 8
jb 0x14000c085
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000c0e3
mov rcx, qword [0x14008de78]
mov rax, qword [0x14008de80]
sub rax, rcx
sar rax, 5
cmp rbx, rax
ja 0x14000c0c8
jae 0x14000c953
shl rbx, 5
lea rsi, [rbx + rcx]
cmp qword [rsi + 0x18], 8
jb 0x14000c0c8
mov rsi, qword [rsi]
mov r8, rsi
mov edx, 0x7e9
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
add edi, r13d
mov rcx, qword [0x14008de80]
mov rdx, qword [0x14008de78]
jmp 0x14000c060
mov r8, r14
cmp qword [0x14008dea8], 8
cmovae r8, qword [0x14008de90]
mov edx, 5
mov rcx, r12
call fcn.140002f48
cmp qword [0x14008dea0], rsi
jne 0x14000c127
mov rcx, rsi
jmp 0x14000c13a
mov rcx, r14
cmp qword [0x14008dea8], 8
cmovae rcx, qword [0x14008de90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c192
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp qword [0x14008dea0], rsi
je 0x14000c174
cmp qword [0x14008dea8], 8
cmovae r14, qword [0x14008de90]
mov rsi, r14
mov r9d, eax
mov r8, rsi
mov edx, 0xbba
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
test bl, 0x10
jne 0x14000c1dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp qword [0x14008dea0], rsi
je 0x14000c1bf
cmp qword [0x14008dea8], 8
cmovae r14, qword [0x14008de90]
mov rsi, r14
mov r9d, eax
mov r8, rsi
mov edx, 0xbbb
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp qword [0x14008dea0], rsi
jne 0x14000c1eb
mov rcx, rsi
jmp 0x14000c1fe
mov rcx, r14
cmp qword [0x14008dea8], 8
cmovae rcx, qword [0x14008de90]
call fcn.14000cb60
mov al, byte [0x14008e050]
jmp 0x14000c212
lea r14, [0x14008de90]
test al, al
je 0x14000c240
cmp byte [0x14008dff9], sil
jne 0x14000c228
cmp byte [0x14008dff8], sil
je 0x14000c240
mov edx, 0x139d
mov rcx, r12
call fcn.140002db8
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp qword [0x14008dee0], rsi
je 0x14000c25d
call fcn.140004960
test al, al
jne 0x14000c25d
mov eax, dword [0x14008de10]
jmp 0x14000c87f
cmp qword [0x14008dea0], rsi
je 0x14000c7af
cmp qword [0x14008dea8], 8
jb 0x14000c281
cmp qword [0x14008de90], rsi
je 0x14000c7af
lea rcx, [rsp + 0x40]
call fcn.14000b270
nop
lea rcx, [rsp + 0x40]
call fcn.14000cea0
test al, al
je 0x14000c40b
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000c30a
mov rcx, qword [rbx + 0x40]
cmp byte [rcx + 0x78], sil
jne 0x14000c2c5
call fcn.140030314
test al, al
je 0x14000c40b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x14000c2ed
mov rax, qword [rbx + 8]
jmp 0x14000c2e2
cmp rbx, qword [rax + 0x10]
jne 0x14000c2e8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x14000c2d5
mov rbx, rax
jmp 0x14000c2a9
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], sil
jne 0x14000c2a9
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x14000c2f9
jmp 0x14000c2a9
lea rcx, [rsp + 0x40]
call fcn.14000e4c8
test al, al
jne 0x14000c40b
mov r14d, dword [0x14008de10]
lea rcx, [rsp + 0xa8]
call fcn.140001bc0
mov r8, qword [rsp + 0x98]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.14001896c
mov edx, 0x50
mov rcx, qword [rsp + 0x98]
call fcn.14004d088
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000c3b7
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c958
call fcn.14004d088
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x60]
call fcn.140011578
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000c403
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14000c403
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140062ace.0]
mov edx, ebx
lock xadd dword [rdi + 0xc], edx
add edx, ebx
jne 0x14000c403
mov rdx, qword [rdi]
mov rcx, rdi
mov rax, qword [rdx + 8]
call qword [case.0x140062ace.0]
mov eax, r14d
jmp 0x14000c87f
movdqa xmm0, xmmword [0x140077ef0]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], si
mov dword [rsp + 0x30], r13d
cmp byte [0x14008e000], sil
je 0x14000c446
lea rdx, [0x14008e008]
lea rcx, [rsp + 0x150]
call fcn.140007274
mov rbx, qword [rsp + 0x160]
lea rcx, [rsp + 0x150]
call fcn.1400022c0
test rbx, rbx
je 0x14000c5ba
movdqa xmm0, xmmword [0x140077ef0]
movdqu xmmword [rsp + 0x180], xmm0
mov word [rsp + 0x170], si
mov dword [rsp + 0x30], 2
cmp byte [0x14008e000], sil
je 0x14000c4a2
lea rdx, [0x14008e008]
lea rcx, [rsp + 0x170]
call fcn.140007274
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.140011118
mov bl, al
lea rcx, [rsp + 0x170]
call fcn.1400022c0
test bl, bl
jne 0x14000c5ba
mov r14d, dword [0x14008de10]
lea rcx, [rsp + 0xa8]
call fcn.140001bc0
mov r8, qword [rsp + 0x98]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.14001896c
mov edx, 0x50
mov rcx, qword [rsp + 0x98]
call fcn.14004d088
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000c566
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c550
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c958
call fcn.14004d088
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x60]
call fcn.140011578
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000c5b2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14000c5b2
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140062ace.0]
mov edx, ebx
lock xadd dword [rdi + 0xc], edx
add edx, ebx
jne 0x14000c5b2
mov rdx, qword [rdi]
mov rcx, rdi
mov rax, qword [rdx + 8]
call qword [case.0x140062ace.0]
mov eax, r14d
jmp 0x14000c87f
cmp qword [0x14008df18], rsi
je 0x14000c6cf
lea rdx, [0x14008df08]
lea rcx, [rsp + 0x40]
call fcn.14001015c
test al, al
jne 0x14000c6cf
mov r14d, dword [0x14008de10]
lea rcx, [rsp + 0xa8]
call fcn.140001bc0
mov r8, qword [rsp + 0x98]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.14001896c
mov edx, 0x50
mov rcx, qword [rsp + 0x98]
call fcn.14004d088
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000c67b
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c958
call fcn.14004d088
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x60]
call fcn.140011578
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000c6c7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14000c6c7
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140062ace.0]
mov edx, ebx
lock xadd dword [rdi + 0xc], edx
add edx, ebx
jne 0x14000c6c7
mov rdx, qword [rdi]
mov rcx, rdi
mov rax, qword [rdx + 8]
call qword [case.0x140062ace.0]
mov eax, r14d
jmp 0x14000c87f
lea rcx, [rsp + 0xa8]
call fcn.140001bc0
mov r8, qword [rsp + 0x98]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.14001896c
mov edx, 0x50
mov rcx, qword [rsp + 0x98]
call fcn.14004d088
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000c763
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c74d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c958
call fcn.14004d088
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x60]
call fcn.140011578
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000c7af
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x14000c7af
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140062ace.0]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, ebx
jne 0x14000c7af
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140062ace.0]
cmp byte [0x14008de71], sil
je 0x14000c879
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rsi
mov ecx, 0x50
call fcn.14004d094
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov ecx, 0x70
call fcn.14004d094
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xe0]
call fcn.140011638
nop
cmp qword [0x14008dea0], rsi
je 0x14000c8ae
mov rcx, qword [0x14008dea8]
mov rax, qword [0x14008de90]
cmp rcx, 8
jb 0x14000c856
test rax, rax
je 0x14000c8ae
cmp rcx, 8
cmovae r14, rax
mov rdx, r14
lea rcx, [rsp + 0xc0]
call fcn.14002597c
nop
lea rcx, [rsp + 0xc0]
call fcn.14000ca4c
nop
mov eax, dword [0x14008de10]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14004d060
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
mov rdx, qword [0x14008de78]
mov rax, qword [0x14008de80]
sub rax, rdx
sar rax, 5
mov ecx, esi
cmp rcx, rax
jae 0x14000c86b
shl rcx, 5
lea rbx, [rcx + rdx]
cmp qword [rbx + 0x18], 8
jb 0x14000c8dc
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000c937
mov rdx, rbx
test al, 0x10
je 0x14000c906
lea rcx, [rsp + 0xc0]
call fcn.14002597c
jmp 0x14000c937
lea rcx, [rsp + 0x1d0]
call fcn.14000737c
nop
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xc0]
call fcn.140026158
nop
lea rcx, [rsp + 0x1d0]
call fcn.1400022c0
add esi, r13d
jmp 0x14000c8ae
call fcn.140014650
call fcn.140043068
int3