Function at 0x140003550
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea r8d, [rax + 0xb]
lea rdx, str.steamTokens
lea rcx, [rsp + 0x60]
call fcn.140007df0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x1400035f1
mov eax, 0x4000
test word [rbp - 0x7a], ax
jne 0x140003608
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov r15, qword [rsp + 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x140003a8d
lea r13, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r13, qword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r12, [r15 + 1]
mov edi, 0xf
lea rsi, [rbp - 0x80]
cmp r12, rdi
jbe 0x1400036d2
mov rdi, r12
or rdi, 0xf
cmp rdi, rcx
jbe 0x140003695
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140009c70
test rax, rax
je 0x140003804
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400036ce
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400036bd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003a93
jmp 0x140003676
test rcx, rcx
je 0x1400036cc
call fcn.140009c70
mov rsi, rax
jmp 0x1400036ce
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], rdi
mov r8, r15
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0x2f
mov byte [rsi + r12], 0
mov edi, 1
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140003704
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140006dc0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x28], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm7
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
or edi, 2
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x140003791
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003776
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140003771
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400037c5
mov rcx, r8
call fcn.140009cb4
mov qword [rbx + 0x18], 0xf
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov edx, 0xf
mov byte [rsp + 0x28], sil
jmp 0x140003796
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400037d2
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009cb4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140003810
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000380b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000380b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009cb4
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000c9e8]
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
or edi, 4
mov dword [rsp + 0x20], edi
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 r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r15
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 rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x48], rdi
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], rsi
mov rax, qword [0x140011bb8]
mov qword [rbp + 0x2c], rax
mov qword [rbp + 0x20], rsi
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1400066c0
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400038cc
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140008930
mov rcx, rax
lea rdx, [0x14000c824]
call fcn.1400072a0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
mov qword [rbp - 0x48], rdi
cmp qword [rbp + 0x38], 0
je 0x14000393a
mov rax, qword [rbp - 0x30]
lea rcx, [rbp + 0x28]
cmp qword [rax], rcx
jne 0x14000393a
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
cmp byte [rbp + 0x34], 0
je 0x140003949
lea rcx, [rbp - 0x48]
call fcn.140006d00
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
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
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400039a9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009cb4
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400039f6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400039f1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003a7f
mov rcx, r8
call fcn.140009cb4
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140003a3b
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140003a36
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003a86
mov rcx, r8
call fcn.140009cb4
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140009c50
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011b0
int3
call fcn.140001110
int3