Function at 0x418e2c
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 0x41a37f
mov eax, dword [ebp + 0x28]
cmp dword [eax], 1
je 0x41a173
test edi, edi
jle 0x419068
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 + 0xbe729c], ebx
mov dword [esi*4 + 0xbe7a6c], ebx
mov dword [esi*4 + 0xbe823c], eax
mov dword [esi*4 + 0xbe8a0c], eax
je 0x418ea9
mov edx, dword [edi + esi*4 - 8]
inc edx
jmp 0x418eae
mov edx, 1
mov ecx, dword [edi + esi*4 - 4]
cmp ecx, edx
jl 0x41a164
movss xmm1, dword [esi*4 + 0xbe729c]
xor eax, eax
movss xmm3, dword [esi*4 + 0xbe823c]
movss xmm2, dword [esi*4 + 0xbe7a6c]
movss xmm0, dword [esi*4 + 0xbe8a0c]
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 + 0xb23d9c], 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 + 0xb54adc], ebx
minss xmm2, xmm7
maxss xmm0, xmm5
cmp edx, dword [esp + 4]
jle 0x418ef0
mov esi, dword [esp]
mov ebx, 0x4b189680
mov edi, dword [ebp + 0x18]
cmp eax, 0x2710
movss dword [esi*4 + 0xbe8a0c], xmm0
movss dword [esi*4 + 0xbe7a6c], xmm2
movss dword [esi*4 + 0xbe823c], xmm3
movss dword [esi*4 + 0xbe729c], xmm1
mov dword [esp + 0x68], eax
jg 0x41902a
test eax, eax
jle 0x419639
movss xmm0, dword [0x47722c]
xor ecx, ecx
push 1
pop edx
inc ecx
mov edi, dword [edx*4 + 0xb23d9c]
movss xmm2, dword [edx*4 + 0xb23d9c]
movss xmm1, dword [edx*4 + 0xb54adc]
mov dword [ecx*4 + 0xe2fa3c], edi
mov edi, dword [edx*4 + 0xb54adc]
inc edx
mov dword [ecx*4 + 0xe3967c], edi
cmp edx, eax
jg 0x419003
cmp ecx, 1
jle 0x418f95
movaps xmm3, xmm2
subss xmm3, dword [edx*4 + 0xb23d9c]
andps xmm3, xmmword [0x476fb0]
comiss xmm0, xmm3
jbe 0x418f95
movaps xmm3, xmm1
subss xmm3, dword [edx*4 + 0xb54adc]
andps xmm3, xmmword [0x476fb0]
comiss xmm0, xmm3
jbe 0x418f95
inc edx
cmp edx, eax
jle 0x418fce
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x50], ecx
add esp, 0xfffffff0
mov edx, 0xe2fa40
mov ecx, 0xe39680
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
call fcn.00414e0c
jmp 0x419048
add esp, 0xfffffff0
mov edx, 0xb23da0
mov ecx, 0xb54ae0
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
call fcn.00414e0c
mov eax, dword [esp + 0x6c]
mov dword [esi*4 + 0xbe91dc], eax
inc esi
cmp esi, dword [esp + 0x54]
jle 0x418e7c
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 + 0xbe99b0], xmm0
movdqa xmmword [eax*4 + 0xbed830], xmm0
movdqa xmmword [eax*4 + 0xbe99c0], xmm0
movdqa xmmword [eax*4 + 0xbed840], xmm0
movdqa xmmword [eax*4 + 0xbe99d0], xmm0
movdqa xmmword [eax*4 + 0xbed850], xmm0
movdqa xmmword [eax*4 + 0xbe99e0], xmm0
movdqa xmmword [eax*4 + 0xbed860], xmm0
add eax, 0x10
cmp eax, 0x7d0
jb 0x419080
xor ebx, ebx
mov eax, 1
test edi, edi
jle 0x41965c
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 0x41911b
mov ecx, 1
mov edx, ecx
mov dword [esp + 8], edx
jmp 0x41912f
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 0x4195f0
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 + 0xb8581c], 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 + 0xbb655c], 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 0x4195c4
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esi + 0xbeb8ec], edi
xor edi, edi
mov dword [esi + 0xbe99ac], 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 0x4193f7
comiss xmm1, dword [edx*4 + 0xbe823c]
ja 0x4193f7
movss xmm4, dword [edx*4 + 0xbe729c]
comiss xmm4, xmm3
ja 0x4193f7
comiss xmm2, dword [edx*4 + 0xbe8a0c]
ja 0x4193f7
movss xmm4, dword [edx*4 + 0xbe7a6c]
comiss xmm4, xmm0
ja 0x4193f7
cmp edx, 1
je 0x4192a8
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx + edx*4 - 8]
inc ebx
jmp 0x4192ad
mov ebx, 1
mov edi, dword [ebp + 0x18]
mov edi, dword [edi + edx*4 - 4]
dec edi
cmp edi, ebx
jl 0x4193f7
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 0x4192ed
movss xmm4, dword [esi + ebx*4]
comiss xmm4, xmm3
ja 0x4193dd
comiss xmm1, xmm5
jbe 0x4192fc
comiss xmm1, dword [esi + ebx*4]
ja 0x4193dd
movss xmm5, dword [edi + ebx*4 - 4]
comiss xmm5, xmm0
jbe 0x419315
movss xmm4, dword [edi + ebx*4]
comiss xmm4, xmm0
ja 0x4193dd
comiss xmm2, xmm5
jbe 0x419324
comiss xmm2, dword [edi + ebx*4]
ja 0x4193dd
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.004149dc
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 0x4193dd
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 + 0xb23d9c], eax
mov dword [ecx*4 + 0xb54adc], edx
inc ebx
cmp ebx, dword [esp + 0x5c]
jle 0x4192d4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
inc edx
mov ecx, edx
cmp edx, eax
jle 0x419251
mov edi, dword [esp + 0x8c]
test edi, edi
mov ecx, dword [esp + 4]
je 0x4195c4
mov dword [0xa4d4d8], edi
cmp edi, 2
jl 0x4194fe
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 + 0xb23d9c]
lea ecx, [esp + 0x3c]
mov edx, dword [esi*4 + 0xb54adc]
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.00405560
cmp esi, 2
lea edx, [esi - 1]
lea eax, [esi*4 - 4]
jl 0x4194d6
mov dword [esp + 0x14], esi
mov esi, eax
mov ebx, edx
lea ecx, [esp + 0x40]
push ecx
lea eax, [esi + 0xb54adc]
push eax
lea edx, [esi + 0xb23d9c]
push edx
push dword [esp + 0x28]
push edi
call fcn.00405560
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [esp + 0x40]
ja 0x41a155
mov ecx, dword [ebx*4 + 0xb23d9c]
mov dword [esi + 0xb23da0], ecx
mov ecx, dword [ebx*4 + 0xb54adc]
dec ebx
mov dword [esi + 0xb54ae0], ecx
add esi, 0xfffffffc
test ebx, ebx
jg 0x41947e
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 + 0xb23da0], edx
mov dword [eax + 0xb54ae0], ecx
cmp esi, dword [esp + 0x8c]
jle 0x41943c
mov edi, dword [esp + 0x68]
test edi, edi
jle 0x419646
mov dword [esp + 0x8c], edi
xor esi, esi
nop
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esi*4 + 0xb23da0]
mov ecx, dword [esi*4 + 0xb54ae0]
lea eax, [edi + esi*2]
mov dword [esp + 0x90], eax
lea edi, [eax + 1]
mov eax, dword [esp + 0x7c]
mov dword [edx + esi*8 + 0xb85820], ebx
mov dword [edx + esi*8 + 0xbb6560], ecx
mov dword [eax + esi*4 + 0xbe99ac], edi
mov edi, dword [esp + 0x80]
mov dword [eax + esi*4 + 0xbeb8ec], edi
mov dword [edx + esi*8 + 0xb85824], ebx
mov dword [edx + esi*8 + 0xbb6564], ecx
inc esi
cmp esi, dword [esp + 0x8c]
jb 0x419510
mov edx, eax
mov ebx, dword [esp + 0x60]
add ebx, esi
mov eax, dword [esp + 0x90]
add eax, 2
mov dword [edx + esi*4 + 0xbe99ac], eax
mov eax, dword [esp + 0x84]
lea edi, [ebx*4]
mov ecx, dword [esp + 0x80]
mov dword [edx + esi*4 + 0xbeb8ec], 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 0x41916b
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 + 0xb8581c], edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + ecx*4 - 4]
mov dword [ebx*4 + 0xbb655c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0xbeb8ec], esi
inc esi
mov dword [ecx + 0xbe99ac], ebx
cmp esi, dword [esp + 0x54]
jg 0x419650
cmp esi, 1
je 0x419116
jmp 0x419123
mov dword [esp + 0x50], 0
jmp 0x41900a
mov ecx, 0xffffffff
jmp 0x4195c4
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
test bl, 1
jne 0x419718
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebx]
cmp esi, 3
je 0x419718
mov edi, dword [edx]
xor ebx, ebx
mov dword [esp + 0x28], edi
test edi, edi
mov dword [0xa4d4cc], edi
jle 0x41970a
mov edi, 1
pxor xmm1, xmm1
mov dword [esp + 0x64], ecx
movss xmm0, dword [0x477214]
mov ecx, edi
mov edi, dword [esp + 0x28]
lea esi, [esi]
lea edi, [edi]
movss xmm4, dword [ecx*4 + 0xbe823c]
movaps xmm3, xmm1
movss xmm2, dword [ecx*4 + 0xbe8a0c]
subss xmm4, dword [ecx*4 + 0xbe729c]
subss xmm2, dword [ecx*4 + 0xbe7a6c]
andps xmm4, xmmword [0x476fb0]
andps xmm2, xmmword [0x476fb0]
addss xmm4, xmm2
movaps xmm1, xmm4
maxss xmm1, xmm3
subss xmm4, xmm1
andps xmm4, xmmword [0x476fb0]
comiss xmm0, xmm4
cmova ebx, ecx
inc ecx
cmp ecx, edi
jle 0x4196b0
mov ecx, dword [esp + 0x64]
cmp dword [ebx*4 + 0xbe91dc], 0xffffffff
je 0x419e78
cmp dword [eax*4 + 0xbe99ac], 0
lea ebx, [eax - 1]
cmove eax, ebx
test eax, eax
jle 0x419a12
movss xmm6, dword [0x477210]
mov ebx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ecx
cmp ebx, 1
je 0x419756
mov esi, dword [ebx*4 + 0xbe99a8]
inc esi
jmp 0x41975b
mov esi, 1
mov eax, dword [ebx*4 + 0xbe99ac]
mov edi, eax
sub edi, esi
cmp edi, 1
jne 0x41979c
movss xmm1, dword [eax*4 + 0xb8581c]
movss xmm0, dword [eax*4 + 0xbb655c]
addss xmm0, dword [eax*4 + 0xbb6558]
addss xmm1, dword [eax*4 + 0xb85818]
mulss xmm0, xmm6
mulss xmm1, xmm6
jmp 0x41986b
mov dword [0xa4d4d0], eax
dec eax
mov ecx, esi
cmp esi, eax
jg 0x41983f
mov dword [esp + 8], ebx
lea edx, [esi*4]
movss xmm7, dword [edx + 0xb8581c]
pxor xmm5, xmm5
movss xmm2, dword [edx + 0xbb655c]
xor eax, eax
movss xmm4, dword [0x477214]
lea esi, [esi]
lea edi, [edi]
movss xmm1, dword [edx + eax*4 + 0xb85820]
lea ebx, [esi + eax]
movss xmm3, dword [edx + eax*4 + 0xbb6560]
movaps xmm0, xmm1
inc eax
subss xmm0, xmm7
movaps xmm7, xmm3
andps xmm0, xmmword [0x476fb0]
subss xmm7, xmm2
andps xmm7, xmmword [0x476fb0]
movaps xmm2, xmm5
addss xmm0, xmm7
movaps xmm7, xmm1
movaps xmm5, xmm0
maxss xmm5, xmm2
movaps xmm2, xmm3
subss xmm0, xmm5
andps xmm0, xmmword [0x476fb0]
comiss xmm4, xmm0
cmova ecx, ebx
cmp eax, edi
jb 0x4197e0
mov ebx, dword [esp + 8]
movss xmm1, dword [ecx*4 + 0xb8581c]
movss xmm0, dword [ecx*4 + 0xbb655c]
addss xmm0, dword [ecx*4 + 0xbb6560]
addss xmm1, dword [ecx*4 + 0xb85820]
mulss xmm0, xmm6
mulss xmm1, xmm6
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
test ecx, ecx
jle 0x41a14c
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 + 0xbeb8ec]
je 0x4199ba
cmp edi, 1
je 0x4198bb
mov ecx, dword [esi + edi*4 - 8]
inc ecx
jmp 0x4198c0
mov ecx, 1
mov eax, dword [esi + edi*4 - 4]
cmp eax, ecx
jl 0x41a13b
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 + 0xb23d9c], edi
mov edi, dword [esi + ecx*4 - 4]
inc ecx
mov dword [edx*4 + 0xb54adc], edi
cmp ecx, eax
jle 0x4198dd
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, 0x476de4
mov dword [esp + 0x14], 0xb23da0
mov dword [esp + 0x18], 0xb54ae0
call fcn.004102fc
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, 0x476de4
mov dword [esp + 0x14], 0xb54ae0
mov dword [esp + 0x18], 0xb23da0
call fcn.004102fc
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x6c]
je 0x4199ba
mov edx, dword [esp + 4]
cmp dword [edi*4 + 0xbe91dc], 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 0x4198a2
movss xmm6, dword [0x477210]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [ebx*4 + 0xbeb8ec]
add edx, eax
cmp dword [ecx*4 + 0xbe91dc], 1
je 0x41a12c
mov eax, 1
test edx, edx
mov edx, 0
cmovle edx, eax
mov dword [ebx*4 + 0xbed82c], edx
inc ebx
cmp ebx, dword [esp + 0x60]
jle 0x419747
mov eax, dword [esp + 0x60]
test eax, eax
movss xmm1, dword [0x477208]
mov ebx, 0
movaps xmm6, xmm1
movaps xmm5, xmm1
jle 0x419a78
mov edx, 1
mov esi, 0x47c34f80
movss xmm3, dword [0x47721c]
xor ecx, ecx
movss xmm7, dword [0x477220]
movss xmm0, dword [0x477224]
movss xmm2, dword [0x477228]
mov dword [esp], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp]
cmp dword [eax*4 + 0xbed82c], 0
je 0x419af8
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp eax, dword [esp + 0x60]
jle 0x419a5a
mov eax, dword [ebp + 0x20]
movaps xmm0, xmm6
movss xmm1, dword [0x477218]
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x476fb0]
comiss xmm1, xmm0
jbe 0x419ae4
mov eax, dword [ebp + 0x24]
movaps xmm0, xmm5
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x476fb0]
comiss xmm1, xmm0
jbe 0x419ae4
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 0x419b0c
mov edi, dword [eax*4 + 0xbe99a8]
inc edi
mov dword [esp + 4], edi
jmp 0x419b10
mov dword [esp + 4], edx
mov edi, eax
mov eax, dword [edi*4 + 0xbe99ac]
mov dword [edi*4 + 0xbed82c], 1
mov edi, dword [esp + 4]
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x41a117
movss xmm3, dword [0x47721c]
inc ebx
add ecx, 4
mov esi, dword [ebp + 0x20]
mov edx, dword [edi*4 + 0xb8581c]
movss xmm4, dword [edi*4 + 0xb8581c]
movss xmm2, dword [edi*4 + 0xbb655c]
lea eax, [ebx*4]
mov dword [esi + eax - 4], edx
mov esi, dword [ebp + 0x24]
mov edx, dword [edi*4 + 0xbb655c]
inc edi
comiss xmm6, xmm3
mov dword [esi + eax - 4], edx
jbe 0x419b89
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp edi, dword [esp + 0x10]
jle 0x419b3c
jmp 0x419b8f
cmp edi, dword [esp + 0x10]
jle 0x419b3c
mov esi, 0x47c34f80
mov edx, 1
movaps xmm2, xmm6
subss xmm2, xmm4
andps xmm2, xmmword [0x476fb0]
comiss xmm7, xmm2
jbe 0x419c06
mov edi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + edi - 4]
andps xmm3, xmmword [0x476fb0]
comiss xmm7, xmm3
jbe 0x419c06
comiss xmm2, xmm0
ja 0x419bce
comiss xmm3, xmm0
jbe 0x419be4
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 [0x477208]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x419a6b
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movss xmm0, dword [0x477228]
movss xmm1, dword [0x47721c]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
movss xmm3, dword [0x477208]
xor edi, edi
mov esi, edx
mov edx, dword [ebp + 0x24]
cmp dword [esi*4 + 0xbed82c], 0
jne 0x419c9a
cmp esi, 1
je 0x419c4e
mov ebx, dword [esi*4 + 0xbe99a8]
inc ebx
jmp 0x419c53
mov ebx, 1
movss xmm0, dword [eax + edx - 4]
movaps xmm1, xmm4
subss xmm1, dword [ebx*4 + 0xb8581c]
subss xmm0, dword [ebx*4 + 0xbb655c]
andps xmm1, xmmword [0x476fb0]
andps xmm0, xmmword [0x476fb0]
addss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x419c9a
mov ecx, dword [esi*4 + 0xbe99ac]
mov edi, esi
movaps xmm3, xmm1
comiss xmm7, xmm1
ja 0x419e3c
inc esi
cmp esi, dword [esp + 0x60]
jle 0x419c35
movss xmm0, dword [0x477228]
mov edx, 1
movss xmm1, dword [0x47721c]
comiss xmm3, xmm0
jbe 0x419cc4
comiss xmm1, xmm3
ja 0x419df3
test edi, edi
je 0x419e56
mov dword [edi*4 + 0xbed82c], 1
mov esi, ebx
cmp ecx, ebx
jl 0x419d6f
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
movss xmm3, dword [0x477208]
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 + 0xb8581c]
movss xmm4, dword [esi*4 + 0xb8581c]
mov dword [ecx + edi - 4], ebx
mov edi, dword [ebp + 0x24]
mov ebx, dword [esi*4 + 0xbb655c]
movss xmm2, dword [esi*4 + 0xbb655c]
inc esi
mov dword [ecx + edi - 4], ebx
ucomiss xmm6, xmm3
jp 0x419d35
je 0x419d40
cmp esi, dword [esp + 0x10]
jle 0x419cf9
jmp 0x419e14
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp esi, dword [esp + 0x10]
jle 0x419cf9
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 [0x476fb0]
comiss xmm7, xmm2
jbe 0x419c26
mov esi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + esi - 4]
andps xmm3, xmmword [0x476fb0]
comiss xmm7, xmm3
jbe 0x419c26
movss xmm0, dword [0x477224]
mov esi, 0x47c34f80
movss xmm1, dword [0x477208]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
comiss xmm2, xmm0
ja 0x419dbb
comiss xmm3, xmm0
jbe 0x419dd1
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 [0x477208]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x419a6b
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 [0x476fb0]
jmp 0x419d6f
movss xmm0, dword [0x477228]
mov edx, 1
movss xmm1, dword [0x47721c]
jmp 0x419cc4
movss xmm0, dword [0x477224]
mov esi, 0x47c34f80
movss xmm1, dword [0x477208]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x419a6b
cmp dword [0xbe91e0], 1
je 0x41a09e
cmp dword [esp + 0x28], 0
jle 0x41a0ff
xor ebx, ebx
mov dword [esp + 0x64], ecx
xor eax, eax
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x419eaa
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + eax*4 - 4]
inc ecx
jmp 0x419eaf
mov ecx, 1
mov edx, dword [ebp + 0x18]
mov esi, dword [edx + eax*4]
cmp esi, ecx
mov dword [esp + 0x2c], esi
jl 0x41a076
mov edx, esi
sub edx, ecx
inc edx
mov dword [esp + 0x2c], edx
cmp edx, 4
jl 0x41a09a
mov edx, dword [ebp + 0x24]
lea esi, [edx + ebx*4]
and esi, 0xf
mov dword [esp + 0x30], esi
je 0x419efb
test byte [esp + 0x30], 3
jne 0x41a09a
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 0x41a09a
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 0x419f8b
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 0x419f67
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 0x419fda
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 0x419fbf
jmp 0x41a013
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 0x419ffa
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 0x41a076
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 0x41a056
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 0x419e98
jmp 0x419ae4
xor esi, esi
jmp 0x41a027
movss xmm0, dword [0xbe72a0]
comiss xmm0, dword [ebx*4 + 0xbe729c]
jbe 0x419e85
movss xmm0, dword [ebx*4 + 0xbe823c]
comiss xmm0, dword [0xbe8240]
jbe 0x419e85
movss xmm0, dword [0xbe7a70]
comiss xmm0, dword [ebx*4 + 0xbe7a6c]
jbe 0x419e85
movss xmm0, dword [ebx*4 + 0xbe8a0c]
comiss xmm0, dword [0xbe8a10]
jbe 0x419e85
cmp esi, 2
je 0x419e85
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 0x419b99
mov eax, 1
test edx, edx
cmovne edx, eax
jmp 0x4199fa
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], 0
jmp 0x41990c
xor edx, edx
xor eax, eax
jmp 0x4199d4
mov eax, esi
lea ebx, [esp + 0x38]
mov esi, dword [esp + 0x14]
jmp 0x4194d8
mov dword [esp + 0x68], 0
xor eax, eax
jmp 0x418f80
test edi, edi
jle 0x41a0ff
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 0x41a19e
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [eax + edx*4 - 4]
inc esi
jmp 0x41a1a3
mov esi, 1
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + edx*4]
cmp ecx, esi
jl 0x41a346
sub ecx, esi
inc ecx
cmp ecx, 4
jl 0x41a372
mov eax, dword [ebp + 0x24]
lea edx, [eax + ebx*4]
and edx, 0xf
je 0x41a1dd
test dl, 3
jne 0x41a372
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp ecx, eax
jl 0x41a372
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 0x41a25f
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 0x41a239
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 0x41a2a6
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 0x41a28b
jmp 0x41a2de
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 0x41a2c5
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 0x41a346
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 0x41a322
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 0x41a185
jmp 0x419ae4
mov dword [esp + 0xc], 0
jmp 0x41a2ef
mov esi, dword [eax]
test esi, esi
jle 0x41a466
cmp esi, 4
jl 0x41a47a
mov edx, dword [ebp + 0x24]
and edx, 0xf
je 0x41a3ab
test dl, 3
jne 0x41a47a
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp esi, eax
jl 0x41a47a
mov ebx, esi
sub ebx, edx
and ebx, 3
neg ebx
add ebx, esi
test edx, edx
jbe 0x41a3ef
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 0x41a3d4
mov ebx, dword [esp + 4]
mov esi, dword [esp]
mov eax, dword [ebp + 0x20]
lea edi, [eax + edx*4]
test edi, 0xf
je 0x41a422
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 0x41a409
jmp 0x41a445
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 0x41a42e
mov esi, dword [esp]
cmp ebx, esi
jae 0x41a466
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 0x41a44f
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 0x41a448