Function at 0x1400061a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140112028]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 0x90], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xor edx, edx
lea rcx, str.C:cs2_internal
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x10
jb 0x1400068fd
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000621e
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x10
lea r9, str.C:cs2_internal_
lea rcx, [rsp + 0x48]
call fcn.140007dc0
mov ebx, 1
lea r8d, [rbx + 3]
lea rdx, str..cfg
lea rcx, [rsp + 0x48]
call fcn.1400077d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 2
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400062d8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfd9c
movdqa xmm0, xmmword [0x1400ff540]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400f44d8]
mov qword [rsp + 0x70], rax
lea rax, [0x1400f4428]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 4
mov dword [rsp + 0x40], ebx
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
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 - 0x78], rax
mov byte [rbp + 4], 0
mov byte [rbp - 7], 0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 8], r15
mov rax, qword [0x14020dab8]
mov qword [rbp - 4], rax
mov qword [rbp - 0x10], r15
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
mov r8d, 3
lea rcx, [rbp - 0x78]
call fcn.140007850
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
je 0x1400063e4
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400063f2
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 8], 0
jne 0x140006502
lea rcx, [rbp - 0x78]
call fcn.140007710
test rax, rax
jne 0x14000642a
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.1400074d0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1400064aa
inc rdx
mov rcx, qword [rbp + 0xb8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400064a5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006861
call fcn.1400cfd9c
movdqa xmm0, xmmword [0x1400ff540]
mov byte [rbp + 0xb8], 0
movdqu xmmword [rbp + 0xc8], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400064fb
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1400064f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400068f6
mov rcx, r8
call fcn.1400cfd9c
xor al, al
jmp 0x1400068bc
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r15
mov edi, 0xf
mov qword [rbp + 0xb0], rdi
mov byte [rbp + 0x98], 0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14000677b
nop word [rax + rax]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x70]
call fcn.140007ee0
cmp qword [rbp + 0xa8], 0x7940
ja 0x140006708
mov r11d, r15d
mov rdi, qword [rbp + 0xb0]
cmp rdi, 0x10
setae r9b
mov r10, r14
mov rdx, r15
mov rbx, qword [rbp + 0x98]
nop
lea rax, [rbp + 0x98]
cmp rdi, 0x10
cmovae rax, rbx
movzx ecx, byte [r10]
cmp byte [rdx + rax], 0x31
jne 0x1400065cf
bts ecx, 0
jmp 0x1400065d3
btr ecx, 0
movzx r8d, cl
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 1], 0x31
jne 0x1400065f3
bts r8d, 1
jmp 0x1400065f8
btr r8d, 1
movzx ecx, r8b
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 2], 0x31
jne 0x140006617
bts ecx, 2
jmp 0x14000661b
btr ecx, 2
movzx r8d, cl
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 3], 0x31
jne 0x14000663b
bts r8d, 3
jmp 0x140006640
btr r8d, 3
movzx ecx, r8b
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 4], 0x31
jne 0x14000665f
bts ecx, 4
jmp 0x140006663
btr ecx, 4
movzx r8d, cl
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 5], 0x31
jne 0x140006683
bts r8d, 5
jmp 0x140006688
btr r8d, 5
movzx ecx, r8b
lea rax, [rbp + 0x98]
test r9b, r9b
cmovne rax, rbx
cmp byte [rdx + rax + 6], 0x31
jne 0x1400066a7
bts ecx, 6
jmp 0x1400066ab
btr ecx, 6
movzx eax, cl
lea rcx, [rbp + 0x98]
test r9b, r9b
cmovne rcx, rbx
cmp byte [rdx + rcx + 7], 0x31
jne 0x1400066c9
bts eax, 7
jmp 0x1400066cd
btr eax, 7
mov byte [r10], al
inc r11d
add rdx, 8
inc r10
cmp r11d, 0xf28
jb 0x1400065b0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140006550
jmp 0x140006782
lea rcx, [rbp - 0x78]
call fcn.140007710
test rax, rax
jne 0x140006735
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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 rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14000642a
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400067da
call fcn.1400cfd9c
jmp 0x14000642a
mov rbx, qword [rbp + 0x98]
lea rcx, [rbp - 0x78]
call fcn.140007710
test rax, rax
jne 0x1400067af
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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
cmp rdi, 0x10
jb 0x1400067ea
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400067e1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400cfd9c
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.1400074d0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x14000686d
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006868
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfd9c
movdqa xmm0, xmmword [0x1400ff540]
movdqu xmmword [rbp + 0xc8], xmm0
mov byte [rbp + 0xb8], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400068ba
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400068b5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400068f6
mov rcx, r8
call fcn.1400cfd9c
mov al, 1
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r15
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.1400cfa20
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140003950
nop
int3