Function at 0x140047b20
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rdi, rcx
xor r12d, r12d
mov dword [rbp + 0x168], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
lea ecx, [r12 + 0x20]
call fcn.14011ef84
mov rcx, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], reloc.WLDAP32.dll_Ordinal_26
mov qword [rbp - 0x78], Ordinal_32
movups xmm0, xmmword [str.C:_Windows_System32_ru_pt_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1401554d8]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x1401554e0]
mov word [rcx + 0x18], ax
mov byte [rcx + 0x1a], r12b
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov byte [rsp + 0x30], r12b
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14004c190
nop
lea rax, [rsp + 0x60]
mov qword [rbp + 0x178], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x60], 3
lea ecx, [rax + 0x20]
call fcn.14011ef84
mov rbx, rax
lea rax, [rbp + 0x168]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140007900
nop
mov qword [rsp + 0x68], rbx
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x140047c2e
mov byte [rsp + 0x30], 1
mov dl, 1
lea rcx, [rbp + 0x170]
call fcn.14004c190
mov rsi, qword [rbp + 0x170]
mov qword [rsp + 0x38], rsi
movzx eax, byte [rsp + 0x30]
jmp 0x140047c33
mov rsi, qword [rsp + 0x38]
cmp al, 1
jne 0x140048095
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r14d, 3
mov qword [rsp + 0x50], r14
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rdi
mov eax, dword [0x1401554e4]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1401554e6]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400514f0
mov r15, qword [rbp + 0xd0]
cmp byte [r15 + 0x19], 0
jne 0x140047cd3
lea rdx, [r15 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rdi
jbe 0x140047ca6
mov rdx, qword [rdx]
cmp rbx, 3
cmovb r14, rbx
mov r8, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140047da6
jns 0x140047db2
mov al, 0xff
test al, al
jns 0x140047d6f
movabs rax, 0x333333333333333
cmp qword [rsi + 8], rax
je 0x14004808f
mov rdi, qword [rsi]
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r12
mov ecx, 0x50
call fcn.14011ef84
mov rbx, rax
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov byte [rax + 0x40], 0
lea rcx, [rax + 0x48]
xor edx, edx
call fcn.14004c190
nop
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov word [rbx + 0x18], 0
movups xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x70], xmm0
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140023670
mov r15, rax
mov rdi, qword [rsp + 0x58]
cmp rdi, 0xf
jbe 0x140047dbe
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047db9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rbx, 3
ja 0x140047cc9
jae 0x140047d6f
mov al, 1
jmp 0x140047ccb
call fcn.14011efc8
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
movzx ecx, byte [r15 + 0x40]
movzx eax, byte [rsp + 0x60]
mov byte [r15 + 0x40], al
mov byte [rsp + 0x60], cl
mov rax, qword [r15 + 0x48]
mov rcx, qword [rsp + 0x68]
mov qword [r15 + 0x48], rcx
mov qword [rsp + 0x68], rax
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14004b280
lea rax, [0x140156938]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0x168], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
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 - 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rsi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
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 - 0x48], rax
mov byte [rbp + 0x34], 0
mov byte [rbp + 0x29], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x38], r12
mov rax, qword [0x1401bef38]
mov qword [rbp + 0x2c], rax
mov qword [rbp + 0x20], r12
lea rcx, [rbp - 0x48]
call fcn.14004b130
test rax, rax
jne 0x140047ec4
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140049c40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140047ee2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14004f5b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140047f2f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047f2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011efc8
cmp qword [rbp + 0x38], 0
je 0x140047faf
mov rax, qword [rbp - 0x30]
lea rcx, [rbp + 0x28]
cmp qword [rax], rcx
jne 0x140047f5d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
mov qword [rax], rcx
mov rax, qword [rbp - 0x10]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 8]
mov dword [rax], edx
lea rcx, [rbp - 0x48]
call fcn.14004af90
lea rbx, [rbp - 0x48]
test al, al
cmove rbx, r12
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, r12
test eax, eax
cmove rdi, rbx
mov byte [rbp + 0x34], 0
mov byte [rbp + 0x29], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x38], r12
mov rax, qword [0x1401bef38]
mov qword [rbp + 0x2c], rax
mov qword [rbp + 0x20], r12
test rdi, rdi
jne 0x140047ff1
jmp 0x140047fd4
mov byte [rbp + 0x34], 0
mov byte [rbp + 0x29], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x38], r12
mov rax, qword [0x1401bef38]
mov qword [rbp + 0x2c], rax
mov qword [rbp + 0x20], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], rsi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.140049bd0
lea rcx, [rbp - 0x40]
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 + 0x58]
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 + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004b280
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004807d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048078
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011efc8
add rsp, 0x220
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140011500
nop
lea rcx, [rsp + 0x30]
call fcn.14004eaf0
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1400040a0
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp - 0x70]
call fcn.140007d40
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0xe0]
call fcn.140046e50
lea rdx, [0x14016b6b8]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3