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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [0x100d5a2c]
push esi
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [ebx + 0x1a20]
mov dword [esp + 0x14], esi
cmp byte [esi + 0x7b], 0
je 0x1002e574
xor al, al
jmp 0x1002e920
movss xmm0, dword [ebx + 0x1544]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x1c], xmm0
test eax, eax
jne 0x1002e596
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.10027107
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 8]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x3c]
push 0
push eax
call fcn.10027b6b
movss xmm0, dword [ebx + 0x1548]
lea ecx, [esp + 0x3c]
movss xmm6, dword [ebx + 0x1938]
addss xmm0, xmm0
movss xmm2, dword [esi + 0xe8]
xorps xmm3, xmm3
xorps xmm4, xmm4
add esp, 0xc
maxss xmm4, dword [esi + 0xec]
addss xmm0, xmm6
movss dword [esp + 0x18], xmm4
minss xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm3
maxss xmm2, xmm0
call fcn.1002d1d6
movss xmm0, dword [esi + 0xc]
movaps xmm1, xmm6
mov ecx, dword [esi + 0xcc]
movaps xmm5, xmm2
addss xmm5, dword [esi + 0xcc]
addss xmm0, dword [eax]
mov eax, dword [esi + 0xc8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
movss dword [esp + 0x54], xmm5
addss xmm1, xmm0
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm3
jbe 0x1002e66f
addss xmm0, xmm1
jmp 0x1002e672
xorps xmm0, xmm0
addss xmm6, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm1, xmm4
lea ecx, [esp + 0x38]
movss dword [esp + 0x38], xmm6
call fcn.100229ff
movss xmm1, dword [esp + 0x48]
lea esi, [esp + 0x38]
movss xmm0, dword [ebx + 0x1554]
addss xmm6, xmm1
movss xmm2, dword [esp + 0x4c]
addss xmm0, xmm0
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x58]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x44], xmm5
addss xmm0, xmm6
movss dword [esp + 0x40], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002e491
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push 0
mov byte [esp + 0x11], al
call fcn.100232a8
pop ecx
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x48]
or dword [ecx + 0x108], 2
lea edi, [ecx + 0x11c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, al
jne 0x1002e721
mov bl, byte [esp + 0xd]
test bl, bl
je 0x1002e91e
mov ecx, dword [esp + 0x10]
jmp 0x1002e919
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push 0x1400
push eax
lea eax, [esp + 0x16]
mov edx, esi
push eax
lea ecx, [esp + 0x64]
call fcn.1002d9c9
mov dl, byte [esp + 0x19]
add esp, 0xc
xor cl, cl
test al, al
je 0x1002e76e
xor ecx, ecx
inc ecx
cmp byte [ebx + 0x1d00], 0
mov dword [esp + 0x10], ecx
je 0x1002e76a
xor eax, eax
movzx ecx, cl
test dl, dl
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [0x100d5a2c]
cmp dword [ebx + 0x1b20], esi
jne 0x1002e7d2
cmp byte [ebx + 0x1b95], 0
je 0x1002e7a7
cmp dword [ebx + 0x1ba0], 0
jne 0x1002e7a7
test dl, dl
je 0x1002e7a7
mov byte [esp + 0x10], 1
mov byte [edi + 0x1b95], 0
call fcn.10023020
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x1b20], esi
jne 0x1002e7d2
cmp byte [ebx + 0x1b95], 0
je 0x1002e7d2
cmp dword [ebx + 0x1ba0], 1
jne 0x1002e7d2
test dl, dl
jne 0x1002e7d2
mov byte [edi + 0x1b95], dl
call fcn.10023020
jmp 0x1002e7d6
test cl, cl
je 0x1002e7f1
mov ecx, dword [esp + 0x14]
xor dl, 1
movzx eax, dl
push eax
push esi
mov ecx, dword [ecx + 0x158]
mov byte [esp + 0x15], dl
call fcn.10022060
cmp byte [esp + 0xf], 0
mov al, byte [esp + 0xe]
je 0x1002e805
test al, al
je 0x1002e805
push 0x1a
pop ecx
jmp 0x1002e80f
xor ecx, ecx
test al, al
setne cl
add ecx, 0x18
movss xmm1, dword [0x1005974c]
call fcn.10021c52
cmp byte [esp + 0xe], 0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x18]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
je 0x1002e87d
push dword [esp + 0x34]
xorps xmm2, xmm2
xor dl, dl
push dword [esp + 0x34]
mov ecx, eax
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.10027579
push 2
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.10027950
movss xmm1, dword [esp + 0x2c]
add esp, 0x14
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x48]
movzx eax, byte [esp + 0xd]
movss dword [esp + 0x30], xmm0
lea ecx, [eax*2 + 1]
movss xmm0, dword [ebx + 0x1938]
mulss xmm0, dword [0x10059700]
addss xmm0, xmm1
movss xmm1, dword [0x10059734]
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.10027769
cmp byte [ebx + 0x2cb4], 0
pop ecx
pop ecx
je 0x1002e8f7
xor eax, eax
mov word [esp + 0x10], 0x3e
push eax
lea edx, [esp + 0x14]
mov byte [esp + 0x16], al
lea ecx, [esp + 0x24]
call fcn.1002717a
pop ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.1002728f
mov bl, byte [esp + 0x19]
add esp, 0xc
test bl, bl
je 0x1002e91e
mov ecx, esi
call fcn.10038ca3
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret