Function at 0x180004c90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
xor r14d, r14d
lea rdx, [rbp + 0xd0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x180004cd2
mov rax, 0xffffffffffffffff
jmp 0x180004f25
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0xd0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x180004cf3
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.180012f80
nop
mov r8d, 1
lea rdx, [0x180124568]
lea rcx, [rsp + 0x70]
call fcn.18000cb40
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180004d92
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004f43
call fcn.18007eaec
movdqa xmm0, xmmword [0x1801256f0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rax, [rbp - 0x70]
mov qword [rbp + 0x200], rax
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rbp + 0x208], rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
add rax, 0x226
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x226
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x208]
lea rcx, [rsp + 0x20]
call fcn.18000f6f0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180004eea
mov ebx, r14d
test byte [rbp - 0x70], 0x10
je 0x180004eca
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x44]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180004e40
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.180012f80
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
cmova rax, rcx
mov r8, qword [rsp + 0x40]
cmp r8, 1
jne 0x180004e7f
cmp byte [rax], 0x2e
je 0x180004e9b
lea rax, [rsp + 0x30]
cmp rdx, 0xf
cmova rax, rcx
cmp r8, 2
jne 0x180004e99
cmp word [rax], 0x2e2e
je 0x180004e9b
inc ebx
cmp rdx, 0xf
jbe 0x180004eca
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ec5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004f3d
call fcn.18007eaec
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180004e14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180004f23
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004f49
call fcn.18007eaec
mov eax, edi
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18008c6c0
nop
call fcn.18008c6c0
nop
call fcn.18008c6c0
int3