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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x430b24]
push esi
push edi
cmp byte [ebx + 0xbe], 0
je 0x489e99
test byte [ebx + 0xc], 2
jne 0x489e99
mov byte [ebx + 0xbe], 0
cmp byte [ebx + 0x2b64], 0
jne 0x489ee4
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x489edd
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.00485614
mov esi, eax
add esp, 8
test esi, esi
je 0x489edd
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.0048b174
dec dword [0x430bb0]
push esi
call dword [0x42822c]
add esp, 4
mov byte [ebx + 0x2b64], 1
movss xmm0, dword [ebx + 0x2b68]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x489f28
subss xmm0, dword [ebx + 0x18]
comiss xmm1, xmm0
movss dword [ebx + 0x2b68], xmm0
jb 0x489f28
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x489f17
call fcn.0048b334
xorps xmm1, xmm1
jmp 0x489f1e
mov byte [ebx + 0x370], 1
mov dword [ebx + 0x2b68], 0
movss xmm0, dword [ebx + 0x18]
mov eax, dword [ebx + 0x94]
mov edx, dword [0x430b24]
inc dword [ebx + 0x18e8]
cvtps2pd xmm0, xmm0
mov byte [ebx + 1], 1
mov dword [ebx + 0x2b44], 0
mov dword [ebx + 0x1924], 0
addsd xmm0, qword [ebx + 0x18e0]
movsd qword [ebx + 0x18e0], xmm0
mov byte [eax], 1
mov esi, dword [edx + 0xa0]
test esi, esi
jne 0x489f82
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov eax, dword [edx + 0x1928]
mov dword [edx + 0x1850], esi
mulss xmm0, dword [esi]
mulss xmm0, dword [esi + 4]
movss dword [edx + 0x1858], xmm0
test eax, eax
je 0x489fc0
movss xmm1, dword [eax + 0x274]
mov eax, dword [0x430b24]
mulss xmm1, dword [eax + 0x1858]
movss dword [edx + 0x1854], xmm1
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x185c], eax
mov eax, dword [ecx + 0x30]
lea ecx, [ebx + 0x1b60]
mov dword [edx + 0x1860], eax
mov dword [edx + 0x1864], esi
movss dword [edx + 0x1868], xmm1
movss xmm0, dword [ebx + 0x10]
mov eax, dword [ebx + 0x159c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [ebp - 0xc], xmm0
movups xmm0, xmmword [ebp - 0x18]
mov dword [ebx + 0x186c], eax
movups xmmword [ebx + 0x1870], xmm0
call fcn.0049d074
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x1b60]
push dword [eax + 8]
call fcn.0049d754
mov eax, dword [ebx + 0x1b88]
lea ecx, [ebx + 0x1b60]
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 4], xmm0
push dword [ebp - 4]
movss xmm0, dword [eax + 0x14]
push dword [ebp - 8]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0xc], xmm0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call fcn.0049d614
mov edx, dword [0x430b24]
xor ecx, ecx
cmp byte [ebx + 0x1599], cl
mov eax, 2
mov byte [ebx + 0x1b20], 0
cmovne ecx, eax
mov dword [ebx + 0x1b24], 0
xor eax, eax
mov dword [ebx + 0x1b2c], 0
cmp byte [ebx + 0x1598], al
mov dword [ebx + 0x1b30], 0
setne al
mov dword [ebx + 0x1b28], 0
or ecx, eax
mov dword [ebx + 0x1b84], ecx
mov dword [ebx + 0x1b3c], 0
mov eax, dword [ebx + 0x1b3c]
mov dword [ebx + 0x1b40], 0
mov dword [ebx + 0x1b34], eax
mov eax, dword [ebx + 0x1b40]
mov dword [ebx + 0x1b38], eax
cmp byte [ebx + 0x1bd8], 0
je 0x48a143
mov eax, dword [ebx + 0x1bf0]
cmp eax, dword [ebx + 0x1944]
jne 0x48a143
cmp dword [edx + 0x1944], eax
jne 0x48a134
mov byte [edx + 0x1950], 1
cmp dword [edx + 0x1948], eax
jne 0x48a143
mov byte [edx + 0x1954], 1
cmp dword [ebx + 0x193c], 0
jne 0x48a156
mov dword [ebx + 0x1940], 0
mov eax, dword [ebx + 0x1934]
movss xmm1, dword [ebx + 0x18]
test eax, eax
je 0x48a178
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1940]
movss dword [ebx + 0x1940], xmm0
cmp byte [ebx + 0x1950], 0
movaps xmm0, xmm1
mov dword [ebx + 0x193c], eax
movaps xmm2, xmm1
mov dword [ebx + 0x1934], 0
mov byte [ebx + 0x1938], 0
jne 0x48a203
mov eax, dword [ebx + 0x1944]
cmp dword [ebx + 0x1948], eax
jne 0x48a203
test eax, eax
je 0x48a203
mov ecx, dword [edx + 0x1944]
test ecx, ecx
setne al
mov byte [edx + 0x1951], al
test ecx, ecx
je 0x48a1d6
mov dword [edx + 0x194c], 0
mov byte [edx + 0x1953], 0
mov dword [edx + 0x1944], 0
mov dword [edx + 0x1958], 0
mov byte [edx + 0x1952], 0
mov dword [edx + 0x1964], 0
movss xmm2, dword [ebx + 0x18]
movaps xmm0, xmm2
mov ecx, dword [ebx + 0x1944]
test ecx, ecx
je 0x48a224
movss xmm0, dword [ebx + 0x194c]
addss xmm0, xmm2
movss dword [ebx + 0x194c], xmm0
movaps xmm0, xmm2
mov eax, dword [ebx + 0x1964]
addss xmm0, dword [ebx + 0x1974]
mov dword [ebx + 0x1968], eax
mov al, byte [ebx + 0x1953]
mov byte [ebx + 0x1955], al
mov eax, dword [ebx + 0x2b18]
movss dword [ebx + 0x1974], xmm0
mov dword [ebx + 0x1948], ecx
mov byte [ebx + 0x1954], 0
mov word [ebx + 0x1950], 0
test eax, eax
je 0x48a27a
cmp ecx, eax
je 0x48a27a
mov dword [ebx + 0x2b18], 0
mov eax, dword [ebx + 0x1c3c]
lea edi, [ebx + 0xc60]
movss xmm2, dword [0x42cd1c]
mov ecx, 0x200
mov dword [ebx + 0x1c40], eax
lea eax, [ebx + 0x460]
mov esi, eax
mov dword [ebx + 0x1c3c], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c38], 0x7f7fffff
xor ecx, ecx
mov byte [ebx + 0x1bd9], 0
nop dword [eax]
cmp byte [ebx + ecx + 0xf5], 0
je 0x48a2e5
movss xmm1, dword [eax]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x48a2e8
movss xmm0, dword [ebx + 0x18]
addss xmm0, xmm1
jmp 0x48a2e8
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x48a2c4
call fcn.00487bc4
call fcn.004895f4
mov eax, dword [ebx + 0x2d8c]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x2bac]
addss xmm0, dword [ebx + 0x2d90]
movss dword [ebx + 0x2d90], xmm0
movss dword [ebx + eax*4 + 0x2bac], xmm1
mov eax, dword [ebx + 0x2d8c]
inc eax
movss xmm0, dword [ebx + 0x2d90]
cdq
idiv ecx
comiss xmm0, dword [0x42cc38]
mov dword [ebx + 0x2d8c], edx
jbe 0x48a36e
divss xmm0, dword [0x42ccf8]
movss xmm1, dword [0x42cca0]
divss xmm1, xmm0
jmp 0x48a376
movss xmm1, dword [0x42cd10]
movss dword [ebx + 0x374], xmm1
call fcn.004893d4
call fcn.00489bd4
mov esi, dword [0x430b24]
mov edx, dword [esi + 0x19a0]
sub edx, 1
js 0x48a3c3
mov eax, dword [esi + 0x19a8]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x48a3bb
test dword [ecx + 8], 0x8000000
jne 0x48a4a6
sub eax, 0x24
sub edx, 1
jns 0x48a3a8
cmp dword [ebx + 0x1a60], 0
xorps xmm6, xmm6
je 0x48a3e0
movss xmm0, dword [ebx + 0x1a70]
comiss xmm0, xmm6
ja 0x48a4a9
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x42ccd0]
movss xmm1, dword [ebx + 0x1b5c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1b5c], xmm1
mov dword [ebx + 0x1bd4], 0
mov dword [ebx + 0x2d9c], 0xffffffff
mov dword [ebx + 0x2d98], 0xffffffff
mov dword [ebx + 0x2d94], 0xffffffff
mov dword [ebx + 0x2b54], 0x3f800000
mov dword [ebx + 0x2b58], 0x3f800000
call fcn.00489964
cmp dword [ebx + 0x1944], 0
jne 0x48a513
mov ecx, dword [ebx + 0x1a24]
test ecx, ecx
je 0x48a513
cmp byte [ecx + 0x76], 0
je 0x48a513
test dword [ecx + 8], 0x40000
jne 0x48a513
cmp byte [ebx + 0xf1], 0
jne 0x48a513
mov eax, dword [esi + 0x34]
test eax, eax
js 0x48a513
movss xmm0, dword [esi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x48a4cb
mov al, 1
jmp 0x48a4cd
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x42ccc4]
addss xmm1, dword [ebx + 0x1b5c]
minss xmm1, dword [0x42cca0]
jmp 0x48a3fd
xor al, al
test al, al
je 0x48a513
cmp dword [ebx + 0x1a28], 0
je 0x48a502
mov eax, dword [ebx + 0x1a7c]
cmp eax, 0x7fffffff
je 0x48a502
xor edi, edi
mov edx, 2
cmp byte [ebx + 0xf2], 0
cmovne edx, edi
add edx, eax
mov dword [ecx + 0x344], edx
jmp 0x48a513
movzx eax, byte [ebx + 0xf2]
neg eax
sbb eax, eax
mov dword [ecx + 0x344], eax
xor edx, edx
mov dword [ebx + 0x1a7c], 0x7fffffff
cmp dword [ebx + 0x18f4], edx
je 0x48a547
mov eax, dword [ebx + 0x18fc]
mov ecx, dword [eax + edx*4]
inc edx
mov al, byte [ecx + 0x76]
mov byte [ecx + 0x77], al
mov byte [ecx + 0x76], 0
mov byte [ecx + 0x78], 0
cmp edx, dword [ebx + 0x18f4]
jne 0x48a527
mov eax, dword [ebx + 0x1a24]
test eax, eax
je 0x48a595
cmp byte [eax + 0x77], 0
jne 0x48a595
mov eax, dword [esi + 0x18f4]
sub eax, 1
js 0x48a595
mov edx, dword [esi + 0x18fc]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x48a57e
cmp byte [ecx + 0x77], 0
je 0x48a57e
test dword [ecx + 8], 0x1000000
je 0x48a585
sub eax, 1
jns 0x48a568
jmp 0x48a595
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
call fcn.00492634
push ecx
lea ecx, [ebx + 0x190c]
call fcn.004954e4
mov ecx, dword [ebx + 0x19b0]
test ecx, ecx
jns 0x48a618
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x48a618
inc dword [0x430bb0]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call dword [0x428238]
mov edi, dword [ebx + 0x19b4]
add esp, 4
mov dword [ebp - 4], eax
test edi, edi
je 0x48a60c
mov ecx, dword [ebx + 0x19ac]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push edi
push eax
call fcn.004a99e1
dec dword [0x430bb0]
add esp, 0xc
push edi
call dword [0x42822c]
mov eax, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x19b4], eax
mov dword [ebx + 0x19b0], esi
mov dword [ebx + 0x19ac], 0
mov ecx, dword [ebx + 0x1a24]
call fcn.0048d1b4
mov eax, dword [0x430b24]
xor edx, edx
push 0
mov ecx, 0x4284a4
mov dword [eax + 0x19e4], 0x43c80000
mov dword [eax + 0x19e8], 0x43c80000
mov dword [eax + 0x19bc], 4
call fcn.0048efb4
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret