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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r13, r9
mov qword [rbp - 0x11], r9
mov qword [rbp - 0x29], r8
mov rsi, rdx
mov qword [rbp - 0x19], rdx
mov rbx, rcx
mov qword [rbp - 9], rcx
xor r14d, r14d
mov dword [rbp - 0x49], r14d
cmp qword [rcx + 0x168], r14
je 0x14007b899
mov rcx, qword [rcx + 0x1f8]
cmp dword [rcx - 0x10], r14d
je 0x14007b899
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14007b899
mov qword [rbp + 7], r14
mov rcx, qword [rbx + 0x1f8]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 7], rax
lea r8d, [r14 + 1]
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 7]
call fcn.14001da50
nop
mov rcx, qword [rax]
movzx ebx, word [rcx]
sub ebx, 0x5c
jne 0x14007b4c6
movzx ebx, word [rcx + 2]
movzx eax, r14w
sub ebx, eax
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b4f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test ebx, ebx
je 0x14007b514
lea rdx, [0x1402624f4]
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007b500
lea rcx, [rbp + 7]
call fcn.14001dda0
test rsi, rsi
jne 0x14007b51e
mov r8d, r14d
jmp 0x14007b52c
mov r8, rdi
inc r8
cmp word [rsi + r8*2], 0
jne 0x14007b521
mov rdx, rsi
mov rcx, r13
call fcn.140018f70
nop
mov qword [rbp - 0x41], r14
mov rdi, qword [rbp + 7]
lea rax, [rdi - 0x18]
mov qword [rbp - 1], rax
mov rcx, qword [rdi - 0x18]
test rcx, rcx
je 0x14007b566
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x14007b58a
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x14007b8c6
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x41], rbx
mov r15d, 2
mov dword [rbp - 0x49], r15d
mov r13, qword [r13]
movsxd r12, dword [r13 - 0x10]
movsxd r14, dword [rdi - 0x10]
lea esi, [r12 + r14]
test esi, esi
js 0x14007b8bb
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, esi
or eax, ecx
jge 0x14007b5e1
mov edx, esi
lea rcx, [rbp - 0x41]
call fcn.140018ec0
mov rbx, qword [rbp - 0x41]
add r14, r14
je 0x14007b60b
test rbx, rbx
jne 0x14007b5fd
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x14007b60b
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.1401f61a0
mov r8, r12
add r8, r8
lea rcx, [r14 + rbx]
je 0x14007b642
test rcx, rcx
je 0x14007b632
test r13, r13
je 0x14007b62b
mov rdx, r13
call fcn.1401f61a0
jmp 0x14007b642
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
cmp esi, dword [rbx - 0xc]
jg 0x14007b8bb
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor r12d, r12d
mov word [rbx + rax*2], r12w
lea rdx, [rbp - 0x41]
mov r14, qword [rbp - 0x29]
mov rcx, r14
call fcn.140017ba0
mov eax, r15d
and eax, 0xfffffffd
mov dword [rbp - 0x49], eax
lea rdx, [rbx - 0x18]
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b699
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [r14]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14007b845
nop word [rax + rax]
mov r9d, r15d
mov r8, qword [rbp - 0x19]
lea rdx, str._s___d_
mov rsi, qword [rbp - 0x11]
mov rcx, rsi
call fcn.14001c3d0
nop
mov qword [rbp - 0x39], r12
mov rcx, qword [rdi - 0x18]
test rcx, rcx
je 0x14007b6ed
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x14007b711
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x14007b8dc
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x39], rbx
mov r12d, dword [rbp - 0x49]
or r12d, 1
mov dword [rbp - 0x49], r12d
mov r13, qword [rsi]
mov ecx, dword [r13 - 0x10]
mov dword [rbp - 0x31], ecx
movsxd r14, dword [rdi - 0x10]
lea esi, [rcx + r14]
test esi, esi
js 0x14007b8d1
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, esi
or eax, ecx
jge 0x14007b76c
mov edx, esi
lea rcx, [rbp - 0x39]
call fcn.140018ec0
mov rbx, qword [rbp - 0x39]
add r14, r14
je 0x14007b797
test rbx, rbx
jne 0x14007b788
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x14007b797
mov r8, r14
mov rdx, qword [rbp + 7]
mov rcx, rbx
call fcn.1401f61a0
movsxd r8, dword [rbp - 0x31]
add r8, r8
lea rcx, [r14 + rbx]
je 0x14007b7cf
test rcx, rcx
je 0x14007b7bf
test r13, r13
je 0x14007b7b8
mov rdx, r13
call fcn.1401f61a0
jmp 0x14007b7cf
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
cmp esi, dword [rbx - 0xc]
jg 0x14007b8d1
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rdx, [rbp - 0x39]
mov r14, qword [rbp - 0x29]
mov rcx, r14
call fcn.140017ba0
and r12d, 0xfffffffe
mov dword [rbp - 0x49], r12d
lea rdx, [rbx - 0x18]
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b823
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007b845
inc r15d
cmp r15d, 0x2710
jg 0x14007b86d
xor r12d, r12d
jmp 0x14007b6b0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [rbp - 9]
mov qword [rcx + 0x220], rax
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, qword [rcx + 0x1f0]
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14007b871
xor bl, bl
jmp 0x14007b873
mov bl, 1
mov rax, qword [rbp - 1]
lock xadd dword [rax + 0x10], esi
sub esi, 1
jg 0x14007b894
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rdx, rax
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
movzx eax, bl
jmp 0x14007b89b
xor al, al
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80070057
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3