Function at 0x140006cd0
Capabilities:
Create directory
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400a7080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
mov qword [rbp - 0x20], rcx
xor edi, edi
mov dword [rbp - 0x28], edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x30], 1
mov byte [rbp - 0x2f], reloc.WS2_32.dll_select
mov byte [rbp - 0x2e], Ordinal_33
mov byte [rbp - 0x2d], 1
mov byte [rbp - 0x2c], 9
mov byte [rbp - 0x2b], reloc.WLDAP32.dll_Ordinal_30
mov byte [rbp - 0x2a], 9
mov byte [rbp - 0x29], 0x65
movzx eax, byte [rbp - 0x30]
mov r9d, edi
movabs r11, 0x6314cadaf12f3a63
mov r10, r11
lea rax, [rbp - 0x30]
sub r10, rax
mov r14d, reloc.WS2_32.dll_ntohs
nop
lea r8, [rbp - 0x30]
add r8, r9
mov rcx, r9
and ecx, r14d
cmp rcx, r14
cmovae rcx, r14
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, r14b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rbp + r9 - 0x30], dl
inc r9
cmp r9, 8
jb 0x140006d50
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x140006f41
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140006f41
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, rax
je 0x140006f41
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], r14
mov byte [rsi], dil
mov dword [rbp - 0x28], 1
mov rdx, qword [rbp - 0x18]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140006df0
mov rcx, rsi
call fcn.1400110d0
mov byte [rbp - 0x30], 0xec
mov byte [rbp - 0x2f], 0x83
mov byte [rbp - 0x2e], 0xc1
mov byte [rbp - 0x2d], 0x89
mov byte [rbp - 0x2c], 0xe5
mov byte [rbp - 0x2b], 0xb7
movzx eax, byte [rbp - 0x30]
mov r9, rdi
movabs r15, 0xcc39df4d0fb220b7
mov r10, r15
lea rax, [rbp - 0x30]
sub r10, rax
nop word [rax + rax]
lea r8, [rbp - 0x30]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r14
shl cl, 2
mov rdx, r15
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rbp + r9 - 0x30], dl
inc r9
cmp r9, 6
jb 0x140006e40
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140006e82
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1400110d0
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006ea5
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [rbp - 0x30], 0xec
mov byte [rbp - 0x2f], Ordinal_211
mov byte [rbp - 0x2e], 0xcc
mov byte [rbp - 0x2d], 0xcc
mov byte [rbp - 0x2c], Ordinal_211
mov byte [rbp - 0x2b], 0xb7
movzx eax, byte [rbp - 0x30]
nop dword [rax]
mov rcx, rdi
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r14
shl cl, 2
mov rdx, r15
shr rdx, cl
and dl, 0xf
movzx eax, byte [rbp + rdi - 0x30]
xor dl, al
lea eax, [rdi - 0x49]
xor dl, al
mov byte [rbp + rdi - 0x30], dl
inc rdi
cmp rdi, 6
jb 0x140006ed0
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140006f07
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1400110d0
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006f2c
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140082b00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret