Function at 0x1401b1400
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x70]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
lea rdx, [0x1403035c8]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
mov r12, qword [0x1411dcc48]
mov qword [rsp + 0x48], r12
test r12, r12
je 0x1401b16a5
nop word [rax + rax]
test byte [r12 + 0xb], 0xfb
jne 0x1401b1693
mov rax, qword [r12 + 0xc]
mov r13, qword [rax + 0x120]
movzx ebx, byte [rax + 1]
mov byte [rsp + 0x20], bl
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rax
mov rcx, rdi
call fcn.1401b16f0
movzx r15d, al
test r13, r13
je 0x1401b150e
cmp al, 2
je 0x1401b1503
cmp al, 3
je 0x1401b14ff
test al, al
jne 0x1401b150e
mov byte [r13 + 0x55], al
jmp 0x1401b150e
mov al, 3
jmp 0x1401b1505
mov al, 2
mov byte [r13 + 0x56], al
mov byte [r13 + 0x55], 1
mov r14, qword [0x1411dcc48]
test r14, r14
je 0x1401b1693
xor r12d, r12d
movzx eax, byte [r14 + 0xb]
cmp al, 1
je 0x1401b1534
sub al, 0x18
cmp al, 3
ja 0x1401b167d
mov rbp, qword [r14 + 0xc]
cmp byte [rbp + 0x114], bl
jne 0x1401b167d
test r15b, r15b
jne 0x1401b1555
mov dword [rbp + 0x1be], r12d
jmp 0x1401b167d
mov esi, r12d
mov rdi, qword [0x1411edc50]
test rdi, rdi
je 0x1401b1649
nop dword [rax + rax]
lea rcx, [rdi + 8]
test rcx, rcx
je 0x1401b158b
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1401b1580
jmp 0x1401b1590
mov eax, 0xffffffff
mov edx, eax
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x40], rax
mov edx, 0xb
lea rcx, [0x1403035d8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x30], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QString_const____ptr64__int__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp ebx, 0xffffffff
je 0x1401b162d
lea rcx, [rdi + 0x88]
test rcx, rcx
je 0x1401b15fd
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1401b15f2
jmp 0x1401b1602
mov eax, 0xffffffff
mov edx, eax
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x38], rax
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toInt_bool____ptr64__int_const___ptr64]
mov esi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdi, qword [rdi]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test rdi, rdi
jne 0x1401b1570
movzx ebx, byte [rsp + 0x20]
mov word [rbp + 0x1be], si
test r13, r13
je 0x1401b165a
mov word [r13 + 0x53], si
cmp r15b, 2
jne 0x1401b1669
mov byte [rbp + 0x1c1], r15b
jmp 0x1401b1676
cmp r15b, 3
jne 0x1401b1676
mov byte [rbp + 0x1c1], r15b
mov byte [rbp + 0x1c0], 1
mov r14, qword [r14]
test r14, r14
jne 0x1401b1521
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov r12, qword [r12]
mov qword [rsp + 0x48], r12
test r12, r12
jne 0x1401b1490
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1402b25d0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret