Function at 0x1d3b006a0
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb08
xor ebx, ebx
mov rax, rbx
lea rdi, [rsp + 0x70]
mov r12, rcx
mov ecx, 0x40
mov rsi, rdx
mov qword [rsp + 0x38], rdi
mov r14, rdi
lea rdx, [rsp + 0x280]
rep stosq qword [rdi], rax
mov ecx, 0x40
mov qword [rsp + 0xb60], r8
mov qword [rsp + 0xb68], r9
mov byte [rdi], 0
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rsi
mov byte [rdi], 0
call sub.msvcrt.dll_strlen
lea rdx, [rax + 1]
mov qword [rsp + 0x48], rax
mov r8, rax
cmp rdx, 0x200
ja 0x1d3b00c12
lea rax, [rsp + 0x6a0]
mov ecx, 0x8b
mov rdi, rax
mov qword [rsp + 0x68], rax
mov rax, rbx
rep stosq qword [rdi], rax
mov rdi, r14
cmp edx, 8
jb 0x1d3b00748
mov ecx, edx
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
xor eax, eax
test dl, 4
jne 0x1d3b00bf3
test dl, 2
jne 0x1d3b00bdc
test dl, 1
jne 0x1d3b00bd0
movzx eax, byte [rsp + r8 + 0x6f]
cmp al, 0x2f
je 0x1d3b0077e
cmp al, 0x5c
je 0x1d3b0077e
mov byte [rsp + r8 + 0x70], 0x5c
mov qword [rsp + 0x48], rdx
mov eax, 0x200
sub rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov eax, dword [r12 + 0x10]
test eax, eax
je 0x1d3b00aa7
mov qword [rsp + 0x60], rax
mov rbp, qword [sym.imp.msvcrt.dll__mkdir]
xor ebx, ebx
nop dword [rax + rax]
mov rax, qword [r12 + 0x68]
mov dword [rsp + 0x44], ebx
test rax, rax
je 0x1d3b00b18
cmp dword [r12 + 0x10], ebx
jbe 0x1d3b00b18
mov rdx, qword [rax + 0x20]
lea rdi, [rbx*4]
mov qword [rsp + 0x50], rdi
mov r8d, dword [rdx + rbx*4]
add r8, qword [rax]
je 0x1d3b00b18
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x68]
mov edx, ebx
mov rcx, r12
call fcn.1d3af6710
test eax, eax
je 0x1d3b00c1d
lea rsi, [rsp + 0x6f8]
mov rcx, rsi
call sub.msvcrt.dll_strlen
test rax, rax
je 0x1d3b00b90
movzx edx, byte [rsp + 0x6f8]
cmp dl, 0x5c
je 0x1d3b0083a
cmp dl, 0x2f
jne 0x1d3b00bc8
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx + 1]
add rdx, 1
cmp cl, 0x2f
je 0x1d3b00840
cmp cl, 0x5c
je 0x1d3b00840
lea r8, [rdx + rax]
xor r10d, r10d
xor ecx, ecx
jmp 0x1d3b00880
lea rdi, [r10 + 0xb00]
add rcx, 1
lea r11, [rsp + rdi]
mov byte [rcx + r11 - 0x409], al
add rdx, 1
cmp r8, rdx
je 0x1d3b008b8
movzx eax, byte [rdx]
lea r9, [rsi + r10]
cmp al, 0x2f
je 0x1d3b0088f
cmp al, 0x5c
jne 0x1d3b00860
test rcx, rcx
je 0x1d3b00877
cmp byte [r9], 0x2e
jne 0x1d3b009a0
cmp byte [r9 + 1], 0
jne 0x1d3b009a0
add rdx, 1
xor ecx, ecx
cmp r8, rdx
jne 0x1d3b00880
nop dword [rax]
test rcx, rcx
je 0x1d3b008d2
cmp byte [r9], 0x2e
jne 0x1d3b00ba0
cmp byte [r9 + 1], 0
jne 0x1d3b00ba0
mov byte [r9], 0
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
add rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_strncpy
movzx edx, byte [rsp + 0x70]
mov eax, edx
and eax, 0xffffffdf
sub eax, 0x41
cmp al, 0x19
ja 0x1d3b00909
cmp byte [rsp + 0x71], 0x3a
je 0x1d3b00ad0
mov ecx, 0x40
xor eax, eax
mov r14, qword [rsp + 0x38]
xor r8d, r8d
lea r13, [rsp + 0x490]
mov esi, 1
mov rdi, r13
rep stosq qword [rdi], rax
mov byte [rdi], 0
xor edi, edi
test dl, dl
je 0x1d3b009e0
movsxd r15, r8d
jmp 0x1d3b00964
add r14, 1
mov byte [r13 + r15], dl
cmp r15d, 0x1ff
movzx edx, byte [r14]
setne cl
test dl, dl
setne al
add r15, 1
test cl, al
je 0x1d3b009e0
cmp dl, 0x2f
je 0x1d3b0096e
cmp dl, 0x5c
jne 0x1d3b00940
mov eax, r15d
test r15d, r15d
jle 0x1d3b0097b
test sil, sil
jne 0x1d3b00985
cmp eax, 2
jle 0x1d3b00940
test dil, dil
je 0x1d3b00940
mov rcx, r13
call rbp
cmp eax, 0xffffffff
je 0x1d3b00ab0
movzx edx, byte [r14]
jmp 0x1d3b00940
cmp byte [r9], 0x2e
jne 0x1d3b009c0
cmp byte [r9 + 1], 0x2e
jne 0x1d3b009c0
cmp byte [r9 + 2], 0
je 0x1d3b008a9
nop dword [rax + rax]
add rcx, r10
lea r10, [rcx + 1]
mov byte [rsp + rcx + 0x6f8], al
xor ecx, ecx
lea r9, [rsi + r10]
jmp 0x1d3b00877
movzx eax, byte [rsp + 0x6b1]
and eax, 0xffffffef
cmp ax, 3
jne 0x1d3b009fb
test byte [rsp + 0x6df], 0x20
jne 0x1d3b00a75
mov rdx, qword [r12 + 0x68]
test rdx, rdx
je 0x1d3b00b80
mov eax, dword [rsp + 0x44]
cmp dword [r12 + 0x10], eax
jbe 0x1d3b00b80
mov rax, qword [rdx + 0x20]
mov rdi, qword [rsp + 0x50]
mov eax, dword [rax + rdi]
add rax, qword [rdx]
je 0x1d3b00b80
movzx edx, word [rax + 0x1c]
test dx, dx
je 0x1d3b00a3d
cmp byte [rax + rdx + 0x2d], 0x2f
je 0x1d3b00a5f
test byte [rax + 0x26], 0x10
jne 0x1d3b00a5f
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x44]
xor r9d, r9d
mov rcx, r12
call fcn.1d3b00510
test eax, eax
je 0x1d3b00c07
movzx edx, word [rsp + 0x6de]
lea eax, [rdx - 1]
cmp eax, 0xfffe
jbe 0x1d3b00b60
cmp qword [rsp + 0xb60], 0
je 0x1d3b00a98
mov rdx, qword [rsp + 0xb68]
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0xb60]
test eax, eax
js 0x1d3b00aa7
add rbx, 1
cmp qword [rsp + 0x60], rbx
jne 0x1d3b007b0
xor r13d, r13d
jmp 0x1d3b00b27
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 0x11
je 0x1d3b00993
mov r13d, 0xffffffe9
jmp 0x1d3b00b27
mov ecx, 0x40
xor eax, eax
xor esi, esi
mov r8d, 2
lea r13, [rsp + 0x490]
lea r14, [rsp + 0x72]
mov rdi, r13
rep stosq qword [rdi], rax
mov byte [rsp + 0x490], dl
movzx edx, byte [rsp + 0x72]
mov byte [rsp + 0x491], 0x3a
mov byte [rdi], 0
mov edi, 1
jmp 0x1d3b00930
mov dword [r12 + 0x1c], 0x18
mov r13d, 0xfffffffd
mov edx, 1
mov rcx, r12
call fcn.1d3af1320
test eax, eax
mov eax, 0xffffffe7
cmove r13d, eax
mov eax, r13d
add rsp, 0xb08
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll__chmod
test eax, eax
jns 0x1d3b00a75
mov r13d, 0xffffffec
jmp 0x1d3b00b27
mov dword [r12 + 0x1c], 0x18
jmp 0x1d3b00a43
mov r13d, 0xfffffffe
jmp 0x1d3b00b27
cmp byte [r9], 0x2e
jne 0x1d3b008d6
cmp byte [r9 + 1], 0x2e
jne 0x1d3b008d6
cmp byte [r9 + 2], 0
je 0x1d3b008d2
jmp 0x1d3b008d6
mov rdx, rsi
jmp 0x1d3b00852
movzx ecx, byte [rsi + rax]
mov byte [rdi + rax], cl
jmp 0x1d3b00765
movzx ecx, word [rsi + rax]
mov word [rdi + rax], cx
add rax, 2
test dl, 1
je 0x1d3b00765
jmp 0x1d3b00bd0
mov eax, dword [rsi]
mov dword [rdi], eax
mov eax, 4
test dl, 2
je 0x1d3b0075c
jmp 0x1d3b00bdc
mov r13d, 0xffffffed
jmp 0x1d3b00b27
mov r13d, 0xfffffffe
jmp 0x1d3b00b3f
mov r13d, 0xfffffffd
jmp 0x1d3b00b27