Function at 0x1004ad60
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, 0x38
push esi
mov esi, dword [0x10240b04]
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1f40], 0
mov dword [esi + 0x1f44], 0
mov dl, byte [esi + 8]
and dl, 1
test byte [esi + 8], 2
mov byte [ebp - 2], dl
je 0x1004ae4f
test byte [esi + 0xc], 1
je 0x1004ae4f
cmp dword [esi + 0x1e70], 3
lea ecx, [esi + 0x1e70]
mov byte [ebp - 1], 1
xorps xmm1, xmm1
je 0x1004ae5c
movss xmm0, dword ds:[esi + 0x300]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x1004ae43
movss xmm0, dword [esi + 0x31c]
lea ecx, [esi + 0x1e70]
comiss xmm0, xmm1
jbe 0x1004ae5c
mov dword [esi + 0x1e70], 3
jmp 0x1004ae56
mov byte [ebp - 1], 0
xorps xmm1, xmm1
lea ecx, [esi + 0x1e70]
nop dword [eax]
test dl, dl
je 0x1004afd7
mov edx, dword [esi + 0x64]
test edx, edx
js 0x1004ae8f
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004ae8f
mov dword [esi + 0x300], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x68]
test edx, edx
js 0x1004aeb6
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004aeb6
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x6c]
test edx, edx
js 0x1004aedd
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004aedd
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x38]
test edx, edx
js 0x1004af04
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004af04
mov dword [esi + 0x344], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x3c]
test edx, edx
js 0x1004af2b
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004af2b
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x40]
test edx, edx
js 0x1004af54
mov eax, dword [0x10240b04]
mov al, byte ds:[edx + eax + 0x100]
test al, al
je 0x1004af54
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x44]
test edx, edx
js 0x1004af7b
mov eax, dword [0x10240b04]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004af7b
mov dword [esi + 0x350], 0x3f800000
mov dword [ecx], 2
mov al, byte [esi + 0xfc]
test al, al
je 0x1004af8f
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x1004afa2
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x1004afd7
test al, al
jne 0x1004afd7
mov dword ds:[esi + 0x340], 0x3f800000
nop
cmp byte [esi + 0x1f5c], al
je 0x1004afd7
cmp dword [esi + 0x1508], 0
jle 0x1004afd7
mov byte [esi + 0x1f5c], al
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x10157694]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x1004b052
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1004b04b
movaps xmm0, xmm1
jmp 0x1004b055
addss xmm0, dword [esi + 0x18]
jmp 0x1004b055
movaps xmm0, xmm2
movss dword ds:[ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1004b030
cmp dword [esi + 0x1e98], eax
je 0x1004b0d6
mov edx, dword [0x10240b04]
mov edi, dword [edx + 0x1e40]
test edi, edi
je 0x1004b0d6
mov ecx, dword [edx + 0x1e88]
mov eax, dword [edx + 0x1e98]
mov dword [edx + 0x1e44], eax
mov dword [edx + 0x1e88], ecx
mov dword [edx + 0x1e48], 0
mov dword [edi + ecx*4 + 0x32c], eax
add ecx, ecx
mov eax, dword [edx + 0x1e40]
movups xmm0, xmmword [edx + 0x1e9c]
movups xmmword [eax + ecx*8 + 0x334], xmm0
cmp byte [edx + 0x1e96], 0
je 0x1004b0d6
mov word [edx + 0x1e91], 1
mov byte [edx + 0x1e93], 1
cmp byte [esi + 0x1eac], 0
mov word [esi + 0x1e95], 0
mov dword [esi + 0x1e98], 0
mov dword [esi + 0x1e60], 0
je 0x1004b105
nop dword [eax]
call fcn.1004c0c0
cmp dword [esi + 0x1eb4], 2
jne 0x1004b133
cmp dword [esi + 0x1ecc], 0
jne 0x1004b129
cmp dword ds:[esi + 0x1f1c], 0
jne 0x1004b129
mov byte [esi + 0x1e92], 0
mov dword [esi + 0x1eb4], 0
cmp byte [esi + 0x1e91], 0
je 0x1004b1af
cmp byte [esi + 0x1e90], 0
je 0x1004b1af
test byte [esi + 8], 4
je 0x1004b1a8
test byte [esi + 0xc], 4
je 0x1004b1a8
cmp byte [esi + 0x1e92], 0
jne 0x1004b1a8
cmp byte [esi + 0x1e93], 0
je 0x1004b1a8
cmp dword [esi + 0x1e40], 0
je 0x1004b1a8
lea eax, [ebp - 0x28]
push eax
call fcn.1004a0c0
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x380], xmm0
movss dword [esi + 0x384], xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
mov byte [esi + 0x357], 1
mov byte [esi + 0x1e91], 0
mov ecx, dword [esi + 0x1e40]
mov byte [esi + 0x1e90], 0
mov dword [esi + 0x1e5c], 0
test ecx, ecx
je 0x1004b1f8
mov eax, ecx
nop dword [eax]
cmp dword [eax + 0x31c], eax
je 0x1004b1ee
test dword ds:[eax + 8], 0x14000000
jne 0x1004b1ee
mov eax, dword [eax + 0x318]
test eax, eax
jne 0x1004b1d0
jmp 0x1004b1f8
cmp eax, ecx
je 0x1004b1f8
mov dword [eax + 0x328], ecx
mov eax, dword ds:[esi + 0x1e40]
test eax, eax
je 0x1004b220
cmp dword [eax + 0x328], 0
je 0x1004b220
cmp dword [esi + 0x1e88], 0
jne 0x1004b220
mov dword [eax + 0x328], 0
call fcn.1004c6a0
cmp byte [ebp - 2], 0
jne 0x1004b231
cmp byte [ebp - 1], 0
je 0x1004b28f
mov eax, dword [esi + 0x1e40]
test eax, eax
je 0x1004b28f
test dword [eax + 8], 0x40000
jne 0x1004b28f
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1e44], 0
je 0x1004b296
cmp byte [esi + 0x1e92], 0
jne 0x1004b296
mov al, 1
mov byte [esi + 0x35a], al
xorps xmm1, xmm1
mov ecx, dword [0x10240b04]
movss xmm0, dword [ecx + 0x145c]
comiss xmm1, xmm0
ja 0x1004b2a3
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b2a3
movss xmm0, dword [0x10157560]
jmp 0x1004b2a6
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1f48], 0
jne 0x1004b25d
xor al, al
jmp 0x1004b25f
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b418
cmp dword [esi + 0x1d14], 0
je 0x1004b2d5
mov eax, dword [ecx + 0x1d2c]
shr eax, 1
test al, 1
jne 0x1004b418
call fcn.10042a40
xorps xmm1, xmm1
jmp 0x1004b418
cmp dword [esi + 0x1e88], 0
je 0x1004b2f0
push 0
call fcn.1004a750
add esp, 4
xorps xmm1, xmm1
jmp 0x1004b418
mov edi, dword [esi + 0x1e40]
test edi, edi
je 0x1004b3b2
nop
cmp edi, dword [edi + 0x31c]
je 0x1004b3b2
test dword [edi + 8], 0x4000000
jne 0x1004b3b2
mov eax, dword [edi + 0x318]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1004b3b2
movss xmm0, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x14], xmm0
addss xmm0, dword [edi + 0x14]
push eax
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x10], xmm0
call fcn.10040b60
mov eax, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x24]
movss xmm3, dword [ebp - 8]
movss xmm2, dword [ebp - 0x10]
movss xmm4, dword [ebp - 0x14]
subss xmm3, dword [eax + 0xc]
subss xmm2, dword [eax + 0x10]
subss xmm4, dword [eax + 0xc]
subss xmm1, dword [eax + 0x10]
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push dword [edi + 0x54]
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
call fcn.10044de0
add esp, 0x14
xorps xmm1, xmm1
jmp 0x1004b418
mov edx, dword [esi + 0x1e1c]
test edx, edx
jle 0x1004b3e5
mov eax, dword [esi + 0x1e24]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1004b418
lea eax, [edx - 1]
push 1
push eax
call fcn.10043ce0
add esp, 8
xorps xmm1, xmm1
jmp 0x1004b418
test edi, edi
je 0x1004b404
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1004b3fa
test eax, 0x1000000
jne 0x1004b404
mov dword [edi + 0x32c], 0
mov dword [esi + 0x1e48], 0
mov dword [esi + 0x1e44], 0
mov ecx, dword [esi + 0x1e44]
mov dword [esi + 0x1e58], 0
mov dword [esi + 0x1e54], 0
mov dword [esi + 0x1e50], 0
mov dword [esi + 0x1e4c], 0
test ecx, ecx
je 0x1004b53d
cmp byte [esi + 0x1e92], 0
jne 0x1004b53d
cmp dword [esi + 0x1f48], 0
jne 0x1004b53d
mov eax, dword [esi + 0x1e40]
test eax, eax
je 0x1004b53d
test dword ds:[eax + 8], 0x40000
jne 0x1004b53d
mov eax, dword [0x10240b04]
movss xmm0, dword [eax + 0x300]
comiss xmm0, xmm1
seta dh
test dh, dh
je 0x1004b4c9
movss xmm0, dword [eax + 0x1458]
comiss xmm1, xmm0
ja 0x1004b4bd
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b4bd
movss xmm0, dword [0x10157560]
jmp 0x1004b4c0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b4c9
mov dl, 1
jmp 0x1004b4cb
xor dl, dl
mov eax, dword [esi + 0x1d14]
test eax, eax
jne 0x1004b4e2
test dl, dl
je 0x1004b4e6
mov dword ds:[esi + 0x1e4c], ecx
jmp 0x1004b4e6
cmp eax, ecx
jne 0x1004b53d
test dh, dh
je 0x1004b4f0
mov dword [esi + 0x1e50], ecx
test eax, eax
je 0x1004b4f8
cmp eax, ecx
jne 0x1004b53d
test dl, dl
je 0x1004b502
mov dword [esi + 0x1e54], ecx
test eax, eax
je 0x1004b50a
cmp eax, ecx
jne 0x1004b53d
mov eax, dword [0x10240b04]
movss xmm0, dword [eax + 0x1460]
comiss xmm1, xmm0
ja 0x1004b52f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b52f
movss xmm0, dword [0x10157560]
jmp 0x1004b532
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b53d
mov dword [esi + 0x1e58], ecx
mov ecx, dword [esi + 0x1e40]
test ecx, ecx
je 0x1004b557
test dword [ecx + 8], 0x40000
je 0x1004b557
mov byte [esi + 0x1e92], 1
mov eax, dword [esi + 0x1e6c]
mov byte [esi + 0x1eac], 0
test eax, eax
je 0x1004b580
mov dword [esi + 0x1e58], eax
mov dword [esi + 0x1e54], eax
mov dword [esi + 0x1e50], eax
mov dword [esi + 0x1e4c], eax
cmp dword [esi + 0x1eb4], 0
mov dword [esi + 0x1e6c], 0
jne 0x1004b9ef
mov dword [esi + 0x1ebc], 0xffffffff
mov dword [esi + 0x1eb0], 0
test ecx, ecx
je 0x1004b9e1
cmp dword ds:[esi + 0x1f48], 0
jne 0x1004b9e1
test dword [ecx + 8], 0x40000
jne 0x1004b9e1
mov edi, dword [0x10240b04]
movss xmm3, dword [0x1015d7a4]
movss xmm4, dword [0x1015d79c]
test byte [edi + 0x1d28], 1
jne 0x1004b6f7
movss xmm2, dword [edi + 0x1468]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x1004b617
xorps xmm0, xmm0
jmp 0x1004b676
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
movss xmm3, dword [0x1015d7a4]
lea ecx, [edi + 0x8c]
movss xmm4, dword [0x1015d79c]
lea edx, [edi + 0x18]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004b6d7
movss xmm2, dword [edi + 0x149c]
comiss xmm1, xmm2
jbe 0x1004b68d
xorps xmm0, xmm0
jmp 0x1004b6d2
movss xmm0, dword ds:[eax]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b6e7
mov dword [esi + 0x1ebc], 0
mov edi, dword [0x10240b04]
movss xmm4, dword [0x1015d79c]
movss xmm3, dword [0x1015d7a4]
mov eax, dword ds:[edi + 0x1d28]
shr eax, 1
test al, 1
jne 0x1004b7ec
movss xmm2, dword [edi + 0x146c]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x1004b729
xorps xmm0, xmm0
jmp 0x1004b778
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004b7dc
movss xmm2, dword [edi + 0x14a0]
comiss xmm1, xmm2
jbe 0x1004b78f
xorps xmm0, xmm0
jmp 0x1004b7d7
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015d7a4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015d79c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b7ec
mov dword [esi + 0x1ebc], 1
mov edi, dword [0x10240b04]
mov eax, dword [edi + 0x1d28]
shr eax, 2
test al, 1
jne 0x1004b8e9
movss xmm2, dword [edi + 0x1470]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x1004b81e
xorps xmm0, xmm0
jmp 0x1004b875
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015d7a4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015d79c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004b8d9
movss xmm2, dword [edi + 0x14a4]
comiss xmm1, xmm2
jbe 0x1004b88c
xorps xmm0, xmm0
jmp 0x1004b8d4
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015d7a4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015d79c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b8e9
mov dword [esi + 0x1ebc], 2
mov edi, dword [0x10240b04]
mov eax, dword [edi + 0x1d28]
shr eax, 3
test al, 1
jne 0x1004b9e1
movss xmm2, dword [edi + 0x1474]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x1004b91b
xorps xmm0, xmm0
jmp 0x1004b972
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015d7a4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015d79c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004b9d7
movss xmm2, dword [edi + 0x14a8]
comiss xmm1, xmm2
jbe 0x1004b989
xorps xmm0, xmm0
jmp 0x1004b9d2
movss xmm0, dword ds:[eax]
sub esp, 0x10
mulss xmm0, dword [0x1015d7a4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015d79c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.10044d40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004b9e1
mov dword [esi + 0x1ebc], 3
mov eax, dword [esi + 0x1ebc]
mov dword [esi + 0x1ec4], eax
jmp 0x1004b9f9
mov dword [esi + 0x1eb4], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x1004ba16
call fcn.1004c320
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0xc], xmm1
mov ecx, dword ds:[esi + 0x1ebc]
cmp ecx, 0xffffffff
je 0x1004ba3e
mov byte [esi + 0x1eac], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1eb8], eax
mov dword [esi + 0x1ec0], ecx
cmp byte [esi + 0x1eac], 0
je 0x1004ba6a
cmp dword [esi + 0x1e44], 0
jne 0x1004ba6a
mov word [esi + 0x1e95], 0x101
mov dword [esi + 0x1e98], 0
mov byte [esi + 0x1e92], 0
mov eax, dword [0x10240b04]
cmp byte [eax + 0x1eac], 0
jne 0x1004ba86
cmp byte ds:[eax + 0x1e95], 0
jne 0x1004ba86
xor cl, cl
jmp 0x1004ba88
mov cl, 1
movss xmm6, dword [0x1015767c]
mov byte ds:[eax + 0x1e94], cl
mov edi, dword [esi + 0x1e40]
test edi, edi
je 0x1004bc7e
test dword [edi + 8], 0x40000
jne 0x1004bc7e
cmp dword ds:[esi + 0x1f48], 0
jne 0x1004bc7e
mov eax, dword [0x10240b04]
movss xmm0, dword [eax + 0x1a74]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x1004baed
mulss xmm0, dword [eax + 0x27c]
cmp word [edi + 0x148], 0
mulss xmm0, dword [0x1015c830]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x1004bbcb
cmp byte [edi + 0x151], 0
je 0x1004bbcb
cmp byte [esi + 0x1eac], 0
je 0x1004bbcb
mov eax, dword ds:[esi + 0x1ebc]
test eax, eax
je 0x1004bb53
cmp eax, 1
jne 0x1004bb82
movss xmm0, dword [0x10157560]
jmp 0x1004bb5b
movss xmm0, dword [0x10157694]
mulss xmm0, xmm1
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
mov eax, dword [esi + 0x1ebc]
cmp eax, 2
je 0x1004bb9c
cmp eax, 3
jne 0x1004bbcb
movss xmm0, dword [0x10157560]
jmp 0x1004bba4
movss xmm0, dword [0x10157694]
mulss xmm0, xmm1
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
movss xmm0, dword [0x10157560]
lea eax, [ebp - 0x28]
divss xmm0, dword [0x1015c788]
sub esp, 8
mov dword [esp + 4], 0x41200000
movss dword [esp], xmm0
push 0
push 4
push eax
call fcn.10044b60
movss xmm0, dword [ebp - 0x28]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004bc41
cmp byte [edi + 0x88], 0
je 0x1004bc41
mulss xmm0, xmm2
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
movss xmm0, dword [ebp - 0x24]
movss xmm6, dword [0x1015767c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004bc7e
mulss xmm0, xmm2
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
mov dword [esi + 0x1ec8], 0
mov dword [esi + 0x1ed0], 0
mov dword [esi + 0x1ecc], 0
mov dword [esi + 0x1ed4], 0
mov dword [esi + 0x1ed8], 0
mov dword [esi + 0x1edc], 0
mov dword [esi + 0x1ee0], 0
mov dword [esi + 0x1eec], 0x7f7fffff
mov dword [esi + 0x1ee8], 0x7f7fffff
mov dword [esi + 0x1ee4], 0x7f7fffff
mov dword [esi + 0x1ef0], 0
mov dword [esi + 0x1ef8], 0
mov dword [esi + 0x1ef4], 0
mov dword [esi + 0x1efc], 0
mov dword [esi + 0x1f00], 0
mov dword [esi + 0x1f04], 0
mov dword [esi + 0x1f08], 0
mov dword [esi + 0x1f14], 0x7f7fffff
mov dword [esi + 0x1f10], 0x7f7fffff
mov dword [esi + 0x1f0c], 0x7f7fffff
mov dword [esi + 0x1f18], 0
mov dword [esi + 0x1f20], 0
mov dword [esi + 0x1f1c], 0
mov dword [esi + 0x1f24], 0
mov dword [esi + 0x1f28], 0
mov dword [esi + 0x1f2c], 0
mov dword [esi + 0x1f30], 0
mov dword [esi + 0x1f3c], 0x7f7fffff
mov dword [esi + 0x1f38], 0x7f7fffff
mov dword [esi + 0x1f34], 0x7f7fffff
cmp byte [esi + 0x1eac], 0
je 0x1004bf50
cmp dword ds:[esi + 0x1e70], 3
jne 0x1004bf50
mov edx, dword [esi + 0x1e88]
movss xmm4, dword [0x10157560]
test edx, edx
jne 0x1004bf58
mov ecx, dword [esi + 0x1e40]
movss xmm2, dword [ecx + 0x1f0]
subss xmm2, dword [ecx + 0xc]
movss xmm5, dword [ecx + 0x1f8]
movss xmm7, dword [ecx + 0x1fc]
movss xmm3, dword [ecx + 0x1f4]
subss xmm5, dword [ecx + 0xc]
subss xmm7, dword [ecx + 0x10]
subss xmm3, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x334]
subss xmm2, xmm4
addss xmm5, xmm4
addss xmm7, xmm4
subss xmm3, xmm4
comiss xmm0, xmm2
jb 0x1004be58
movss xmm0, dword ds:[ecx + 0x338]
comiss xmm0, xmm3
jb 0x1004be58
comiss xmm5, dword [ecx + 0x33c]
jb 0x1004be58
comiss xmm7, dword [ecx + 0x340]
jae 0x1004bf58
mov eax, dword [0x10240b04]
movss xmm4, dword [eax + 0x1a74]
mov eax, dword [ecx + 0x318]
mulss xmm4, dword [ecx + 0x27c]
test eax, eax
je 0x1004be7f
mulss xmm4, dword [eax + 0x27c]
mulss xmm4, xmm6
movaps xmm1, xmm5
add edx, edx
movaps xmm6, xmm7
subss xmm1, xmm2
subss xmm6, xmm3
minss xmm1, xmm4
minss xmm6, xmm4
xorps xmm1, xmmword [0x1015c800]
xorps xmm6, xmmword [0x1015c800]
subss xmm2, xmm1
subss xmm3, xmm6
addss xmm5, xmm1
movss xmm1, dword [ecx + edx*8 + 0x338]
addss xmm6, xmm7
comiss xmm3, xmm1
jbe 0x1004becc
movaps xmm0, xmm3
jmp 0x1004bed3
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm4, dword ds:[ecx + edx*8 + 0x334]
comiss xmm2, xmm4
jbe 0x1004bee7
movaps xmm1, xmm2
jmp 0x1004beee
movaps xmm1, xmm5
minss xmm1, xmm4
movss dword [ecx + edx*8 + 0x334], xmm1
movss dword [ecx + edx*8 + 0x338], xmm0
movss xmm0, dword [ecx + edx*8 + 0x340]
comiss xmm3, xmm0
ja 0x1004bf15
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [ecx + edx*8 + 0x33c]
comiss xmm2, xmm0
ja 0x1004bf2a
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [ecx + edx*8 + 0x33c], xmm2
movss dword [ecx + edx*8 + 0x340], xmm3
mov dword [esi + 0x1e48], 0
mov dword [esi + 0x1e44], 0
movss xmm4, dword [0x10157560]
mov eax, dword ds:[esi + 0x1e40]
test eax, eax
je 0x1004bfaa
mov ecx, dword [esi + 0x1e88]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x334]
comiss xmm0, dword [eax + ecx*8 + 0x33c]
ja 0x1004bfaa
movss xmm0, dword [eax + ecx*8 + 0x338]
comiss xmm0, dword [eax + ecx*8 + 0x340]
ja 0x1004bfaa
movups xmm0, xmmword [eax + ecx*8 + 0x334]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
jmp 0x1004bfbf
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x1004bff9
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x28]
addss xmm2, dword [ebp - 0x30]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x2c], xmm0
jmp 0x1004c000
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x30]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1e74], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1e78]
addss xmm1, dword [esi + 0x1e80]
movss dword [esi + 0x1e78], xmm0
movss dword [esi + 0x1e80], xmm1
movss xmm0, dword [esi + 0x1e74]
addss xmm0, xmm4
mov dword [esi + 0x1e84], 0
minss xmm0, dword [esi + 0x1e7c]
movss dword [esi + 0x1e74], xmm0
movss dword [esi + 0x1e7c], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret