Function at 0x418d0c
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 0x41a25f
mov eax, dword [ebp + 0x28]
cmp dword [eax], 1
je 0x41a053
test edi, edi
jle 0x418f48
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 + 0xc910dc], ebx
mov dword [esi*4 + 0xc918ac], ebx
mov dword [esi*4 + 0xc9207c], eax
mov dword [esi*4 + 0xc9284c], eax
je 0x418d89
mov edx, dword [edi + esi*4 - 8]
inc edx
jmp 0x418d8e
mov edx, 1
mov ecx, dword [edi + esi*4 - 4]
cmp ecx, edx
jl 0x41a044
movss xmm1, dword [esi*4 + 0xc910dc]
xor eax, eax
movss xmm3, dword [esi*4 + 0xc9207c]
movss xmm2, dword [esi*4 + 0xc918ac]
movss xmm0, dword [esi*4 + 0xc9284c]
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 + 0xbcdbdc], 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 + 0xbfe91c], ebx
minss xmm2, xmm7
maxss xmm0, xmm5
cmp edx, dword [esp + 4]
jle 0x418dd0
mov esi, dword [esp]
mov ebx, 0x4b189680
mov edi, dword [ebp + 0x18]
cmp eax, 0x2710
movss dword [esi*4 + 0xc9284c], xmm0
movss dword [esi*4 + 0xc918ac], xmm2
movss dword [esi*4 + 0xc9207c], xmm3
movss dword [esi*4 + 0xc910dc], xmm1
mov dword [esp + 0x68], eax
jg 0x418f0a
test eax, eax
jle 0x419519
movss xmm0, dword [0x46017c]
xor ecx, ecx
push 1
pop edx
inc ecx
mov edi, dword [edx*4 + 0xbcdbdc]
movss xmm2, dword [edx*4 + 0xbcdbdc]
movss xmm1, dword [edx*4 + 0xbfe91c]
mov dword [ecx*4 + 0xed987c], edi
mov edi, dword [edx*4 + 0xbfe91c]
inc edx
mov dword [ecx*4 + 0xee34bc], edi
cmp edx, eax
jg 0x418ee3
cmp ecx, 1
jle 0x418e75
movaps xmm3, xmm2
subss xmm3, dword [edx*4 + 0xbcdbdc]
andps xmm3, xmmword [0x45ff00]
comiss xmm0, xmm3
jbe 0x418e75
movaps xmm3, xmm1
subss xmm3, dword [edx*4 + 0xbfe91c]
andps xmm3, xmmword [0x45ff00]
comiss xmm0, xmm3
jbe 0x418e75
inc edx
cmp edx, eax
jle 0x418eae
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x50], ecx
add esp, 0xfffffff0
mov edx, 0xed9880
mov ecx, 0xee34c0
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
call fcn.00414cec
jmp 0x418f28
add esp, 0xfffffff0
mov edx, 0xbcdbe0
mov ecx, 0xbfe920
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
call fcn.00414cec
mov eax, dword [esp + 0x6c]
mov dword [esi*4 + 0xc9301c], eax
inc esi
cmp esi, dword [esp + 0x54]
jle 0x418d5c
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 + 0xc937f0], xmm0
movdqa xmmword [eax*4 + 0xc97670], xmm0
movdqa xmmword [eax*4 + 0xc93800], xmm0
movdqa xmmword [eax*4 + 0xc97680], xmm0
movdqa xmmword [eax*4 + 0xc93810], xmm0
movdqa xmmword [eax*4 + 0xc97690], xmm0
movdqa xmmword [eax*4 + 0xc93820], xmm0
movdqa xmmword [eax*4 + 0xc976a0], xmm0
add eax, 0x10
cmp eax, 0x7d0
jb 0x418f60
xor ebx, ebx
mov eax, 1
test edi, edi
jle 0x41953c
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 0x418ffb
mov ecx, 1
mov edx, ecx
mov dword [esp + 8], edx
jmp 0x41900f
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 0x4194d0
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 + 0xc2f65c], 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 + 0xc6039c], 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 0x4194a4
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esi + 0xc9572c], edi
xor edi, edi
mov dword [esi + 0xc937ec], 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 0x4192d7
comiss xmm1, dword [edx*4 + 0xc9207c]
ja 0x4192d7
movss xmm4, dword [edx*4 + 0xc910dc]
comiss xmm4, xmm3
ja 0x4192d7
comiss xmm2, dword [edx*4 + 0xc9284c]
ja 0x4192d7
movss xmm4, dword [edx*4 + 0xc918ac]
comiss xmm4, xmm0
ja 0x4192d7
cmp edx, 1
je 0x419188
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx + edx*4 - 8]
inc ebx
jmp 0x41918d
mov ebx, 1
mov edi, dword [ebp + 0x18]
mov edi, dword [edi + edx*4 - 4]
dec edi
cmp edi, ebx
jl 0x4192d7
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 0x4191cd
movss xmm4, dword [esi + ebx*4]
comiss xmm4, xmm3
ja 0x4192bd
comiss xmm1, xmm5
jbe 0x4191dc
comiss xmm1, dword [esi + ebx*4]
ja 0x4192bd
movss xmm5, dword [edi + ebx*4 - 4]
comiss xmm5, xmm0
jbe 0x4191f5
movss xmm4, dword [edi + ebx*4]
comiss xmm4, xmm0
ja 0x4192bd
comiss xmm2, xmm5
jbe 0x419204
comiss xmm2, dword [edi + ebx*4]
ja 0x4192bd
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.004148bc
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 0x4192bd
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 + 0xbcdbdc], eax
mov dword [ecx*4 + 0xbfe91c], edx
inc ebx
cmp ebx, dword [esp + 0x5c]
jle 0x4191b4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
inc edx
mov ecx, edx
cmp edx, eax
jle 0x419131
mov edi, dword [esp + 0x8c]
test edi, edi
mov ecx, dword [esp + 4]
je 0x4194a4
mov dword [0x5df298], edi
cmp edi, 2
jl 0x4193de
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 + 0xbcdbdc]
lea ecx, [esp + 0x3c]
mov edx, dword [esi*4 + 0xbfe91c]
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.004082b0
cmp esi, 2
lea edx, [esi - 1]
lea eax, [esi*4 - 4]
jl 0x4193b6
mov dword [esp + 0x14], esi
mov esi, eax
mov ebx, edx
lea ecx, [esp + 0x40]
push ecx
lea eax, [esi + 0xbfe91c]
push eax
lea edx, [esi + 0xbcdbdc]
push edx
push dword [esp + 0x28]
push edi
call fcn.004082b0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [esp + 0x40]
ja 0x41a035
mov ecx, dword [ebx*4 + 0xbcdbdc]
mov dword [esi + 0xbcdbe0], ecx
mov ecx, dword [ebx*4 + 0xbfe91c]
dec ebx
mov dword [esi + 0xbfe920], ecx
add esi, 0xfffffffc
test ebx, ebx
jg 0x41935e
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 + 0xbcdbe0], edx
mov dword [eax + 0xbfe920], ecx
cmp esi, dword [esp + 0x8c]
jle 0x41931c
mov edi, dword [esp + 0x68]
test edi, edi
jle 0x419526
mov dword [esp + 0x8c], edi
xor esi, esi
nop
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esi*4 + 0xbcdbe0]
mov ecx, dword [esi*4 + 0xbfe920]
lea eax, [edi + esi*2]
mov dword [esp + 0x90], eax
lea edi, [eax + 1]
mov eax, dword [esp + 0x7c]
mov dword [edx + esi*8 + 0xc2f660], ebx
mov dword [edx + esi*8 + 0xc603a0], ecx
mov dword [eax + esi*4 + 0xc937ec], edi
mov edi, dword [esp + 0x80]
mov dword [eax + esi*4 + 0xc9572c], edi
mov dword [edx + esi*8 + 0xc2f664], ebx
mov dword [edx + esi*8 + 0xc603a4], ecx
inc esi
cmp esi, dword [esp + 0x8c]
jb 0x4193f0
mov edx, eax
mov ebx, dword [esp + 0x60]
add ebx, esi
mov eax, dword [esp + 0x90]
add eax, 2
mov dword [edx + esi*4 + 0xc937ec], eax
mov eax, dword [esp + 0x84]
lea edi, [ebx*4]
mov ecx, dword [esp + 0x80]
mov dword [edx + esi*4 + 0xc9572c], 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 0x41904b
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 + 0xc2f65c], edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + ecx*4 - 4]
mov dword [ebx*4 + 0xc6039c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0xc9572c], esi
inc esi
mov dword [ecx + 0xc937ec], ebx
cmp esi, dword [esp + 0x54]
jg 0x419530
cmp esi, 1
je 0x418ff6
jmp 0x419003
mov dword [esp + 0x50], 0
jmp 0x418eea
mov ecx, 0xffffffff
jmp 0x4194a4
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
test bl, 1
jne 0x4195f8
mov ebx, dword [ebp + 0x28]
mov esi, dword [ebx]
cmp esi, 3
je 0x4195f8
mov edi, dword [edx]
xor ebx, ebx
mov dword [esp + 0x28], edi
test edi, edi
mov dword [0x5df28c], edi
jle 0x4195ea
mov edi, 1
pxor xmm1, xmm1
mov dword [esp + 0x64], ecx
movss xmm0, dword [0x460164]
mov ecx, edi
mov edi, dword [esp + 0x28]
lea esi, [esi]
lea edi, [edi]
movss xmm4, dword [ecx*4 + 0xc9207c]
movaps xmm3, xmm1
movss xmm2, dword [ecx*4 + 0xc9284c]
subss xmm4, dword [ecx*4 + 0xc910dc]
subss xmm2, dword [ecx*4 + 0xc918ac]
andps xmm4, xmmword [0x45ff00]
andps xmm2, xmmword [0x45ff00]
addss xmm4, xmm2
movaps xmm1, xmm4
maxss xmm1, xmm3
subss xmm4, xmm1
andps xmm4, xmmword [0x45ff00]
comiss xmm0, xmm4
cmova ebx, ecx
inc ecx
cmp ecx, edi
jle 0x419590
mov ecx, dword [esp + 0x64]
cmp dword [ebx*4 + 0xc9301c], 0xffffffff
je 0x419d58
cmp dword [eax*4 + 0xc937ec], 0
lea ebx, [eax - 1]
cmove eax, ebx
test eax, eax
jle 0x4198f2
movss xmm6, dword [0x460160]
mov ebx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ecx
cmp ebx, 1
je 0x419636
mov esi, dword [ebx*4 + 0xc937e8]
inc esi
jmp 0x41963b
mov esi, 1
mov eax, dword [ebx*4 + 0xc937ec]
mov edi, eax
sub edi, esi
cmp edi, 1
jne 0x41967c
movss xmm1, dword [eax*4 + 0xc2f65c]
movss xmm0, dword [eax*4 + 0xc6039c]
addss xmm0, dword [eax*4 + 0xc60398]
addss xmm1, dword [eax*4 + 0xc2f658]
mulss xmm0, xmm6
mulss xmm1, xmm6
jmp 0x41974b
mov dword [0x5df290], eax
dec eax
mov ecx, esi
cmp esi, eax
jg 0x41971f
mov dword [esp + 8], ebx
lea edx, [esi*4]
movss xmm7, dword [edx + 0xc2f65c]
pxor xmm5, xmm5
movss xmm2, dword [edx + 0xc6039c]
xor eax, eax
movss xmm4, dword [0x460164]
lea esi, [esi]
lea edi, [edi]
movss xmm1, dword [edx + eax*4 + 0xc2f660]
lea ebx, [esi + eax]
movss xmm3, dword [edx + eax*4 + 0xc603a0]
movaps xmm0, xmm1
inc eax
subss xmm0, xmm7
movaps xmm7, xmm3
andps xmm0, xmmword [0x45ff00]
subss xmm7, xmm2
andps xmm7, xmmword [0x45ff00]
movaps xmm2, xmm5
addss xmm0, xmm7
movaps xmm7, xmm1
movaps xmm5, xmm0
maxss xmm5, xmm2
movaps xmm2, xmm3
subss xmm0, xmm5
andps xmm0, xmmword [0x45ff00]
comiss xmm4, xmm0
cmova ecx, ebx
cmp eax, edi
jb 0x4196c0
mov ebx, dword [esp + 8]
movss xmm1, dword [ecx*4 + 0xc2f65c]
movss xmm0, dword [ecx*4 + 0xc6039c]
addss xmm0, dword [ecx*4 + 0xc603a0]
addss xmm1, dword [ecx*4 + 0xc2f660]
mulss xmm0, xmm6
mulss xmm1, xmm6
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
test ecx, ecx
jle 0x41a02c
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 + 0xc9572c]
je 0x41989a
cmp edi, 1
je 0x41979b
mov ecx, dword [esi + edi*4 - 8]
inc ecx
jmp 0x4197a0
mov ecx, 1
mov eax, dword [esi + edi*4 - 4]
cmp eax, ecx
jl 0x41a01b
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 + 0xbcdbdc], edi
mov edi, dword [esi + ecx*4 - 4]
inc ecx
mov dword [edx*4 + 0xbfe91c], edi
cmp ecx, eax
jle 0x4197bd
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, 0x45fd34
mov dword [esp + 0x14], 0xbcdbe0
mov dword [esp + 0x18], 0xbfe920
call fcn.004101dc
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, 0x45fd34
mov dword [esp + 0x14], 0xbfe920
mov dword [esp + 0x18], 0xbcdbe0
call fcn.004101dc
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x6c]
je 0x41989a
mov edx, dword [esp + 4]
cmp dword [edi*4 + 0xc9301c], 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 0x419782
movss xmm6, dword [0x460160]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [ebx*4 + 0xc9572c]
add edx, eax
cmp dword [ecx*4 + 0xc9301c], 1
je 0x41a00c
mov eax, 1
test edx, edx
mov edx, 0
cmovle edx, eax
mov dword [ebx*4 + 0xc9766c], edx
inc ebx
cmp ebx, dword [esp + 0x60]
jle 0x419627
mov eax, dword [esp + 0x60]
test eax, eax
movss xmm1, dword [0x460158]
mov ebx, 0
movaps xmm6, xmm1
movaps xmm5, xmm1
jle 0x419958
mov edx, 1
mov esi, 0x47c34f80
movss xmm3, dword [0x46016c]
xor ecx, ecx
movss xmm7, dword [0x460170]
movss xmm0, dword [0x460174]
movss xmm2, dword [0x460178]
mov dword [esp], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp]
cmp dword [eax*4 + 0xc9766c], 0
je 0x4199d8
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp eax, dword [esp + 0x60]
jle 0x41993a
mov eax, dword [ebp + 0x20]
movaps xmm0, xmm6
movss xmm1, dword [0x460168]
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x45ff00]
comiss xmm1, xmm0
jbe 0x4199c4
mov eax, dword [ebp + 0x24]
movaps xmm0, xmm5
subss xmm0, dword [eax + ebx*4 - 4]
andps xmm0, xmmword [0x45ff00]
comiss xmm1, xmm0
jbe 0x4199c4
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 0x4199ec
mov edi, dword [eax*4 + 0xc937e8]
inc edi
mov dword [esp + 4], edi
jmp 0x4199f0
mov dword [esp + 4], edx
mov edi, eax
mov eax, dword [edi*4 + 0xc937ec]
mov dword [edi*4 + 0xc9766c], 1
mov edi, dword [esp + 4]
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x419ff7
movss xmm3, dword [0x46016c]
inc ebx
add ecx, 4
mov esi, dword [ebp + 0x20]
mov edx, dword [edi*4 + 0xc2f65c]
movss xmm4, dword [edi*4 + 0xc2f65c]
movss xmm2, dword [edi*4 + 0xc6039c]
lea eax, [ebx*4]
mov dword [esi + eax - 4], edx
mov esi, dword [ebp + 0x24]
mov edx, dword [edi*4 + 0xc6039c]
inc edi
comiss xmm6, xmm3
mov dword [esi + eax - 4], edx
jbe 0x419a69
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp edi, dword [esp + 0x10]
jle 0x419a1c
jmp 0x419a6f
cmp edi, dword [esp + 0x10]
jle 0x419a1c
mov esi, 0x47c34f80
mov edx, 1
movaps xmm2, xmm6
subss xmm2, xmm4
andps xmm2, xmmword [0x45ff00]
comiss xmm7, xmm2
jbe 0x419ae6
mov edi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + edi - 4]
andps xmm3, xmmword [0x45ff00]
comiss xmm7, xmm3
jbe 0x419ae6
comiss xmm2, xmm0
ja 0x419aae
comiss xmm3, xmm0
jbe 0x419ac4
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 [0x460158]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x41994b
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movss xmm0, dword [0x460178]
movss xmm1, dword [0x46016c]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
movss xmm3, dword [0x460158]
xor edi, edi
mov esi, edx
mov edx, dword [ebp + 0x24]
cmp dword [esi*4 + 0xc9766c], 0
jne 0x419b7a
cmp esi, 1
je 0x419b2e
mov ebx, dword [esi*4 + 0xc937e8]
inc ebx
jmp 0x419b33
mov ebx, 1
movss xmm0, dword [eax + edx - 4]
movaps xmm1, xmm4
subss xmm1, dword [ebx*4 + 0xc2f65c]
subss xmm0, dword [ebx*4 + 0xc6039c]
andps xmm1, xmmword [0x45ff00]
andps xmm0, xmmword [0x45ff00]
addss xmm1, xmm0
comiss xmm3, xmm1
jbe 0x419b7a
mov ecx, dword [esi*4 + 0xc937ec]
mov edi, esi
movaps xmm3, xmm1
comiss xmm7, xmm1
ja 0x419d1c
inc esi
cmp esi, dword [esp + 0x60]
jle 0x419b15
movss xmm0, dword [0x460178]
mov edx, 1
movss xmm1, dword [0x46016c]
comiss xmm3, xmm0
jbe 0x419ba4
comiss xmm1, xmm3
ja 0x419cd3
test edi, edi
je 0x419d36
mov dword [edi*4 + 0xc9766c], 1
mov esi, ebx
cmp ecx, ebx
jl 0x419c4f
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
movss xmm3, dword [0x460158]
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 + 0xc2f65c]
movss xmm4, dword [esi*4 + 0xc2f65c]
mov dword [ecx + edi - 4], ebx
mov edi, dword [ebp + 0x24]
mov ebx, dword [esi*4 + 0xc6039c]
movss xmm2, dword [esi*4 + 0xc6039c]
inc esi
mov dword [ecx + edi - 4], ebx
ucomiss xmm6, xmm3
jp 0x419c15
je 0x419c20
cmp esi, dword [esp + 0x10]
jle 0x419bd9
jmp 0x419cf4
movaps xmm6, xmm4
movaps xmm5, xmm2
cmp esi, dword [esp + 0x10]
jle 0x419bd9
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 [0x45ff00]
comiss xmm7, xmm2
jbe 0x419b06
mov esi, dword [ebp + 0x24]
movaps xmm3, xmm5
subss xmm3, dword [eax + esi - 4]
andps xmm3, xmmword [0x45ff00]
comiss xmm7, xmm3
jbe 0x419b06
movss xmm0, dword [0x460174]
mov esi, 0x47c34f80
movss xmm1, dword [0x460158]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
comiss xmm2, xmm0
ja 0x419c9b
comiss xmm3, xmm0
jbe 0x419cb1
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 [0x460158]
mov dword [eax + ebx*4 - 4], esi
mov dword [edi + ebx*4 - 4], esi
jmp 0x41994b
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 [0x45ff00]
jmp 0x419c4f
movss xmm0, dword [0x460178]
mov edx, 1
movss xmm1, dword [0x46016c]
jmp 0x419ba4
movss xmm0, dword [0x460174]
mov esi, 0x47c34f80
movss xmm1, dword [0x460158]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x41994b
cmp dword [0xc93020], 1
je 0x419f7e
cmp dword [esp + 0x28], 0
jle 0x419fdf
xor ebx, ebx
mov dword [esp + 0x64], ecx
xor eax, eax
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x419d8a
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + eax*4 - 4]
inc ecx
jmp 0x419d8f
mov ecx, 1
mov edx, dword [ebp + 0x18]
mov esi, dword [edx + eax*4]
cmp esi, ecx
mov dword [esp + 0x2c], esi
jl 0x419f56
mov edx, esi
sub edx, ecx
inc edx
mov dword [esp + 0x2c], edx
cmp edx, 4
jl 0x419f7a
mov edx, dword [ebp + 0x24]
lea esi, [edx + ebx*4]
and esi, 0xf
mov dword [esp + 0x30], esi
je 0x419ddb
test byte [esp + 0x30], 3
jne 0x419f7a
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 0x419f7a
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 0x419e6b
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 0x419e47
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 0x419eba
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 0x419e9f
jmp 0x419ef3
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 0x419eda
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 0x419f56
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 0x419f36
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 0x419d78
jmp 0x4199c4
xor esi, esi
jmp 0x419f07
movss xmm0, dword [0xc910e0]
comiss xmm0, dword [ebx*4 + 0xc910dc]
jbe 0x419d65
movss xmm0, dword [ebx*4 + 0xc9207c]
comiss xmm0, dword [0xc92080]
jbe 0x419d65
movss xmm0, dword [0xc918b0]
comiss xmm0, dword [ebx*4 + 0xc918ac]
jbe 0x419d65
movss xmm0, dword [ebx*4 + 0xc9284c]
comiss xmm0, dword [0xc92850]
jbe 0x419d65
cmp esi, 2
je 0x419d65
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 0x419a79
mov eax, 1
test edx, edx
cmovne edx, eax
jmp 0x4198da
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], 0
jmp 0x4197ec
xor edx, edx
xor eax, eax
jmp 0x4198b4
mov eax, esi
lea ebx, [esp + 0x38]
mov esi, dword [esp + 0x14]
jmp 0x4193b8
mov dword [esp + 0x68], 0
xor eax, eax
jmp 0x418e60
test edi, edi
jle 0x419fdf
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 0x41a07e
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [eax + edx*4 - 4]
inc esi
jmp 0x41a083
mov esi, 1
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + edx*4]
cmp ecx, esi
jl 0x41a226
sub ecx, esi
inc ecx
cmp ecx, 4
jl 0x41a252
mov eax, dword [ebp + 0x24]
lea edx, [eax + ebx*4]
and edx, 0xf
je 0x41a0bd
test dl, 3
jne 0x41a252
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp ecx, eax
jl 0x41a252
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 0x41a13f
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 0x41a119
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 0x41a186
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 0x41a16b
jmp 0x41a1be
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 0x41a1a5
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 0x41a226
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 0x41a202
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 0x41a065
jmp 0x4199c4
mov dword [esp + 0xc], 0
jmp 0x41a1cf
mov esi, dword [eax]
test esi, esi
jle 0x41a346
cmp esi, 4
jl 0x41a35a
mov edx, dword [ebp + 0x24]
and edx, 0xf
je 0x41a28b
test dl, 3
jne 0x41a35a
neg edx
add edx, 0x10
shr edx, 2
lea eax, [edx + 4]
cmp esi, eax
jl 0x41a35a
mov ebx, esi
sub ebx, edx
and ebx, 3
neg ebx
add ebx, esi
test edx, edx
jbe 0x41a2cf
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 0x41a2b4
mov ebx, dword [esp + 4]
mov esi, dword [esp]
mov eax, dword [ebp + 0x20]
lea edi, [eax + edx*4]
test edi, 0xf
je 0x41a302
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 0x41a2e9
jmp 0x41a325
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 0x41a30e
mov esi, dword [esp]
cmp ebx, esi
jae 0x41a346
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 0x41a32f
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 0x41a328