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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1401150f0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov edx, 1
lea rcx, [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor ebx, ebx
test eax, eax
jne 0x14003146f
movdqa xmm0, xmmword [0x140108520]
movdqa xmm1, xmmword [0x140108600]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp + 0x3f], 0x49
movdqa xmm0, xmmword [0x140108be0]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x41], 1
movdqu xmmword [rbp + 0x1f], xmm1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx + 0x39]
xor byte [rbp + rbx + 0xf], al
inc rbx
cmp rbx, 0x31
jb 0x140031420
mov byte [rbp + 0x41], 0
lea rdx, [rbp + 0xf]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400a63a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400a67b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x1400315f9
movdqa xmm0, xmmword [0x140108bf0]
mov rcx, rbx
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0xb707108
mov dword [rbp + 0x23], 0x6b74750c
mov dword [rbp + 0x27], 0x7a1313
mov byte [rbp + 0x2b], 1
nop dword [rax + rax]
lea eax, [rcx + 0x39]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0x1b
jb 0x1400314a0
xor r9d, r9d
mov byte [rbp + 0x2b], bl
lea r8, [rbp - 0x39]
lea rcx, [rbp + 0xf]
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
test eax, eax
jne 0x14003152d
movdqa xmm0, xmmword [0x1401085d0]
movdqa xmm1, xmmword [0x1401085b0]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x3f], 0x1e04181b
movdqa xmm0, xmmword [0x140108580]
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0x43], 0x1004e57
movdqu xmmword [rbp + 0x1f], xmm1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx + 0x39]
xor byte [rbp + rbx + 0xf], al
inc rbx
cmp rbx, 0x36
jb 0x140031510
mov byte [rbp + 0x46], 0
lea rdx, [rbp + 0xf]
jmp 0x140031438
cmp qword [rdi + 0x18], 0x10
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x31], Ordinal_30
mov dword [rbp - 0x21], ebx
jb 0x140031549
mov rdi, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400315ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xb7
je 0x1400315ed
movdqa xmm0, xmmword [0x140108570]
movdqa xmm1, xmmword [0x140108530]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x2f], 0x197b7420
movdqu xmmword [rbp + 0x1f], xmm1
mov dword [rbp + 0x33], 0x12302c2f
mov dword [rbp + 0x37], 0x100425b
lea eax, [rbx + 0x39]
xor byte [rbp + rbx + 0xf], al
inc rbx
cmp rbx, 0x2a
jb 0x1400315a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp + 0xf]
mov byte [rbp + 0x3a], 0
call fcn.1400a63a0
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400a67b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x1400315f9
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400f3620
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret