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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [0x10307a40]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x1004c8f9
test byte [esi + 0xc], 1
je 0x1004c8f9
movss xmm0, dword [esi + 0x2fc]
lea ecx, [esi + 0x2fc]
xorps xmm2, xmm2
mov byte [ebp - 1], 1
comiss xmm0, xmm2
ja 0x1004c8ed
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm2
ja 0x1004c8ed
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm2
ja 0x1004c8ed
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm2
jbe 0x1004c906
mov dword [esi + 0x1ac4], 4
jmp 0x1004c906
mov byte [ebp - 1], 0
lea ecx, [esi + 0x2fc]
xorps xmm2, xmm2
test al, al
je 0x1004ca70
mov edx, dword [esi + 0x64]
test edx, edx
js 0x1004c935
mov eax, dword [0x10307a40]
mov al, byte [edx + eax + 0xfc]
test al, al
je 0x1004c935
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x1004c960
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004c960
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x1004c98b
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004c98b
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x1004c9b6
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004c9b6
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x1004c9e1
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004c9e1
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x1004ca0c
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004ca0c
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x1004ca37
mov eax, dword [0x10307a40]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1004ca37
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ac4], 3
cmp byte [esi + 0xf8], 0
je 0x1004ca4a
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x1004ca5d
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x1004ca70
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1448]
mov eax, dword [esi + 0x1498]
lea ecx, [esi + 0x1448]
movss xmm1, dword [0x100bc614]
movups xmmword [esi + 0x149c], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14dc], xmm0
mov dword [esi + 0x14ec], eax
mov eax, 0x15
nop dword [eax]
movss xmm0, dword [ecx - 0x114c]
comiss xmm0, xmm2
jbe 0x1004caf2
movss xmm0, dword [ecx]
comiss xmm2, xmm0
jbe 0x1004caeb
movaps xmm0, xmm2
jmp 0x1004caf5
addss xmm0, dword [esi + 0x18]
jmp 0x1004caf5
movaps xmm0, xmm1
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1004cad0
mov edi, dword [esi + 0x1b04]
test edi, edi
je 0x1004cbb1
cmp byte [esi + 0x1afe], al
je 0x1004cb2b
cmp byte [esi + 0x1b02], al
je 0x1004cbb1
mov edx, dword [esi + 0x1af4]
jmp 0x1004cb3a
cmp byte [esi + 0x1b02], 0
mov edx, dword [esi + 0x1af4]
je 0x1004cb7c
mov ecx, dword [0x10307a40]
mov eax, dword [ecx + 0x1a9c]
mov dword [ecx + 0x1aa0], edi
mov dword [eax + edx*4 + 0x300], edi
add edx, edx
movups xmm0, xmmword [esi + 0x1b08]
mov eax, dword [ecx + 0x1a9c]
movups xmmword [eax + edx*8 + 0x308], xmm0
mov word [ecx + 0x1afd], 1
mov byte [ecx + 0x1aff], 1
jmp 0x1004cb94
mov eax, dword [0x10307a40]
mov dword [eax + 0x1aa0], edi
mov eax, dword [eax + 0x1a9c]
mov dword [eax + edx*4 + 0x300], edi
mov ecx, dword [esi + 0x1af4]
mov eax, dword [esi + 0x1a9c]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
cmp byte [esi + 0x1b19], 0
mov word [esi + 0x1b01], 0
mov dword [esi + 0x1b04], 0
mov dword [esi + 0x1ab8], 0
je 0x1004cbdc
call fcn.1004daf0
cmp dword [esi + 0x1b20], 2
jne 0x1004cc08
cmp dword [esi + 0x1b30], 0
jne 0x1004cbfe
cmp dword [esi + 0x1b80], 0
jne 0x1004cbfe
mov byte [esi + 0x1afe], 0
mov dword [esi + 0x1b20], 0
cmp byte [esi + 0x1afd], 0
je 0x1004cc84
cmp byte [esi + 0x1afc], 0
je 0x1004cc84
test byte [esi + 8], 4
je 0x1004cc7d
test byte [esi + 0xc], 4
je 0x1004cc7d
cmp byte [esi + 0x1afe], 0
jne 0x1004cc7d
cmp byte [esi + 0x1aff], 0
je 0x1004cc7d
cmp dword [esi + 0x1a9c], 0
je 0x1004cc7d
lea eax, [ebp - 0x18]
push eax
call fcn.1004bab0
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x378], xmm0
movss dword [esi + 0x37c], xmm1
movss dword [esi + 0xe0], xmm0
movss dword [esi + 0xe4], xmm1
mov byte [esi + 0x353], 1
mov byte [esi + 0x1afd], 0
mov edx, dword [esi + 0x1a9c]
mov byte [esi + 0x1afc], 0
mov dword [esi + 0x1ab4], 0
test edx, edx
je 0x1004ccc6
mov ecx, edx
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1004ccbc
mov ecx, dword [ecx + 0x2ec]
test ecx, ecx
jne 0x1004cca1
jmp 0x1004ccc6
cmp ecx, edx
je 0x1004ccc6
mov dword [ecx + 0x2fc], edx
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1004ccec
cmp dword [eax + 0x2fc], 0
je 0x1004ccec
cmp dword [esi + 0x1af4], 0
jne 0x1004ccec
mov dword [eax + 0x2fc], 0
call fcn.1004df40
cmp byte [ebp - 2], 0
jne 0x1004ccfd
cmp byte [ebp - 1], 0
je 0x1004cd59
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1004cd59
test dword [eax + 8], 0x40000
jne 0x1004cd59
cmp dword [esi + 0x1aa0], 0
mov byte [esi + 0x355], 1
je 0x1004cd60
cmp byte [esi + 0x1afe], 0
jne 0x1004cd60
mov al, 1
mov byte [esi + 0x356], al
xorps xmm1, xmm1
mov eax, dword [0x10307a40]
movss xmm0, dword [eax + 0x144c]
comiss xmm1, xmm0
ja 0x1004cd6d
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004cd6d
movss xmm0, dword [0x100bc600]
jmp 0x1004cd70
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1adc], 0
jne 0x1004cd29
xor al, al
jmp 0x1004cd2b
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004cd93
cmp dword [esi + 0x19ac], 0
je 0x1004ce44
test byte [esi + 0x19c8], 2
jne 0x1004cd93
call fcn.100468a0
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1aa4], 0
test ecx, ecx
je 0x1004cfa6
cmp byte [esi + 0x1afe], 0
jne 0x1004cfa6
cmp dword [esi + 0x1adc], 0
jne 0x1004cfa6
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1004cfa6
test dword [eax + 8], 0x40000
jne 0x1004cfa6
mov eax, dword [0x10307a40]
movss xmm0, dword [eax + 0x2fc]
comiss xmm0, xmm1
seta dh
test dh, dh
je 0x1004cf33
movss xmm0, dword [eax + 0x1448]
comiss xmm1, xmm0
ja 0x1004cf27
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004cf27
movss xmm0, dword [0x100bc600]
jmp 0x1004cf2a
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1004ceaa
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1004ceaa
mov eax, dword [edi + 0x2ec]
test eax, eax
je 0x1004ceaa
push eax
call fcn.10048a00
mov eax, dword [0x10307a40]
add esp, 4
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x1aa0], ecx
mov eax, dword [eax + 0x1a9c]
mov dword [eax + 0x300], ecx
cmp byte [esi + 0x1aff], 0
mov byte [esi + 0x1afc], 0
je 0x1004cd90
mov byte [esi + 0x1afd], 1
jmp 0x1004cd90
mov edx, dword [esi + 0x1a18]
test edx, edx
jle 0x1004cee1
mov eax, dword [esi + 0x1a20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1004cd93
lea eax, [edx - 1]
push 1
push eax
call fcn.10046a80
add esp, 8
jmp 0x1004cd90
cmp dword [esi + 0x1af4], 0
je 0x1004cef9
push 0
call fcn.1004c1f0
add esp, 4
jmp 0x1004cd90
test edi, edi
je 0x1004cf18
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1004cf0e
test eax, 0x1000000
jne 0x1004cf18
mov dword [edi + 0x300], 0
mov dword [esi + 0x1aa0], 0
jmp 0x1004cd93
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004cf33
mov dl, 1
jmp 0x1004cf35
xor dl, dl
mov eax, dword [esi + 0x19ac]
test eax, eax
jne 0x1004cf4b
test dl, dl
je 0x1004cf4f
mov dword [esi + 0x1aa4], ecx
jmp 0x1004cf4f
cmp eax, ecx
jne 0x1004cfa6
test dh, dh
je 0x1004cf59
mov dword [esi + 0x1aa8], ecx
test eax, eax
je 0x1004cf61
cmp eax, ecx
jne 0x1004cfa6
test dl, dl
je 0x1004cf6b
mov dword [esi + 0x1aac], ecx
test eax, eax
je 0x1004cf73
cmp eax, ecx
jne 0x1004cfa6
mov eax, dword [0x10307a40]
movss xmm0, dword [eax + 0x1450]
comiss xmm1, xmm0
ja 0x1004cf98
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004cf98
movss xmm0, dword [0x100bc600]
jmp 0x1004cf9b
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004cfa6
mov dword [esi + 0x1ab0], ecx
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x1004cfc0
test dword [ecx + 8], 0x40000
je 0x1004cfc0
mov byte [esi + 0x1afe], 1
mov eax, dword [esi + 0x1ac0]
mov byte [esi + 0x1b19], 0
test eax, eax
je 0x1004cfe9
mov dword [esi + 0x1ab0], eax
mov dword [esi + 0x1aac], eax
mov dword [esi + 0x1aa8], eax
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x19ac], 0
mov dword [esi + 0x1ac0], 0
jne 0x1004d001
or eax, 0xffffffff
jmp 0x1004d007
mov eax, dword [esi + 0x19c4]
cmp dword [esi + 0x1b20], 0
mov dword [ebp - 8], eax
jne 0x1004d470
mov dword [esi + 0x1b24], 0xffffffff
mov dword [esi + 0x1b1c], 0
test ecx, ecx
je 0x1004d462
cmp dword [esi + 0x1adc], 0
jne 0x1004d462
test eax, eax
je 0x1004d462
test dword [ecx + 8], 0x40000
jne 0x1004d462
movss xmm2, dword [0x100c3f68]
test al, 1
je 0x1004d161
mov edi, dword [0x10307a40]
movss xmm3, dword [edi + 0x1458]
lea eax, [edi + 0x8c]
comiss xmm1, xmm3
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
jbe 0x1004d08e
movss dword [ebp - 0xc], xmm1
jmp 0x1004d0ed
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10046720
movss xmm2, dword [0x100c3f68]
lea ecx, [edi + 0x88]
add esp, 0x10
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm3, dword [edi + 0x148c]
comiss xmm1, xmm3
jbe 0x1004d0ff
xorps xmm0, xmm0
jmp 0x1004d142
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10046720
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
movss xmm2, dword [0x100c3f68]
mov eax, dword [ebp - 8]
comiss xmm0, xmm1
jbe 0x1004d161
mov dword [esi + 0x1b24], 0
test al, 2
je 0x1004d25d
mov edi, dword [0x10307a40]
movss xmm3, dword [edi + 0x145c]
lea eax, [edi + 0x8c]
comiss xmm1, xmm3
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
jbe 0x1004d192
movss dword [ebp - 0xc], xmm1
jmp 0x1004d1e9
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10046720
add esp, 0x10
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1490]
comiss xmm1, xmm2
jbe 0x1004d1fb
xorps xmm0, xmm0
jmp 0x1004d246
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10046720
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
comiss xmm0, xmm1
jbe 0x1004d25d
mov dword [esi + 0x1b24], 1
test al, 4
je 0x1004d361
mov edi, dword [0x10307a40]
movss xmm2, dword [edi + 0x1460]
lea eax, [edi + 0x8c]
comiss xmm1, xmm2
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
jbe 0x1004d28e
movss dword [ebp - 0xc], xmm1
jmp 0x1004d2ed
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10046720
add esp, 0x10
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1494]
comiss xmm1, xmm2
jbe 0x1004d2ff
xorps xmm0, xmm0
jmp 0x1004d34a
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10046720
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
comiss xmm0, xmm1
jbe 0x1004d361
mov dword [esi + 0x1b24], 2
test al, 8
je 0x1004d462
mov edi, dword [0x10307a40]
movss xmm2, dword [edi + 0x1464]
lea eax, [edi + 0x8c]
comiss xmm1, xmm2
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
jbe 0x1004d392
movss dword [ebp - 0xc], xmm1
jmp 0x1004d3f1
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10046720
add esp, 0x10
lea ecx, [edi + 0x88]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x8c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1498]
comiss xmm1, xmm2
jbe 0x1004d403
xorps xmm0, xmm0
jmp 0x1004d44e
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100c3f68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10046720
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x1004d462
mov dword [esi + 0x1b24], 3
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b2c], eax
jmp 0x1004d47a
mov dword [esi + 0x1b20], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x1004d49d
push dword [ebp - 8]
call fcn.1004dd30
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0xc]
add esp, 4
movss dword [ebp - 0xc], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 0xffffffff
je 0x1004d4b5
mov byte [esi + 0x1b19], 1
mov dword [esi + 0x1b28], eax
cmp byte [esi + 0x1b19], 0
je 0x1004d4e1
cmp dword [esi + 0x1aa0], 0
jne 0x1004d4e1
mov word [esi + 0x1b01], 0x101
mov dword [esi + 0x1b04], 0
mov byte [esi + 0x1afe], 0
mov eax, dword [0x10307a40]
cmp byte [eax + 0x1b19], 0
jne 0x1004d4fc
cmp byte [eax + 0x1b01], 0
jne 0x1004d4fc
xor cl, cl
jmp 0x1004d4fe
mov cl, 1
movss xmm2, dword [0x100bc718]
mov byte [eax + 0x1b00], cl
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1004d6f7
test dword [edi + 8], 0x40000
jne 0x1004d6f7
cmp dword [esi + 0x1adc], 0
jne 0x1004d6f7
cmp dword [edi + 0x13c], 0
mov eax, dword [0x10307a40]
movss xmm0, dword [eax + 0x18b0]
mulss xmm0, dword [edi + 0x26c]
mulss xmm0, dword [0x100c1478]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 8], xmm3
jne 0x1004d631
cmp byte [edi + 0x145], 0
je 0x1004d631
cmp byte [esi + 0x1b19], 0
je 0x1004d631
mov eax, dword [esi + 0x1b24]
movss xmm4, dword [0x100bc614]
test eax, eax
je 0x1004d5b2
cmp eax, 1
jne 0x1004d5e7
movss xmm2, dword [0x100bc600]
jmp 0x1004d5b5
movaps xmm2, xmm4
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm2, xmm3
addss xmm2, dword [edi + 0x58]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 2
je 0x1004d5ff
cmp eax, 3
jne 0x1004d631
movss xmm4, dword [0x100bc600]
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm4, xmm3
addss xmm4, dword [edi + 0x5c]
cvttss2si eax, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.100494c0
movss xmm3, dword [ebp - 0x18]
add esp, 0x14
movss xmm4, dword [ebp - 8]
xorps xmm2, xmm2
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1004d6a8
cmp byte [edi + 0x78], 0
je 0x1004d6a8
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm3, xmm4
addss xmm3, dword [edi + 0x58]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov byte [esi + 0x1b18], 1
movss xmm3, dword [ebp - 0x14]
ucomiss xmm3, xmm2
movss xmm2, dword [0x100bc718]
lahf
test ah, 0x44
jnp 0x1004d6f7
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm3, xmm4
addss xmm3, dword [edi + 0x5c]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
mov byte [esi + 0x1b18], 1
mov dword [esi + 0x1b34], 0
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b44], 0x7f7fffff
mov dword [esi + 0x1b40], 0x7f7fffff
mov dword [esi + 0x1b3c], 0x7f7fffff
mov dword [esi + 0x1b48], 0x7f7fffff
mov dword [esi + 0x1b4c], 0x7f7fffff
mov dword [esi + 0x1b50], 0xff7fffff
mov dword [esi + 0x1b54], 0xff7fffff
mov dword [esi + 0x1b5c], 0
mov dword [esi + 0x1b58], 0
mov dword [esi + 0x1b60], 0
mov dword [esi + 0x1b6c], 0x7f7fffff
mov dword [esi + 0x1b68], 0x7f7fffff
mov dword [esi + 0x1b64], 0x7f7fffff
mov dword [esi + 0x1b70], 0x7f7fffff
mov dword [esi + 0x1b74], 0x7f7fffff
mov dword [esi + 0x1b78], 0xff7fffff
mov dword [esi + 0x1b7c], 0xff7fffff
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b94], 0x7f7fffff
mov dword [esi + 0x1b90], 0x7f7fffff
mov dword [esi + 0x1b8c], 0x7f7fffff
mov dword [esi + 0x1b98], 0x7f7fffff
mov dword [esi + 0x1b9c], 0x7f7fffff
mov dword [esi + 0x1ba0], 0xff7fffff
mov dword [esi + 0x1ba4], 0xff7fffff
cmp byte [esi + 0x1b19], 0
je 0x1004d986
cmp byte [esi + 0x1b18], 0
je 0x1004d986
mov edx, dword [esi + 0x1af4]
test edx, edx
jne 0x1004d986
mov ecx, dword [esi + 0x1a9c]
movss xmm3, dword [0x100bc600]
movss xmm7, dword [ecx + 0x1ec]
subss xmm7, dword [ecx + 0xc]
movss xmm4, dword [ecx + 0x1f4]
movss xmm5, dword [ecx + 0x1f8]
movss xmm6, dword [ecx + 0x1f0]
subss xmm4, dword [ecx + 0xc]
subss xmm5, dword [ecx + 0x10]
subss xmm6, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x308]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm4, xmm3
addss xmm5, xmm3
subss xmm6, xmm3
comiss xmm0, xmm7
jb 0x1004d8d2
movss xmm0, dword [ecx + 0x30c]
comiss xmm0, xmm6
jb 0x1004d8d2
comiss xmm4, dword [ecx + 0x310]
jb 0x1004d8d2
comiss xmm5, dword [ecx + 0x314]
jae 0x1004d97f
mov eax, dword [0x10307a40]
movaps xmm3, xmm5
subss xmm3, xmm6
add edx, edx
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [ecx + 0x26c]
movss xmm0, dword [ecx + edx*8 + 0x30c]
mulss xmm1, xmm2
movaps xmm2, xmm4
subss xmm2, xmm7
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 8]
xorps xmm3, xmmword [0x100bc630]
subss xmm6, xmm3
addss xmm5, xmm3
xorps xmm2, xmmword [0x100bc630]
subss xmm7, xmm2
addss xmm4, xmm2
maxss xmm0, xmm6
maxss xmm1, xmm7
movss dword [ecx + edx*8 + 0x30c], xmm0
movss dword [ecx + edx*8 + 0x308], xmm1
movss xmm1, dword [ecx + edx*8 + 0x310]
movss xmm0, dword [ecx + edx*8 + 0x314]
minss xmm1, xmm4
minss xmm0, xmm5
movss dword [ecx + edx*8 + 0x310], xmm1
movss dword [ecx + edx*8 + 0x314], xmm0
mov dword [esi + 0x1aa0], 0
mov byte [esi + 0x1b18], 0
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1004d9d6
mov ecx, dword [esi + 0x1af4]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x308]
comiss xmm0, dword [eax + ecx*8 + 0x310]
ja 0x1004d9d6
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x1004d9d6
movups xmm0, xmmword [eax + ecx*8 + 0x308]
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1004d9eb
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x1004da25
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x18]
addss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x1c], xmm0
jmp 0x1004da4c
mov eax, dword [0x10307a40]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1ac8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1acc]
addss xmm1, dword [esi + 0x1ad4]
movss dword [esi + 0x1acc], xmm0
movss dword [esi + 0x1ad4], xmm1
movss xmm0, dword [esi + 0x1ac8]
addss xmm0, dword [0x100bc600]
mov dword [esi + 0x1ad8], 0
minss xmm0, dword [esi + 0x1ad0]
movss dword [esi + 0x1ac8], xmm0
movss dword [esi + 0x1ad0], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret