Function at 0x10006590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100712e6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1009d078]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.1000b710
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x100066c4
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006620
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10007e00
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10006674
movups xmm0, xmmword [ebp - 0x12c]
mov edx, 0xf
mov byte [ebp - 0x12c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x10006689
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.1000b040
mov edx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100066c4
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100066ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006845
push edx
push ecx
call fcn.1004ce37
add esp, 8
push 7
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push str.C:_tmp_
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.10007e00
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10006733
movups xmm0, xmmword [ebp - 0x12c]
mov edx, 0xf
mov byte [ebp - 0x12c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x10006748
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.1000b040
mov edx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10006783
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006845
push edx
push ecx
call fcn.1004ce37
add esp, 8
push 8
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push str.C:_temp_
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.10007e00
mov dword [ebp - 4], 2
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100067e6
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x1000682b
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.1000b040
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1000682b
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006845
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
call fcn.10051daf
int3