Function at 0x140046630
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
cmp qword [rcx + 0x10], 0
je 0x1400468d3
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14002e1f0
nop
mov byte [rsp + 0x20], 0
xor edi, edi
cmp qword [rsp + 0x58], rdi
je 0x140046707
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400262f0
test al, al
je 0x140046707
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400466d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400466d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400468cd
call fcn.1400ab1c4
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14002e400
nop
mov rdx, rbx
mov rcx, rax
call fcn.140046630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140046765
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046948
call fcn.1400ab1c4
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14002d4d0
nop
cmp qword [rax + 0x18], 8
jb 0x140046792
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400467e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400467e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004694e
call fcn.1400ab1c4
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
test bl, bl
jne 0x140046846
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400466d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400466d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400468cd
jmp 0x1400466d0
lea rdx, str.makeDir
lea rcx, [rsp + 0x28]
call fcn.140005380
nop
lea rcx, [rbp - 0x58]
call fcn.140005740
nop
mov r9d, 0x2c
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp]
call fcn.1400057f0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea r8, [rsp + 0x48]
lea rdx, str.CreateDirectory__s_
lea rcx, [rbp - 0x78]
call fcn.140004e10
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400033e0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
nop
call fcn.1400b1d8c
int3
lea rdx, str.VDirectory::createDirectory
lea rcx, [rsp + 0x28]
call fcn.140005380
nop
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
mov r9d, 0x64
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.140005740
nop
lea r8, str.Unable_to_create_directory_with_wrong_name
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400034a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400057c0
lea rdx, [0x1405c2470]
lea rcx, [rbp - 0x38]
call fcn.1400ac6bc
nop
call fcn.1400b1d8c
int3
call fcn.1400b1d8c
int3