Function at 0x140023a10
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x2d8]
sub rsp, 0x3c0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [0x140000000]
lea rax, [rcx + 0x131450]
mov qword [rsp + 0x30], rax
lea rax, [rcx + 0x131458]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 2
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x3c], 0x80
mov qword [rsp + 0x38], r14
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.14000a9c0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rax, vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x48], rax
lea ecx, [r14 + 0x10]
call fcn.140027a60
mov rdi, rax
test rax, rax
je 0x140023b4f
mov cl, 1
call fcn.140019ad4
mov qword [rdi + 8], rax
jmp 0x140023b52
mov rdi, r14
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x70], r14
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call fcn.1400c0ac0
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdi, [rbx + 0x10]
cmp qword [rdi], 0
je 0x140023c8d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140023bfc
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140023c0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140023c1b
mov rdx, qword [rbx]
mov r8, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.1400169a0
cmp qword [rbx + 0x18], 8
jb 0x140023c32
mov rbx, qword [rbx]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140023c79
dec rdx
mov rax, 0xffffffffffffffff
cmp rdx, rax
cmovb rax, rdx
lea rcx, [rbx + rax*2]
cmp word [rcx], 0x5c
je 0x140023c64
cmp rcx, rbx
je 0x140023c79
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140023c55
sub rcx, rbx
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x140023c79
cmp rcx, rdx
jae 0x140023e02
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.140016490
jmp 0x140023e02
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x78], r14w
lea rax, [rbp + 0xa0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140023cb0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x78]
call fcn.140007ac0
nop
lea rdx, [rbp + 0x78]
mov r10, qword [rbp + 0x78]
mov r11, qword [rbp + 0x90]
cmp r11, 8
cmovae rdx, r10
mov r9, qword [rbp + 0x88]
test r9, r9
je 0x140023d28
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x140023d20
nop dword [rax]
cmp r8, rdx
je 0x140023d28
sub r8, 2
cmp word [r8], 0x5c
jne 0x140023d10
sub r8, rdx
sar r8, 1
jmp 0x140023d2f
mov r8, 0xffffffffffffffff
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], r14w
inc r8
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp + 0x78]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 0x38]
call fcn.140007ac0
nop
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400169a0
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140023dbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fd2
call fcn.1400277b4
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x140023e02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fd8
call fcn.1400277b4
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], r14w
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023e30
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.140007ac0
nop
lea rdx, [rbp + 0x58]
mov r10, qword [rbp + 0x58]
mov r11, qword [rbp + 0x70]
cmp r11, 8
cmovae rdx, r10
mov r9, qword [rbp + 0x68]
test r9, r9
je 0x140023e9a
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdx + rax*2]
cmp word [r8], 0x2e
je 0x140023e92
cmp r8, rdx
je 0x140023e9a
sub r8, 2
cmp word [r8], 0x2e
jne 0x140023e82
sub r8, rdx
sar r8, 1
jmp 0x140023ea1
mov r8, 0xffffffffffffffff
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], r14w
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp + 0x58]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 0x38]
call fcn.140007ac0
nop
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400169a0
mov rcx, rax
lea rdx, str..txt
call fcn.140016280
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140023f3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fde
call fcn.1400277b4
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400161e0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140023f86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023f81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023fcc
call fcn.1400277b4
movdqa xmm0, xmmword [0x1401332b0]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], r14w
lea rcx, [rsp + 0x30]
call fcn.140008ef0
mov rax, rsi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140027790
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400c6d18
nop
call fcn.1400c6d18
nop
call fcn.1400c6d18
nop
call fcn.1400c6d18
int3