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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x128
mov edi, dword [esp + 0x158]
mov esi, dword [edx]
test esi, esi
mov ebp, dword [esp + 0x14c]
mov eax, dword [eax]
mov dword [edi], 0
jle 0x4145a2
movss xmm1, dword [0x460088]
xor edx, edx
movss xmm2, dword [0x46008c]
movaps xmm3, xmm1
mov dword [esp + 0xfc], 0x3c23d70a
mov ebx, 1
mov dword [esp + 0x100], 1
movaps xmm0, xmm2
mov dword [esp + 0x104], edx
mov dword [ebp], edx
mov ebp, ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x108], eax
movss xmm5, dword [0x460094]
mov dword [esp + 0x10c], edx
mov edi, dword [esp + 0x148]
movss xmm6, dword [ebp + ebx*4 - 4]
movss xmm4, dword [0x460090]
mov ecx, dword [ebp + ebx*4 - 4]
comiss xmm4, xmm6
jbe 0x4130a2
mov eax, dword [esp + 0x114]
minss xmm1, xmm6
maxss xmm2, xmm6
movss xmm5, dword [edi + ebx*4 - 4]
lea edx, [eax + 1]
mov dword [esp + 0x114], edx
lea eax, [eax*4 + 4]
mov dword [eax + 0xd5cabc], ecx
cmp edx, 2
mov ecx, dword [edi + ebx*4 - 4]
minss xmm3, xmm5
maxss xmm0, xmm5
mov dword [eax + 0xd8d7fc], ecx
jle 0x413ee2
movss xmm4, dword [eax + 0xd5cab8]
movss xmm7, dword [0x4600b0]
subss xmm6, xmm4
andps xmm6, xmmword [0x45fe50]
comiss xmm7, xmm6
jbe 0x412e77
movss xmm6, dword [0x4600b0]
subss xmm5, dword [eax + 0xd8d7f8]
andps xmm5, xmmword [0x45fe50]
comiss xmm6, xmm5
jbe 0x412e77
mov dword [esp + 0xd8], ebx
lea ebx, [eax - 0xc]
mov dword [esp + 0xb0], edx
lea edx, [eax - 8]
mov dword [esp + 0xa4], ebx
lea ebx, [eax + 0xd5cab4]
mov dword [esp + 0xa0], edx
lea edx, [eax + 0xd5cab8]
movss xmm7, dword [ebx]
lea ecx, [eax + 0xd5cabc]
movss xmm6, dword [edx]
movss dword [esp + 0xa8], xmm7
minss xmm7, xmm6
movss xmm5, dword [ecx]
mov dword [esp + 0xac], eax
lea eax, [eax + 0xd8d7fc]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x118], 0
movss dword [esp + 0x90], xmm5
movss dword [esp + 0x84], xmm6
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xd8]
mov eax, dword [esp + 0xac]
comiss xmm5, xmm7
jbe 0x412e77
movss xmm5, dword [esp + 0xa8]
maxss xmm5, dword [esp + 0x84]
comiss xmm5, dword [esp + 0x90]
jbe 0x412e77
mov ecx, dword [esp + 0xa4]
movss xmm5, dword [eax + 0xd8d7fc]
movss dword [esp + 0x3c], xmm5
movss xmm7, dword [ecx + 0xd8d800]
mov ecx, dword [esp + 0xa0]
movss dword [esp + 0x40], xmm7
movss xmm6, dword [ecx + 0xd8d800]
movss dword [esp + 0x34], xmm6
minss xmm7, xmm6
comiss xmm5, xmm7
jbe 0x412e77
movss xmm5, dword [esp + 0x40]
maxss xmm5, dword [esp + 0x34]
comiss xmm5, dword [esp + 0x3c]
jbe 0x412e77
lea edx, [eax + 0xd8d7f4]
lea ecx, [eax + 0xd8d7f8]
lea eax, [esp]
push eax
push ecx
push dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push eax
mov ecx, dword [esp + 0x8c]
push ecx
push eax
push ecx
push edx
push dword [esp + 0xb8]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm2
movss dword [esp + 0x118], xmm3
movss dword [esp + 0x11c], xmm1
call fcn.00408f40
movss xmm5, dword [esp]
andps xmm5, xmmword [0x45fe50]
movss xmm4, dword [0x4600b4]
movss xmm1, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf4]
movss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xec]
comiss xmm4, xmm5
jbe 0x412e22
mov dword [esp + 0x118], 1
mov edx, dword [esp + 0x114]
jmp 0x412e33
mov edx, dword [esp + 0x114]
cmp dword [esp + 0x118], 0
je 0x412e5f
mov eax, dword [ebp + ebx*4 - 4]
mov dword [edx*4 + 0xd5cab8], eax
mov eax, dword [edi + ebx*4 - 4]
mov dword [edx*4 + 0xd8d7f8], eax
mov eax, dword [ebp + ebx*4 - 8]
mov dword [edx*4 + 0xd5cabc], eax
mov eax, dword [edi + ebx*4 - 8]
mov dword [edx*4 + 0xd8d7fc], eax
cmp edx, 2
jle 0x413ee2
lea eax, [edx*4]
movss xmm4, dword [eax + 0xd5cab8]
movss xmm5, dword [eax + 0xd5cab4]
subss xmm5, xmm4
movss xmm4, dword [0x4600b0]
andps xmm5, xmmword [0x45fe50]
comiss xmm4, xmm5
jbe 0x413ee2
movss xmm5, dword [eax + 0xd8d7f4]
movss xmm4, dword [0x4600b0]
subss xmm5, dword [eax + 0xd8d7f8]
andps xmm5, xmmword [0x45fe50]
comiss xmm4, xmm5
jbe 0x413ee2
mov dword [esp + 0xd8], ebx
lea eax, [edx*4 + 0xd5cabc]
movss xmm6, dword [eax]
lea ecx, [edx*4 + 0xd5cab8]
movss xmm4, dword [ecx]
movaps xmm5, xmm6
mov dword [esp + 0xb0], edx
lea ebx, [edx*4 + 0xd5cab4]
movss xmm7, dword [ebx]
lea edx, [ebx + 0x30d40]
mov dword [esp + 0x9c], ebx
minss xmm5, xmm4
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x118], 0
movss dword [esp + 0x8c], xmm4
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xd8]
comiss xmm7, xmm5
jbe 0x413ee2
maxss xmm6, dword [esp + 0x8c]
comiss xmm6, xmm7
jbe 0x413ee2
movss xmm6, dword [edx*4 + 0xd8d7fc]
movss xmm4, dword [edx*4 + 0xd8d7f8]
movaps xmm5, xmm6
movss xmm7, dword [edx*4 + 0xd8d7f4]
minss xmm5, xmm4
movss dword [esp + 0x38], xmm4
comiss xmm7, xmm5
jbe 0x413ee2
maxss xmm6, dword [esp + 0x38]
comiss xmm6, xmm7
jbe 0x413ee2
mov dword [esp + 0xd8], ebx
lea ecx, [edx*4 + 0xd8d7fc]
lea ebx, [edx*4 + 0xd8d7f8]
lea edx, [esp + 4]
push edx
push ebx
push dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push edx
mov ebx, dword [esp + 0xac]
push ebx
push edx
push ebx
push ecx
push eax
mov ebx, dword [esp + 0xfc]
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm2
movss dword [esp + 0x118], xmm3
movss dword [esp + 0x11c], xmm1
call fcn.00408f40
movss xmm5, dword [esp + 4]
andps xmm5, xmmword [0x45fe50]
movss xmm4, dword [0x4600b4]
movss xmm1, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf4]
movss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xec]
comiss xmm4, xmm5
jbe 0x413042
mov dword [esp + 0x118], 1
jmp 0x413050
cmp dword [esp + 0x118], 0
je 0x413ee2
mov eax, dword [esp + 0x114]
mov dword [esp + 0xd8], ebx
mov ebx, dword [eax*4 + 0xd5cab8]
mov ecx, dword [eax*4 + 0xd5cab4]
mov dword [eax*4 + 0xd5cab4], ebx
mov ebx, dword [eax*4 + 0xd8d7f8]
mov edx, dword [eax*4 + 0xd8d7f4]
mov dword [eax*4 + 0xd8d7f4], ebx
mov dword [eax*4 + 0xd5cab8], ecx
mov dword [eax*4 + 0xd8d7f8], edx
mov ebx, dword [esp + 0xd8]
jmp 0x413ee2
mov eax, dword [esp + 0x114]
cmp eax, 3
jle 0x413ec1
cmp eax, 0x7530
jg 0x414856
lea ecx, [eax*4 + 0xd5cabc]
lea eax, [esp + 0xe8]
push eax
lea edx, [ecx + 0x30d40]
push edx
push ecx
push 0xd8d800
push 0xd5cac0
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x104], xmm2
movss dword [esp + 0x108], xmm3
movss dword [esp + 0x10c], xmm1
call fcn.004082b0
movss xmm5, dword [esp + 0xe8]
movss xmm4, dword [0x460094]
movss xmm1, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf4]
movss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xec]
comiss xmm4, xmm5
jbe 0x413174
comiss xmm5, dword [0x4600a0]
jbe 0x413174
mov ecx, dword [esp + 0x114]
inc ecx
mov eax, dword [0xd5cac0]
mov edx, dword [0xd8d800]
mov dword [esp + 0x114], ecx
mov dword [ecx*4 + 0xd5cabc], eax
mov dword [ecx*4 + 0xd8d7fc], edx
jmp 0x413181
comiss xmm5, dword [0x460094]
ja 0x41483c
cmp dword [esp + 0x100], 1
je 0x4146b4
add esp, 0xffffffe0
mov ecx, 0xd5cac0
mov edx, dword [esp + 0x174]
lea eax, [esp + 0x13c]
mov dword [esp + 0xc], 0xd8d800
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x134]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x128]
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x110], xmm2
movss dword [esp + 0x114], xmm3
movss dword [esp + 0x118], xmm1
call fcn.0041585c
movss xmm1, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf4]
movss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xec]
cmp dword [esp + 0x100], 1
je 0x41466c
mov edx, dword [esp + 0x11c]
cmp edx, 0xa
jge 0x413523
movss xmm6, dword [0x460088]
xor eax, eax
movss xmm2, dword [0x46008c]
movaps xmm3, xmm6
mov dword [0x5df29c], edx
movaps xmm1, xmm2
test edx, edx
jle 0x41334c
movss xmm0, dword [0x46008c]
mov ecx, 1
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebp
movss dword [esp + 0xbc], xmm0
movss xmm4, dword [0x46009c]
mov esi, dword [esp + 0x154]
mov ebp, dword [esp + 0x150]
movss xmm5, dword [ebp + ecx*4 - 4]
comiss xmm4, xmm5
jbe 0x413335
movaps xmm0, xmm6
movaps xmm6, xmm5
movaps xmm7, xmm2
movaps xmm2, xmm5
cmp ecx, 1
minss xmm6, xmm0
maxss xmm2, xmm7
movss xmm0, dword [esi + ecx*4 - 4]
movaps xmm7, xmm3
movaps xmm3, xmm0
minss xmm3, xmm7
movaps xmm7, xmm1
movaps xmm1, xmm0
maxss xmm1, xmm7
jle 0x413335
movss xmm7, dword [ebp + ecx*4 - 8]
comiss xmm4, xmm7
jbe 0x413335
subss xmm5, xmm7
subss xmm0, dword [esi + ecx*4 - 8]
andps xmm5, xmmword [0x45fe50]
andps xmm0, xmmword [0x45fe50]
addss xmm5, xmm0
movss xmm0, dword [esp + 0xbc]
movaps xmm7, xmm5
movss dword [esp + 0x70], xmm5
maxss xmm7, xmm0
ucomiss xmm7, xmm5
movss dword [esp + 0xbc], xmm7
jne 0x413335
jp 0x413335
mov eax, ecx
inc ecx
cmp ecx, edx
jle 0x4132a4
mov esi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd0]
movss xmm0, dword [0x4600a4]
subss xmm2, xmm6
subss xmm1, xmm3
comiss xmm0, xmm2
jbe 0x413389
movss xmm0, dword [0x4600a4]
comiss xmm0, xmm1
ja 0x413396
mov dword [esp + 0x118], 1
mov dword [esp + 0x11c], 0
jmp 0x413523
movss xmm0, dword [0x4600a4]
comiss xmm0, xmm1
jbe 0x4133b1
mov dword [esp + 0x118], 1
mov dword [esp + 0x11c], 0
jmp 0x413523
mov dword [esp + 0x118], 0
test eax, eax
je 0x413523
test edx, edx
jle 0x413523
mov dword [esp + 0x5c], edx
lea edx, [eax - 1]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x150]
mov dword [esp + 0x50], 1
mov dword [esp + 0xd4], esi
movss xmm0, dword [0x46008c]
lea ecx, [edx + eax*4]
mov dword [esp + 0xd8], ebx
lea edx, [ecx - 8]
mov dword [esp + 0x48], edx
add ecx, 0xfffffffc
mov edx, dword [esp + 0x154]
mov ebx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0xd0], ebp
mov edi, dword [esp + 0x4c]
lea ecx, [edx + eax*4]
mov esi, dword [esp + 0x50]
lea edx, [ecx - 8]
mov dword [esp + 0x44], edx
add ecx, 0xfffffffc
mov edx, dword [esp + 0x5c]
mov ebp, edx
mov dword [esp + 0x54], ecx
cmp esi, ebx
je 0x4134b9
cmp esi, edi
je 0x4134b9
mov ecx, dword [esp + 0x150]
movss xmm1, dword [0x46009c]
comiss xmm1, dword [ecx + esi*4 - 4]
jbe 0x4134b9
mov ecx, dword [esp + 0x150]
lea eax, [ecx + esi*4 - 4]
mov ecx, dword [esp + 0x154]
lea edx, [ecx + esi*4 - 4]
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x60]
push dword [esp + 0x68]
push edx
push eax
movss dword [esp + 0x28], xmm0
call fcn.00408cc0
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x70]
movaps xmm2, xmm0
movaps xmm0, xmm1
movss xmm3, dword [0x4600a4]
maxss xmm0, xmm2
comiss xmm0, xmm3
ja 0x4145b6
inc esi
cmp esi, ebp
jle 0x41343c
movss xmm1, dword [0x4600a4]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0x118]
mov edi, dword [esp + 0x148]
comiss xmm1, xmm0
jbe 0x413513
pxor xmm1, xmm1
comiss xmm0, xmm1
jbe 0x413513
mov dword [esp + 0x118], 1
mov dword [esp + 0x11c], 0
jmp 0x413523
cmp eax, 1
jne 0x413523
mov dword [esp + 0x11c], 0
mov eax, dword [esp + 0x158]
cmp dword [eax], 0
jne 0x414651
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x413ec1
mov eax, dword [esp + 0x104]
mov edx, 7
inc eax
mov dword [esp + 0xdc], eax
mov dword [eax*4 + 0x5bd43c], 0
lea eax, [ecx - 3]
cmp eax, 7
cmovge eax, edx
test ecx, ecx
mov dword [esp + 0x120], eax
mov eax, 1
jle 0x414641
mov edx, dword [esp + 0xdc]
movss xmm4, dword [0x460098]
mov dword [esp + 0x110], ecx
movaps xmm3, xmm4
mov dword [esp + 0xd4], esi
mov dword [esp + 0x104], edx
mov edx, 1
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd0], ebp
movss xmm0, dword [0x46009c]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0x150]
comiss xmm0, dword [esi + edx*4 - 4]
ja 0x413b7d
lea ebp, [ecx*4]
mov ebx, dword [ebp + 0x5bd43c]
test ebx, ebx
je 0x413b6d
comiss xmm0, xmm4
jbe 0x413b5a
mov dword [esp + 0x118], eax
cmp ecx, 1
je 0x413609
sub ebx, dword [ebp + 0x5bd438]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x14c]
lea edi, [edx + 2]
mov eax, dword [eax]
cmp eax, edi
jle 0x4138ac
cmp ebx, 0xa
jle 0x4138ac
mov edx, eax
sub edx, dword [esp + 0x10c]
mov dword [0x5df2a0], eax
cmp edx, 3
jl 0x41389d
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x124], eax
lea ecx, [edx*4 + 0xdef27c]
mov dword [esp + 0x20], ecx
lea ebp, [edx*4 + 0xdef280]
mov dword [esp + 0x28], ebp
lea edi, [edx*4 + 0xdbe540]
mov dword [esp + 0x24], edi
lea edx, [ecx - 0x30d40]
mov dword [esp + 0x1c], edx
add esp, 0xffffffd4
mov dword [esp + 0xc], edi
lea edi, [eax*4 + 0xdef27c]
mov dword [esp + 0x10], ebp
lea ebp, [eax*4 + 0xdbe53c]
mov dword [esp + 0x14], ebp
lea eax, [eax*4 + 0xdbe538]
mov dword [esp + 0x18], edi
lea ebp, [esp + 0x40]
mov dword [esp + 0x1c], eax
lea eax, [eax + 0x30d40]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], ebp
lea edi, [esp + 0x44]
mov dword [esp + 0x28], edi
movss dword [esp + 0x10c], xmm3
movss dword [esp + 0x110], xmm4
call fcn.004148bc
movss xmm0, dword [0x46009c]
movss xmm4, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
cmp dword [esp + 0x10], 0
je 0x413773
lea eax, [esp + 8]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0xf8], xmm4
call fcn.004082b0
movss xmm1, dword [esp + 8]
movss xmm4, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
movss xmm0, dword [0x46009c]
comiss xmm1, dword [0x4600a0]
jbe 0x413773
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x104]
mov eax, dword [eax]
dec eax
lea ebp, [ecx*4]
jmp 0x41389d
mov ebp, dword [esp + 0x14c]
add esp, 0xffffffd4
mov edi, dword [esp + 0x50]
mov ecx, dword [ebp]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], edi
lea ebp, [ecx*4 + 0xdbe538]
lea eax, [ecx*4 + 0xdbe534]
mov dword [esp + 0x14], eax
lea edx, [ecx*4 + 0xdef274]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
lea eax, [ebp + 0x30d40]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x40]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x10c], xmm3
movss dword [esp + 0x110], xmm4
call fcn.004148bc
movss xmm0, dword [0x46009c]
movss xmm4, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
cmp dword [esp + 0x10], 0
jne 0x413826
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x124]
lea ebp, [ecx*4]
jmp 0x41389d
lea eax, [esp + 8]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0xf8], xmm4
call fcn.004082b0
mov eax, dword [esp + 0x14c]
movss xmm1, dword [esp + 8]
mov ecx, dword [esp + 0x104]
mov eax, dword [eax]
add eax, 0xfffffffe
comiss xmm1, dword [0x4600a0]
movss xmm0, dword [0x46009c]
lea ebp, [ecx*4]
movss xmm4, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
cmovbe eax, dword [esp + 0x124]
mov edx, dword [esp + 0x14c]
mov dword [ebp + 0x5bd43c], eax
mov dword [edx], eax
movaps xmm1, xmm4
subss xmm1, dword [eax*4 + 0xdbe53c]
andps xmm1, xmmword [0x45fe50]
comiss xmm1, dword [0x4600a0]
ja 0x4138e4
movaps xmm1, xmm3
subss xmm1, dword [eax*4 + 0xdef27c]
andps xmm1, xmmword [0x45fe50]
comiss xmm1, dword [0x4600a0]
jbe 0x413906
inc eax
mov edx, dword [esp + 0x14c]
mov dword [ebp + 0x5bd43c], eax
mov dword [edx], eax
movss dword [eax*4 + 0xdbe53c], xmm4
movss dword [eax*4 + 0xdef27c], xmm3
cmp ecx, 1
jle 0x41391b
mov edi, dword [ebp + 0x5bd438]
inc edi
mov dword [esp + 0x124], edi
jmp 0x41392b
mov dword [esp + 0x124], 1
mov edi, 1
movss xmm6, dword [0x460088]
mov edx, edi
movss xmm5, dword [0x46008c]
movaps xmm4, xmm6
mov dword [0x5df29c], eax
xor ebp, ebp
movaps xmm3, xmm5
cmp eax, edi
jl 0x413a0b
movss xmm1, dword [0x46008c]
movss dword [esp + 0xcc], xmm1
movss xmm2, dword [edx*4 + 0xdbe53c]
comiss xmm0, xmm2
jbe 0x413a02
movaps xmm1, xmm6
movaps xmm6, xmm2
movaps xmm7, xmm5
movaps xmm5, xmm2
cmp edx, edi
minss xmm6, xmm1
maxss xmm5, xmm7
movss xmm1, dword [edx*4 + 0xdef27c]
movaps xmm7, xmm4
movaps xmm4, xmm1
minss xmm4, xmm7
movaps xmm7, xmm3
movaps xmm3, xmm1
maxss xmm3, xmm7
jle 0x413a02
movss xmm7, dword [edx*4 + 0xdbe538]
comiss xmm0, xmm7
jbe 0x413a02
subss xmm2, xmm7
subss xmm1, dword [edx*4 + 0xdef278]
andps xmm2, xmmword [0x45fe50]
andps xmm1, xmmword [0x45fe50]
addss xmm2, xmm1
movss xmm1, dword [esp + 0xcc]
movaps xmm7, xmm2
movss dword [esp + 0xb8], xmm2
maxss xmm7, xmm1
ucomiss xmm7, xmm2
movss dword [esp + 0xcc], xmm7
jne 0x413a02
jp 0x413a02
mov ebp, edx
inc edx
cmp edx, eax
jle 0x413963
movss xmm1, dword [0x4600a4]
subss xmm5, xmm6
comiss xmm1, xmm5
ja 0x413b30
movss xmm1, dword [0x4600a4]
subss xmm3, xmm4
comiss xmm1, xmm3
ja 0x413b30
test ebp, ebp
je 0x413b2b
movss xmm1, dword [0x46008c]
cmp eax, edi
jl 0x413b15
mov dword [esp + 0x6c], ebx
lea edx, [ebp - 1]
mov dword [esp + 0xb4], edx
lea edx, [ebp*4 + 0xdbe53c]
mov dword [esp + 0x68], edx
lea edx, [ebp*4 + 0xdef278]
mov ebx, eax
lea ecx, [ebp*4 + 0xdef27c]
mov dword [esp + 0x64], ecx
lea ecx, [edx - 0x30d40]
mov dword [esp + 0x60], ecx
mov esi, edx
cmp edi, ebp
je 0x413afe
cmp edi, dword [esp + 0xb4]
je 0x413afe
comiss xmm0, dword [edi*4 + 0xdbe53c]
jbe 0x413afe
lea ecx, [esp + 0xb8]
push ecx
push esi
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x78]
lea edx, [edi*4 + 0xdbe53c]
lea eax, [edx + 0x30d40]
push eax
push edx
movss dword [esp + 0x48], xmm1
call fcn.00408cc0
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0xb8]
movaps xmm3, xmm1
movaps xmm1, xmm2
movss xmm4, dword [0x4600a4]
maxss xmm1, xmm3
movss xmm0, dword [0x46009c]
comiss xmm1, xmm4
ja 0x4145de
inc edi
cmp edi, ebx
jle 0x413a86
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x104]
mov esi, dword [esp + 0x150]
movss xmm2, dword [0x4600a4]
comiss xmm2, xmm1
jbe 0x413b2b
pxor xmm2, xmm2
comiss xmm1, xmm2
ja 0x413b30
cmp ebx, 4
jge 0x413b53
cmp ecx, 1
jle 0x413b3e
mov eax, dword [ecx*4 + 0x5bd438]
jmp 0x413b40
xor eax, eax
mov edx, dword [esp + 0x14c]
dec ecx
mov dword [edx], eax
mov edx, dword [esp + 0x118]
jmp 0x413b5a
mov edx, dword [esp + 0x118]
inc ecx
mov dword [esp + 0x104], ecx
mov dword [ecx*4 + 0x5bd43c], 0
movss xmm4, dword [0x460098]
movaps xmm3, xmm4
jmp 0x413e6c
mov dword [esp + 0x118], eax
add esp, 0xffffffe8
mov ebx, dword [esp + 0x16c]
lea eax, [esp + 0x134]
mov ecx, esi
lea edx, [esp + 0x138]
lea ebp, [esp + 0x130]
mov dword [esp + 0xc], ebx
lea edi, [esp + 0x13c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
movss dword [esp + 0xf8], xmm3
movss dword [esp + 0xfc], xmm4
call fcn.004154ac
mov ebx, dword [esp + 0x124]
test ebx, ebx
movss xmm4, dword [esp + 0xe4]
movss xmm3, dword [esp + 0xe0]
mov edx, dword [esp + 0x118]
movss xmm0, dword [0x46009c]
je 0x413d88
cmp edx, 1
je 0x4145fe
lea eax, [esi + edx*4]
mov dword [esp + 0xc8], eax
movss xmm1, dword [eax - 8]
lea edi, [edx*4]
comiss xmm1, xmm0
jbe 0x413c45
mov eax, dword [esp + 0x11c]
cmp edx, eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x74], eax
je 0x413d99
xor ebx, ebx
jmp 0x413c54
mov eax, dword [esp + 0x11c]
cmp edx, eax
mov dword [esp + 0x74], eax
je 0x413c76
movss xmm1, dword [edi + esi]
comiss xmm1, xmm0
jbe 0x413c6e
mov dword [esp + 0x124], 0
jmp 0x413d99
test ebx, ebx
je 0x413d99
mov ecx, dword [esp + 0x104]
mov ebp, dword [esp + 0x14c]
lea eax, [ecx*4]
mov edi, dword [eax + 0x5bd43c]
test edi, edi
mov ebp, dword [ebp]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebp
je 0x413e54
cmp ecx, 1
je 0x413cbf
mov edi, ebp
sub edi, dword [eax + 0x5bd438]
dec edi
mov dword [esp + 0xc4], edi
mov edi, dword [esp + 0x74]
dec edi
cmp edx, edi
jge 0x413cea
movss xmm1, dword [esi + edx*4]
comiss xmm1, xmm0
ja 0x413cdd
movss xmm1, dword [esi + edx*4 + 4]
comiss xmm1, xmm0
jbe 0x413cea
mov dword [esp + 0x124], 0
xor ebx, ebx
cmp dword [esp + 0xc4], 5
jge 0x413d01
mov dword [esp + 0x124], 0
xor ebx, ebx
mov edi, dword [esp + 0xc0]
movss xmm2, dword [esi + edx*4 - 4]
movss xmm1, dword [0x4600ac]
movss xmm5, dword [edi*4 + 0xdbe540]
subss xmm5, xmm2
andps xmm5, xmmword [0x45fe50]
comiss xmm1, xmm5
jbe 0x413d71
mov edi, dword [esp + 0x154]
movss xmm5, dword [0x4600ac]
movss xmm1, dword [edi + edx*4 - 4]
mov edi, dword [esp + 0xc0]
movss xmm6, dword [edi*4 + 0xdef280]
subss xmm6, xmm1
andps xmm6, xmmword [0x45fe50]
comiss xmm5, xmm6
jbe 0x413d71
mov dword [esp + 0x124], 0
jmp 0x413dc9
test ebx, ebx
jne 0x413e54
mov ebx, dword [esp + 0x154]
movss xmm1, dword [ebx + edx*4 - 4]
jmp 0x413dc9
lea eax, [esi + edx*4]
mov dword [esp + 0xc8], eax
lea edi, [edx*4]
mov ebx, dword [esp + 0x154]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x104]
movss xmm1, dword [edi + ebx - 4]
mov ebp, dword [eax]
mov edi, dword [esp + 0xc8]
lea eax, [ecx*4]
movss xmm2, dword [edi - 4]
cmp ebp, 1
jle 0x413e14
movss xmm6, dword [ebp*4 + 0xdbe53c]
movss xmm5, dword [0x4600a8]
subss xmm6, xmm2
andps xmm6, xmmword [0x45fe50]
comiss xmm5, xmm6
jbe 0x413e14
movss xmm6, dword [ebp*4 + 0xdef27c]
lea ebx, [ebp - 1]
movss xmm5, dword [0x4600a8]
subss xmm6, xmm1
andps xmm6, xmmword [0x45fe50]
comiss xmm5, xmm6
cmova ebp, ebx
inc ebp
comiss xmm4, xmm0
mov ebx, dword [esp + 0x14c]
mov dword [eax + 0x5bd43c], ebp
mov eax, dword [esp + 0x10c]
cmova eax, ebp
mov dword [ebx], ebp
movss dword [ebp*4 + 0xdbe53c], xmm2
movss dword [ebp*4 + 0xdef27c], xmm1
jbe 0x413e48
movaps xmm4, xmm2
jbe 0x413e4d
movaps xmm3, xmm1
mov dword [esp + 0x10c], eax
cmp ebp, 0xc350
jg 0x414627
cmp ecx, 0x1f4
jg 0x414627
inc edx
mov eax, edx
cmp edx, dword [esp + 0x110]
jle 0x4135ce
mov dword [esp + 0xdc], ecx
mov eax, ecx
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd0]
mov edi, dword [esp + 0x148]
mov dword [esp + 0x118], edx
cmp dword [eax*4 + 0x5bd43c], 0
jne 0x413ec1
mov eax, dword [esp + 0xdc]
dec eax
mov dword [esp + 0x104], eax
movss xmm1, dword [0x460088]
movss xmm2, dword [0x46008c]
movaps xmm3, xmm1
mov dword [esp + 0x114], 0
movaps xmm0, xmm2
inc ebx
cmp ebx, esi
jle 0x412ba9
mov edi, dword [esp + 0x158]
mov ebp, dword [esp + 0x14c]
cmp dword [esp + 0x104], 0
je 0x4145a2
cmp dword [ebp], 3
jle 0x4145a2
add esp, 0xffffffd8
mov ecx, 0xdbe540
lea ebx, [esp + 0x144]
lea esi, [esp + 0x128]
lea eax, [esp + 0x148]
mov dword [esp + 0xc], 0xdef280
lea edx, [esp + 0x12c]
mov dword [esp + 0x10], 0x5bd440
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xd5cac0
mov dword [esp + 0x1c], 0xd8d800
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov eax, ebp
call fcn.00418d0c
cmp dword [esp + 0x120], 0
je 0x413f85
mov dword [edi], 4
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
mov ebx, dword [esp + 0x11c]
test ebx, ebx
jle 0x4145a2
inc ebx
xor edx, edx
xor ecx, ecx
test ebx, ebx
mov dword [ebx*4 + 0xd5cabc], 0x47c34f80
mov dword [ebx*4 + 0xd8d7fc], 0x47c34f80
jle 0x4148a0
mov dword [esp + 0x3c], 1
xor esi, esi
mov dword [esp + 0x120], ebx
xor eax, eax
mov dword [esp + 0x40], ebx
movss xmm0, dword [0x46009c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx*4 + 0xd5cabc]
comiss xmm0, dword [ebx*4 + 0xd5cabc]
jbe 0x414010
inc esi
mov edi, dword [esp + 0x150]
mov edx, esi
mov dword [edi + esi*4 - 4], ebp
mov edi, dword [esp + 0x154]
mov ebp, dword [ebx*4 + 0xd8d7fc]
mov dword [edi + esi*4 - 4], ebp
jmp 0x41434a
test esi, esi
jle 0x414346
mov dword [esp + 0x11c], ecx
lea eax, [esp + 0xfc]
mov ecx, dword [esp + 0x14c]
mov dword [ecx], edx
lea edx, [esp + 0x124]
push dword [esp + 0x158]
push 0xe81a40
push 0xdef280
push 0xdbe540
push edx
push 0x45fd24
push eax
push dword [esp + 0x170]
push dword [esp + 0x170]
push ecx
call fcn.0040b120
mov eax, dword [esp + 0x158]
movss xmm0, dword [0x46009c]
cmp dword [eax], 0
jne 0x4145a9
mov edx, dword [esp + 0x124]
test edx, edx
mov dword [0x5df294], edx
jle 0x414880
mov eax, dword [esp + 0x14c]
mov edi, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov dword [eax], 0
movss xmm1, dword [0x460084]
mov esi, dword [esp + 0x154]
mov ebx, dword [esp + 0x150]
movss xmm3, dword [edi*4 + 0xe81a3c]
movss xmm2, dword [0x469844]
comiss xmm2, xmm3
jbe 0x414160
mov eax, dword [esp + 0x14c]
mov ecx, dword [edi*4 + 0xdbe53c]
mov ebp, dword [edi*4 + 0xdef27c]
mov edx, dword [eax]
movss xmm2, dword [edi*4 + 0xdbe53c]
movss xmm3, dword [edi*4 + 0xdef27c]
lea eax, [edx + 1]
mov dword [ebx + eax*4 - 4], ecx
cmp eax, 1
mov dword [esi + eax*4 - 4], ebp
jle 0x414152
subss xmm2, dword [ebx + eax*4 - 8]
andps xmm2, xmmword [0x45fe50]
comiss xmm1, xmm2
jbe 0x414152
subss xmm3, dword [esi + eax*4 - 8]
andps xmm3, xmmword [0x45fe50]
comiss xmm1, xmm3
jbe 0x414152
cmp edi, dword [esp + 0x124]
je 0x414152
mov eax, dword [esp + 0x14c]
mov dword [eax], edx
jmp 0x4142bd
mov edx, dword [esp + 0x14c]
mov dword [edx], eax
jmp 0x4142bd
comiss xmm0, xmm3
jbe 0x4142bd
mov dword [esp + 0x20], edi
lea edx, [edi*4 + 0xdef280]
mov dword [esp + 0x2c], edx
lea eax, [edi*4 + 0xdbe540]
mov dword [esp + 0x28], eax
lea ebx, [edi*4 + 0xdef284]
mov dword [esp + 0x24], ebx
lea ecx, [edi*4 + 0xdbe544]
mov dword [esp + 0x34], ecx
lea ebp, [edi*4 + 0xdbe53c]
mov dword [esp + 0x38], ebp
lea esi, [esp + 0xc]
push 0x5c9600
push 0x5ca800
push esi
push ebx
push ecx
push edx
push eax
lea edi, [ebp + 0x30d40]
lea ebp, [ebp + 0xc3500]
push ebp
push edi
push dword [esp + 0x5c]
lea eax, [esp + 0x124]
push eax
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
call fcn.0040aa80
movss xmm1, dword [0x460084]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x38]
movss xmm0, dword [0x46009c]
call fcn.004082b0
movss xmm1, dword [0x460084]
movss xmm0, dword [0x46009c]
comiss xmm1, dword [esp + 0x1c]
jbe 0x414236
mov dword [esp + 0xc], 0
jmp 0x4142bd
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x4142bd
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x20], edi
mov ebp, dword [eax]
mov eax, 1
inc ebp
mov edi, dword [eax*4 + 0x5ca7fc]
mov edx, ebp
movss xmm2, dword [eax*4 + 0x5ca7fc]
cmp ebp, 1
movss xmm3, dword [eax*4 + 0x5c95fc]
mov dword [ebx + ebp*4 - 4], edi
mov edi, dword [eax*4 + 0x5c95fc]
mov dword [esi + ebp*4 - 4], edi
jle 0x4142ab
subss xmm2, dword [ebx + ebp*4 - 8]
andps xmm2, xmmword [0x45fe50]
comiss xmm1, xmm2
jbe 0x4142ab
subss xmm3, dword [esi + ebp*4 - 8]
andps xmm3, xmmword [0x45fe50]
lea edi, [ebp - 1]
comiss xmm1, xmm3
cmova ebp, edi
cmova edx, edi
inc eax
cmp eax, ecx
jle 0x414250
mov eax, dword [esp + 0x14c]
mov edi, dword [esp + 0x20]
mov dword [eax], edx
inc edi
cmp edi, dword [esp + 0x44]
jle 0x4140c4
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x11c]
test ecx, ecx
jle 0x414870
mov dword [esp + 0x48], eax
xor ebp, ebp
mov dword [esp + 0x3c], ebx
lea edx, [eax*4]
mov eax, dword [esp + 0x154]
mov ebx, dword [esp + 0x150]
mov edi, dword [ebx + ebp*4]
lea esi, [ebp + 2]
mov dword [edx + ebp*4 + 0xe1ffc0], edi
mov edi, dword [eax + ebp*4]
mov dword [edx + ebp*4 + 0xe50d00], edi
inc ebp
cmp ebp, ecx
jb 0x414303
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add eax, ebp
mov dword [esp + 0x118], esi
inc eax
mov edx, 0x47c34f80
mov ecx, eax
mov dword [eax*4 + 0xe1ffbc], edx
mov dword [eax*4 + 0xe50cfc], edx
xor edx, edx
xor esi, esi
inc ebx
cmp ebx, dword [esp + 0x40]
jle 0x413fda
mov ebp, dword [esp + 0x14c]
mov dword [ebp], 0
mov edi, 1
test eax, eax
jle 0x4145a9
mov edx, 4
lea ebx, [eax - 3]
cmp ebx, 4
movss xmm3, dword [0x460098]
cmovge ebx, edx
mov edx, 1
mov dword [esp + 0x120], ebx
movaps xmm2, xmm3
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x48], eax
movss xmm4, dword [0x4600a8]
movss xmm5, dword [0x4600a0]
movss xmm6, dword [0x46009c]
mov ebx, dword [esp + 0x154]
mov esi, dword [esp + 0x150]
mov eax, dword [edx*4 + 0xe1ffbc]
comiss xmm6, dword [edx*4 + 0xe1ffbc]
ja 0x414434
mov ecx, dword [ebp]
movaps xmm0, xmm3
subss xmm0, dword [esi + ecx*4 - 4]
andps xmm0, xmmword [0x45fe50]
comiss xmm0, xmm5
ja 0x414404
movaps xmm0, xmm2
subss xmm0, dword [ebx + ecx*4 - 4]
andps xmm0, xmmword [0x45fe50]
comiss xmm0, xmm5
jbe 0x414411
inc ecx
movss dword [esi + ecx*4 - 4], xmm3
movss dword [ebx + ecx*4 - 4], xmm2
inc ecx
movss xmm3, dword [0x460098]
mov dword [ebp], ecx
movaps xmm2, xmm3
mov dword [esi + ecx*4 - 4], eax
mov eax, dword [edx*4 + 0xe50cfc]
mov dword [ebx + ecx*4 - 4], eax
jmp 0x414593
mov dword [esp + 0x118], edi
add esp, 0xffffffe8
mov ecx, 0xe1ffc0
lea edi, [esp + 0x130]
lea eax, [esp + 0x13c]
lea edx, [esp + 0x138]
mov dword [esp + 0xc], 0xe50d00
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x134]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm3
call fcn.004154ac
mov ecx, dword [esp + 0x124]
test ecx, ecx
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
mov edx, dword [esp + 0x118]
movss xmm6, dword [0x46009c]
movss xmm5, dword [0x4600a0]
movss xmm4, dword [0x4600a8]
je 0x414517
cmp edx, 1
je 0x414887
lea eax, [edx*4]
movss xmm0, dword [eax + 0xe1ffb8]
comiss xmm0, xmm6
jbe 0x4144eb
mov dword [esp + 0x124], 0
cmp edx, dword [esp + 0x11c]
je 0x41451e
xor ecx, ecx
jmp 0x4144f4
cmp edx, dword [esp + 0x11c]
je 0x414517
movss xmm0, dword [eax + 0xe1ffc0]
comiss xmm0, xmm6
jbe 0x41450e
mov dword [esp + 0x124], 0
jmp 0x41451e
test ecx, ecx
je 0x41451e
comiss xmm3, xmm6
jbe 0x414593
lea eax, [edx*4]
mov edi, dword [eax + 0xe1ffbc]
mov ecx, dword [ebp]
cmp ecx, 1
movss xmm0, dword [eax + 0xe1ffbc]
movss xmm1, dword [eax + 0xe50cfc]
mov eax, dword [eax + 0xe50cfc]
mov dword [esp + 0x20], edi
jle 0x414576
movss xmm7, dword [esi + ecx*4 - 4]
subss xmm7, xmm0
andps xmm7, xmmword [0x45fe50]
comiss xmm4, xmm7
jbe 0x414576
movss xmm7, dword [ebx + ecx*4 - 4]
lea edi, [ecx - 1]
subss xmm7, xmm1
andps xmm7, xmmword [0x45fe50]
comiss xmm4, xmm7
cmova ecx, edi
comiss xmm3, xmm6
mov edi, dword [esp + 0x20]
jbe 0x414582
movaps xmm3, xmm0
jbe 0x414587
movaps xmm2, xmm1
inc ecx
mov dword [ebp], ecx
mov dword [esi + ecx*4 - 4], edi
mov dword [ebx + ecx*4 - 4], eax
inc edx
mov edi, edx
cmp edx, dword [esp + 0x48]
jle 0x4143c6
jmp 0x4145a9
mov dword [ebp], 0
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0x118]
mov edi, dword [esp + 0x148]
jmp 0x413513
mov ebx, dword [esp + 0x6c]
cmp ebx, 4
mov ecx, dword [esp + 0x104]
mov esi, dword [esp + 0x150]
jl 0x413b30
jmp 0x413b53
mov eax, dword [esp + 0x11c]
cmp edx, eax
mov dword [esp + 0x74], eax
je 0x413c76
lea eax, [esi + edx*4]
mov dword [esp + 0xc8], eax
lea edi, [edx*4]
jmp 0x413c54
mov edi, dword [esp + 0x158]
mov dword [edi], 3
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
mov dword [esp + 0x118], 1
jmp 0x413eb2
mov ebp, dword [esp + 0x14c]
mov dword [ebp], 0
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
cmp dword [esp + 0x118], 1
jne 0x413234
movss xmm4, dword [esp + 0x108]
subss xmm2, xmm1
addss xmm4, xmm4
comiss xmm4, xmm2
ja 0x41469d
subss xmm0, xmm3
comiss xmm4, xmm0
jbe 0x413234
mov eax, dword [esp + 0x158]
xor edx, edx
mov dword [esp + 0x11c], edx
mov dword [eax], edx
jmp 0x413244
mov edx, dword [esp + 0x114]
cmp edx, 0x2710
jg 0x4147a5
test edx, edx
jle 0x41482f
mov dword [esp + 0xd0], ebp
xor ecx, ecx
movss xmm5, dword [0x4600a0]
mov eax, 1
inc ecx
mov ebp, dword [eax*4 + 0xd5cabc]
movss xmm6, dword [eax*4 + 0xd5cabc]
movss xmm4, dword [eax*4 + 0xd8d7fc]
mov dword [ecx*4 + 0xed987c], ebp
mov ebp, dword [eax*4 + 0xd8d7fc]
inc eax
mov dword [ecx*4 + 0xee34bc], ebp
cmp eax, edx
jg 0x414753
cmp ecx, 1
jle 0x4146e5
movaps xmm7, xmm6
subss xmm7, dword [eax*4 + 0xd5cabc]
andps xmm7, xmmword [0x45fe50]
comiss xmm5, xmm7
jbe 0x4146e5
movaps xmm7, xmm4
subss xmm7, dword [eax*4 + 0xd8d7fc]
andps xmm7, xmmword [0x45fe50]
comiss xmm5, xmm7
jbe 0x4146e5
inc eax
cmp eax, edx
jle 0x41471e
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x30], ecx
add esp, 0xfffffff0
mov edx, 0xed9880
mov ecx, 0xee34c0
lea eax, [esp + 0x128]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0x100], xmm2
movss dword [esp + 0x104], xmm3
movss dword [esp + 0x108], xmm1
call fcn.00414cec
jmp 0x4147ed
add esp, 0xfffffff0
mov edx, 0xd5cac0
mov ecx, 0xd8d800
lea eax, [esp + 0x128]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x124]
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0x100], xmm2
movss dword [esp + 0x104], xmm3
movss dword [esp + 0x108], xmm1
call fcn.00414cec
movss xmm1, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf4]
movss xmm2, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xec]
cmp dword [esp + 0x118], 0xffffffff
jne 0x41318f
mov dword [esp + 0x100], 2
jmp 0x41318f
mov dword [esp + 0x30], 0
jmp 0x41475e
mov edi, dword [esp + 0x158]
mov dword [edi], 2
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
mov edi, dword [esp + 0x158]
mov dword [edi], 1
add esp, 0x128
pop ebp
pop ebx
pop edi
pop esi
ret 0x20
mov dword [esp + 0x118], 1
jmp 0x414330
xor ecx, ecx
jmp 0x4142d5
cmp edx, dword [esp + 0x11c]
je 0x414517
lea eax, [edx*4]
jmp 0x4144f4
xor eax, eax
jmp 0x41435c