Function at 0x10046cd0
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 [0x1023bb74]
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1e10], 0
mov dword [esi + 0x1e14], 0
mov al, byte [esi + 8]
and al, 1
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x10046dac
test byte [esi + 0xc], 1
je 0x10046dac
cmp dword [esi + 0x1d40], 3
xorps xmm1, xmm1
mov byte [ebp - 1], 1
je 0x10046db3
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x10046da0
movss xmm0, dword [esi + 0x31c]
comiss xmm0, xmm1
jbe 0x10046db3
mov dword [esi + 0x1d40], 3
jmp 0x10046db3
mov byte [ebp - 1], 0
xorps xmm1, xmm1
test al, al
je 0x10046f26
mov ecx, dword [esi + 0x64]
test ecx, ecx
js 0x10046de6
mov eax, dword [0x1023bb74]
mov al, byte [eax + ecx + 0x100]
test al, al
je 0x10046de6
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x10046e11
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046e11
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10046e3c
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046e3c
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x10046e67
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046e67
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x10046e92
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046e92
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x10046ebd
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046ebd
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1d40], 2
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x10046ee8
mov eax, dword [0x1023bb74]
mov al, byte [ecx + eax + 0x100]
test al, al
je 0x10046ee8
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1d40], 2
mov al, byte [esi + 0xfc]
test al, al
je 0x10046efc
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x10046f0f
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x10046f26
test al, al
jne 0x10046f26
mov dword [esi + 0x340], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x10215bf0]
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
nop
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x10046fa2
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x10046f9b
movaps xmm0, xmm1
jmp 0x10046fa5
addss xmm0, dword [esi + 0x18]
jmp 0x10046fa5
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10046f80
cmp dword [esi + 0x1d68], eax
je 0x10047022
mov edx, dword [0x1023bb74]
mov edi, dword [edx + 0x1d10]
test edi, edi
je 0x10047022
mov ecx, dword [edx + 0x1d58]
mov eax, dword [edx + 0x1d68]
mov dword [edx + 0x1d14], eax
mov dword [edx + 0x1d58], ecx
mov dword [edx + 0x1d18], 0
mov dword [edi + ecx*4 + 0x33c], eax
add ecx, ecx
mov eax, dword [edx + 0x1d10]
movups xmm0, xmmword [edx + 0x1d6c]
movups xmmword [eax + ecx*8 + 0x344], xmm0
cmp byte [edx + 0x1d66], 0
je 0x10047022
mov word [edx + 0x1d61], 1
mov byte [edx + 0x1d63], 1
cmp byte [esi + 0x1d7c], 0
mov word [esi + 0x1d65], 0
mov dword [esi + 0x1d68], 0
mov dword [esi + 0x1d30], 0
je 0x1004704d
call fcn.10047f30
cmp dword [esi + 0x1d84], 2
jne 0x10047079
cmp dword [esi + 0x1d9c], 0
jne 0x1004706f
cmp dword [esi + 0x1dec], 0
jne 0x1004706f
mov byte [esi + 0x1d62], 0
mov dword [esi + 0x1d84], 0
cmp byte [esi + 0x1d61], 0
je 0x100470f1
cmp byte [esi + 0x1d60], 0
je 0x100470f1
test byte [esi + 8], 4
je 0x100470ea
test byte [esi + 0xc], 4
je 0x100470ea
cmp byte [esi + 0x1d62], 0
jne 0x100470ea
cmp byte [esi + 0x1d63], 0
je 0x100470ea
cmp dword [esi + 0x1d10], 0
je 0x100470ea
lea eax, [ebp - 0x28]
push eax
call fcn.10045e80
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x384], eax
mov eax, ecx
mov dword [esi + 0x380], ecx
mov ecx, dword [esi + 0x384]
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], ecx
mov byte [esi + 0x357], 1
mov byte [esi + 0x1d61], 0
mov ecx, dword [esi + 0x1d10]
mov byte [esi + 0x1d60], 0
mov dword [esi + 0x1d2c], 0
test ecx, ecx
je 0x10047137
mov eax, ecx
nop
cmp dword [eax + 0x32c], eax
je 0x1004712d
test dword [eax + 0x14], 0x14000000
jne 0x1004712d
mov eax, dword [eax + 0x328]
test eax, eax
jne 0x10047110
jmp 0x10047137
cmp eax, ecx
je 0x10047137
mov dword [eax + 0x338], ecx
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x1004715d
cmp dword [eax + 0x338], 0
je 0x1004715d
cmp dword [esi + 0x1d58], 0
jne 0x1004715d
mov dword [eax + 0x338], 0
call fcn.100484e0
cmp byte [ebp - 2], 0
jne 0x1004716e
cmp byte [ebp - 1], 0
je 0x100471cb
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x100471cb
test dword [eax + 0x14], 0x40000
jne 0x100471cb
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1d14], 0
je 0x100471d2
cmp byte [esi + 0x1d62], 0
jne 0x100471d2
mov al, 1
mov byte [esi + 0x35a], al
xorps xmm1, xmm1
mov ecx, dword [0x1023bb74]
movss xmm0, dword [ecx + 0x145c]
comiss xmm1, xmm0
ja 0x100471df
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100471df
movss xmm0, dword [0x100fc7b8]
jmp 0x100471e2
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1e18], 0
jne 0x1004719a
xor al, al
jmp 0x1004719c
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047353
cmp dword [esi + 0x1be0], 0
je 0x10047211
mov eax, dword [ecx + 0x1bfc]
shr eax, 1
test al, 1
jne 0x10047353
call fcn.100408f0
xorps xmm1, xmm1
jmp 0x10047353
mov edi, dword [esi + 0x1d10]
test edi, edi
je 0x100472d5
cmp edi, dword [edi + 0x32c]
je 0x100472d5
test dword [edi + 0x14], 0x4000000
jne 0x100472d5
mov eax, dword [edi + 0x328]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100472d5
movss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [edi + 0x20]
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x24]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.10042830
movss xmm5, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x10]
movaps xmm2, xmm5
mov eax, dword [ebp - 0xc]
movss xmm3, dword [ebp - 8]
addss xmm2, dword [ebp - 0x24]
addss xmm3, xmm4
subss xmm4, dword [eax + 0x18]
subss xmm5, dword [eax + 0x1c]
subss xmm2, dword [eax + 0x1c]
subss xmm3, dword [eax + 0x18]
lea eax, [ebp - 0x30]
movss dword [ebp - 0x30], xmm4
push eax
push 0
push 0
push dword [edi + 0x60]
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
call fcn.1004df80
add esp, 0x14
xorps xmm1, xmm1
jmp 0x10047353
mov edx, dword [esi + 0x1cec]
test edx, edx
jle 0x10047308
mov eax, dword [esi + 0x1cf4]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 0x14], 0x8000000
jne 0x10047353
lea eax, [edx - 1]
push 1
push eax
call fcn.10040b00
add esp, 8
xorps xmm1, xmm1
jmp 0x10047353
cmp dword [esi + 0x1d58], 0
je 0x10047320
push 0
call fcn.100466f0
add esp, 4
xorps xmm1, xmm1
jmp 0x10047353
test edi, edi
je 0x1004733f
mov eax, dword [edi + 0x14]
test eax, 0x4000000
jne 0x10047335
test eax, 0x1000000
jne 0x1004733f
mov dword [edi + 0x33c], 0
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
mov ecx, dword [esi + 0x1d14]
mov dword [esi + 0x1d28], 0
mov dword [esi + 0x1d24], 0
mov dword [esi + 0x1d20], 0
mov dword [esi + 0x1d1c], 0
test ecx, ecx
je 0x10047493
cmp byte [esi + 0x1d62], 0
jne 0x10047493
cmp dword [esi + 0x1e18], 0
jne 0x10047493
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x10047493
test dword [eax + 0x14], 0x40000
jne 0x10047493
mov eax, dword [0x1023bb74]
movss xmm0, dword [eax + 0x300]
comiss xmm0, xmm1
seta dl
mov byte [ebp - 3], dl
test dl, dl
je 0x10047404
movss xmm0, dword [eax + 0x1458]
comiss xmm1, xmm0
ja 0x100473f8
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100473f8
movss xmm0, dword [0x100fc7b8]
jmp 0x100473fb
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047404
mov al, 1
jmp 0x10047406
xor al, al
mov edx, dword [esi + 0x1be0]
mov byte [ebp - 1], al
test edx, edx
jne 0x1004741f
test al, al
je 0x10047423
mov dword [esi + 0x1d1c], ecx
jmp 0x10047423
cmp edx, ecx
jne 0x10047493
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1d20]
cmovne eax, ecx
mov dword [esi + 0x1d20], eax
test edx, edx
je 0x1004743e
cmp edx, ecx
jne 0x10047493
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1d24]
cmovne eax, ecx
mov dword [esi + 0x1d24], eax
test edx, edx
je 0x10047459
cmp edx, ecx
jne 0x10047493
mov eax, dword [0x1023bb74]
movss xmm0, dword [eax + 0x1460]
comiss xmm1, xmm0
ja 0x1004747e
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004747e
movss xmm0, dword [0x100fc7b8]
jmp 0x10047481
xorps xmm0, xmm0
mov eax, dword [esi + 0x1d28]
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1d28], eax
mov ecx, dword [esi + 0x1d10]
test ecx, ecx
je 0x100474ad
test dword [ecx + 0x14], 0x40000
je 0x100474ad
mov byte [esi + 0x1d62], 1
mov eax, dword [esi + 0x1d3c]
mov byte [esi + 0x1d7c], 0
test eax, eax
je 0x100474d6
mov dword [esi + 0x1d28], eax
mov dword [esi + 0x1d24], eax
mov dword [esi + 0x1d20], eax
mov dword [esi + 0x1d1c], eax
cmp dword [esi + 0x1d84], 0
mov dword [esi + 0x1d3c], 0
jne 0x10047908
mov dword [esi + 0x1d8c], 0xffffffff
mov dword [esi + 0x1d80], 0
test ecx, ecx
je 0x100478fa
cmp dword [esi + 0x1e18], 0
jne 0x100478fa
test dword [ecx + 0x14], 0x40000
jne 0x100478fa
mov edi, dword [0x1023bb74]
movss xmm3, dword [0x10214f68]
movss xmm4, dword [0x10215b98]
test byte [edi + 0x1bf8], 1
jne 0x10047636
movss xmm2, dword [edi + 0x1468]
comiss xmm1, xmm2
jbe 0x10047558
xorps xmm0, xmm0
jmp 0x100475b1
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
movss xmm3, dword [0x10214f68]
add esp, 0x10
movss xmm4, dword [0x10215b98]
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10047616
movss xmm2, dword [edi + 0x149c]
comiss xmm1, xmm2
jbe 0x100475c8
xorps xmm0, xmm0
jmp 0x10047611
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10047626
mov dword [esi + 0x1d8c], 0
mov edi, dword [0x1023bb74]
movss xmm4, dword [0x10215b98]
movss xmm3, dword [0x10214f68]
mov eax, dword [edi + 0x1bf8]
shr eax, 1
test al, 1
jne 0x1004771e
movss xmm2, dword [edi + 0x146c]
comiss xmm1, xmm2
jbe 0x10047658
xorps xmm0, xmm0
jmp 0x100476a1
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004770e
movss xmm2, dword [edi + 0x14a0]
comiss xmm1, xmm2
jbe 0x100476b8
xorps xmm0, xmm0
jmp 0x10047709
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x10214f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x10215b98]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004771e
mov dword [esi + 0x1d8c], 1
mov edi, dword [0x1023bb74]
mov eax, dword [edi + 0x1bf8]
shr eax, 2
test al, 1
jne 0x1004780f
movss xmm2, dword [edi + 0x1470]
comiss xmm1, xmm2
jbe 0x10047741
xorps xmm0, xmm0
jmp 0x10047792
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x10214f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x10215b98]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100477ff
movss xmm2, dword [edi + 0x14a4]
comiss xmm1, xmm2
jbe 0x100477a9
xorps xmm0, xmm0
jmp 0x100477fa
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x10214f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x10215b98]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004780f
mov dword [esi + 0x1d8c], 2
mov edi, dword [0x1023bb74]
mov eax, dword [edi + 0x1bf8]
shr eax, 3
test al, 1
jne 0x100478fa
movss xmm2, dword [edi + 0x1474]
comiss xmm1, xmm2
jbe 0x10047832
xorps xmm0, xmm0
jmp 0x10047883
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x10214f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x10215b98]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100478f0
movss xmm2, dword [edi + 0x14a8]
comiss xmm1, xmm2
jbe 0x1004789a
xorps xmm0, xmm0
jmp 0x100478eb
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x10214f68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x10215b98]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edi + 0x18]
movss dword [esp], xmm2
call fcn.1003fe40
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100478fa
mov dword [esi + 0x1d8c], 3
mov eax, dword [esi + 0x1d8c]
mov dword [esi + 0x1d94], eax
jmp 0x10047912
mov dword [esi + 0x1d84], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x1004792f
call fcn.10048170
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0xc], xmm1
mov ecx, dword [esi + 0x1d8c]
cmp ecx, 0xffffffff
je 0x10047953
mov byte [esi + 0x1d7c], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1d88], eax
mov dword [esi + 0x1d90], ecx
cmp byte [esi + 0x1d7c], 0
je 0x1004797f
cmp dword [esi + 0x1d14], 0
jne 0x1004797f
mov word [esi + 0x1d65], 0x101
mov dword [esi + 0x1d68], 0
mov byte [esi + 0x1d62], 0
mov eax, dword [0x1023bb74]
cmp byte [eax + 0x1d7c], 0
jne 0x1004799a
cmp byte [eax + 0x1d65], 0
jne 0x1004799a
xor cl, cl
jmp 0x1004799c
mov cl, 1
movss xmm2, dword [0x100fc778]
mov byte [eax + 0x1d64], cl
mov edi, dword [esi + 0x1d10]
test edi, edi
je 0x10047b89
test dword [edi + 0x14], 0x40000
jne 0x10047b89
cmp dword [esi + 0x1e18], 0
jne 0x10047b89
mov eax, dword [0x1023bb74]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x100479f9
mulss xmm0, dword [eax + 0x28c]
cmp dword [edi + 0x150], 0
mulss xmm0, dword [0x100fc7c4]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x10047adb
cmp byte [edi + 0x15d], 0
je 0x10047adb
cmp byte [esi + 0x1d7c], 0
je 0x10047adb
mov eax, dword [esi + 0x1d8c]
test eax, eax
je 0x10047a5a
cmp eax, 1
jne 0x10047a92
movss xmm0, dword [0x100fc7b8]
jmp 0x10047a62
movss xmm0, dword [0x10215bf0]
mulss xmm0, xmm1
mov dword [edi + 0x7c], 0
mov dword [edi + 0x84], 0
addss xmm0, dword [edi + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
mov eax, dword [esi + 0x1d8c]
cmp eax, 2
je 0x10047aa6
cmp eax, 3
jne 0x10047adb
movss xmm0, dword [0x100fc7b8]
jmp 0x10047aae
movss xmm0, dword [0x10215bf0]
mulss xmm0, xmm1
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], 0
addss xmm0, dword [edi + 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
sub esp, 8
lea eax, [ebp - 0x28]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.100432b0
movss xmm0, dword [ebp - 0x28]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10047b46
cmp byte [edi + 0x94], 0
je 0x10047b46
mulss xmm0, xmm2
mov dword [edi + 0x7c], 0
mov dword [edi + 0x84], 0
addss xmm0, dword [edi + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10047b81
mulss xmm0, xmm2
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], 0
addss xmm0, dword [edi + 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
movss xmm2, dword [0x100fc778]
mov dword [esi + 0x1d98], 0
xorps xmm0, xmm0
mov dword [esi + 0x1da0], 0
mov dword [esi + 0x1d9c], 0
mov dword [esi + 0x1dac], 0x7f7fffff
mov dword [esi + 0x1da8], 0x7f7fffff
mov dword [esi + 0x1da4], 0x7f7fffff
movups xmmword [esi + 0x1db0], xmm0
mov dword [esi + 0x1dc0], 0
mov dword [esi + 0x1dc8], 0
mov dword [esi + 0x1dc4], 0
mov dword [esi + 0x1dd4], 0x7f7fffff
mov dword [esi + 0x1dd0], 0x7f7fffff
mov dword [esi + 0x1dcc], 0x7f7fffff
movups xmmword [esi + 0x1dd8], xmm0
mov dword [esi + 0x1de8], 0
mov dword [esi + 0x1df0], 0
mov dword [esi + 0x1dec], 0
mov dword [esi + 0x1dfc], 0x7f7fffff
mov dword [esi + 0x1df8], 0x7f7fffff
mov dword [esi + 0x1df4], 0x7f7fffff
movups xmmword [esi + 0x1e00], xmm0
cmp byte [esi + 0x1d7c], 0
je 0x10047deb
cmp dword [esi + 0x1d40], 3
jne 0x10047deb
cmp dword [esi + 0x1d58], 0
movss xmm5, dword [0x100fc7b8]
jne 0x10047df3
mov ecx, dword [esi + 0x1d10]
movss xmm3, dword [ecx + 0x200]
subss xmm3, dword [ecx + 0x18]
movss xmm7, dword [ecx + 0x208]
movss xmm6, dword [ecx + 0x20c]
movss xmm4, dword [ecx + 0x204]
subss xmm7, dword [ecx + 0x18]
subss xmm6, dword [ecx + 0x1c]
subss xmm4, dword [ecx + 0x1c]
movss xmm0, dword [ecx + 0x344]
subss xmm3, xmm5
addss xmm7, xmm5
addss xmm6, xmm5
subss xmm4, xmm5
comiss xmm0, xmm3
jb 0x10047cfe
movss xmm0, dword [ecx + 0x348]
comiss xmm0, xmm4
jb 0x10047cfe
comiss xmm7, dword [ecx + 0x34c]
jb 0x10047cfe
comiss xmm6, dword [ecx + 0x350]
jae 0x10047df3
mov eax, dword [0x1023bb74]
movss xmm5, dword [eax + 0x1944]
mov eax, dword [ecx + 0x328]
mulss xmm5, dword [ecx + 0x28c]
test eax, eax
je 0x10047d25
mulss xmm5, dword [eax + 0x28c]
movss xmm0, dword [ecx + 0x348]
movaps xmm1, xmm6
mulss xmm5, xmm2
subss xmm1, xmm4
movaps xmm2, xmm7
subss xmm2, xmm3
minss xmm1, xmm5
minss xmm2, xmm5
xorps xmm1, xmmword [0x100fc7a0]
subss xmm4, xmm1
addss xmm6, xmm1
xorps xmm2, xmmword [0x100fc7a0]
subss xmm3, xmm2
addss xmm7, xmm2
comiss xmm4, xmm0
jbe 0x10047d6f
movaps xmm1, xmm4
jmp 0x10047d76
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [ecx + 0x344]
comiss xmm3, xmm2
jbe 0x10047d88
movaps xmm0, xmm3
jmp 0x10047d8f
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [ecx + 0x344], xmm0
movss dword [ecx + 0x348], xmm1
movss xmm0, dword [ecx + 0x350]
comiss xmm4, xmm0
ja 0x10047db3
movaps xmm4, xmm6
minss xmm4, xmm0
movss xmm0, dword [ecx + 0x34c]
comiss xmm3, xmm0
ja 0x10047dc7
movaps xmm3, xmm7
minss xmm3, xmm0
movss dword [ecx + 0x34c], xmm3
movss dword [ecx + 0x350], xmm4
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
movss xmm5, dword [0x100fc7b8]
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x10047e35
mov ecx, dword [esi + 0x1d58]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x344]
comiss xmm0, dword [eax + ecx*8 + 0x34c]
ja 0x10047e35
movss xmm0, dword [eax + ecx*8 + 0x348]
comiss xmm0, dword [eax + ecx*8 + 0x350]
ja 0x10047e35
movups xmm0, xmmword [eax + ecx*8 + 0x344]
jmp 0x10047e38
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x10047e84
movss xmm2, dword [eax + 0x18]
movss xmm0, dword [eax + 0x1c]
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 0x10047e8b
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 + 0x1d44], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1d48]
addss xmm1, dword [esi + 0x1d50]
movss dword [esi + 0x1d48], xmm0
movss dword [esi + 0x1d50], xmm1
movss xmm0, dword [esi + 0x1d44]
addss xmm0, xmm5
mov dword [esi + 0x1d54], 0
minss xmm0, dword [esi + 0x1d4c]
movss dword [esi + 0x1d44], xmm0
movss dword [esi + 0x1d4c], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret