Function at 0x14000517c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov rax, qword [0x1400b6010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rcx, qword [0x1400b61f0]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r12d, 8
cmp rax, r12
jb 0x140005612
lea rsi, [0x1400b61e0]
mov r9, rsi
cmp qword [0x1400b61f8], 0x10
cmovae r9, qword [0x1400b61e0]
mov qword [rsp + 0x30], r12
lea rax, str.Offsets
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400157d8
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov edi, eax
mov r13d, 0x1000
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000526f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x14000526a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000526a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dc8c
test edi, edi
jne 0x14000527c
lea rdx, str._cheat_:_Offsets_folder_created
jmp 0x14000528f
cmp edi, 0xb7
jne 0x1400055c3
lea rdx, str._cheat_:_Offsets_folder_already_created
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000f2b4
mov rcx, rax
call fcn.14000f420
mov rcx, qword [0x1400b61f0]
mov rax, rbx
sub rax, rcx
cmp rax, r12
jb 0x140005618
cmp qword [0x1400b61f8], 0x10
cmovae rsi, qword [0x1400b61e0]
mov qword [rsp + 0x30], r12
lea rax, str.Offsets
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea rcx, [rsp + 0x40]
call fcn.1400157d8
lea rdx, [rsp + 0x40]
lea rdi, [0x1400b6200]
mov rcx, rdi
call fcn.14000a7b8
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000533c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x140005337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dc8c
mov r12d, 0x108
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400b6210]
mov rax, rbx
sub rax, rcx
cmp rax, 0x10
jb 0x14000561e
mov r9, rdi
cmp qword [0x1400b6218], 0x10
cmovae r9, qword [0x1400b6200]
mov qword [rsp + 0x30], 0x10
lea rax, str.clientDump.json
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400157d8
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.140009d40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400053f0
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r13
jb 0x1400053eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dc8c
and qword [rsp + 0x70], 0
mov esi, 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x60], 0
mov r8, r12
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x1400b6210]
sub rbx, rax
cmp rbx, 0x11
jb 0x14000560c
cmp qword [0x1400b6218], 0x10
cmovae rdi, qword [0x1400b6200]
mov qword [rsp + 0x30], 0x11
lea rcx, str.offsetsDump.json
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rcx, [rsp + 0x40]
call fcn.1400157d8
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140009d40
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400054aa
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x1400054a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dc8c
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0x118], 0
je 0x14000552a
cmp qword [rbp + 8], 0
je 0x14000552a
lea rcx, [rbp + 0x98]
call fcn.14000ba70
mov ebx, 2
test rax, rax
jne 0x140005501
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp - 0x78]
call fcn.14000ba70
test rax, rax
jne 0x14000552a
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, ebx
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 - 0x80]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rbx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140009c94
lea rcx, [rbp - 0x70]
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 + 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 rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x90], rbx
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.140009c94
lea rcx, [rbp + 0xa0]
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 + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, 1
jmp 0x1400055e0
lea rdx, str._cheat_:_Cant_create_offsets_folder
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000f2b4
mov rcx, rax
call fcn.14000f420
xor al, al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14005d6a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
call fcn.1400026b4
nop
call fcn.1400026b4
int3
call fcn.1400026b4
int3
call fcn.1400026b4
int3