Function at 0x14000e400
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
movaps xmmword [rsp + 0x450], xmm6
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r12, r8
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp + 0xa0], r8
xor esi, esi
mov dword [rsp + 0x60], esi
mov rdx, r8
lea rcx, [rbp + 0x320]
call fcn.1400117a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
xor r8d, r8d
lea rdx, [0x1400e7f11]
lea rcx, [rbp + 0x120]
call fcn.140007890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
movdqa xmm1, xmmword [0x14011aec0]
movdqu xmmword [rbp + 0x1a8], xmm1
mov byte [rbp + 0x198], sil
movups xmmword [rbp + 0x178], xmm0
movdqu xmmword [rbp + 0x188], xmm1
mov byte [rbp + 0x178], sil
lea r8d, [rsi + 0x20]
lea rdx, str.C:genesis_cs2_externalconfigs_
lea rcx, [rbp + 0x198]
call fcn.140013660
mov rcx, qword [r12 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x20
jb 0x14000ed9a
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14000e506
mov rax, qword [r12]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
lea r9, str.C:genesis_cs2_externalconfigs_
lea rcx, [rbp + 0x100]
call fcn.14001b7a0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x178]
call fcn.140011600
lea rcx, [rbp + 0x100]
call fcn.1400075d0
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0x10
cmovae rcx, qword [rbp + 0x198]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r14, rsi
mov qword [rbp + 0xe0], rsi
mov byte [rbp + 0xc0], 0
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.140013450
nop
lea rdx, [rbp + 0x178]
cmp qword [rbp + 0x190], 0x10
cmovae rdx, qword [rbp + 0x178]
lea rcx, [rbp + 0xa8]
call fcn.14000c1a0
lea rcx, [rbp + 0xd0]
cmp rcx, rax
je 0x14000e5f1
mov rdi, qword [rax]
mov qword [rbp + 0xd0], rdi
mov rbx, qword [rax + 8]
mov qword [rbp + 0xd8], rbx
mov r14, qword [rax + 0x10]
mov qword [rbp + 0xe0], r14
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
jmp 0x14000e5ff
mov rbx, qword [rbp + 0xd8]
mov rdi, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14000e642
mov rdx, qword [rbp + 0xb8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e63d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e63d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d519c
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov r15, rsi
mov qword [rbp + 0xf8], rsi
sub rbx, rdi
je 0x14000e694
mov rdx, rbx
lea rcx, [rbp + 0xe8]
call fcn.14001b480
mov r8, rbx
mov rdx, rdi
mov rsi, qword [rbp + 0xe8]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea r13, [rbx + rsi]
mov qword [rbp + 0xf0], r13
mov r15, qword [rbp + 0xf8]
jmp 0x14000e6a2
mov r13, qword [rbp + 0xf0]
mov rsi, qword [rbp + 0xe8]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140000000]
lea rax, [rax + 0xe9e00]
mov qword [rbp + 0x1e0], rax
lea rax, [0x1400e9c60]
mov qword [rbp + 0x1f0], rax
lea rcx, [rbp + 0x278]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov ebx, 0x60
mov dword [rsp + 0x60], ebx
xor r8d, r8d
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x1e0]
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 [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
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_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x1f8], rax
xor eax, eax
mov qword [rbp + 0x260], rax
mov dword [rbp + 0x268], eax
mov r8, r13
mov rdx, rsi
lea rcx, [rbp + 0x1b8]
call fcn.1400168f0
nop
lea rdx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rdx, qword [rbp + 0x1b8]
mov r8, qword [rbp + 0x1c8]
lea rcx, [rbp + 0x1f0]
call fcn.14001d920
xor r13d, r13d
mov qword [rbp + 0x318], r13
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x228]
mov qword [rbp + 0xb0], rax
lea r8, [rbp + 0x2e0]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x50]
call fcn.140016f70
nop
lea r8, [rbp + 0xc0]
mov rcx, rax
call fcn.140012840
nop
lea rcx, [rbp - 8]
call fcn.140011cf0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000e81d
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea r8, [rbp + 0xc0]
mov qword [rbp + 0x140], r8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x148], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
movabs r10, 0x8000000000000000
mov qword [rbp + 0x158], r10
movzx edx, byte [r8]
cmp edx, 9
ja case.default.0x14000e870
movsxd rax, edx
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0xeda0]
add rcx, r9
jmp rcx
lea r9, [0x140000000]
cmp edx, 9
ja case.0x14000e889.3
mov ecx, dword [r9 + rdx*4 + 0xedc8]
add rcx, r9
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov qword [rbp + 0x148], rax
jmp 0x14000e8d0
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rbp + 0x150], rcx
jmp 0x14000e8d0
mov qword [rbp + 0x158], 1
jmp 0x14000e8d0
mov qword [rbp + 0x158], r13
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp + 0xc0]
mov qword [rsp + 0x40], r8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x58], r10
movzx edx, byte [r8]
cmp edx, 9
ja case.0x14000e91c.0
movsxd rax, edx
mov ecx, dword [r9 + rax*4 + 0xedf0]
add rcx, r9
jmp rcx
cmp edx, 9
ja case.0x14000e91c.0
mov ecx, dword [r9 + rdx*4 + 0xee18]
add rcx, r9
jmp rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
jmp 0x14000e944
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
jmp 0x14000e944
mov qword [rsp + 0x58], 1
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.140016a20
test al, al
je 0x14000ebca
lea rcx, [rbp + 0x140]
call fcn.140010c70
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140010fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 4
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.140007890
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.14001b2d0
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.140016af0
or ebx, 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 4
lea rdx, str.type
lea rcx, [rsp + 0x40]
call fcn.140007890
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.14001b2d0
lea rdx, [rbp + 0x2e0]
mov rcx, rax
call fcn.140016af0
or ebx, 4
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae rcx, qword [rbp + 0x100]
cmp qword [rbp + 0x110], 0x10
jne 0x14000ea48
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.info.my_username
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000ea98
lea rcx, [rbp + 0x2e0]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x100]
call fcn.1400075d0
nop
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call fcn.140012ff0
nop
lea rcx, [rbp + 0x140]
call fcn.140010bb0
lea r9, [0x140000000]
movabs r10, 0x8000000000000000
jmp 0x14000e8d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 5
lea rdx, str.value
lea rcx, [rsp + 0x40]
call fcn.140007890
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.14001b2d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movdqa xmm6, xmmword [0x14011aec0]
movdqu xmmword [rbp - 0x78], xmm6
mov byte [rsp + 0x78], 0
or ebx, 0x10
mov dword [rsp + 0x60], ebx
cmp byte [rax], 3
jne 0x14000ed53
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x78]
cmp rax, rdx
je 0x14000eb28
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000eb19
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.140013660
movdqu xmm6, xmmword [rbp - 0x78]
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x14000eb6c
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eb67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eb67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d519c
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm6
movdqa xmm0, xmmword [0x14011aec0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x2e0]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x100]
call fcn.1400075d0
nop
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call fcn.140012ff0
nop
lea rdx, [rbp + 0x320]
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.1400117a0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x120]
call fcn.1400117a0
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400075d0
nop
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
call fcn.14000fba0
lea rcx, [rbp + 0x200]
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 + 0x278]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rsi, rsi
je 0x14000ec92
sub r15, rsi
mov rax, rsi
cmp r15, 0x1000
jb 0x14000ec86
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ec86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, rsi
call fcn.1400d519c
nop
movzx edx, byte [rbp + 0xc0]
lea rcx, [rbp + 0xc8]
call fcn.140012ff0
nop
test rdi, rdi
je 0x14000ece2
sub r14, rdi
mov rax, rdi
cmp r14, 0x1000
jb 0x14000ecd6
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ecd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rdi
call fcn.1400d519c
nop
lea rcx, [rbp + 0x178]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x198]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x120]
call fcn.1400075d0
nop
lea rcx, [rbp + 0x320]
call fcn.1400075d0
nop
mov rcx, r12
call fcn.1400075d0
mov rax, rbx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400d4e20
mov rbx, qword [rsp + 0x4a0]
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.1400135d0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x40]
call fcn.140017170
nop
mov r8, rax
lea rcx, [rbp + 0x140]
call fcn.140024a50
lea rdx, [0x14012bb08]
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007130
int3