Function at 0x1400051cc
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 - 0x1d8]
sub rsp, 0x2c0
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rcx, qword [0x1400b8260]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 8
jb 0x14000565f
lea rsi, [0x1400b8250]
mov r9, rsi
cmp qword [0x1400b8268], 0xf
cmova r9, qword [0x1400b8250]
mov qword [rsp + 0x30], 8
lea r13, str.Offsets
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140016608
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov edi, eax
mov r12d, 0x1000
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400052be
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x1400052b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
test edi, edi
jne 0x1400052cb
lea rdx, str._cheat_:_Offsets_folder_created
jmp 0x1400052de
cmp edi, 0xb7
jne 0x140005610
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.1400106f8
mov rcx, rax
call fcn.140010868
mov rcx, qword [0x1400b8260]
mov rax, rbx
sub rax, rcx
cmp rax, 8
jb 0x140005665
cmp qword [0x1400b8268], 0xf
cmova rsi, qword [0x1400b8250]
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea rcx, [rsp + 0x60]
call fcn.140016608
lea rdx, [rsp + 0x60]
lea rdi, [0x1400b8270]
mov rcx, rdi
call fcn.14000aba0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140005389
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140005384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
mov esi, 0x108
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400b8280]
mov rax, rbx
sub rax, rcx
cmp rax, 0x10
jb 0x14000566b
mov r9, rdi
cmp qword [0x1400b8288], 0xf
cmova r9, qword [0x1400b8270]
mov qword [rsp + 0x30], 0x10
lea rax, str.clientDump.json
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140016608
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.14000a150
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000543c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x140005437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
movdqa xmm0, xmmword [0x1400ae0f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x1400b8280]
sub rbx, rax
cmp rbx, 0x11
jb 0x140005659
cmp qword [0x1400b8288], 0xf
cmova rdi, qword [0x1400b8270]
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 + 0x60]
call fcn.140016608
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14000a150
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400054f4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x1400054ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
movdqa xmm0, xmmword [0x1400ae0f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
cmp qword [rbp + 0x128], 0
je 0x140005577
cmp qword [rbp + 0x18], 0
je 0x140005577
lea rcx, [rbp + 0xa8]
call fcn.14000be20
mov ebx, 2
test rax, rax
jne 0x14000554e
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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 - 0x68]
call fcn.14000be20
test rax, rax
jne 0x140005577
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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 - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.14000a0a4
lea rcx, [rbp - 0x60]
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 + 0x38]
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 + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], rbx
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xa8]
call fcn.14000a0a4
lea rcx, [rbp + 0xb0]
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 + 0x148]
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 0x14000562d
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.1400106f8
mov rcx, rax
call fcn.140010868
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14005e8f0
lea r11, [rsp + 0x2c0]
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.140002700
nop
call fcn.140002700
int3
call fcn.140002700
int3
call fcn.140002700
int3