Function at 0x14006db70
Capabilities:
Create directory

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push r12
sub rsp, 0x88
mov r12d, r8d
mov rbp, rcx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rax + rcx], 0
jne 0x14006db90
cmp rax, 1
jb 0x14006de29
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r13
lea r13, [rax + rcx]
mov qword [rsp + 0x68], r14
mov eax, 1
mov qword [rsp + 0x60], r15
mov rsi, r13
mov qword [rsp + 0xb8], r13
cmp r13, rbp
jbe 0x14006dbfc
cmp byte [rsi - 1], 0x58
lea rcx, [rsi - 1]
jne 0x14006dbfc
cmp eax, 0x2108421
jae 0x14006dbf4
imul eax, eax, 0x3e
mov rsi, rcx
cmp rcx, rbp
ja 0x14006dbe0
lea r15d, [rax + rax]
mov rax, r13
sub rax, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rbx, rax
cmp rsi, r13
mov rdi, rsi
cmova rbx, rdx
test rbx, rbx
je 0x14006dce5
mov r14, rsi
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
neg r14
call fcn.14008ec60
mov ecx, eax
mov rax, qword [0x1401102e8]
cmp rax, 4
jbe 0x14006dc62
cmp dword [0x1401106f0], 0
je 0x14006dc62
cmp dword [0x14010fe28], ecx
jne 0x14006dc62
sub rax, 4
mov qword [0x1401102e8], rax
jmp 0x14006dc6d
mov dword [0x14010fe28], ecx
call fcn.14006ea80
mov rax, qword [0x1401106f8]
cmp rax, 4
jae 0x14006dc8a
xor edx, edx
xor ecx, ecx
call fcn.14006eba0
mov rax, qword [0x1401106f8]
xor edx, edx
lea rcx, [0x1401106f0]
sub rcx, rax
sub rax, 4
mov qword [0x1401106f8], rax
mov r8d, dword [rcx]
mov dword [rcx], edx
cmp r8d, 4
jb 0x14006dc30
mov eax, 0x8421085
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub r8d, eax
movzx eax, byte [r8 + r13]
mov byte [rdi], al
inc rdi
lea rax, [r14 + rdi]
cmp rax, rbx
jne 0x14006dc30
mov r13, qword [rsp + 0xb8]
mov ecx, r12d
test r12d, r12d
je 0x14006ddde
sub ecx, 1
je 0x14006dd89
cmp ecx, 1
jne 0x14006ddf5
mov rcx, rbp
call fcn.14002ae70
mov rdi, rax
test rax, rax
je 0x14006dd79
mov rcx, rax
call fcn.140089114
test eax, eax
jns 0x14006dd29
mov rcx, rdi
call fcn.14007a8b4
jmp 0x14006dd79
lea rdx, [rsp + 0xa8]
xor ecx, ecx
call fcn.14008a790
test eax, eax
jne 0x14006dd50
mov ecx, dword [rsp + 0xa8]
lea rdx, [rsp + 0xa8]
call fcn.14008a790
mov edx, dword [rsp + 0xa8]
mov rcx, rdi
not edx
and edx, 0x180
call fcn.14008a7f8
mov rcx, rdi
mov ebx, eax
call fcn.14007a8b4
test ebx, ebx
je 0x14006de05
call fcn.140084fc0
cmp dword [rax], 0x11
jne 0x14006de14
jmp 0x14006ddf5
mov edx, 0x502
mov r8d, 0x180
mov rcx, rbp
call fcn.14002eab0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14006ddad
call fcn.140084fc0
cmp dword [rax], 0x11
je 0x14006ddf5
mov eax, ebx
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x60]
add rsp, 0x88
pop r12
pop rbp
ret
mov r8d, 1
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.140035930
test eax, eax
jne 0x14006de19
add r15d, 0xffffffff
je 0x14006de09
mov rax, qword [rsp + 0x20]
jmp 0x14006dc0b
xor eax, eax
jmp 0x14006ddaf
call fcn.140084fc0
mov dword [rax], shutdown
or eax, 0xffffffff
jmp 0x14006ddaf
call fcn.140084fc0
mov ecx, dword [rax]
sub ecx, 2
neg ecx
sbb eax, eax
jmp 0x14006ddaf
call fcn.140084fc0
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
add rsp, 0x88
pop r12
pop rbp
ret