Function at 0x140017070
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x28], r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x140125058]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x40]
xor r13d, r13d
xor edx, edx
call fcn.140026380
lea r12, [rsp + 0x98]
mov rcx, r12
call fcn.140013cc0
lea r14, [rsp + 0x78]
mov eax, 7
movq xmm6, rax
pslldq xmm6, 8
lea rsi, [rsp + 0x58]
movdqu xmmword [rsp + 0x88], xmm6
mov word [rsp + 0x78], 0
cmp r14, rdi
je 0x140017140
mov rbp, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
mov r9, rdi
jbe 0x140017106
mov r9, qword [rdi]
cmp rbp, 7
jbe 0x140017120
mov rcx, r14
mov rdx, rbp
call fcn.140003250
jmp 0x140017140
mov qword [rsp + 0x88], rbp
mov r8, rbp
add r8, rbp
mov rcx, r14
mov rdx, r9
call fcn.1400cc760
mov word [rsp + rbp*2 + 0x78], 0
call sub.KERNEL32.dll_GetCurrentProcessId
mov rcx, rsi
mov edx, eax
call fcn.140028570
mov r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 7
mov r9, rsi
jbe 0x140017164
mov r9, qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jae 0x1400171a0
mov qword [rsp + 0x20], r8
mov rcx, r14
mov rdx, r8
call fcn.1400130b0
jmp 0x1400171cf
lea rbp, [rax + r8]
mov qword [rsp + 0x88], rbp
mov rbx, r14
cmp rcx, 7
jbe 0x1400171ba
mov rbx, qword [rsp + 0x78]
lea rcx, [rbx + rax*2]
add r8, r8
mov rdx, r9
call fcn.1400cc760
mov word [rbx + rbp*2], 0
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140017217
mov rcx, qword [rsp + 0x58]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140017212
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001746a
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a8a80
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
cmp rax, rcx
jae 0x140017260
lea rdx, [rax + 1]
mov qword [rsp + 0x88], rdx
mov rdx, r14
cmp rcx, 7
jbe 0x140017246
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], 0x5f
mov word [rdx + rax*2 + 2], 0
jmp 0x140017272
mov edx, 1
mov rcx, r14
mov r9w, 0x5f
call fcn.140012790
xor ecx, ecx
mov edx, 0x7fff
call fcn.140028d40
mov rcx, rsi
mov edx, eax
call fcn.140028570
mov r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 7
mov r9, rsi
jbe 0x14001729d
mov r9, qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jae 0x1400172d0
mov qword [rsp + 0x20], r8
mov rcx, r14
mov rdx, r8
call fcn.1400130b0
jmp 0x1400172ff
lea rbp, [rax + r8]
mov qword [rsp + 0x88], rbp
mov rbx, r14
cmp rcx, 7
jbe 0x1400172ea
mov rbx, qword [rsp + 0x78]
lea rcx, [rbx + rax*2]
add r8, r8
mov rdx, r9
call fcn.1400cc760
mov word [rbx + rbp*2], 0
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140017347
mov rcx, qword [rsp + 0x58]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140017342
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001746a
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a8a80
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x90], 7
mov rcx, r14
jbe 0x140017362
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
mov rcx, r15
mov rdx, rsi
lea r8, [rsp + 0x30]
call fcn.1400154f0
mov rcx, r12
mov rdx, rsi
call fcn.140013f80
mov rcx, rsi
call fcn.140013ea0
cmp qword [rsp + 0xb0], 7
mov rcx, r12
jbe 0x1400173a5
mov rcx, qword [rsp + 0x98]
xor ebp, ebp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400173c5
mov rcx, qword [rsp + 0x28]
mov rdx, r12
call fcn.140013f10
mov ebp, 1
mov rax, qword [rsp + 0x90]
cmp rax, 8
jb 0x14001740c
mov rcx, qword [rsp + 0x78]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140017407
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001746a
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a8a80
test ebp, ebp
jne 0x140017422
add r13d, 1
cmp r13d, 0x31
jbe 0x1400170e0
xor esi, esi
jmp 0x140017425
mov sil, 1
lea rcx, [rsp + 0x98]
call fcn.140013ea0
lea rcx, [rsp + 0x40]
call fcn.140026480
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400a8dd0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d9340
ud2