Function at 0x180005740
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x240]
sub rsp, 0x340
xor r14d, r14d
lea rdx, [rbp + 0x130]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x180005784
mov rax, 0xffffffffffffffff
add rsp, 0x340
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp + 0x130]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x1800057a4
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x30]
call fcn.180011cc0
nop
mov r8d, 1
lea rdx, [0x18011f368]
lea rcx, [rbp - 0x30]
call fcn.18000f640
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18000583c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005a81
call fcn.18007ce5c
movdqa xmm0, xmmword [0x180120260]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rbp + 0x270], rax
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
mov qword [rbp + 0x278], rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
add rax, 0x265
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], 0x265
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov ecx, 0x10
call fcn.18007cf48
mov qword [rax + 8], r14
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov qword [rax], rcx
mov word [rsp + 0x68], 0
mov qword [rsp + 0x6e], r14
mov qword [rsp + 0x76], r14
xor eax, eax
mov word [rsp + 0x6b], ax
mov byte [rsp + 0x6d], al
mov word [rsp + 0x6e], ax
mov byte [rsp + 0x70], al
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], al
mov word [rsp + 0x77], ax
mov byte [rsp + 0x79], al
mov word [rsp + 0x7a], ax
mov byte [rsp + 0x7c], al
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x64], r14d
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r9, [rbp + 0x270]
lea r8, [rbp + 0x278]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.180014c30
mov rsi, qword [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.180016a10
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov edx, 0x10
call fcn.18007ce5c
cmp rsi, 0xffffffffffffffff
je 0x180005a34
mov ebx, r14d
nop dword [rax]
test byte [rbp - 0x10], 0x10
je 0x180005a14
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp + 0x1c]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x180005990
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x70]
call fcn.180011cc0
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
cmova rax, rcx
mov r8, qword [rbp - 0x60]
cmp r8, 1
jne 0x1800059ca
cmp byte [rax], 0x2e
je 0x1800059e5
lea rax, [rbp - 0x70]
cmp rdx, 0xf
cmova rax, rcx
cmp r8, 2
jne 0x1800059e3
cmp word [rax], 0x2e2e
je 0x1800059e5
inc ebx
cmp rdx, 0xf
jbe 0x180005a14
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005a0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005a7b
call fcn.18007ce5c
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180005970
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180005a6b
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005a87
call fcn.18007ce5c
mov eax, edi
add rsp, 0x340
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180086f0c
nop
call fcn.180086f0c
nop
call fcn.180086f0c
int3