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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x1009f040]
xor eax, esp
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x1012266c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov eax, dword [ecx + 0x1928]
push edi
mov dword [esp + 0x14], ecx
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1928]
cmp byte [eax + 0x7b], 0
je 0x1002b374
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1004d170
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x1002b385
lea eax, [ebx + ebx*2]
mov edi, dword [eax*4 + 0x100ac90c]
test ebx, ebx
je 0x1002b3f8
cmp ebx, 1
je 0x1002b3f8
cmp ebx, 2
je 0x1002b3e1
cmp ebx, 3
je 0x1002b3e1
cmp ebx, 4
jne 0x1002b3be
movss xmm0, dword [esi]
lea eax, [esp + 0x38]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push edi
push 0x40
push eax
call fcn.100124f0
add esp, 0x14
jmp 0x1002b40a
cmp ebx, 5
jne 0x1002b40a
movsd xmm0, qword [esi]
lea eax, [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
push edi
push 0x40
push eax
call fcn.100124f0
add esp, 0x14
jmp 0x1002b40a
push dword [esi + 4]
lea eax, [esp + 0x3c]
push dword [esi]
push edi
push 0x40
push eax
call fcn.100124f0
add esp, 0x14
jmp 0x1002b40a
push dword [esi]
lea eax, [esp + 0x3c]
push edi
push 0x40
push eax
call fcn.100124f0
add esp, 0x10
mov edx, dword [ebp + 0x18]
mov ecx, edx
or ecx, 1
mov byte [esp + 0x13], 0
test edx, 0x20002
cmovne ecx, edx
or ecx, 0x10
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x18], ecx
je 0x1002b8f9
mov eax, dword [0x1012266c]
movss xmm0, dword [eax + 0x1540]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x1854]
movss dword [esp + 0x28], xmm0
call fcn.10031b40
mov ecx, dword [esp + 0x20]
call fcn.10023a00
mov ecx, dword [0x1012266c]
xorps xmm5, xmm5
movss xmm3, dword [0x1009b380]
mov eax, dword [ecx + 0x1928]
movss xmm2, dword [eax + 0x168]
comiss xmm5, xmm2
jbe 0x1002b508
mov ecx, dword [eax + 0x1c4]
movss xmm4, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x21c]
mov dword [esp + 0x24], ecx
subss xmm4, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x1002b4f3
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x24]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [0x1012266c]
addss xmm1, xmm0
mov eax, dword [ecx + 0x1928]
subss xmm1, dword [eax + 0x3c]
jmp 0x1002b4f9
mov ecx, dword [0x1012266c]
subss xmm1, xmm4
addss xmm1, xmm2
movaps xmm2, xmm3
maxss xmm2, xmm1
mov edx, dword [esp + 0x14]
movss xmm1, dword [esp + 0x28]
cvttss2si eax, xmm2
addss xmm1, dword [edx + 0x1554]
movd xmm0, eax
mov eax, dword [ecx + 0x1928]
addss xmm1, xmm1
cvtdq2ps xmm0, xmm0
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov dword [esp + 0x24], ecx
subss xmm0, xmm1
maxss xmm3, xmm0
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x1002b556
movss xmm3, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm3
add ecx, 0x17c
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1002b59c
inc edx
mov dword [esp + 0x34], edx
test eax, eax
je 0x1002b588
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1002b58d
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10032f60
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea edx, [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, 0x1009a0a2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
inc dword [eax + 0x17c]
lea eax, [esp + 0x38]
push eax
push 0x40
call fcn.10027dc0
add esp, 0x14
test al, al
je 0x1002b60b
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push esi
push ebx
mov edx, dword [edi + 0x1c70]
call fcn.10023e40
add esp, 0xc
mov byte [esp + 0x13], al
jmp 0x1002b60f
mov edi, dword [esp + 0x14]
mov edx, dword [0x1012266c]
mov ecx, dword [edx + 0x1928]
mov byte [ecx + 0x78], 1
mov ecx, dword [edx + 0x1928]
mov eax, dword [ecx + 0x17c]
add eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [ecx + 0x17c], eax
jne 0x1002b644
movss xmm0, dword [ecx + 0x228]
jmp 0x1002b658
mov edi, dword [esp + 0x18]
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edi*4 - 4]
mov edi, dword [esp + 0x14]
movss dword [ecx + 0x168], xmm0
mov eax, dword [edx + 0x1928]
movss xmm1, dword [edi + 0x1554]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002b6c6
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002b68e
movss xmm1, dword [edx + 0x154c]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x18]
push 0x81
mov ecx, 0x1009af04
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
call fcn.100228c0
mov edi, dword [ebp + 0x10]
add esp, 4
mov edx, dword [esp + 0x14]
test al, al
je 0x1002b748
cmp byte [edx + 0xf1], 0
je 0x1002b708
mov ecx, edi
test edi, edi
jne 0x1002b70b
mov ecx, dword [ebp + 0xc]
cmp ebx, 5
ja case.default.0x1002b710
jmp dword [ebx*4 + 0x1002b958]
mov eax, dword [ecx]
sub dword [esi], eax
jmp case.default.0x1002b710
mov eax, dword [ecx]
sub dword [esi], eax
mov eax, dword [ecx + 4]
sbb dword [esi + 4], eax
jmp case.default.0x1002b710
movss xmm0, dword [esi]
subss xmm0, dword [ecx]
movss dword [esi], xmm0
jmp case.default.0x1002b710
movsd xmm0, qword [esi]
subsd xmm0, qword [ecx]
movsd qword [esi], xmm0
mov byte [esp + 0x13], 1
movss xmm1, dword [edx + 0x1554]
mov edx, dword [0x1012266c]
mov eax, dword [edx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002b7b4
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002b77c
movss xmm1, dword [edx + 0x154c]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x18]
push 0x81
mov ecx, 0x1009af08
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
call fcn.100228c0
add esp, 4
test al, al
je 0x1002b831
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xf1], 0
je 0x1002b7f1
test edi, edi
jne 0x1002b7f4
mov edi, dword [ebp + 0xc]
cmp ebx, 5
ja case.default.0x1002b7f9
jmp dword [ebx*4 + 0x1002b970]
mov eax, dword [edi]
add dword [esi], eax
jmp case.default.0x1002b7f9
mov eax, dword [edi]
add dword [esi], eax
mov eax, dword [edi + 4]
adc dword [esi + 4], eax
jmp case.default.0x1002b7f9
movss xmm0, dword [edi]
addss xmm0, dword [esi]
movss dword [esi], xmm0
jmp case.default.0x1002b7f9
movsd xmm0, qword [edi]
addsd xmm0, qword [esi]
movsd qword [esi], xmm0
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
mov edx, dword [0x1012266c]
movss xmm1, dword [eax + 0x1554]
mov eax, dword [edx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002b8a1
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002b869
movss xmm1, dword [edx + 0x154c]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
mov eax, dword [esp + 0x20]
mov edx, eax
cmp eax, 0xffffffff
jae 0x1002b8c6
nop dword [eax]
mov cl, byte [edx]
test cl, cl
je 0x1002b8c6
cmp cl, 0x23
jne 0x1002b8c0
cmp byte [edx + 1], cl
je 0x1002b8c6
inc edx
cmp edx, 0xffffffff
jb 0x1002b8b0
mov ecx, eax
call fcn.10021be0
mov eax, dword [0x1012266c]
mov eax, dword [eax + 0x1928]
dec dword [eax + 0x1c8]
call fcn.10031c60
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1004d170
mov esp, ebp
pop ebp
ret
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push 0x40
lea edx, [esp + 0x4c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.10027dc0
add esp, 0x14
test al, al
je 0x1002b8e3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push edi
push esi
push ebx
mov edx, dword [eax + 0x1c70]
call fcn.10023e40
mov ecx, dword [esp + 0x88]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004d170
mov esp, ebp
pop ebp
ret