Function at 0x14000d6b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140157080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_ioctlsocket]
movdqu xmmword [rsp + 0x78], xmm1
movsd xmm0, qword [str.C:_BatLabs]
movsd qword [rsp + 0x68], xmm0
movzx eax, word [0x1401417b8]
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov byte [rsp + 0x58], 0
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140013380
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001e490
nop
lea rdx, str.username
lea rcx, [rsp + 0x58]
call fcn.140015950
nop
movzx r8d, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], r8b
mov rcx, qword [rax + 8]
mov r8, qword [rsp + 0x38]
mov qword [rax + 8], r8
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140011a50
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14001e490
nop
lea rdx, str.password
lea rcx, [rsp + 0x58]
call fcn.140015950
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140011a50
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140140f28]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x50], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x68], rax
mov byte [rbp + 0x14], 0
mov byte [rbp + 9], 0
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x18], 0
mov rax, qword [0x140242660]
mov qword [rbp + 0xc], rax
mov qword [rbp], 0
mov r8d, 2
lea rcx, [rbp - 0x68]
call fcn.140011900
test rax, rax
jne 0x14000d8e5
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140010000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000d903
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14001b300
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000d950
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d94b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d94b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8854
lea rcx, [rbp - 0x68]
call fcn.140011840
test rax, rax
jne 0x14000d97b
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.14000ff90
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140011a50
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000da07
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000da02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8854
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400c87f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret