Function at 0x14005511e
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x298
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x210], 0xfffffffffffffffe
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140055150
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1403fce80]
lea rsi, [rbp + 0xc0]
mov rcx, rsi
call fcn.14001c7ea
mov rcx, rsi
call fcn.1400804cf
lea rsi, [rbp + 0xc0]
mov rcx, rsi
call fcn.14001a9a4
mov eax, dword [0x1403fb50c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x1403fb510], 0xa
setl cl
or cl, al
mov ebx, 0x25859020
mov eax, 0xb0519e0
cmove ebx, eax
mov ecx, 0x390c852e
cmove ecx, eax
mov edx, 0x9a758043
mov eax, 0x822dd972
cmove edx, eax
mov edi, 0xed251677
cmove edi, eax
mov eax, 0x7b3a586c
mov r8, rsi
mov esi, eax
cmp eax, 0xb0519df
jg 0x1400551fb
cmp esi, 0xcecbee01
jg 0x14005521b
cmp esi, 0x822dd972
je 0x140055281
mov eax, esi
cmp esi, 0x9a758043
jne 0x1400551cd
mov eax, 0xcecbee02
jmp 0x1400551cd
cmp esi, 0x390c852d
jle 0x14005526f
mov eax, ebx
cmp esi, 0x390c852e
je 0x1400551cd
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x1400551cd
mov eax, edi
jmp 0x1400551cd
mov eax, ecx
cmp esi, 0xcecbee02
je 0x1400551cd
mov eax, esi
cmp esi, 0xed251677
jne 0x1400551cd
mov qword [rbp - 0x50], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400552c7
cmp eax, 0x6f90e77c
jne 0x140055238
mov rax, qword [rbp - 0x50]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140055268
cmp eax, 0x7816e7ff
jne 0x140055253
mov eax, 0x30a0924f
jmp 0x140055253
mov eax, 0xf8f3cdbd
jmp 0x140055238
cmp esi, 0xb0519e0
jne 0x1400552ce
mov eax, 0x390c852e
jmp 0x1400551cd
mov qword [rbp - 0x50], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400552bd
cmp eax, 0x6f90e77c
jne 0x14005528a
mov rax, qword [rbp - 0x50]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400552b6
cmp eax, 0x7816e7ff
jne 0x1400552a1
mov eax, 0x30a0924f
jmp 0x1400552a1
mov eax, 0xf8f3cdbd
jmp 0x14005528a
mov eax, 0xed251677
jmp 0x1400551cd
mov eax, edx
jmp 0x1400551cd
mov eax, esi
cmp esi, 0x25859020
jne 0x1400551cd
lea rsi, [rbp - 0x50]
mov r8d, 0x104
mov rcx, rsi
xor edx, edx
call fcn.14030cf30
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, rsi
call fcn.1403256f0
cmp byte [rax + rsi - 1], 0x5c
jne 0x140055312
mov byte [rbp + rax - 0x51], 0
lea rsi, [rbp + 0x1e8]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14001c7ea
lea r8, [0x1403a8689]
lea rcx, [rbp + 0xc0]
mov rdx, rsi
call fcn.140054e6e
lea r8, [0x1403fce80]
lea r14, [rbp + 0x1c8]
lea rdx, [rbp + 0xc0]
mov rcx, r14
call fcn.140054e6e
lea rsi, [rbp + 0xc0]
mov rcx, rsi
call fcn.14001a9a4
mov eax, dword [0x1403fb50c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x1403fb510], 0xa
setl cl
or cl, al
mov ebx, 0x25859020
mov eax, 0xb0519e0
cmove ebx, eax
mov ecx, 0x390c852e
cmove ecx, eax
mov edx, 0x9a758043
mov eax, 0x822dd972
cmove edx, eax
mov edi, 0xed251677
cmove edi, eax
mov eax, 0x7b3a586c
lea r15, [rbp + 0x1e8]
mov r8, rsi
mov esi, eax
cmp eax, 0xb0519df
jg 0x1400553ec
cmp esi, 0xcecbee01
jg 0x14005540c
cmp esi, 0x822dd972
je 0x140055478
mov eax, esi
cmp esi, 0x9a758043
jne 0x1400553be
mov eax, 0xcecbee02
jmp 0x1400553be
cmp esi, 0x390c852d
jle 0x140055466
mov eax, ebx
cmp esi, 0x390c852e
je 0x1400553be
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x1400553be
mov eax, edi
jmp 0x1400553be
mov eax, ecx
cmp esi, 0xcecbee02
je 0x1400553be
mov eax, esi
cmp esi, 0xed251677
jne 0x1400553be
mov qword [rbp + 0x208], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400554c4
cmp eax, 0x6f90e77c
jne 0x14005542c
mov rax, qword [rbp + 0x208]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x14005545f
cmp eax, 0x7816e7ff
jne 0x14005544a
mov eax, 0x30a0924f
jmp 0x14005544a
mov eax, 0xf8f3cdbd
jmp 0x14005542c
cmp esi, 0xb0519e0
jne 0x1400554cb
mov eax, 0x390c852e
jmp 0x1400553be
mov qword [rbp + 0x208], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400554ba
cmp eax, 0x6f90e77c
jne 0x140055484
mov rax, qword [rbp + 0x208]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400554b3
cmp eax, 0x7816e7ff
jne 0x14005549e
mov eax, 0x30a0924f
jmp 0x14005549e
mov eax, 0xf8f3cdbd
jmp 0x140055484
mov eax, 0xed251677
jmp 0x1400553be
mov eax, edx
jmp 0x1400553be
mov eax, esi
cmp esi, 0x25859020
jne 0x1400553be
mov rcx, r15
call fcn.14001a9a4
mov eax, dword [0x1403fb50c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x1403fb510], 0xa
setl cl
or cl, al
mov ebx, 0x25859020
mov eax, 0xb0519e0
cmove ebx, eax
mov ecx, 0x390c852e
cmove ecx, eax
mov edx, 0x9a758043
mov eax, 0x822dd972
cmove edx, eax
mov edi, 0xed251677
cmove edi, eax
mov eax, 0x7b3a586c
mov esi, eax
cmp eax, 0xb0519df
jg 0x14005555c
cmp esi, 0xcecbee01
jg 0x14005557c
cmp esi, 0x822dd972
je 0x1400555e8
mov eax, esi
cmp esi, 0x9a758043
jne 0x14005552e
mov eax, 0xcecbee02
jmp 0x14005552e
cmp esi, 0x390c852d
jle 0x1400555d6
mov eax, ebx
cmp esi, 0x390c852e
je 0x14005552e
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x14005552e
mov eax, edi
jmp 0x14005552e
mov eax, ecx
cmp esi, 0xcecbee02
je 0x14005552e
mov eax, esi
cmp esi, 0xed251677
jne 0x14005552e
mov qword [rbp + 0x208], r15
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x140055634
cmp eax, 0x6f90e77c
jne 0x14005559c
mov rax, qword [rbp + 0x208]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400555cf
cmp eax, 0x7816e7ff
jne 0x1400555ba
mov eax, 0x30a0924f
jmp 0x1400555ba
mov eax, 0xf8f3cdbd
jmp 0x14005559c
cmp esi, 0xb0519e0
jne 0x14005563b
mov eax, 0x390c852e
jmp 0x14005552e
mov qword [rbp + 0x208], r15
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x14005562a
cmp eax, 0x6f90e77c
jne 0x1400555f4
mov rax, qword [rbp + 0x208]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140055623
cmp eax, 0x7816e7ff
jne 0x14005560e
mov eax, 0x30a0924f
jmp 0x14005560e
mov eax, 0xf8f3cdbd
jmp 0x1400555f4
mov eax, 0xed251677
jmp 0x14005552e
mov eax, edx
jmp 0x14005552e
mov eax, esi
cmp esi, 0x25859020
jne 0x14005552e
mov eax, 0xf1f31e7f
cmp eax, 0xf1f31e7f
je 0x14005565e
cmp eax, 0x8f4a8851
jne 0x14005564e
jmp 0x140055665
mov eax, 0x8f4a8851
jmp 0x14005564e
mov qword [rbp + 0x1e8], r14
mov rcx, qword [rbp + 0x1e8]
call fcn.14001af56
mov dword [rsp + 0x20], 1
lea rcx, [rbp + 0xc0]
mov rdx, rax
mov r8d, 0x22
mov r9d, 0x40
call fcn.140055fb6
call fcn.1403249fc
cdqe
imul rcx, rax, 0x7249ae75
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x34
add ecx, edx
imul ecx, ecx, 0x23d6df
neg ecx
lea edi, [rax + rcx]
add edi, 0x1649d
movsxd r14, edi
mov rcx, r14
call fcn.1401e58e8
mov rsi, rax
test edi, edi
je 0x140055713
cmp r14, 2
mov ebx, 1
cmovae rbx, r14
xor edi, edi
call fcn.1403249fc
cdqe
imul rcx, rax, 0xffffffff80808081
shr rcx, 0x20
add ecx, eax
mov edx, ecx
shr edx, 0x1f
shr ecx, 7
add ecx, edx
add ecx, eax
mov byte [rsi + rdi], cl
inc rdi
cmp rbx, rdi
jne 0x1400556e8
lea rcx, [rbp + 0xc0]
mov rdx, rsi
mov r8, r14
call fcn.140056192
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140056326
lea rcx, [rbp + 0xc0]
call fcn.140056522
mov rcx, rsi
call fcn.1401e58b4
mov eax, 0xf1f31e7f
lea r14, [rbp + 0x1c8]
cmp eax, 0xf1f31e7f
je 0x140055764
cmp eax, 0x8f4a8851
jne 0x140055754
jmp 0x14005576b
mov eax, 0x8f4a8851
jmp 0x140055754
mov qword [rbp + 0x1e8], r14
mov rcx, qword [rbp + 0x1e8]
call fcn.14001af56
mov rcx, rax
call fcn.140324a7c
lea rcx, [rbp + 0xc0]
call fcn.140056726
mov rcx, r14
call fcn.14001a9a4
mov eax, dword [0x1403fb50c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x1403fb510], 0xa
setl cl
or cl, al
mov ebx, 0x25859020
mov eax, 0xb0519e0
cmove ebx, eax
mov ecx, 0x390c852e
cmove ecx, eax
mov edx, 0x9a758043
mov eax, 0x822dd972
cmove edx, eax
mov edi, 0xed251677
cmove edi, eax
mov eax, 0x7b3a586c
mov esi, eax
cmp eax, 0xb0519df
jg 0x140055815
cmp esi, 0xcecbee01
jg 0x140055835
cmp esi, 0x822dd972
je 0x1400558a1
mov eax, esi
cmp esi, 0x9a758043
jne 0x1400557e7
mov eax, 0xcecbee02
jmp 0x1400557e7
cmp esi, 0x390c852d
jle 0x14005588f
mov eax, ebx
cmp esi, 0x390c852e
je 0x1400557e7
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x1400557e7
mov eax, edi
jmp 0x1400557e7
mov eax, ecx
cmp esi, 0xcecbee02
je 0x1400557e7
mov eax, esi
cmp esi, 0xed251677
jne 0x1400557e7
mov qword [rbp + 0xc0], r14
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400558ed
cmp eax, 0x6f90e77c
jne 0x140055855
mov rax, qword [rbp + 0xc0]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140055888
cmp eax, 0x7816e7ff
jne 0x140055873
mov eax, 0x30a0924f
jmp 0x140055873
mov eax, 0xf8f3cdbd
jmp 0x140055855
cmp esi, 0xb0519e0
jne 0x1400558f4
mov eax, 0x390c852e
jmp 0x1400557e7
mov qword [rbp + 0xc0], r14
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400558e3
cmp eax, 0x6f90e77c
jne 0x1400558ad
mov rax, qword [rbp + 0xc0]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400558dc
cmp eax, 0x7816e7ff
jne 0x1400558c7
mov eax, 0x30a0924f
jmp 0x1400558c7
mov eax, 0xf8f3cdbd
jmp 0x1400558ad
mov eax, 0xed251677
jmp 0x1400557e7
mov eax, edx
jmp 0x1400557e7
mov eax, esi
cmp esi, 0x25859020
jne 0x1400557e7
add rsp, 0x298
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret