Function at 0x1002ea35
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100752fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002ecf5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x60], 0x1b3c
cmp dword [ebp - 0x60], 0xd71
jge 0x1002ec68
movsd xmm0, qword [0x100093b8]
movsd qword [ebp - 0xb8], xmm0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100086a0
call fcn.1005b97b
add esp, 0xc
movsd xmm0, qword [0x10009388]
movsd qword [ebp - 0xa8], xmm0
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.10033619
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
jmp 0x1002eaf2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x1002eb88
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x100086a0
call fcn.1005b97b
add esp, 0xc
mov eax, dword [ebp - 0x28]
dec eax
cdq
idiv dword [ebp - 0x14]
inc eax
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x8c], eax
cvtsi2sd xmm0, dword [ebp - 0x8c]
mulsd xmm0, qword [0x100093a8]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
inc eax
cvtsi2sd xmm1, eax
divsd xmm0, xmm1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa0]
movsd qword [ebp - 0xc0], xmm0
call fcn.1002449d
movsd xmm0, qword [ebp - 0xc0]
movsd qword [eax], xmm0
jmp 0x1002eaeb
movsd xmm0, qword [0x10009388]
movsd qword [ebp - 0x78], xmm0
and dword [ebp - 0x10], 0
jmp 0x1002eba2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jge 0x1002ec40
mov eax, dword [ebp - 0x10]
inc eax
cdq
idiv dword [ebp - 0x20]
mov dword [ebp - 0x40], edx
movsd xmm0, qword [0x100093b0]
mulsd xmm0, qword [ebp - 0xb8]
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa0]
movsd qword [ebp - 0xb0], xmm0
call fcn.1002449d
movsd xmm0, qword [0x100093a8]
subsd xmm0, qword [eax]
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa0]
movsd qword [ebp - 0xc8], xmm0
call fcn.1002449d
movsd xmm0, qword [0x100093a8]
subsd xmm0, qword [eax]
movsd xmm1, qword [ebp - 0xc8]
mulsd xmm1, xmm0
movsd xmm0, qword [0x100093a8]
subsd xmm0, xmm1
movsd xmm1, qword [ebp - 0xb0]
mulsd xmm1, xmm0
addsd xmm1, qword [ebp - 0x78]
movsd qword [ebp - 0x78], xmm1
jmp 0x1002eb9b
push ecx
push ecx
movsd xmm0, qword [ebp - 0x78]
movsd qword [esp], xmm0
push 0x100086a8
call fcn.1005bb96
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.100243b7
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1002eceb
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x80]
push dword [eax]
mov eax, dword [ebp - 0x30]
push dword [eax]
lea eax, [ebp - 0xe0]
push eax
call fcn.1002a7a1
add esp, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
call fcn.100331aa
lea ecx, [ebp - 0xe0]
call fcn.10033207
jmp 0x1002ecf3
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002ed6f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed5e
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002ed3f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x1002ed5c
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.100243d3
mov dword [eax], 0xd25bb086
jmp 0x1002ed34
jmp 0x1002ed6f
push 0
push 0x21ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret