Function at 0x1400a2e10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
cmp word [rcx], 0
je 0x1400a3207
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400a0460
nop
movsx rsi, byte [rsp + 0x47]
movzx eax, sil
shr al, 7
mov rdx, qword [rsp + 0x38]
test al, 1
je 0x1400a2e7b
mov rcx, rdx
jmp 0x1400a2e83
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rsi
mov r15, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a2ed0
movzx eax, sil
shr al, 7
test al, 1
je 0x1400a2e9e
lea rcx, [r15 + rdx*2]
jmp 0x1400a2eac
mov rax, rsi
add rax, rax
lea rcx, [rsp + 0x46]
sub rcx, rax
movzx eax, word [rcx - 2]
cmp ax, 0x5c
je 0x1400a2ec0
cmp ax, 0x2f
je 0x1400a2ec0
xor eax, eax
jmp 0x1400a2ec5
mov eax, 1
test al, al
je 0x1400a2ed0
mov eax, 1
jmp 0x1400a2ed2
xor eax, eax
test al, al
jne 0x1400a2ef8
mov edx, 1
lea r8d, [rdx + 0x5b]
lea rcx, [rsp + 0x30]
call fcn.1400aa760
movzx esi, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov byte [rsp + 0x20], 1
movzx eax, sil
shr al, 7
test al, 1
je 0x1400a2f0e
lea rdx, [r15 + rdx*2]
jmp 0x1400a2f1d
movsx rax, sil
add rax, rax
lea rdx, [rsp + 0x46]
sub rdx, rax
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
mov r8d, 1
call fcn.1400a5460
mov r14, rax
xor r12d, r12d
movabs rdi, 0x200000000801
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
mov rax, r14
sub rax, rcx
sar rax, 1
inc eax
cmp eax, 0x100
jae 0x1400a3131
shr sil, 7
lea rdx, [rsp + 0x30]
test sil, sil
cmovne rdx, r15
mov r8d, eax
lea rcx, [rbp + 0x190]
call fcn.1400b4890
movzx eax, word [rbp + 0x190]
test ax, ax
je 0x1400a2fd1
lea r8, [rbp + 0x160]
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1400a2fca
mov eax, dword [rbp + 0x160]
cmp eax, 0xffffffff
je 0x1400a2fca
test al, 0x10
jne 0x1400a3056
movzx eax, word [rbp + 0x190]
lea rbx, [rbp + 0x190]
test ax, ax
je 0x1400a3127
lea rcx, [rbp + 0x190]
call fcn.1400b4980
mov r8, rax
movzx eax, word [rbp + rax*2 + 0x18e]
add eax, 0xffffffd1
cmp eax, 0x2d
ja 0x1400a300f
cdqe
bt rdi, rax
jae 0x1400a300f
mov eax, 1
jmp 0x1400a3011
xor eax, eax
test al, al
je 0x1400a302f
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.1400b4890
lea rbx, [rbp + 0x3a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400a304f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400a3127
test r12, r12
cmove r12, r14
movsx rsi, byte [rsp + 0x47]
movzx eax, sil
shr al, 7
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
test al, 1
je 0x1400a3077
lea rbx, [r15 + r13*2]
jmp 0x1400a3085
mov rax, rsi
add rax, rax
lea rbx, [rsp + 0x46]
sub rbx, rax
cmp rbx, qword [0x14068dbe0]
jne 0x1400a30aa
mov rbx, r14
cmp word [r14], 0
je 0x1400a30aa
nop dword [rax + rax]
add rbx, 2
cmp word [rbx], 0
jne 0x1400a30a0
mov edi, 2
mov rcx, r14
cmp r14, rbx
jae 0x1400a30f7
test edi, edi
jle 0x1400a30cf
mov rdx, rbx
call fcn.1400a4840
mov rcx, rax
dec edi
cmp rax, rbx
jb 0x1400a30b7
test edi, edi
jne 0x1400a30f7
cmp rcx, r14
jbe 0x1400a30f7
movzx eax, word [rcx - 2]
cmp ax, 0x5c
je 0x1400a30ea
cmp ax, 0x2f
je 0x1400a30ea
xor eax, eax
jmp 0x1400a30ef
mov eax, 1
test al, al
je 0x1400a30f7
sub rcx, 2
mov r14, rcx
movzx eax, sil
shr al, 7
test al, 1
je 0x1400a310b
lea rdx, [r15 + r13*2]
jmp 0x1400a3119
mov rax, rsi
add rax, rax
lea rdx, [rsp + 0x46]
sub rdx, rax
cmp rcx, rdx
je 0x1400a31a9
jmp 0x1400a2f40
movzx esi, byte [rsp + 0x47]
mov r15, qword [rsp + 0x30]
mov byte [rsp + 0x20], 0
test r12, r12
je 0x1400a31a9
movzx eax, sil
shr al, 7
lea rcx, [rsp + 0x30]
test al, al
cmovne rcx, r15
sub r12, rcx
sar r12, 1
lea r8, [r12 + 1]
shr sil, 7
lea rdx, [rsp + 0x30]
test sil, sil
cmovne rdx, r15
lea rcx, [rbp + 0x190]
call fcn.1400b4890
mov r8d, 0x104
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.1400b4890
lea rcx, [rbp + 0x3a0]
call fcn.1400b4980
mov rdx, rax
lea rcx, [rbp + 0x3a0]
call fcn.1400a8380
nop
movzx ecx, byte [rsp + 0x47]
movzx eax, cl
shr al, 7
test al, 1
je 0x1400a3200
mov r8, qword [rsp + 0x40]
movabs rax, 0x7fffffffffffffff
and r8, rax
inc r8
shr cl, 7
test cl, 1
je 0x1400a31e6
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x1400a31eb
movzx eax, byte [rsp + 0x20]
jmp 0x1400a3209
lea rdx, [rsp + 0x30]
cmp rdx, qword [rsp + 0x58]
je 0x1400a3200
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
movzx eax, byte [rsp + 0x20]
jmp 0x1400a3209
xor al, al
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1402f2210
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret