Function at 0x140002bf0
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 [0x140020030]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x140003146
cmp qword [rcx + 0x18], 8
jb 0x140002c3f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x140002c53
mov eax, 1
jmp 0x140003148
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.1400010b0
nop
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140002cc6
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x140002cab
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 0x140002cdd
mov r8d, 1
lea rdx, [0x140016d10]
lea rcx, [rsp + 0x78]
call fcn.140002320
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.1400027d0
test eax, eax
jne 0x140002d48
cmp qword [rsp + 0x40], 8
jb 0x140002d17
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 0x140002d41
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
xor eax, eax
jmp 0x140003148
cmp qword [rsp + 0x38], 0
jne 0x140002e3f
mov r9d, 2
xor r8d, r8d
lea rdx, [0x140016d14]
lea rcx, [rsp + 0x78]
call fcn.1400031f0
test eax, eax
jne 0x140002e3f
lea r9d, [rax + 1]
lea r8d, [rax + 3]
lea rdx, [0x140016d10]
lea rcx, [rsp + 0x78]
call fcn.1400031f0
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140003180
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140002e26
cmp qword [rsp + 0x40], 8
jb 0x140002dc4
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 0x140002df9
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 0x140002e04
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 0x140002e3f
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, [0x140016640]
lea rcx, [rsp + 0x50]
call fcn.140001520
nop
mov r12d, dword [rsp + 0x38]
mov esi, r13d
lea r8, [0x140016d10]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1400033b0
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 0x140002eb7
mov rax, qword [rax]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x140002eec
movzx r8d, word [rax]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x140002edf
mov eax, 1
cmovb eax, r14d
jmp 0x140002eef
add rax, 2
add rdx, 2
dec rcx
jmp 0x140002ec1
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x140002f0b
cmp r10, r11
jae 0x140002f00
mov ecx, r14d
jmp 0x140002f0b
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 0x140002f2e
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
test bl, bl
je 0x1400030de
lea eax, [r12 + 1]
movsxd r8, eax
mov r9d, 1
lea rdx, [0x140016d10]
lea rcx, [rsp + 0x78]
call fcn.1400031f0
mov r12, rax
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140003180
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140002fef
cmp qword [rsp + 0x68], 8
jb 0x140002f8d
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 0x140002fc2
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 0x140002fcd
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 0x140003008
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 0x140002e70
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 0x14000308e
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x140003081
mov eax, 1
cmovb eax, r14d
jmp 0x140003091
add rcx, 2
add rdx, 2
dec rax
jmp 0x140003063
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x1400030ad
cmp r11, r10
jae 0x1400030a2
mov ecx, r14d
jmp 0x1400030ad
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 0x140002e70
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 0x140002e70
cmp qword [rsp + 0x68], 8
jb 0x1400030f1
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 0x140003118
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 0x140003142
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov eax, esi
jmp 0x140003148
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140012160
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