Function at 0x1400436e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rbp + 0x330], rax
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
mov r8d, 0xb
lea rdx, str.C:PerfLogs
lea rcx, [rbp + 0xc8]
call fcn.14004cf30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov r8d, 0x49
lea rdx, str.C:Program_Files__x86_Windows_NTTableTextServiceTableTextServiceQi.txt
lea rcx, [rbp + 0xa8]
call fcn.14004cf30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], r13b
lea rdx, [rbp + 0x220]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rbp + 0x220]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400437c0
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x88]
call fcn.14004b9a0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], r13
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x110]
call fcn.14004af00
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movdqa xmm1, xmmword [0x1400adcb0]
movdqu xmmword [rbp + 0xf8], xmm1
mov byte [rbp + 0xe8], 0
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x110]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x110]
call fcn.14004d940
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14004393b
nop
mov rax, qword [rbp + 0x38]
cmp rax, qword [rbp + 0x40]
je 0x1400438e0
lea rdx, [rbp + 0xe8]
mov rcx, rax
call fcn.14004b170
add qword [rbp + 0x38], 0x20
jmp 0x1400438f3
lea r8, [rbp + 0xe8]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14004dff0
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x110]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x110]
call fcn.14004d940
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400438c0
lea rcx, [rbp + 0x120]
call fcn.14004b500
test rax, rax
jne 0x14004396f
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x110]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r15d, r13d
mov rax, qword [rbp + 0x38]
sub rax, qword [rbp + 0x30]
sar rax, 5
test rax, rax
je 0x140043ea7
mov r12, r13
movabs r14, 0x7fffffffffffffff
cmp r15d, 5
jge 0x140043ea0
lea edx, [r15 + 1]
movsxd r15, edx
lea rcx, [rsp + 0x60]
call fcn.14004bb00
nop
mov rsi, qword [rbp + 0x98]
lea rdi, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdi, qword [rbp + 0x88]
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, r8
cmp rsi, rax
ja 0x140043a6a
lea rax, [rsi + r8]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x60]
lea rax, [rdi + rsi]
cmp rax, rbx
jbe 0x140043a23
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140043a23
cmp rbx, rdi
ja 0x140043a1b
mov r14, r13
jmp 0x140043a26
mov r14, rbx
sub r14, rdi
jmp 0x140043a26
mov r14, rsi
inc r8
lea rcx, [rbx + rsi]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, rsi
sub r8, r14
lea rdx, [rsi + r14]
add rdx, rdi
lea rcx, [rbx + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
movabs r14, 0x7fffffffffffffff
jmp 0x140043a81
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14004e6a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140043aeb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043ee6
call fcn.14005025c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rbx, qword [rbp + 0x30]
add rbx, r12
mov rax, r14
mov rcx, qword [rbp + 0xd8]
sub rax, rcx
cmp rax, 1
jb 0x1400440f5
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r9, qword [rbp + 0xc8]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ac9a4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.14004d6d0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140043b65
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.14004b740
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140043bdc
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043bd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043eed
call fcn.14005025c
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rax, qword [rbp + 0x48]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp - 0x38], rax
call fcn.140051144
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003f670
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.1400416f0
movsd xmm0, qword [rax]
movsd qword [rbp], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, [0x1400b86d0]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rbp]
test eax, eax
je 0x140043c65
cmp eax, 1
setne bl
jmp 0x140043c6f
xor bl, bl
test ecx, ecx
jne 0x14004410d
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140043cb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043ef4
call fcn.14005025c
test bl, bl
je 0x140043dfb
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rax, qword [rbp + 0x68]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp - 0x18], rax
call fcn.140051144
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14003f670
nop
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rax, qword [rbp + 0x48]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp - 8], rax
call fcn.140051144
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14003f670
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
mov r8d, 2
call fcn.1400513a4
mov qword [rbp + 0x20], rax
shr rax, 0x20
test eax, eax
jne 0x1400440fb
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140043da7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043da2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043efb
call fcn.14005025c
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r13w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140043dfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f02
call fcn.14005025c
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140043e39
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f09
call fcn.14005025c
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], 0xf
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140043e87
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043e82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f10
call fcn.14005025c
add r12, 0x20
mov rcx, qword [rbp + 0x38]
sub rcx, qword [rbp + 0x30]
sar rcx, 5
cmp r15, rcx
jb 0x140043994
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140043f1d
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043f17
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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 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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14005025c
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14004ae90
lea rcx, [rbp + 0x128]
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 + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140043fc9
mov rdx, qword [rbp + 0x38]
call fcn.14004d030
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043fb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043fb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005025c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14004400d
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005025c
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14004406a
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044065
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005025c
movdqa xmm0, xmmword [0x1400adcb0]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x1400440c5
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400440c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400440c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005025c
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.14004ffa0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003e940
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov edx, dword [rbp + 0x24]
call fcn.140040a90
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.140040b10
int3