Function at 0x140012100
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
cmp byte [rcx + 0x11b], 0
jne 0x1400129a7
movss xmm1, dword [rcx + 4]
movss xmm0, dword [rcx]
mov rbx, qword [0x1400754c0]
mov eax, dword [rbx + 0x47c0]
or eax, 1
mov dword [rbx + 0x47c0], eax
movss dword [rbx + 0x47d0], xmm0
movss dword [rbx + 0x47d4], xmm1
xor r14d, r14d
mov qword [rbx + 0x47d8], r14
mov dword [rbx + 0x47c4], 2
movss xmm1, dword [rcx + 0xc]
movss xmm0, dword [rcx + 8]
or eax, 2
mov dword [rbx + 0x47c0], eax
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
mov dword [rbx + 0x47c8], 1
lea rcx, [rbx + 0x4840]
movss xmm1, dword [rbx + 0x37e8]
movss xmm0, dword [rbx + 0x37ec]
mov dword [rsp + 0x40], 6
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm0
lea rdx, [rsp + 0x40]
call fcn.140031420
mov dword [rbx + 0x37e8], 0x3f000000
mov dword [rbx + 0x37ec], 0x3f000000
lea ecx, [r14 + 0x10]
call fcn.1400536d4
mov dword [rax], 0x69676f4c
mov dword [rax + 4], 0x6e49206e
mov dword [rax + 8], 0x66726574
mov dword [rax + 0xc], 0x656361
xor edx, edx
mov r8d, 0x12b
mov rcx, rax
call fcn.140023f00
mov rax, qword [0x1400754c0]
mov rcx, qword [rax + 0x3ed8]
movss xmm7, dword [rcx + 0x28]
movaps xmm6, xmm7
subss xmm6, dword [0x140060b4c]
movss xmm10, dword [0x1400609e4]
mulss xmm6, xmm10
xorps xmm11, xmm11
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], 0x40e00000
lea rcx, [rsp + 0x50]
call fcn.1400482e0
mov rcx, qword [0x1400754c0]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm0, xmm6
movss dword [rax + 0x100], xmm0
mov byte [rax + 0x141], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [0x140060cd0]
movups xmmword [rbp - 0x80], xmm1
mov dword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x54], 0x3f800000
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x40], 0x43750000
mov dword [rsp + 0x44], 0x42700000
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140075988]
call fcn.140046f80
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x40a00000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
movaps xmm12, xmm7
mulss xmm12, dword [0x140060a00]
lea ecx, [r14 + 0x10]
call fcn.1400536d4
mov rcx, rax
mov dword [rax], 0x2d4d4448
mov dword [rax + 4], 0x58455041
mov dword [rax + 8], 0x2e317620
mov dword [rax + 0xc], 0x3a3133
mov rax, qword [0x1400754c0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
movss xmm6, dword [0x140060b80]
movss dword [rsp + 0x20], xmm6
movss xmm8, dword [0x140060b70]
movaps xmm3, xmm8
movss xmm2, dword [rax + 0x3c10]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x3c08]
call fcn.1400424e0
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x3f000000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
mov dword [rbp - 0x80], 0x300030
movdqa xmm0, xmmword [0x140060d00]
movdqu xmmword [rbp - 0x7c], xmm0
mov byte [rbp - 0x6c], r14b
lea rcx, [rbp - 0x80]
call fcn.140018120
mov rbx, qword [0x1400754c0]
movss xmm9, dword [0x140060a88]
test rax, rax
je 0x14001245a
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm8
movss xmm2, dword [rbx + 0x3c10]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3c08]
call fcn.1400424e0
movss xmm0, dword [rsp + 0x40]
addss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm11, eax
cvtdq2ps xmm11, xmm11
mov rax, qword [rbx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rbx + 0x3ed8]
movss xmm1, dword [rax + 0x20]
subss xmm1, dword [rax + 0x84]
movaps xmm0, xmm7
subss xmm0, xmm11
mulss xmm0, dword [0x14006098c]
addss xmm1, xmm0
movss dword [rax + 0x100], xmm1
mov byte [rax + 0x141], 1
mov dword [rbp - 0x80], 0x300030
movdqa xmm0, xmmword [0x140060d00]
movdqu xmmword [rbp - 0x7c], xmm0
mov byte [rbp - 0x6c], r14b
lea rcx, [rbp - 0x80]
call fcn.140018120
mov rcx, rax
call fcn.1400453e0
mov rcx, qword [0x1400754c0]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm2, dword [rax + 0x20]
subss xmm2, dword [rax + 0x84]
movaps xmm1, xmm7
subss xmm1, xmm12
mulss xmm1, xmm10
addss xmm2, xmm1
movss dword [rax + 0x100], xmm2
mov byte [rax + 0x141], 1
movaps xmm0, xmm12
call fcn.140029970
mov ecx, 0x13
call fcn.1400536d4
mov dword [rax], 0xafe82323
mov dword [rax + 4], 0x93bee8b7
mov dword [rax + 8], 0xe5a585e5
mov dword [rax + 0xc], 0xafe5a18d
mov word [rax + 0x10], 0x3a86
mov byte [rax + 0x12], r14b
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x64
lea rbx, [0x140075450]
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14004b670
mov rcx, qword [0x1400754c0]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r8, qword [rcx + 0x3ed8]
movsxd rdx, dword [r8 + 0x1c8]
mov rax, qword [r8 + 0x1d0]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1bc], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1c8], eax
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x40000000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x40000000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
movaps xmm1, xmm7
subss xmm1, dword [0x140060b48]
mulss xmm1, xmm10
mov rcx, qword [0x1400754c0]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm0, xmm1
movss dword [rax + 0x100], xmm0
mov byte [rax + 0x141], 1
mov dword [rsp + 0x40], 0x43700000
mov dword [rsp + 0x44], 0x41c80000
mov ecx, 7
call fcn.1400536d4
mov dword [rax], 0xe5bb99e7
mov word [rax + 4], 0x95bd
mov byte [rax + 6], r14b
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140045d80
test al, al
je 0x140012751
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x140012692
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14000b000
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14000a310
mov rbx, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 0x10
jb 0x1400126ef
mov rcx, qword [rax]
inc rdx
cmp rdx, 0x1000
jb 0x1400126ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001273e
mov rcx, r8
call fcn.1400536cc
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov byte [0x140074d89], 1
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14001274a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012745
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012745
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.1400536cc
mov al, 1
jmp 0x1400129a9
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x3fc00000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
mov eax, dword [0x140075448]
cmp eax, 1
jne 0x14001277c
lea rsi, str.:
jmp 0x14001279a
cmp eax, 2
jne 0x14001278a
lea rsi, str.:_6
jmp 0x14001279a
cmp eax, 3
jne 0x14001282d
lea rsi, str.:_
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov rbx, qword [0x1400754c0]
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm8
movss xmm2, dword [rbx + 0x3c10]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3c08]
call fcn.1400424e0
mov rax, qword [rbx + 0x3ed8]
movss xmm0, dword [rsp + 0x40]
mov byte [rax + 0xb8], 1
addss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm1, eax
mov rdx, qword [rbx + 0x3ed8]
cvtdq2ps xmm1, xmm1
movaps xmm2, xmm7
movss xmm0, dword [rdx + 0x20]
subss xmm2, xmm1
subss xmm0, dword [rdx + 0x84]
mulss xmm2, xmm10
addss xmm2, xmm0
movss dword [rdx + 0x100], xmm2
mov byte [rdx + 0x141], 1
mov rcx, rsi
call fcn.1400453e0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140027610
test al, al
je 0x140012844
xor ecx, ecx
call fcn.14001dcb0
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x40400000
lea rcx, [rsp + 0x40]
call fcn.1400482e0
mov ecx, 0xd
call fcn.1400536d4
mov dword [rax], 0xe68788e5
mov dword [rax + 4], 0xa3e9a28d
mov dword [rax + 8], 0xbca0e68e
mov byte [rax + 0xc], r14b
mov rbx, qword [0x1400754c0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm8
movss xmm2, dword [rbx + 0x3c10]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3c08]
call fcn.1400424e0
mov rax, qword [rbx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rdx, qword [rbx + 0x3ed8]
movss xmm0, dword [rsp + 0x40]
addss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm7, xmm1
mulss xmm7, dword [0x1400609e0]
movss xmm0, dword [rdx + 0x20]
subss xmm0, dword [rdx + 0x84]
addss xmm7, xmm0
movss dword [rdx + 0x100], xmm7
mov byte [rdx + 0x141], 1
mov qword [rsp + 0x40], r14
mov ecx, 0xd
call fcn.1400536d4
mov dword [rax], 0xe68788e5
mov dword [rax + 4], 0xa3e9a28d
mov dword [rax + 8], 0xbca0e68e
mov byte [rax + 0xc], r14b
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140045d80
test al, al
je 0x140012998
mov r8d, dword [0x140074348]
inc r8d
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xe
sub r8d, eax
mov dword [0x140074348], r8d
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
movsxd rdx, dword [0x140074348]
lea rax, str.Colorful
mov rdx, qword [rax + rdx*8]
mov rcx, rdi
call fcn.140012a00
mov ecx, 1
call fcn.14001aa30
call fcn.1400261c0
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140053420
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret