Function at 0x140002a50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov word [rsp + 0x20], di
mov r9d, 0x104
xor r8d, r8d
mov edx, r9d
lea rcx, [rbp - 0x80]
call fcn.140001be0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xorps xmm0, xmm0
cmp eax, 0x103
ja 0x140002eeb
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov word [rsp + 0x20], di
mov r9d, 0x104
xor r8d, r8d
mov edx, r9d
lea rcx, [rsp + 0x60]
call fcn.140001be0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140002b40
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x40]
call fcn.140001290
nop
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.140003450
nop
lea r8, [rbp + 0x68]
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140001f60
nop
lea rcx, [rbp]
call fcn.1400031c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002bd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f6d
call fcn.14000517c
movdqa xmm0, xmmword [0x140015aa0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov r15, qword [rbp - 0x30]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 6
jb 0x140002f73
lea r13, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r13, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea r12, [r15 + 6]
mov edi, 0xf
lea r14, [rbp - 0x60]
cmp r12, rdi
jbe 0x140002cae
mov rdi, r12
or rdi, 0xf
cmp rdi, rcx
jbe 0x140002c70
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005140
test rax, rax
je 0x140002f7f
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140002caa
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140002c98
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002f61
jmp 0x140002c51
test rcx, rcx
je 0x140002ca7
call fcn.140005140
mov r14, rax
jmp 0x140002caa
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rdi
mov r8, r15
mov rdx, r13
mov rcx, r14
call fcn.140013520
mov eax, dword [str..crash]
mov dword [r14 + r15], eax
movzx eax, word [0x1400154e4]
mov word [r14 + r15 + 4], ax
mov byte [r14 + r12], 0
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140001520
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140002d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.140001290
mov dword [rsp + 0x30], 0xfe
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140002100
mov dword [rsp + 0x30], 0x1fe
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1400027b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002db8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f79
call fcn.14000517c
nop
lea rcx, [rbp - 0x20]
call fcn.1400031c0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002dfd
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f7f
call fcn.14000517c
movdqa xmm0, xmmword [0x140015ab0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140002e49
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f85
call fcn.14000517c
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140002e9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f8b
call fcn.14000517c
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002f3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f67
jmp 0x140002f38
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002f3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f5b
call fcn.14000517c
mov rax, rsi
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a454
nop
call fcn.140003120
nop
call fcn.14000a454
nop
call fcn.14000a454
int3
call fcn.140003230
nop
call fcn.14000a454
nop
call fcn.14000a454
nop
call fcn.14000a454
nop
call fcn.14000a454
int3