Function at 0x140010db0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140021030]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x140011306
cmp qword [rcx + 0x18], 8
jb 0x140010dff
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x140010e13
mov eax, 1
jmp 0x140011308
mov qword [rsp + 0x90], 7
xor r13d, r13d
mov qword [rsp + 0x88], r13
mov word [rsp + 0x78], r13w
or r14, 0xffffffffffffffff
mov r9, r14
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140001b90
nop
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140010e86
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x140010e6b
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rax, qword [rsp + 0x78]
cmp word [rax + rcx*2], 0x5c
je 0x140010e9d
mov r8d, 1
lea rdx, [0x140017f14]
lea rcx, [rsp + 0x78]
call fcn.140002810
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.140010990
test eax, eax
jne 0x140010f08
cmp qword [rsp + 0x40], 8
jb 0x140010ed7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rsp + 0x90], 8
jb 0x140010f01
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
xor eax, eax
jmp 0x140011308
cmp qword [rsp + 0x38], 0
jne 0x140010fff
mov r9d, 2
xor r8d, r8d
lea rdx, [0x140018668]
lea rcx, [rsp + 0x78]
call fcn.140006e70
test eax, eax
jne 0x140010fff
lea r9d, [rax + 1]
lea r8d, [rax + 3]
lea rdx, [0x140017f14]
lea rcx, [rsp + 0x78]
call fcn.140006e70
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140011340
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140010fe6
cmp qword [rsp + 0x40], 8
jb 0x140010f84
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rbx + 0x18], 8
jae 0x140010fb9
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCR100.dll_memmove]
jmp 0x140010fc4
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rbx], r13
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
cmp qword [rsp + 0xb8], 8
jb 0x140010fff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
xor r8d, r8d
lea rdx, [0x1400172b0]
lea rcx, [rsp + 0x50]
call fcn.1400016d0
nop
mov r12d, dword [rsp + 0x38]
mov esi, r13d
lea r8, [0x140017f14]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.140007750
nop
mov r11, qword [rsp + 0x88]
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rdx, qword [rsp + 0x78]
mov r10, qword [rax + 0x10]
cmp r10, r10
cmp qword [rax + 0x18], 8
jb 0x140011077
mov rax, qword [rax]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x1400110ac
movzx r8d, word [rax]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x14001109f
mov eax, 1
cmovb eax, r14d
jmp 0x1400110af
add rax, 2
add rdx, 2
dec rcx
jmp 0x140011081
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x1400110cb
cmp r10, r11
jae 0x1400110c0
mov ecx, r14d
jmp 0x1400110cb
mov eax, r13d
cmp r10, r11
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete bl
cmp qword [rsp + 0xb8], 8
jb 0x1400110ee
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
test bl, bl
je 0x14001129e
lea eax, [r12 + 1]
movsxd r8, eax
mov r9d, 1
lea rdx, [0x140017f14]
lea rcx, [rsp + 0x78]
call fcn.140006e70
mov r12, rax
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140011340
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x1400111af
cmp qword [rsp + 0x68], 8
jb 0x14001114d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
cmp qword [rbx + 0x18], 8
jae 0x140011182
mov r8, qword [rbx + 0x10]
inc r8
add r8, r8
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR100.dll_memmove]
jmp 0x14001118d
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rbx], r13
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x68], rax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
cmp qword [rsp + 0xb8], 8
jb 0x1400111c8
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140011030
mov r10, qword [rsp + 0x38]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r11, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
cmp rdi, 8
cmovae rcx, rbx
mov rax, r10
cmp r11, r10
cmovb rax, r11
test rax, rax
je 0x14001124e
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x140011241
mov eax, 1
cmovb eax, r14d
jmp 0x140011251
add rcx, 2
add rdx, 2
dec rax
jmp 0x140011223
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x14001126d
cmp r11, r10
jae 0x140011262
mov ecx, r14d
jmp 0x14001126d
mov eax, r13d
cmp r11, r10
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x140011030
lea rcx, [rsp + 0x50]
cmp rdi, 8
cmovae rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test eax, eax
jne 0x140011030
cmp qword [rsp + 0x68], 8
jb 0x1400112b1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
cmp qword [rsp + 0x40], 8
jb 0x1400112d8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rsp + 0x90], 8
jb 0x140011302
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov eax, esi
jmp 0x140011308
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400121a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret