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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [0x1021abec]
mov dword [esp + 0x14], edx
mov edx, ecx
push esi
push edi
mov eax, dword [ebx + 0x199c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ebx
mov byte [eax + 0x78], 1
mov eax, dword [ebx + 0x199c]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x7b], 0
jne 0x100804ac
mov esi, eax
xorps xmm5, xmm5
movss xmm2, dword [esi + 0x168]
comiss xmm5, xmm2
jbe 0x1008021c
movss xmm3, dword [esi + 0xc4]
movss xmm1, dword [esi + 0x210]
mov edi, dword [esi + 0x1b8]
subss xmm3, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x10080208
mov edx, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x10]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x101519fc]
maxss xmm2, xmm1
mov ecx, edx
cvttss2si esi, xmm2
cmp edx, 0xffffffff
jae 0x10080241
mov dl, byte [ecx]
test dl, dl
je 0x1008023d
cmp dl, 0x23
jne 0x10080237
cmp byte [ecx + 1], dl
je 0x1008023d
inc ecx
cmp ecx, 0xffffffff
jb 0x10080227
mov edx, dword [esp + 0x10]
movss xmm2, dword [ebx + 0x18bc]
mov edi, dword [ebx + 0x18b8]
movss dword [esp + 0x14], xmm2
cmp edx, ecx
jne 0x1008025e
movaps xmm6, xmm5
jmp 0x100802b3
movss xmm3, dword [0x10151bf0]
lea eax, [esp + 0x28]
push 0
push ecx
push edx
push ecx
mov dword [esp], 0xbf800000
mov ecx, edi
push eax
call fcn.100abda0
movss xmm0, dword [esp + 0x28]
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x1008029a
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [edi]
subss xmm0, xmm1
addss xmm0, dword [0x101519e8]
movss xmm2, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm5
mov eax, dword [esp + 0x18]
movss xmm0, dword [ebx + 0x1550]
movss xmm7, dword [eax + 0xc4]
movaps xmm4, xmm0
movss xmm3, dword [eax + 0xc8]
addss xmm4, xmm0
movd xmm0, esi
movaps xmm1, xmm7
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm6
addss xmm1, xmm0
movss dword [esp + 0x18], xmm3
movaps xmm0, xmm4
movss dword [esp + 0x30], xmm7
addss xmm0, xmm2
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm1
addss xmm0, xmm3
movss dword [esp + 0x3c], xmm0
jbe 0x10080322
movss xmm0, dword [ebx + 0x1564]
jmp 0x10080325
movaps xmm0, xmm5
movd xmm1, esi
addss xmm4, xmm3
cvtdq2ps xmm1, xmm1
lea ecx, [esp + 0x28]
addss xmm4, xmm2
movss dword [esp + 0x40], xmm7
addss xmm0, xmm1
movss dword [esp + 0x44], xmm3
movss xmm1, dword [ebx + 0x1550]
movss dword [esp + 0x4c], xmm4
subss xmm4, xmm3
addss xmm0, xmm7
movss dword [esp + 0x2c], xmm4
addss xmm0, xmm6
movss dword [esp + 0x48], xmm0
subss xmm0, xmm7
movss dword [esp + 0x28], xmm0
call fcn.1006ecd0
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.1006edf0
add esp, 4
test al, al
je 0x100804ac
push dword [ebp + 8]
add ebx, 0x2e64
mov edx, 0xc01
push ecx
push dword [esp + 0x24]
mov ecx, ebx
call fcn.1006a870
add esp, 0xc
test ebx, ebx
je 0x100803cb
cmp eax, 0xffffffff
je 0x100803c2
cmp eax, 0xc01
jl 0x100803c7
mov eax, 0xc00
mov byte [eax + ebx], 0
lea edx, [eax + ebx]
mov dword [esp + 0x28], 0
or eax, 0xffffffff
mov dword [esp + 0x2c], 0x3f000000
test edx, edx
mov edi, ebx
cmove edx, eax
cmp ebx, edx
jae 0x10080405
nop dword [eax]
mov cl, byte [edi]
test cl, cl
je 0x10080405
cmp cl, 0x23
jne 0x10080400
cmp byte [edi + 1], cl
je 0x10080405
inc edi
cmp edi, edx
jb 0x100803f0
mov eax, edi
sub eax, ebx
je 0x10080459
mov esi, dword [0x1021abec]
lea eax, [esp + 0x28]
push 0
push eax
push 0
mov ecx, dword [esi + 0x199c]
lea eax, [esp + 0x44]
push edi
push ebx
push eax
mov ecx, dword [ecx + 0x270]
lea edx, [esp + 0x48]
call fcn.1006d850
add esp, 0x18
cmp byte [esi + 0x2c54], 0
je 0x10080451
push edi
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.1007c5c0
add esp, 4
movss xmm1, dword [esp + 0x34]
jmp 0x1008045f
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x1013df4c]
jbe 0x100804ac
mov eax, dword [esp + 0x20]
xor edx, edx
movss xmm0, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
addss xmm1, dword [eax + 0x1550]
addss xmm0, dword [eax + 0x1564]
movss dword [esp + 0x24], xmm1
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
push 1
call fcn.1006d720
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret