Function at 0x1400542ce
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x130], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [0x1403fced0], xmm0
movaps xmmword [0x1403fcec0], xmm0
movaps xmmword [0x1403fceb0], xmm0
movaps xmmword [0x1403fcea0], xmm0
movaps xmmword [0x1403fce90], xmm0
movaps xmmword [0x1403fce80], xmm0
mov dword [0x1403fcee0], 0
call fcn.1403249fc
movsxd rsi, eax
imul rax, rsi, 0x66666667
mov rcx, rax
shr rcx, 0x3f
sar rax, 0x23
add eax, ecx
shl eax, 2
lea eax, [rax + rax*4]
sub esi, eax
cmp esi, 0xfffffff7
jl 0x140054395
add esi, 0xa
xor edi, edi
movabs r14, 0x4ec4ec4ec4ec4ec5
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
lea rbx, [0x1403fce80]
call fcn.1403249fc
movsxd rcx, eax
mov rax, rcx
mul r14
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
mov al, byte [r15 + rcx]
mov byte [rdi + rbx], al
inc rdi
cmp rsi, rdi
jne 0x14005436d
xor r14d, r14d
lea rdi, [rbp - 0x40]
mov r8d, 0x104
mov rcx, rdi
xor edx, edx
call fcn.14030cf30
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14005496b
mov rcx, rdi
call fcn.1403256f0
cmp byte [rax + rdi - 1], 0x5c
jne 0x1400543db
mov byte [rbp + rax - 0x41], 0
lea rsi, [rbp + 0xc8]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14001c7ea
lea r8, [0x1403a8689]
lea rcx, [rbp + 0x108]
mov rdx, rsi
call fcn.140054e6e
lea r8, [0x1403fce80]
lea r14, [rbp + 0xe8]
lea rdx, [rbp + 0x108]
mov rcx, r14
call fcn.140054e6e
lea rsi, [rbp + 0x108]
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 + 0xc8]
mov r8, rsi
mov esi, eax
cmp eax, 0xb0519df
jg 0x1400544b5
cmp esi, 0xcecbee01
jg 0x1400544d5
cmp esi, 0x822dd972
je 0x140054541
mov eax, esi
cmp esi, 0x9a758043
jne 0x140054487
mov eax, 0xcecbee02
jmp 0x140054487
cmp esi, 0x390c852d
jle 0x14005452f
mov eax, ebx
cmp esi, 0x390c852e
je 0x140054487
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x140054487
mov eax, edi
jmp 0x140054487
mov eax, ecx
cmp esi, 0xcecbee02
je 0x140054487
mov eax, esi
cmp esi, 0xed251677
jne 0x140054487
mov qword [rbp + 0x128], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x14005458d
cmp eax, 0x6f90e77c
jne 0x1400544f5
mov rax, qword [rbp + 0x128]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140054528
cmp eax, 0x7816e7ff
jne 0x140054513
mov eax, 0x30a0924f
jmp 0x140054513
mov eax, 0xf8f3cdbd
jmp 0x1400544f5
cmp esi, 0xb0519e0
jne 0x140054594
mov eax, 0x390c852e
jmp 0x140054487
mov qword [rbp + 0x128], r8
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x140054583
cmp eax, 0x6f90e77c
jne 0x14005454d
mov rax, qword [rbp + 0x128]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x14005457c
cmp eax, 0x7816e7ff
jne 0x140054567
mov eax, 0x30a0924f
jmp 0x140054567
mov eax, 0xf8f3cdbd
jmp 0x14005454d
mov eax, 0xed251677
jmp 0x140054487
mov eax, edx
jmp 0x140054487
mov eax, esi
cmp esi, 0x25859020
jne 0x140054487
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 0x140054625
cmp esi, 0xcecbee01
jg 0x140054645
cmp esi, 0x822dd972
je 0x1400546b1
mov eax, esi
cmp esi, 0x9a758043
jne 0x1400545f7
mov eax, 0xcecbee02
jmp 0x1400545f7
cmp esi, 0x390c852d
jle 0x14005469f
mov eax, ebx
cmp esi, 0x390c852e
je 0x1400545f7
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x1400545f7
mov eax, edi
jmp 0x1400545f7
mov eax, ecx
cmp esi, 0xcecbee02
je 0x1400545f7
mov eax, esi
cmp esi, 0xed251677
jne 0x1400545f7
mov qword [rbp + 0x128], r15
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400546fd
cmp eax, 0x6f90e77c
jne 0x140054665
mov rax, qword [rbp + 0x128]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140054698
cmp eax, 0x7816e7ff
jne 0x140054683
mov eax, 0x30a0924f
jmp 0x140054683
mov eax, 0xf8f3cdbd
jmp 0x140054665
cmp esi, 0xb0519e0
jne 0x140054704
mov eax, 0x390c852e
jmp 0x1400545f7
mov qword [rbp + 0x128], r15
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x1400546f3
cmp eax, 0x6f90e77c
jne 0x1400546bd
mov rax, qword [rbp + 0x128]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400546ec
cmp eax, 0x7816e7ff
jne 0x1400546d7
mov eax, 0x30a0924f
jmp 0x1400546d7
mov eax, 0xf8f3cdbd
jmp 0x1400546bd
mov eax, 0xed251677
jmp 0x1400545f7
mov eax, edx
jmp 0x1400545f7
mov eax, esi
cmp esi, 0x25859020
jne 0x1400545f7
mov eax, 0xf1f31e7f
cmp eax, 0xf1f31e7f
je 0x140054727
cmp eax, 0x8f4a8851
jne 0x140054717
jmp 0x14005472e
mov eax, 0x8f4a8851
jmp 0x140054717
mov qword [rbp + 0x108], r14
mov rcx, qword [rbp + 0x108]
call fcn.14001af56
mov rcx, rax
call fcn.140324a7c
lea rdx, [0x1403409c0]
mov r8d, 0x8708
mov rcx, r14
call fcn.1400886e4
test al, al
je 0x1400547ab
lea rsi, [rbp + 0xe8]
mov rcx, rsi
call fcn.14007e7dc
test al, al
je 0x1400547b7
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea rcx, str..Nal
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
jmp 0x1400547ae
xor r14d, r14d
lea rdi, [rbp + 0xe8]
jmp 0x1400547f8
mov eax, 0xf1f31e7f
lea rdi, [rbp + 0xe8]
cmp eax, 0xf1f31e7f
je 0x1400547d3
cmp eax, 0x8f4a8851
jne 0x1400547c3
jmp 0x1400547da
mov eax, 0x8f4a8851
jmp 0x1400547c3
mov qword [rbp + 0x108], rsi
mov rcx, qword [rbp + 0x108]
call fcn.14001af56
mov rcx, rax
call fcn.140324a7c
xor r14d, r14d
mov rcx, rdi
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 r8d, 0x9a758043
mov eax, 0x822dd972
cmove r8d, eax
mov edx, 0xed251677
cmove edx, eax
mov eax, 0x7b3a586c
mov esi, eax
cmp eax, 0xb0519df
jg 0x14005487d
cmp esi, 0xcecbee01
jg 0x14005489d
cmp esi, 0x822dd972
je 0x140054909
mov eax, esi
cmp esi, 0x9a758043
jne 0x14005484f
mov eax, 0xcecbee02
jmp 0x14005484f
cmp esi, 0x390c852d
jle 0x1400548f7
mov eax, ebx
cmp esi, 0x390c852e
je 0x14005484f
mov eax, esi
cmp esi, 0x7b3a586c
jne 0x14005484f
mov eax, edx
jmp 0x14005484f
mov eax, ecx
cmp esi, 0xcecbee02
je 0x14005484f
mov eax, esi
cmp esi, 0xed251677
jne 0x14005484f
mov qword [rbp + 0x108], rdi
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x140054955
cmp eax, 0x6f90e77c
jne 0x1400548bd
mov rax, qword [rbp + 0x108]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x1400548f0
cmp eax, 0x7816e7ff
jne 0x1400548db
mov eax, 0x30a0924f
jmp 0x1400548db
mov eax, 0xf8f3cdbd
jmp 0x1400548bd
cmp esi, 0xb0519e0
jne 0x14005495d
mov eax, 0x390c852e
jmp 0x14005484f
mov qword [rbp + 0x108], rdi
mov eax, 0x6f90e77c
cmp eax, 0xf8f3cdbd
je 0x14005494b
cmp eax, 0x6f90e77c
jne 0x140054915
mov rax, qword [rbp + 0x108]
mov eax, 0x7816e7ff
cmp eax, 0x30a0924f
je 0x140054944
cmp eax, 0x7816e7ff
jne 0x14005492f
mov eax, 0x30a0924f
jmp 0x14005492f
mov eax, 0xf8f3cdbd
jmp 0x140054915
mov eax, 0xed251677
jmp 0x14005484f
mov eax, r8d
jmp 0x14005484f
mov eax, esi
cmp esi, 0x25859020
jne 0x14005484f
mov rax, r14
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret