Function at 0x1002f584
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1005f040]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [0x100d5a2c]
mov dword [esp + 0x24], eax
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x1a20]
mov dword [esp + 0x2c], ecx
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x1a20]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x7b], 0
je 0x1002f5da
xor al, al
jmp 0x1002f8f9
push ecx
push ecx
mov ecx, eax
call fcn.10022617
mov edi, eax
call fcn.1002c9a6
mov edx, dword [esp + 0x2c]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x18]
push 1
push 0
movss dword [esp + 0x28], xmm0
call fcn.10027aea
movss xmm1, dword [esi + 0x1548]
xorps xmm3, xmm3
mov ecx, dword [esp + 0x30]
addss xmm1, xmm1
movss xmm2, dword [esp + 0x28]
add esp, 0xc
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm3
mov eax, dword [ecx + 0xcc]
mov edx, dword [ecx + 0xc8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
addss xmm1, dword [esp + 0x18]
addss xmm2, dword [ecx + 0xc8]
addss xmm1, dword [ecx + 0xcc]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
jbe 0x1002f674
addss xmm0, dword [esi + 0x155c]
jmp 0x1002f677
xorps xmm0, xmm0
mov eax, dword [esp + 0x1c]
addss xmm2, xmm0
addss xmm1, xmm3
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], edx
push eax
mov edx, edi
lea ecx, [esp + 0x34]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm1
call fcn.10023223
pop ecx
test al, al
jne 0x1002f6e6
movss xmm0, dword [esp + 0x38]
lea ecx, [esp + 0x14]
subss xmm0, dword [esp + 0x30]
movss xmm1, dword [esi + 0x1548]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x34]
movss dword [esp + 0x18], xmm0
call fcn.1002297a
jmp 0x1002f5d3
test ebx, ebx
jne 0x1002f6f7
imul eax, dword [esp + 0x10], 0xc
mov ebx, dword [eax + 0x1005fcd4]
jmp 0x1002f720
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1002f720
mov edx, 0x10054950
xor ecx, ecx
movzx eax, byte [ebx + ecx]
cmp al, byte [edx + ecx]
jne 0x1002f717
inc ecx
cmp ecx, 3
jne 0x1002f706
jmp 0x1002f720
mov ecx, ebx
call fcn.1002f50a
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov edx, edi
push 1
call fcn.1002346d
pop ecx
mov edx, edi
mov byte [esp + 0xf], al
lea ecx, [esp + 0x40]
call fcn.1002338f
cmp byte [esp + 0xf], 0
jne 0x1002f769
test al, al
je 0x1002f751
cmp byte [esi + 0x3e8], 0
jne 0x1002f769
cmp dword [esi + 0x1b24], edi
je 0x1002f769
cmp dword [esi + 0x1b30], edi
jne 0x1002f7ae
cmp dword [esi + 0x2c3c], edi
je 0x1002f7ae
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.10022792
call fcn.1002281e
mov ecx, edx
call fcn.1002c78a
cmp byte [esp + 0xf], 0
mov dword [esi + 0x1a50], 0xc
jne 0x1002f8d7
cmp byte [esi + 0xf1], 0
jne 0x1002f8d7
cmp dword [esi + 0x1b30], edi
je 0x1002f8d7
cmp dword [esi + 0x1a3c], edi
jne 0x1002f7c2
cmp dword [esi + 0x2c3c], edi
je 0x1002f8de
movss xmm0, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
subss xmm0, dword [esp + 0x30]
movss xmm1, dword [esi + 0x1548]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x34]
movss dword [esp + 0x20], xmm0
call fcn.1002297a
movss xmm0, dword [ebp + 0x18]
mov edx, edi
push ecx
push ecx
movss dword [esp], xmm0
lea ecx, [esp + 0x48]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x3c]
push dword [esp + 0x28]
call fcn.1002f333
add esp, 0x1c
mov byte [esp + 0xf], al
test al, al
je 0x1002f835
mov ecx, dword [0x100d5a2c]
mov byte [ecx + 0x1a4b], 1
push ebx
push dword [esp + 0x2c]
lea ecx, [esp + 0x58]
push dword [esp + 0x18]
push 0x40
pop edx
call fcn.1002ec0f
add esp, 0xc
mov dword [esp + 0x1c], 0x3f000000
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], 0x3f000000
add eax, ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call fcn.1002731d
movss xmm0, dword [esp + 0x28]
add esp, 0x14
comiss xmm0, dword [0x100596a0]
jbe 0x1002f8d1
movss xmm0, dword [esp + 0x48]
xor edx, edx
addss xmm0, dword [esi + 0x155c]
mov ecx, dword [esp + 0x2c]
push 1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esi + 0x1548]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.1002720e
add esp, 0xc
mov al, byte [esp + 0xf]
jmp 0x1002f8f9
and dword [esi + 0x2c3c], 0
push ebx
push dword [esp + 0x2c]
mov edx, edi
lea ecx, [esp + 0x48]
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.1002f06f
add esp, 0x10
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004cba5
mov esp, ebp
pop ebp
ret