Function at 0x10047740
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 [0x1023dad4]
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 0x1004782f
test byte [esi + 0xc], 1
je 0x1004782f
cmp dword [esi + 0x1e70], 3
lea ecx, [esi + 0x1e70]
mov byte [ebp - 1], 1
xorps xmm1, xmm1
je 0x1004783c
movss xmm0, dword ds:[esi + 0x300]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x10047823
movss xmm0, dword [esi + 0x31c]
lea ecx, [esi + 0x1e70]
comiss xmm0, xmm1
jbe 0x1004783c
mov dword [esi + 0x1e70], 3
jmp 0x10047836
mov byte [ebp - 1], 0
xorps xmm1, xmm1
lea ecx, [esi + 0x1e70]
nop dword [eax]
test dl, dl
je 0x100479b7
mov edx, dword [esi + 0x64]
test edx, edx
js 0x1004786f
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004786f
mov dword [esi + 0x300], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x68]
test edx, edx
js 0x10047896
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x10047896
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x6c]
test edx, edx
js 0x100478bd
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x100478bd
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x38]
test edx, edx
js 0x100478e4
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x100478e4
mov dword [esi + 0x344], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x3c]
test edx, edx
js 0x1004790b
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004790b
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x40]
test edx, edx
js 0x10047934
mov eax, dword [0x1023dad4]
mov al, byte ds:[edx + eax + 0x100]
test al, al
je 0x10047934
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x44]
test edx, edx
js 0x1004795b
mov eax, dword [0x1023dad4]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1004795b
mov dword [esi + 0x350], 0x3f800000
mov dword [ecx], 2
mov al, byte [esi + 0xfc]
test al, al
je 0x1004796f
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x10047982
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x100479b7
test al, al
jne 0x100479b7
mov dword ds:[esi + 0x340], 0x3f800000
nop
cmp byte [esi + 0x1f5c], al
je 0x100479b7
cmp dword [esi + 0x1508], 0
jle 0x100479b7
mov byte [esi + 0x1f5c], al
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x10154674]
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 0x10047a32
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x10047a2b
movaps xmm0, xmm1
jmp 0x10047a35
addss xmm0, dword [esi + 0x18]
jmp 0x10047a35
movaps xmm0, xmm2
movss dword ds:[ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10047a10
cmp dword [esi + 0x1e98], eax
je 0x10047ab6
mov edx, dword [0x1023dad4]
mov edi, dword [edx + 0x1e40]
test edi, edi
je 0x10047ab6
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 0x10047ab6
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 0x10047ae5
nop dword [eax]
call fcn.10048aa0
cmp dword [esi + 0x1eb4], 2
jne 0x10047b13
cmp dword [esi + 0x1ecc], 0
jne 0x10047b09
cmp dword ds:[esi + 0x1f1c], 0
jne 0x10047b09
mov byte [esi + 0x1e92], 0
mov dword [esi + 0x1eb4], 0
cmp byte [esi + 0x1e91], 0
je 0x10047b8f
cmp byte [esi + 0x1e90], 0
je 0x10047b8f
test byte [esi + 8], 4
je 0x10047b88
test byte [esi + 0xc], 4
je 0x10047b88
cmp byte [esi + 0x1e92], 0
jne 0x10047b88
cmp byte [esi + 0x1e93], 0
je 0x10047b88
cmp dword [esi + 0x1e40], 0
je 0x10047b88
lea eax, [ebp - 0x28]
push eax
call fcn.10046aa0
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 0x10047bd8
mov eax, ecx
nop dword [eax]
cmp dword [eax + 0x31c], eax
je 0x10047bce
test dword ds:[eax + 8], 0x14000000
jne 0x10047bce
mov eax, dword [eax + 0x318]
test eax, eax
jne 0x10047bb0
jmp 0x10047bd8
cmp eax, ecx
je 0x10047bd8
mov dword [eax + 0x328], ecx
mov eax, dword ds:[esi + 0x1e40]
test eax, eax
je 0x10047c00
cmp dword [eax + 0x328], 0
je 0x10047c00
cmp dword [esi + 0x1e88], 0
jne 0x10047c00
mov dword [eax + 0x328], 0
call fcn.10049080
cmp byte [ebp - 2], 0
jne 0x10047c11
cmp byte [ebp - 1], 0
je 0x10047c6f
mov eax, dword [esi + 0x1e40]
test eax, eax
je 0x10047c6f
test dword [eax + 8], 0x40000
jne 0x10047c6f
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1e44], 0
je 0x10047c76
cmp byte [esi + 0x1e92], 0
jne 0x10047c76
mov al, 1
mov byte [esi + 0x35a], al
xorps xmm1, xmm1
mov ecx, dword [0x1023dad4]
movss xmm0, dword [ecx + 0x145c]
comiss xmm1, xmm0
ja 0x10047c83
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10047c83
movss xmm0, dword [0x10154540]
jmp 0x10047c86
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1f48], 0
jne 0x10047c3d
xor al, al
jmp 0x10047c3f
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047df8
cmp dword [esi + 0x1d14], 0
je 0x10047cb5
mov eax, dword [ecx + 0x1d2c]
shr eax, 1
test al, 1
jne 0x10047df8
call fcn.1003f0c0
xorps xmm1, xmm1
jmp 0x10047df8
cmp dword [esi + 0x1e88], 0
je 0x10047cd0
push 0
call fcn.10047130
add esp, 4
xorps xmm1, xmm1
jmp 0x10047df8
mov edi, dword [esi + 0x1e40]
test edi, edi
je 0x10047d92
nop
cmp edi, dword [edi + 0x31c]
je 0x10047d92
test dword [edi + 8], 0x4000000
jne 0x10047d92
mov eax, dword [edi + 0x318]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10047d92
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.1003d0c0
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.10041460
add esp, 0x14
xorps xmm1, xmm1
jmp 0x10047df8
mov edx, dword [esi + 0x1e1c]
test edx, edx
jle 0x10047dc5
mov eax, dword [esi + 0x1e24]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x10047df8
lea eax, [edx - 1]
push 1
push eax
call fcn.10040360
add esp, 8
xorps xmm1, xmm1
jmp 0x10047df8
test edi, edi
je 0x10047de4
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x10047dda
test eax, 0x1000000
jne 0x10047de4
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 0x10047f1d
cmp byte [esi + 0x1e92], 0
jne 0x10047f1d
cmp dword [esi + 0x1f48], 0
jne 0x10047f1d
mov eax, dword [esi + 0x1e40]
test eax, eax
je 0x10047f1d
test dword ds:[eax + 8], 0x40000
jne 0x10047f1d
mov eax, dword [0x1023dad4]
movss xmm0, dword [eax + 0x300]
comiss xmm0, xmm1
seta dh
test dh, dh
je 0x10047ea9
movss xmm0, dword [eax + 0x1458]
comiss xmm1, xmm0
ja 0x10047e9d
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10047e9d
movss xmm0, dword [0x10154540]
jmp 0x10047ea0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047ea9
mov dl, 1
jmp 0x10047eab
xor dl, dl
mov eax, dword [esi + 0x1d14]
test eax, eax
jne 0x10047ec2
test dl, dl
je 0x10047ec6
mov dword ds:[esi + 0x1e4c], ecx
jmp 0x10047ec6
cmp eax, ecx
jne 0x10047f1d
test dh, dh
je 0x10047ed0
mov dword [esi + 0x1e50], ecx
test eax, eax
je 0x10047ed8
cmp eax, ecx
jne 0x10047f1d
test dl, dl
je 0x10047ee2
mov dword [esi + 0x1e54], ecx
test eax, eax
je 0x10047eea
cmp eax, ecx
jne 0x10047f1d
mov eax, dword [0x1023dad4]
movss xmm0, dword [eax + 0x1460]
comiss xmm1, xmm0
ja 0x10047f0f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10047f0f
movss xmm0, dword [0x10154540]
jmp 0x10047f12
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047f1d
mov dword [esi + 0x1e58], ecx
mov ecx, dword [esi + 0x1e40]
test ecx, ecx
je 0x10047f37
test dword [ecx + 8], 0x40000
je 0x10047f37
mov byte [esi + 0x1e92], 1
mov eax, dword [esi + 0x1e6c]
mov byte [esi + 0x1eac], 0
test eax, eax
je 0x10047f60
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 0x100483cf
mov dword [esi + 0x1ebc], 0xffffffff
mov dword [esi + 0x1eb0], 0
test ecx, ecx
je 0x100483c1
cmp dword ds:[esi + 0x1f48], 0
jne 0x100483c1
test dword [ecx + 8], 0x40000
jne 0x100483c1
mov edi, dword [0x1023dad4]
movss xmm3, dword [0x1015a72c]
movss xmm4, dword [0x1015a724]
test byte [edi + 0x1d28], 1
jne 0x100480d7
movss xmm2, dword [edi + 0x1468]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10047ff7
xorps xmm0, xmm0
jmp 0x10048056
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.100413c0
movss xmm3, dword [0x1015a72c]
lea ecx, [edi + 0x8c]
movss xmm4, dword [0x1015a724]
lea edx, [edi + 0x18]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100480b7
movss xmm2, dword [edi + 0x149c]
comiss xmm1, xmm2
jbe 0x1004806d
xorps xmm0, xmm0
jmp 0x100480b2
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.100413c0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100480c7
mov dword [esi + 0x1ebc], 0
mov edi, dword [0x1023dad4]
movss xmm4, dword [0x1015a724]
movss xmm3, dword [0x1015a72c]
mov eax, dword ds:[edi + 0x1d28]
shr eax, 1
test al, 1
jne 0x100481cc
movss xmm2, dword [edi + 0x146c]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10048109
xorps xmm0, xmm0
jmp 0x10048158
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.100413c0
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 0x100481bc
movss xmm2, dword [edi + 0x14a0]
comiss xmm1, xmm2
jbe 0x1004816f
xorps xmm0, xmm0
jmp 0x100481b7
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015a72c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015a724]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.100413c0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100481cc
mov dword [esi + 0x1ebc], 1
mov edi, dword [0x1023dad4]
mov eax, dword [edi + 0x1d28]
shr eax, 2
test al, 1
jne 0x100482c9
movss xmm2, dword [edi + 0x1470]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x100481fe
xorps xmm0, xmm0
jmp 0x10048255
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015a72c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015a724]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.100413c0
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 0x100482b9
movss xmm2, dword [edi + 0x14a4]
comiss xmm1, xmm2
jbe 0x1004826c
xorps xmm0, xmm0
jmp 0x100482b4
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015a72c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015a724]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.100413c0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100482c9
mov dword [esi + 0x1ebc], 2
mov edi, dword [0x1023dad4]
mov eax, dword [edi + 0x1d28]
shr eax, 3
test al, 1
jne 0x100483c1
movss xmm2, dword [edi + 0x1474]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x100482fb
xorps xmm0, xmm0
jmp 0x10048352
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x1015a72c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015a724]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.100413c0
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 0x100483b7
movss xmm2, dword [edi + 0x14a8]
comiss xmm1, xmm2
jbe 0x10048369
xorps xmm0, xmm0
jmp 0x100483b2
movss xmm0, dword ds:[eax]
sub esp, 0x10
mulss xmm0, dword [0x1015a72c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x1015a724]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.100413c0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100483c1
mov dword [esi + 0x1ebc], 3
mov eax, dword [esi + 0x1ebc]
mov dword [esi + 0x1ec4], eax
jmp 0x100483d9
mov dword [esi + 0x1eb4], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x100483f6
call fcn.10048d00
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0xc], xmm1
mov ecx, dword ds:[esi + 0x1ebc]
cmp ecx, 0xffffffff
je 0x1004841e
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 0x1004844a
cmp dword [esi + 0x1e44], 0
jne 0x1004844a
mov word [esi + 0x1e95], 0x101
mov dword [esi + 0x1e98], 0
mov byte [esi + 0x1e92], 0
mov eax, dword [0x1023dad4]
cmp byte [eax + 0x1eac], 0
jne 0x10048466
cmp byte ds:[eax + 0x1e95], 0
jne 0x10048466
xor cl, cl
jmp 0x10048468
mov cl, 1
movss xmm6, dword [0x1015465c]
mov byte ds:[eax + 0x1e94], cl
mov edi, dword [esi + 0x1e40]
test edi, edi
je 0x1004865e
test dword [edi + 8], 0x40000
jne 0x1004865e
cmp dword ds:[esi + 0x1f48], 0
jne 0x1004865e
mov eax, dword [0x1023dad4]
movss xmm0, dword [eax + 0x1a74]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x100484cd
mulss xmm0, dword [eax + 0x27c]
cmp word [edi + 0x148], 0
mulss xmm0, dword [0x10159970]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x100485ab
cmp byte [edi + 0x151], 0
je 0x100485ab
cmp byte [esi + 0x1eac], 0
je 0x100485ab
mov eax, dword ds:[esi + 0x1ebc]
test eax, eax
je 0x10048533
cmp eax, 1
jne 0x10048562
movss xmm0, dword [0x10154540]
jmp 0x1004853b
movss xmm0, dword [0x10154674]
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 0x1004857c
cmp eax, 3
jne 0x100485ab
movss xmm0, dword [0x10154540]
jmp 0x10048584
movss xmm0, dword [0x10154674]
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 [0x10154540]
lea eax, [ebp - 0x28]
divss xmm0, dword [0x10159730]
sub esp, 8
mov dword [esp + 4], 0x41200000
movss dword [esp], xmm0
push 0
push 4
push eax
call fcn.100411e0
movss xmm0, dword [ebp - 0x28]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10048621
cmp byte [edi + 0x88], 0
je 0x10048621
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 [0x1015465c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004865e
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 0x10048930
cmp dword ds:[esi + 0x1e70], 3
jne 0x10048930
mov edx, dword [esi + 0x1e88]
movss xmm4, dword [0x10154540]
test edx, edx
jne 0x10048938
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 0x10048838
movss xmm0, dword ds:[ecx + 0x338]
comiss xmm0, xmm3
jb 0x10048838
comiss xmm5, dword [ecx + 0x33c]
jb 0x10048838
comiss xmm7, dword [ecx + 0x340]
jae 0x10048938
mov eax, dword [0x1023dad4]
movss xmm4, dword [eax + 0x1a74]
mov eax, dword [ecx + 0x318]
mulss xmm4, dword [ecx + 0x27c]
test eax, eax
je 0x1004885f
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 [0x101597b0]
xorps xmm6, xmmword [0x101597b0]
subss xmm2, xmm1
subss xmm3, xmm6
addss xmm5, xmm1
movss xmm1, dword [ecx + edx*8 + 0x338]
addss xmm6, xmm7
comiss xmm3, xmm1
jbe 0x100488ac
movaps xmm0, xmm3
jmp 0x100488b3
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm4, dword ds:[ecx + edx*8 + 0x334]
comiss xmm2, xmm4
jbe 0x100488c7
movaps xmm1, xmm2
jmp 0x100488ce
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 0x100488f5
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [ecx + edx*8 + 0x33c]
comiss xmm2, xmm0
ja 0x1004890a
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 [0x10154540]
mov eax, dword ds:[esi + 0x1e40]
test eax, eax
je 0x1004898a
mov ecx, dword [esi + 0x1e88]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x334]
comiss xmm0, dword [eax + ecx*8 + 0x33c]
ja 0x1004898a
movss xmm0, dword [eax + ecx*8 + 0x338]
comiss xmm0, dword [eax + ecx*8 + 0x340]
ja 0x1004898a
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 0x1004899f
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 0x100489d9
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 0x100489e0
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