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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x94
mov ebx, dword [ebp + 0x2c]
mov edi, dword [edx]
cmp edi, 1
mov dword [ebx], 0
je 0x41a50f
mov eax, dword [ebp + 0x28]
cmp dword [eax], 1
je 0x41a303
test edi, edi
jle 0x4191f8
mov dword [esp + 0x54], edi
mov esi, 1
mov dword [esp + 0x58], edx
mov ebx, 0x4b189680
mov dword [esp + 0x64], ecx
mov edi, dword [ebp + 0x18]
mov eax, 0xcb189680
cmp esi, 1
mov dword [esi*4 + 0x19ab51c], ebx
mov dword [esi*4 + 0x19abcec], ebx
mov dword [esi*4 + 0x19ac4bc], eax
mov dword [esi*4 + 0x19acc8c], eax
je 0x419039
mov edx, dword [edi + esi*4 - 8]
inc edx
jmp 0x41903e
mov edx, 1
mov ecx, dword [edi + esi*4 - 4]
cmp ecx, edx
jl 0x41a2f4
movss xmm1, dword [esi*4 + 0x19ab51c]
xor eax, eax
movss xmm3, dword [esi*4 + 0x19ac4bc]
movss xmm2, dword [esi*4 + 0x19abcec]
movss xmm0, dword [esi*4 + 0x19acc8c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x64]
mov esi, esi
movss xmm5, dword [edi + edx*4 - 4]
inc eax
movaps xmm4, xmm1
movaps xmm1, xmm5
mov ecx, dword [edi + edx*4 - 4]
movaps xmm6, xmm3
mov ebx, dword [esi + edx*4 - 4]
movaps xmm3, xmm5
movaps xmm7, xmm2
movaps xmm5, xmm0
mov dword [eax*4 + 0x18e801c], ecx
minss xmm1, xmm4
maxss xmm3, xmm6
movss xmm4, dword [esi + edx*4 - 4]
inc edx
movaps xmm2, xmm4
movaps xmm0, xmm4
mov dword [eax*4 + 0x1918d5c], ebx
minss xmm2, xmm7
maxss xmm0, xmm5
cmp edx, dword [esp + 4]
jle 0x419080
mov esi, dword [esp]
mov ebx, 0x4b189680
mov edi, dword [ebp + 0x18]
cmp eax, 0x2710
movss dword [esi*4 + 0x19acc8c], xmm0
movss dword [esi*4 + 0x19abcec], xmm2
movss dword [esi*4 + 0x19ac4bc], xmm3
movss dword [esi*4 + 0x19ab51c], xmm1
mov dword [esp + 0x68], eax
jg 0x4191ba
test eax, eax
jle 0x4197c9
movss xmm0, dword [0x49fe9c]
xor ecx, ecx
push 1
pop edx
inc ecx
mov edi, dword [edx*4 + 0x18e801c]
movss xmm2, dword [edx*4 + 0x18e801c]
movss xmm1, dword [edx*4 + 0x1918d5c]
mov dword [ecx*4 + 0x1bf3cbc], edi
mov edi, dword [edx*4 + 0x1918d5c]
inc edx
mov dword [ecx*4 + 0x1bfd8fc], edi
cmp edx, eax
jg 0x419193
cmp ecx, 1
jle 0x419125
movaps xmm3, xmm2
subss xmm3, dword [edx*4 + 0x18e801c]
andps xmm3, xmmword [0x49fc20]
comiss xmm0, xmm3
jbe 0x419125
movaps xmm3, xmm1
subss xmm3, dword [edx*4 + 0x1918d5c]
andps xmm3, xmmword [0x49fc20]
comiss xmm0, xmm3
jbe 0x419125
inc edx
cmp edx, eax
jle 0x41915e
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x50], ecx
add esp, 0xfffffff0
mov edx, 0x1bf3cc0
mov ecx, 0x1bfd900
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
call fcn.00414f9c
jmp 0x4191d8
add esp, 0xfffffff0
mov edx, 0x18e8020
mov ecx, 0x1918d60
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
call fcn.00414f9c
mov eax, dword [esp + 0x6c]
mov dword [esi*4 + 0x19ad45c], eax
inc esi
cmp esi, dword [esp + 0x54]
jle 0x41900c
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov edi, dword [edx]
mov eax, dword [ebp + 0x1c]
pxor xmm0, xmm0
mov dword [eax], 0
xor eax, eax
mov esi, esi
lea edi, [edi]
movdqa xmmword [eax*4 + 0x19adc30], xmm0
movdqa xmmword [eax*4 + 0x19b1ab0], xmm0
movdqa xmmword [eax*4 + 0x19adc40], xmm0
movdqa xmmword [eax*4 + 0x19b1ac0], xmm0
movdqa xmmword [eax*4 + 0x19adc50], xmm0
movdqa xmmword [eax*4 + 0x19b1ad0], xmm0
movdqa xmmword [eax*4 + 0x19adc60], xmm0
movdqa xmmword [eax*4 + 0x19b1ae0], xmm0
add eax, 0x10
cmp eax, 0x7d0
jb 0x419210
xor ebx, ebx
mov eax, 1
test edi, edi
jle 0x4197ec
mov esi, 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ecx
mov ecx, 1
mov ebx, dword [esp + 0x84]
jmp 0x4192ab
mov ecx, 1
mov edx, ecx
mov dword [esp + 8], edx
jmp 0x4192bf
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi*4 - 8]
inc ecx
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x18]
lea edx, [eax*4]
mov dword [esp + 0x7c], edx
mov ecx, dword [ecx + esi*4 - 4]
lea edi, [ecx - 1]
cmp edi, dword [esp + 8]
jl 0x419780
mov dword [esp], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x84]
inc esi
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x10], 1
lea eax, [esi*4]
mov edi, dword [ebx + edx*4 - 4]
mov dword [eax + 0x1949a9c], edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x88], eax
movss xmm3, dword [ebx + edx*4 - 4]
mov esi, dword [edi + edx*4 - 4]
movaps xmm1, xmm3
mov dword [eax + 0x197a7dc], esi
mov eax, dword [esp + 0x58]
movss xmm0, dword [edi + edx*4 - 4]
movss xmm2, dword [ebx + edx*4]
movss xmm4, dword [edi + edx*4]
minss xmm1, xmm2
maxss xmm3, xmm2
movaps xmm2, xmm0
maxss xmm0, xmm4
minss xmm2, xmm4
mov eax, dword [eax]
test eax, eax
jle 0x419754
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esi + 0x19afb6c], edi
xor edi, edi
mov dword [esi + 0x19adc2c], edx
mov edx, 1
mov esi, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x8c], edi
lea esi, [esi + ebx*4]
mov dword [esp + 0x24], esi
lea esi, [esi - 4]
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
lea ebx, [esi + ebx*4]
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x80]
lea ebx, [ebx - 4]
mov dword [esp + 0x1c], ebx
cmp edx, esi
je 0x419587
comiss xmm1, dword [edx*4 + 0x19ac4bc]
ja 0x419587
movss xmm4, dword [edx*4 + 0x19ab51c]
comiss xmm4, xmm3
ja 0x419587
comiss xmm2, dword [edx*4 + 0x19acc8c]
ja 0x419587
movss xmm4, dword [edx*4 + 0x19abcec]
comiss xmm4, xmm0
ja 0x419587
cmp edx, 1
je 0x419438
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx + edx*4 - 8]
inc ebx
jmp 0x41943d
mov ebx, 1
mov edi, dword [ebp + 0x18]
mov edi, dword [edi + edx*4 - 4]
dec edi
cmp edi, ebx
jl 0x419587
mov dword [esp + 0x5c], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x64]
movss xmm5, dword [esi + ebx*4 - 4]
comiss xmm5, xmm3
jbe 0x41947d
movss xmm4, dword [esi + ebx*4]
comiss xmm4, xmm3
ja 0x41956d
comiss xmm1, xmm5
jbe 0x41948c
comiss xmm1, dword [esi + ebx*4]
ja 0x41956d
movss xmm5, dword [edi + ebx*4 - 4]
comiss xmm5, xmm0
jbe 0x4194a5
movss xmm4, dword [edi + ebx*4]
comiss xmm4, xmm0
ja 0x41956d
comiss xmm2, xmm5
jbe 0x4194b4
comiss xmm2, dword [edi + ebx*4]
ja 0x41956d
add esp, 0xffffffd4
lea edx, [esi + ebx*4]
mov ecx, dword [esp + 0x50]
lea eax, [edi + ebx*4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
lea ecx, [edx - 4]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x98]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x70], xmm1
call fcn.00414b6c
movss xmm1, dword [esp + 0x44]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x28]
cmp dword [esp + 0x6c], 0
je 0x41956d
mov ecx, dword [esp + 0x8c]
inc ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x68], ecx
mov dword [ecx*4 + 0x18e801c], eax
mov dword [ecx*4 + 0x1918d5c], edx
inc ebx
cmp ebx, dword [esp + 0x5c]
jle 0x419464
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
inc edx
mov ecx, edx
cmp edx, eax
jle 0x4193e1
mov edi, dword [esp + 0x8c]
test edi, edi
mov ecx, dword [esp + 4]
je 0x419754
mov dword [0x6290f8], edi
cmp edi, 2
jl 0x41968e
mov dword [esp + 0x8c], edi
mov esi, 2
mov dword [esp + 0x78], edx
mov edi, dword [esp + 0x18]
lea ebx, [esp + 0x38]
mov eax, dword [esi*4 + 0x18e801c]
lea ecx, [esp + 0x3c]
mov edx, dword [esi*4 + 0x1918d5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
push ecx
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
push edi
call fcn.00408530
cmp esi, 2
lea edx, [esi - 1]
lea eax, [esi*4 - 4]
jl 0x419666
mov dword [esp + 0x14], esi
mov esi, eax
mov ebx, edx
lea ecx, [esp + 0x40]
push ecx
lea eax, [esi + 0x1918d5c]
push eax
lea edx, [esi + 0x18e801c]
push edx
push dword [esp + 0x28]
push edi
call fcn.00408530
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [esp + 0x40]
ja 0x41a2e5
mov ecx, dword [ebx*4 + 0x18e801c]
mov dword [esi + 0x18e8020], ecx
mov ecx, dword [ebx*4 + 0x1918d5c]
dec ebx
mov dword [esi + 0x1918d60], ecx
add esi, 0xfffffffc
test ebx, ebx
jg 0x41960e
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0x38]
xor eax, eax
inc esi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18e8020], edx
mov dword [eax + 0x1918d60], ecx
cmp esi, dword [esp + 0x8c]
jle 0x4195cc
mov edi, dword [esp + 0x68]
test edi, edi
jle 0x4197d6
mov dword [esp + 0x8c], edi
xor esi, esi
nop
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esi*4 + 0x18e8020]
mov ecx, dword [esi*4 + 0x1918d60]
lea eax, [edi + esi*2]
mov dword [esp + 0x90], eax
lea edi, [eax + 1]
mov eax, dword [esp + 0x7c]
mov dword [edx + esi*8 + 0x1949aa0], ebx
mov dword [edx + esi*8 + 0x197a7e0], ecx
mov dword [eax + esi*4 + 0x19adc2c], edi
mov edi, dword [esp + 0x80]
mov dword [eax + esi*4 + 0x19afb6c], edi
mov dword [edx + esi*8 + 0x1949aa4], ebx
mov dword [edx + esi*8 + 0x197a7e4], ecx
inc esi
cmp esi, dword [esp + 0x8c]
jb 0x4196a0
mov edx, eax
mov ebx, dword [esp + 0x60]
add ebx, esi
mov eax, dword [esp + 0x90]
add eax, 2
mov dword [edx + esi*4 + 0x19adc2c], eax
mov eax, dword [esp + 0x84]
lea edi, [ebx*4]
mov ecx, dword [esp + 0x80]
mov dword [edx + esi*4 + 0x19afb6c], ecx
mov ecx, 0xffffffff
mov dword [esp + 0x60], ebx
lea esi, [eax + esi*2]
mov dword [esp + 0x84], esi
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 8], eax
cmp eax, dword [esp + 0xc]
jle 0x4192fb
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x64]
inc ebx
lea edx, [eax + 1]
cmovne eax, edx
mov edi, dword [edi + ecx*4 - 4]
mov dword [ebx*4 + 0x1949a9c], edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + ecx*4 - 4]
mov dword [ebx*4 + 0x197a7dc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x19afb6c], esi
inc esi
mov dword [ecx + 0x19adc2c], ebx
cmp esi, dword [esp + 0x54]
jg 0x4197e0
cmp esi, 1
je 0x4192a6
jmp 0x4192b3
mov dword [esp + 0x50], 0
jmp 0x41919a
mov ecx, 0xffffffff
jmp 0x419754
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
test bl, 1
jne 0x4198a8
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebx]
cmp esi, 3
je 0x4198a8
mov edi, dword [edx]
xor ebx, ebx
mov dword [esp + 0x28], edi
test edi, edi
mov dword [0x6290ec], edi
jle 0x41989a
mov edi, 1
pxor xmm1, xmm1
mov dword [esp + 0x64], ecx
movss xmm0, dword [0x49fe84]
mov ecx, edi
mov edi, dword [esp + 0x28]
lea esi, [esi]
lea edi, [edi]
movss xmm4, dword [ecx*4 + 0x19ac4bc]
movaps xmm3, xmm1
movss xmm2, dword [ecx*4 + 0x19acc8c]
subss xmm4, dword [ecx*4 + 0x19ab51c]
subss xmm2, dword [ecx*4 + 0x19abcec]
andps xmm4, xmmword [0x49fc20]
andps xmm2, xmmword [0x49fc20]
addss xmm4, xmm2
movaps xmm1, xmm4
maxss xmm1, xmm3
subss xmm4, xmm1
andps xmm4, xmmword [0x49fc20]
comiss xmm0, xmm4
cmova ebx, ecx
inc ecx
cmp ecx, edi
jle 0x419840
mov ecx, dword [esp + 0x64]
cmp dword [ebx*4 + 0x19ad45c], 0xffffffff
je 0x41a008
cmp dword [eax*4 + 0x19adc2c], 0
lea ebx, [eax - 1]
cmove eax, ebx
test eax, eax
jle 0x419ba2
movss xmm6, dword [0x49fe80]
mov ebx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ecx
cmp ebx, 1
je 0x4198e6
mov esi, dword [ebx*4 + 0x19adc28]
inc esi
jmp 0x4198eb
mov esi, 1
mov eax, dword [ebx*4 + 0x19adc2c]
mov edi, eax
sub edi, esi
cmp edi, 1
jne 0x41992c
movss xmm1, dword [eax*4 + 0x1949a9c]
movss xmm0, dword [eax*4 + 0x197a7dc]
addss xmm0, dword [eax*4 + 0x197a7d8]
addss xmm1, dword [eax*4 + 0x1949a98]
mulss xmm0, xmm6
mulss xmm1, xmm6
jmp 0x4199fb
mov dword [0x6290f0], eax
dec eax
mov ecx, esi
cmp esi, eax
jg 0x4199cf
mov dword [esp + 8], ebx
lea edx, [esi*4]
movss xmm7, dword [edx + 0x1949a9c]
pxor xmm5, xmm5
movss xmm2, dword [edx + 0x197a7dc]
xor eax, eax
movss xmm4, dword [0x49fe84]
lea esi, [esi]
lea edi, [edi]
movss xmm1, dword [edx + eax*4 + 0x1949aa0]
lea ebx, [esi + eax]
movss xmm3, dword [edx + eax*4 + 0x197a7e0]
movaps xmm0, xmm1
inc eax
subss xmm0, xmm7
movaps xmm7, xmm3
andps xmm0, xmmword [0x49fc20]
subss xmm7, xmm2
andps xmm7, xmmword [0x49fc20]
movaps xmm2, xmm5
addss xmm0, xmm7
movaps xmm7, xmm1
movaps xmm5, xmm0
maxss xmm5, xmm2
movaps xmm2, xmm3
subss xmm0, xmm5
andps xmm0, xmmword [0x49fc20]
comiss xmm4, xmm0
cmova ecx, ebx
cmp eax, edi
jb 0x419970
mov ebx, dword [esp + 8]
movss xmm1, dword [ecx*4 + 0x1949a9c]
movss xmm0, dword [ecx*4 + 0x197a7dc]
addss xmm0, dword [ecx*4 + 0x197a7e0]
addss xmm1, dword [ecx*4 + 0x1949aa0]
mulss xmm0, xmm6
mulss xmm1, xmm6
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
test ecx, ecx
jle 0x41a2dc
xor edx, edx
mov edi, 1
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
mov dword [esp + 0x6c], 0
mov dword [esp + 4], edx
mov dword [esp], edx
mov dword [esp + 0x10], ecx
mov esi, dword [ebp + 0x18]
cmp edi, dword [ebx*4 + 0x19afb6c]
je 0x419b4a
cmp edi, 1
je 0x419a4b
mov ecx, dword [esi + edi*4 - 8]
inc ecx
jmp 0x419a50
mov ecx, 1
mov eax, dword [esi + edi*4 - 4]
cmp eax, ecx
jl 0x41a2cb
mov dword [esp + 8], ebx
xor edx, edx
mov dword [esp + 0xc], edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [esp + 0x64]
inc edx
mov edi, dword [ebx + ecx*4 - 4]
mov dword [edx*4 + 0x18e801c], edi
mov edi, dword [esi + ecx*4 - 4]
inc ecx
mov dword [edx*4 + 0x1918d5c], edi
cmp ecx, eax
jle 0x419a6d
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], edx
add esp, 0xffffffe4
lea eax, [esp + 0x88]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, 0x49fa54
mov dword [esp + 0x14], 0x18e8020
mov dword [esp + 0x18], 0x1918d60
call fcn.0041048c
add esp, 0xffffffe4
lea eax, [esp + 0x94]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, 0x49fa54
mov dword [esp + 0x14], 0x1918d60
mov dword [esp + 0x18], 0x18e8020
call fcn.0041048c
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x6c]
je 0x419b4a
mov edx, dword [esp + 4]
cmp dword [edi*4 + 0x19ad45c], 1
lea eax, [edx + 1]
cmove edx, eax
mov eax, dword [esp]
mov dword [esp + 4], edx
lea ecx, [eax - 1]
cmovne eax, ecx
mov dword [esp], eax
inc edi
cmp edi, dword [esp + 0x10]
jle 0x419a32
movss xmm6, dword [0x49fe80]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [ebx*4 + 0x19afb6c]
add edx, eax
cmp dword [ecx*4 + 0x19ad45c], 1
je 0x41a2bc
mov eax, 1
test edx, edx
mov edx, 0
cmovle edx, eax
mov dword [ebx*4 + 0x19b1aac], edx
inc ebx
cmp ebx, dword [esp + 0x60]
jle 0x4198d7
mov eax, dword [esp + 0x60]
test eax, eax
movss xmm1, dword [0x49fe78]
mov ebx, 0
movaps xmm6, xmm1
movaps xmm5, xmm1
jle 0x419c08
mov edx, 1
mov esi, 0x47c34f80
movss xmm3, dword [0x49fe8c]
xor ecx, ecx
movss xmm7, dword [0x49fe90]
movss xmm0, dword [0x49fe94]
movss xmm2, dword [0x49fe98]
mov dword [esp], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp]
cmp dword [eax*4 + 0x19b1aac], 0
je 0x419c88
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp eax, dword [esp + 0x60]
jle 0x419bea
mov eax, dword [ebp + 0x20]
movaps xmm0, xmm6
movss xmm1, dword [0x49fe88]
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x49fc20]
comiss xmm1, xmm0
jbe 0x419c74
mov eax, dword [ebp + 0x24]
movaps xmm0, xmm5
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x49fc20]
comiss xmm1, xmm0
jbe 0x419c74
mov edx, dword [ebp + 0x20]
mov ecx, 0x47c34f80
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
movss dword [edx + ebx*4], xmm6
movss dword [esi + ebx*4], xmm5
add ebx, 2
mov dword [eax], ebx
mov dword [edx + ebx*4 - 4], ecx
mov dword [esi + ebx*4 - 4], ecx
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
cmp dword [esp], 1
je 0x419c9c
mov edi, dword [eax*4 + 0x19adc28]
inc edi
mov dword [esp + 4], edi
jmp 0x419ca0
mov dword [esp + 4], edx
mov edi, eax
mov eax, dword [edi*4 + 0x19adc2c]
mov dword [edi*4 + 0x19b1aac], 1
mov edi, dword [esp + 4]
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x41a2a7
movss xmm3, dword [0x49fe8c]
inc ebx
add ecx, 4
mov esi, dword [ebp + 0x20]
mov edx, dword [edi*4 + 0x1949a9c]
movss xmm4, dword [edi*4 + 0x1949a9c]
movss xmm2, dword [edi*4 + 0x197a7dc]
lea eax, [ebx*4]
mov dword [esi + eax - 4], edx
mov esi, dword [ebp + 0x24]
mov edx, dword [edi*4 + 0x197a7dc]
inc edi
comiss xmm6, xmm3
mov dword [esi + eax - 4], edx
jbe 0x419d19
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp edi, dword [esp + 0x10]
jle 0x419ccc
jmp 0x419d1f
cmp edi, dword [esp + 0x10]
jle 0x419ccc
mov esi, 0x47c34f80
mov edx, 1
movaps xmm2, xmm6
subss xmm2, xmm4
andps xmm2, xmmword [0x49fc20]
comiss xmm7, xmm2
jbe 0x419d96
mov edi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + edi - 4]
andps xmm3, xmmword [0x49fc20]
comiss xmm7, xmm3
jbe 0x419d96
comiss xmm2, xmm0
ja 0x419d5e
comiss xmm3, xmm0
jbe 0x419d74
inc ebx
add ecx, 4
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
movss dword [eax + ebx*4 - 4], xmm6
movss dword [edi + ebx*4 - 4], xmm5
inc ebx
add ecx, 4
mov eax, dword [ebp + 0x20]
movaps xmm5, xmm1
mov edi, dword [ebp + 0x24]
movss xmm6, dword [0x49fe78]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x419bfb
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movss xmm0, dword [0x49fe98]
movss xmm1, dword [0x49fe8c]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
movss xmm3, dword [0x49fe78]
xor edi, edi
mov esi, edx
mov edx, dword [ebp + 0x24]
cmp dword [esi*4 + 0x19b1aac], 0
jne 0x419e2a
cmp esi, 1
je 0x419dde
mov ebx, dword [esi*4 + 0x19adc28]
inc ebx
jmp 0x419de3
mov ebx, 1
movss xmm0, dword [eax + edx - 4]
movaps xmm1, xmm4
subss xmm1, dword [ebx*4 + 0x1949a9c]
subss xmm0, dword [ebx*4 + 0x197a7dc]
andps xmm1, xmmword [0x49fc20]
andps xmm0, xmmword [0x49fc20]
addss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x419e2a
mov ecx, dword [esi*4 + 0x19adc2c]
mov edi, esi
movaps xmm3, xmm1
comiss xmm7, xmm1
ja 0x419fcc
inc esi
cmp esi, dword [esp + 0x60]
jle 0x419dc5
movss xmm0, dword [0x49fe98]
mov edx, 1
movss xmm1, dword [0x49fe8c]
comiss xmm3, xmm0
jbe 0x419e54
comiss xmm1, xmm3
ja 0x419f83
test edi, edi
je 0x419fe6
mov dword [edi*4 + 0x19b1aac], 1
mov esi, ebx
cmp ecx, ebx
jl 0x419eff
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
movss xmm3, dword [0x49fe78]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
add ecx, 4
inc edx
mov edi, dword [ebp + 0x20]
mov eax, ecx
mov ebx, dword [esi*4 + 0x1949a9c]
movss xmm4, dword [esi*4 + 0x1949a9c]
mov dword [ecx + edi - 4], ebx
mov edi, dword [ebp + 0x24]
mov ebx, dword [esi*4 + 0x197a7dc]
movss xmm2, dword [esi*4 + 0x197a7dc]
inc esi
mov dword [ecx + edi - 4], ebx
ucomiss xmm6, xmm3
jp 0x419ec5
je 0x419ed0
cmp esi, dword [esp + 0x10]
jle 0x419e89
jmp 0x419fa4
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp esi, dword [esp + 0x10]
jle 0x419e89
movaps xmm2, xmm4
mov dword [esp + 0xc], ecx
subss xmm2, xmm4
mov dword [esp + 8], edx
mov edx, 1
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
andps xmm2, xmmword [0x49fc20]
comiss xmm7, xmm2
jbe 0x419db6
mov esi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + esi - 4]
andps xmm3, xmmword [0x49fc20]
comiss xmm7, xmm3
jbe 0x419db6
movss xmm0, dword [0x49fe94]
mov esi, 0x47c34f80
movss xmm1, dword [0x49fe78]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
comiss xmm2, xmm0
ja 0x419f4b
comiss xmm3, xmm0
jbe 0x419f61
inc ebx
add ecx, 4
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
movss dword [eax + ebx*4 - 4], xmm6
movss dword [edi + ebx*4 - 4], xmm5
inc ebx
add ecx, 4
mov eax, dword [ebp + 0x20]
movaps xmm5, xmm1
mov edi, dword [ebp + 0x24]
movss xmm6, dword [0x49fe78]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x419bfb
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [esp + 8]
mov dword [eax], ebx
mov dword [edx], 1
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
movaps xmm2, xmm6
mov dword [esp + 0xc], ecx
subss xmm2, xmm4
mov dword [esp + 8], edx
mov edx, 1
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
andps xmm2, xmmword [0x49fc20]
jmp 0x419eff
movss xmm0, dword [0x49fe98]
mov edx, 1
movss xmm1, dword [0x49fe8c]
jmp 0x419e54
movss xmm0, dword [0x49fe94]
mov esi, 0x47c34f80
movss xmm1, dword [0x49fe78]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x419bfb
cmp dword [0x19ad460], 1
je 0x41a22e
cmp dword [esp + 0x28], 0
jle 0x41a28f
xor ebx, ebx
mov dword [esp + 0x64], ecx
xor eax, eax
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x41a03a
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + eax*4 - 4]
inc ecx
jmp 0x41a03f
mov ecx, 1
mov edx, dword [ebp + 0x18]
mov esi, dword [edx + eax*4]
cmp esi, ecx
mov dword [esp + 0x2c], esi
jl 0x41a206
mov edx, esi
sub edx, ecx
inc edx
mov dword [esp + 0x2c], edx
cmp edx, 4
jl 0x41a22a
mov edx, dword [ebp + 0x24]
lea esi, [edx + ebx*4]
and esi, 0xf
mov dword [esp + 0x30], esi
je 0x41a08b
test byte [esp + 0x30], 3
jne 0x41a22a
mov edx, esi
neg edx
add edx, 0x10
shr edx, 2
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
lea esi, [edx + 4]
cmp esi, dword [esp + 0x2c]
jg 0x41a22a
mov edi, dword [esp + 0x2c]
mov esi, edi
sub esi, edx
and esi, 3
neg esi
add esi, edi
mov edi, dword [ebp + 0x20]
test edx, edx
lea edi, [edi + ebx*4]
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x24]
lea edi, [edi + ebx*4]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x64]
lea edi, [edi + ecx*4]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp + 0x14]
lea edi, [edi + ecx*4]
mov dword [esp + 0x18], edi
jbe 0x41a11b
mov dword [esp], esi
xor edx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov ecx, edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esi + edx*4 - 4]
mov dword [ebx + edx*4], edi
mov edi, dword [ecx + edx*4 - 4]
mov dword [eax + edx*4], edi
inc edx
cmp edx, dword [esp + 0x30]
jb 0x41a0f7
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov edi, dword [ebp + 0x20]
add edx, ebx
lea edi, [edi + edx*4]
test edi, 0xf
je 0x41a16a
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
movups xmm0, xmmword [edx + edi*4 - 4]
movups xmm1, xmmword [eax + edi*4 - 4]
movups xmmword [ebx + edi*4], xmm0
movaps xmmword [ecx + edi*4], xmm1
add edi, 4
cmp edi, esi
jb 0x41a14f
jmp 0x41a1a3
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
movups xmm0, xmmword [edx + edi*4 - 4]
movups xmm1, xmmword [eax + edi*4 - 4]
movaps xmmword [ebx + edi*4], xmm0
movaps xmmword [ecx + edi*4], xmm1
add edi, 4
cmp edi, esi
jb 0x41a18a
mov dword [esp + 0x30], edi
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
add ebx, dword [esp + 0x30]
cmp esi, dword [esp + 0x2c]
jae 0x41a206
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], eax
lea edi, [edx + ecx*4]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x24]
mov eax, dword [esp + 0x10]
lea edx, [edx + ecx*4]
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + ebx*4]
lea ebx, [edi + ebx*4]
mov edi, dword [eax + esi*4 - 4]
mov dword [ecx + esi*4], edi
mov edi, dword [edx + esi*4 - 4]
mov dword [ebx + esi*4], edi
inc esi
cmp esi, dword [esp + 0x2c]
jb 0x41a1e6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
lea ebx, [esi + edx]
inc ebx
inc eax
mov edx, dword [ebp + 0x20]
mov ecx, 0x47c34f80
mov esi, dword [ebp + 0x24]
cmp eax, dword [esp + 0x28]
mov dword [edx + ebx*4 - 4], ecx
mov dword [esi + ebx*4 - 4], ecx
jb 0x41a028
jmp 0x419c74
xor esi, esi
jmp 0x41a1b7
movss xmm0, dword [0x19ab520]
comiss xmm0, dword [ebx*4 + 0x19ab51c]
jbe 0x41a015
movss xmm0, dword [ebx*4 + 0x19ac4bc]
comiss xmm0, dword [0x19ac4c0]
jbe 0x41a015
movss xmm0, dword [0x19abcf0]
comiss xmm0, dword [ebx*4 + 0x19abcec]
jbe 0x41a015
movss xmm0, dword [ebx*4 + 0x19acc8c]
comiss xmm0, dword [0x19acc90]
jbe 0x41a015
cmp esi, 2
je 0x41a015
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
mov edi, dword [ebp + 0x20]
lea eax, [ebx*4]
movss xmm4, dword [edi + eax - 4]
jmp 0x419d29
mov eax, 1
test edx, edx
cmovne edx, eax
jmp 0x419b8a
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], 0
jmp 0x419a9c
xor edx, edx
xor eax, eax
jmp 0x419b64
mov eax, esi
lea ebx, [esp + 0x38]
mov esi, dword [esp + 0x14]
jmp 0x419668
mov dword [esp + 0x68], 0
xor eax, eax
jmp 0x419110
test edi, edi
jle 0x41a28f
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], 0
jle 0x41a32e
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [eax + edx*4 - 4]
inc esi
jmp 0x41a333
mov esi, 1
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + edx*4]
cmp ecx, esi
jl 0x41a4d6
sub ecx, esi
inc ecx
cmp ecx, 4
jl 0x41a502
mov eax, dword [ebp + 0x24]
lea edx, [eax + ebx*4]
and edx, 0xf
je 0x41a36d
test dl, 3
jne 0x41a502
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp ecx, eax
jl 0x41a502
mov eax, ecx
sub eax, edx
mov edi, dword [ebp + 0x20]
and eax, 3
neg eax
add eax, ecx
mov dword [esp + 0xc], eax
lea eax, [edi + ebx*4]
mov edi, dword [ebp + 0x24]
test edx, edx
mov dword [esp + 0x24], eax
lea eax, [edi + ebx*4]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x28], eax
lea eax, [edi + esi*4]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [edi + esi*4]
mov dword [esp + 0x18], eax
jbe 0x41a3ef
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], esi
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov esi, dword [ebx + eax*4 - 4]
mov dword [edi + eax*4], esi
mov edi, dword [esp + 0x28]
mov esi, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4], esi
inc eax
cmp eax, edx
jb 0x41a3c9
mov ecx, dword [esp + 0x20]
mov esi, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [ebp + 0x20]
lea edi, [ebx + edx]
lea eax, [eax + edi*4]
test al, 0xf
je 0x41a436
mov dword [esp + 0x20], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
movups xmm0, xmmword [ebx + edx*4 - 4]
movups xmm1, xmmword [ecx + edx*4 - 4]
movups xmmword [edi + edx*4], xmm0
movaps xmmword [esi + edx*4], xmm1
add edx, 4
cmp edx, eax
jb 0x41a41b
jmp 0x41a46e
mov dword [esp + 0x20], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
movups xmm0, xmmword [ebx + edx*4 - 4]
movups xmm1, xmmword [ecx + edx*4 - 4]
movaps xmmword [edi + edx*4], xmm0
movaps xmmword [esi + edx*4], xmm1
add edx, 4
cmp edx, eax
jb 0x41a455
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x20]
add ebx, edx
mov esi, dword [esp]
mov dword [esp + 0xc], eax
cmp ecx, dword [esp + 0xc]
jbe 0x41a4d6
mov edi, dword [esp + 0x64]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x20], ecx
lea eax, [edi + esi*4]
mov dword [esp + 8], eax
lea edi, [edx + esi*4]
mov esi, dword [ebp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea esi, [esi + eax*4]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 8]
mov ecx, dword [eax + edx*4 - 4]
mov dword [esi + edx*4], ecx
mov ecx, dword [edi + edx*4 - 4]
mov dword [ebx + edx*4], ecx
inc edx
cmp edx, dword [esp + 0x20]
jb 0x41a4b2
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ebx, [eax + edx]
inc ebx
mov edx, 0x47c34f80
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov esi, dword [esp + 0x14]
inc esi
mov dword [eax + ebx*4 - 4], edx
mov dword [ecx + ebx*4 - 4], edx
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x54]
jb 0x41a315
jmp 0x419c74
mov dword [esp + 0xc], 0
jmp 0x41a47f
mov esi, dword [eax]
test esi, esi
jle 0x41a5f6
cmp esi, 4
jl 0x41a60a
mov edx, dword [ebp + 0x24]
and edx, 0xf
je 0x41a53b
test dl, 3
jne 0x41a60a
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp esi, eax
jl 0x41a60a
mov ebx, esi
sub ebx, edx
and ebx, 3
neg ebx
add ebx, esi
test edx, edx
jbe 0x41a57f
mov dword [esp + 4], ebx
xor eax, eax
mov dword [esp], esi
mov esi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
mov edi, dword [ecx + eax*4]
mov dword [ebx + eax*4], edi
mov edi, dword [ebp + 0x14]
mov edi, dword [edi + eax*4]
mov dword [esi + eax*4], edi
inc eax
cmp eax, edx
jb 0x41a564
mov ebx, dword [esp + 4]
mov esi, dword [esp]
mov eax, dword [ebp + 0x20]
lea edi, [eax + edx*4]
test edi, 0xf
je 0x41a5b2
mov dword [esp], esi
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x14]
movups xmm0, xmmword [ecx + edx*4]
movups xmm1, xmmword [edi + edx*4]
movups xmmword [esi + edx*4], xmm0
movaps xmmword [eax + edx*4], xmm1
add edx, 4
cmp edx, ebx
jb 0x41a599
jmp 0x41a5d5
mov dword [esp], esi
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x14]
movups xmm0, xmmword [ecx + edx*4]
movups xmm1, xmmword [edi + edx*4]
movaps xmmword [esi + edx*4], xmm0
movaps xmmword [eax + edx*4], xmm1
add edx, 4
cmp edx, ebx
jb 0x41a5be
mov esi, dword [esp]
cmp ebx, esi
jae 0x41a5f6
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x20]
mov edx, dword [ecx + ebx*4]
mov dword [edi + ebx*4], edx
mov edi, dword [ebp + 0x24]
mov edx, dword [eax + ebx*4]
mov dword [edi + ebx*4], edx
inc ebx
cmp ebx, esi
jb 0x41a5df
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
xor ebx, ebx
jmp 0x41a5d8