Function at 0x1400281e0
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 [0x140042020]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x140028736
cmp qword [rcx + 0x18], 8
jb 0x14002822f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x140028243
mov eax, 1
jmp 0x140028738
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.140001ad0
nop
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400282b6
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x14002829b
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 0x1400282cd
mov r8d, 1
lea rdx, [0x14002e908]
lea rcx, [rsp + 0x78]
call fcn.140001cd0
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.140027dc0
test eax, eax
jne 0x140028338
cmp qword [rsp + 0x40], 8
jb 0x140028307
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rsp + 0x90], 8
jb 0x140028331
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
xor eax, eax
jmp 0x140028738
cmp qword [rsp + 0x38], 0
jne 0x14002842f
mov r9d, 2
xor r8d, r8d
lea rdx, [0x140031900]
lea rcx, [rsp + 0x78]
call fcn.14000a2d0
test eax, eax
jne 0x14002842f
lea r9d, [rax + 1]
lea r8d, [rax + 3]
lea rdx, [0x14002e908]
lea rcx, [rsp + 0x78]
call fcn.14000a2d0
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140028770
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140028416
cmp qword [rsp + 0x40], 8
jb 0x1400283b4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rbx + 0x18], 8
jae 0x1400283e9
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 0x1400283f4
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 0x14002842f
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
xor r8d, r8d
lea rdx, [0x14002f6b4]
lea rcx, [rsp + 0x50]
call fcn.140001e30
nop
mov r12d, dword [rsp + 0x38]
mov esi, r13d
lea r8, [0x14002e908]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.14000b340
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 0x1400284a7
mov rax, qword [rax]
mov rcx, r11
cmp r10, r11
cmovb rcx, r10
test rcx, rcx
je 0x1400284dc
movzx r8d, word [rax]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x1400284cf
mov eax, 1
cmovb eax, r14d
jmp 0x1400284df
add rax, 2
add rdx, 2
dec rcx
jmp 0x1400284b1
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x1400284fb
cmp r10, r11
jae 0x1400284f0
mov ecx, r14d
jmp 0x1400284fb
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 0x14002851e
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
test bl, bl
je 0x1400286ce
lea eax, [r12 + 1]
movsxd r8, eax
mov r9d, 1
lea rdx, [0x14002e908]
lea rcx, [rsp + 0x78]
call fcn.14000a2d0
mov r12, rax
movsxd r8, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140028770
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x1400285df
cmp qword [rsp + 0x68], 8
jb 0x14002857d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
cmp qword [rbx + 0x18], 8
jae 0x1400285b2
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 0x1400285bd
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 0x1400285f8
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
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 0x140028460
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 0x14002867e
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
je 0x140028671
mov eax, 1
cmovb eax, r14d
jmp 0x140028681
add rcx, 2
add rdx, 2
dec rax
jmp 0x140028653
mov eax, r13d
movsxd rcx, eax
test eax, eax
jne 0x14002869d
cmp r11, r10
jae 0x140028692
mov ecx, r14d
jmp 0x14002869d
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 0x140028460
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 0x140028460
cmp qword [rsp + 0x68], 8
jb 0x1400286e1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
cmp qword [rsp + 0x40], 8
jb 0x140028708
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
cmp qword [rsp + 0x90], 8
jb 0x140028732
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov eax, esi
jmp 0x140028738
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140029670
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