Function at 0x1401060d4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov bl, dl
mov rdi, rcx
lea rdx, [rbp + 0x58]
call fcn.140104774
test bl, bl
je 0x140106367
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.1401159a4
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140117ca4
mov rdx, qword [rbp + 0x58]
mov esi, 2
or edi, 0xffffffff
mov rcx, qword [rax]
mov qword [rbp + 0x58], rcx
lea r12d, [rsi + 6]
mov qword [rax], rdx
mov rcx, qword [rbp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14010614d
cmp eax, edi
je 0x140106158
sub eax, 1
mov dword [rcx], eax
jne 0x140106158
mov rcx, qword [rbp + 0x50]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x140106171
cmp eax, edi
je 0x14010617c
sub eax, 1
mov dword [rcx], eax
jne 0x14010617c
mov rcx, qword [rbp - 0x10]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
lea rbx, [0x140193c98]
mov r15d, edi
mov rcx, rbx
call fcn.14016a910
mov dword [rbp - 0x10], eax
lea rdx, [rbp - 0x10]
mov qword [rbp - 8], rbx
lea rcx, [rbp + 0x58]
movaps xmm0, xmmword [rbp - 0x10]
mov r13d, 1
mov r8d, r13d
movdqa xmmword [rbp - 0x10], xmm0
call fcn.140141fa0
test al, al
mov rax, qword [rbp + 0x58]
je 0x14010621d
xor r14d, r14d
cmp dword [rax + 4], r14d
jle 0x14010623a
lea rcx, [rbp + 0x48]
call fcn.1401174a4
mov r8d, r14d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x58]
movzx ebx, word [rax]
call fcn.1400068e8
cmp word [rax], bx
jne 0x1401061f5
mov rax, qword [rbp + 0x58]
add r14d, r13d
cmp r14d, dword [rax + 4]
jl 0x1401061c5
jmp 0x14010623a
mov r15d, r14d
cmp r14d, edi
je 0x14010623a
lea rcx, [rbp + 0x48]
call fcn.1401174a4
mov r9d, r13d
lea rcx, [rbp + 0x58]
mov r8d, r14d
movzx edx, word [rax]
call fcn.14013c494
mov r15d, eax
jmp 0x14010623a
cmp dword [rax + 4], esi
jle 0x14010623a
mov r8d, r13d
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x58]
call fcn.1400068e8
cmp word [rax], 0x3a
cmove r15d, esi
lea rcx, [rbp + 0x50]
call fcn.1401174a4
lea r8d, [r15 + 1]
mov r9d, r13d
lea rcx, [rbp + 0x58]
movzx edx, word [rax]
call fcn.14013c494
mov ebx, eax
cmp eax, edi
jne 0x14010626c
mov rax, qword [rbp + 0x58]
mov ebx, dword [rax + 4]
cmp r15d, ebx
je 0x1401063ef
test ebx, ebx
je 0x14010632b
mov r8d, ebx
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x58]
call fcn.14013d230
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.14011e384
lea rcx, [rbp - 0x10]
call fcn.14014385c
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne r15b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x10]
mov r14d, eax
mov edx, dword [rcx]
test edx, edx
je 0x1401062cd
cmp edx, edi
je 0x1401062d8
sub edx, r13d
mov dword [rcx], edx
jne 0x1401062d8
mov rcx, qword [rbp - 0x10]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
test r15b, r15b
jne 0x140106307
cmp r14d, 0xb7
je 0x1401062ec
cmp r14d, 5
jne 0x14010633b
lea rdx, [rbp + 0x48]
mov byte [rbp + 0x48], 0
lea rcx, [rbp - 0x20]
call fcn.140107b18
test al, al
je 0x14010633b
cmp byte [rbp + 0x48], 0
je 0x14010633b
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140106320
cmp eax, edi
je 0x14010632b
sub eax, r13d
mov dword [rcx], eax
jne 0x14010632b
mov rcx, qword [rbp - 0x20]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
mov r15d, ebx
cmp ebx, edi
je 0x1401063ef
jmp 0x14010623a
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140106354
cmp eax, edi
je 0x14010635f
sub eax, r13d
mov dword [rcx], eax
jne 0x14010635f
mov rcx, qword [rbp - 0x20]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
xor r13b, r13b
jmp 0x1401063ef
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140104774
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14011e384
lea rcx, [rbp + 0x50]
call fcn.14014385c
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rbp + 0x50]
mov esi, 2
test eax, eax
setne bl
or edi, 0xffffffff
mov eax, dword [rcx]
lea r12d, [rsi + 6]
test eax, eax
je 0x1401063bd
cmp eax, edi
je 0x1401063c8
sub eax, 1
mov dword [rcx], eax
jne 0x1401063c8
mov rcx, qword [rbp + 0x50]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
mov rcx, qword [rbp - 0x10]
mov r13b, bl
mov eax, dword [rcx]
test eax, eax
je 0x1401063e4
cmp eax, edi
je 0x1401063ef
sub eax, 1
mov dword [rcx], eax
jne 0x1401063ef
mov rcx, qword [rbp - 0x10]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
mov rcx, qword [rbp + 0x58]
mov r9d, dword [rcx]
test r9d, r9d
je 0x140106409
cmp r9d, edi
je 0x140106418
sub r9d, 1
mov dword [rcx], r9d
jne 0x140106418
mov rcx, qword [rbp + 0x58]
mov r8, r12
mov rdx, rsi
call fcn.14010b388
mov rbx, qword [rsp + 0x80]
mov al, r13b
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret