Function at 0x1800678c0
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 - 0xbb0]
sub rsp, 0xcb0
mov rax, qword [0x1800e23b0]
xor rax, rsp
mov qword [rbp + 0xba0], rax
xor r14d, r14d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rdx, [0x1800fba70]
lea rcx, [rbp - 0x80]
call fcn.180054ef0
mov rbx, rax
lea rdx, [0x1800fba90]
lea rcx, [rsp + 0x40]
call fcn.180054ef0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18005b080
lea rdx, str.REFRESH_JSON
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180052ab0
lea rdx, [0x180052c80]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.180041c40
call fcn.180041270
call fcn.1800470d0
mov dword [0x1800fba00], 0x64
mov dword [0x1800fba04], 0x64
mov dword [0x1800fba08], 0x64
mov rbx, qword [0x1800fbd80]
lea rcx, [rsp + 0x38]
call fcn.18006cea0
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rdi, qword [0x1800fbd80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0xc
mov qword [rbp - 0x68], 0xf
movsd xmm0, qword [0x18007fd58]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x18007fd60]
mov dword [rbp - 0x78], eax
mov byte [rbp - 0x74], r14b
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180067ac9
mov r8d, 0x3ff
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rcx, [0x1801009d8]
cmp qword [0x1801009f0], 0x10
cmovae rcx, qword [0x1801009d8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1800fcad0], xmm0
movups xmmword [0x1800fcae0], xmm0
movups xmmword [0x1800fcaf0], xmm0
movups xmmword [0x1800fcb00], xmm0
mov dword [0x1800fcb10], eax
mov byte [0x1800fcb14], al
lea r8, [0x18007737f]
lea edx, [rax + 0x45]
lea rsi, [0x1800fcad0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rbp - 0x60]
lea edx, [r14 + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [r14 + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rsi + r8], 0
jne 0x180067ab0
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18003cca0
jmp 0x180067ae4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.MH_BAse_.ytd
lea rcx, [rsp + 0x40]
call fcn.180053c10
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.18005bed0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ebx, dword [rdx + rax + 0x10]
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.180052110
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test bl, 6
jne 0x180067beb
mov rax, qword [rdi]
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r9, qword [rbp - 0x80]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov byte [rsp + 0x20], 0
mov r8b, 1
lea rcx, [rdi + 8]
call rax
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8d, dword [rdi + 8]
lea rcx, str.file_registered__s__ID:__i
call fcn.18005cb10
lea rcx, str.Loaded_____Textures
call fcn.18005cb10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180067c2b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800714d0
movdqa xmm0, xmmword [0x1800da640]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180067c7e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067c79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800714d0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x180067ccf
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067cca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180067cca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800714d0
lea rdx, str._gLoaded__
lea rcx, str.KaitoITSUKI
call fcn.1800506c0
mov rcx, qword [rbp + 0xba0]
xor rcx, rsp
call fcn.180071130
lea r11, [rsp + 0xcb0]
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