Function at 0x180003e90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180026240]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r14d, r14d
lea rdx, str._PCBS2_Cheats_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000a810
mov rcx, rax
lea rdx, [0x18001d6a0]
call fcn.18000a810
mov rcx, rax
lea rdx, str.Loading_offsets_from
call fcn.18000a810
mov rcx, rax
lea rdx, str.PluginsPCBS2_Cheats.offsetRequests.json
call fcn.18000a810
mov rcx, rax
lea rdx, [0x18001e3bc]
call fcn.18000a810
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180003f43
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x18000434b
mov qword [rsp + 0x38], 0xf
cmp rbx, 0xf
ja 0x180003f8e
mov qword [rsp + 0x30], rbx
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], r14b
jmp 0x180004029
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x180003fc3
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18001a378
test rax, rax
je 0x180003fee
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x180004007
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x180003ff5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180004351
jmp 0x180003fa8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180004004
call fcn.18001a378
mov rsi, rax
jmp 0x180004007
mov rsi, r14
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r14b
mov r8d, 0x29
lea rdx, str.PluginsPCBS2_Cheats.offsetRequests.json
lea rcx, [rsp + 0x20]
call fcn.180007320
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800040ad
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800040a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800040a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001a370
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1800028e0
lea rbx, [rax + 0x20]
lea rcx, [0x180027020]
cmp rcx, rbx
je 0x18000410e
call fcn.180006fe0
mov rax, qword [rbx]
mov qword [0x180027020], rax
mov rax, qword [rbx + 8]
mov qword [0x180027028], rax
mov rax, qword [rbx + 0x10]
mov qword [0x180027030], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea rcx, [rsp + 0x60]
call fcn.180006fe0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180004158
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004153
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001a370
mov rsi, qword [0x180027028]
mov rbx, qword [0x180027020]
cmp rbx, rsi
je 0x180004219
lea rdi, [rbx + 0x38]
nop dword [rax]
nop word [rax + rax]
lea rdx, str._PCBS2_Cheats_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000a810
mov rcx, rax
lea rdx, [0x18001d6a0]
call fcn.18000a810
mov rcx, rax
lea rdx, str.Offset_loaded:
call fcn.18000a810
mov rdx, rbx
cmp qword [rdi - 0x20], 0xf
jbe 0x1800041be
mov rdx, qword [rbx]
mov r8, qword [rdi - 0x28]
mov rcx, rax
call fcn.18000fd80
lea rdx, str._at
mov rcx, rax
call fcn.18000a810
lea rdx, [rdi - 0x18]
cmp qword [rdi], 0xf
jbe 0x1800041e6
mov rdx, qword [rdx]
mov r8, qword [rdi - 8]
mov rcx, rax
call fcn.18000fd80
mov rcx, rax
lea rdx, [0x18001e3bc]
call fcn.18000a810
add rbx, 0x60
add rdi, 0x60
cmp rbx, rsi
jne 0x180004180
mov rbx, qword [0x180027020]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
add rbx, 0x20
cmp qword [rbx + 0x18], 0xf
jbe 0x180004230
mov rbx, qword [rbx]
mov dword [rax], r14d
mov r8d, 0x10
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rcx, rax
cmp rbx, qword [rsp + 0x78]
jne 0x18000425f
lea rcx, str.invalid_stoull_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rdi], 0x22
jne 0x180004272
lea rcx, str.stoull_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
add rcx, qword [0x180026ea8]
lea r8, [0x180026ea0]
lea rdx, [0x180003b90]
call fcn.180018e60
xor ecx, ecx
call fcn.1800190f0
mov ebx, eax
lea rdx, str._PCBS2_Cheats_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000a810
mov rcx, rax
lea rdx, [0x18001d6a0]
call fcn.18000a810
mov rcx, rax
lea rdx, str.Hooks_loaded_with_status:
call fcn.18000a810
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x18001e3bc]
call fcn.18000a810
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x18000431f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000431a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000431a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001a370
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.18001a350
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800012e0
int3
call fcn.180001240
int3