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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0x174
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], edx
mov dword [esp + 0x108], eax
xor eax, eax
pxor xmm0, xmm0
movsd qword [esp + 0xa0], xmm0
inc dword [0x10219720]
mov dword [esp + 0x114], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x150], eax
mov eax, dword [0x10219178]
cmp eax, dword [0x1020c74c]
jle 0x1012db10
mov ecx, dword [0x10219180]
movsd xmm0, qword [0x101f2180]
movsd xmm2, qword [0x101f2288]
movsd qword [0x10219700], xmm0
movsd qword [0x10219718], xmm2
mov dword [0x1020c74c], eax
mov dword [0x1020c754], ecx
mov dword [0x10219734], 1
mov edx, 0xffffffff
pxor xmm1, xmm1
movsd qword [0x102196f8], xmm1
movsd qword [0x10219708], xmm1
movsd qword [0x10219710], xmm1
mov dword [0x1020c750], edx
mov dword [0x1021972c], edx
xor eax, eax
mov dword [0x10219724], eax
mov dword [0x10219728], eax
mov dword [0x10219730], eax
jmp 0x1012db1c
mov ecx, dword [0x10219180]
mov edx, dword [0x1020c750]
cmp ecx, edx
je 0x1012dd54
cmp dword [0x1021f838], 0
mov dword [0x1020c750], ecx
je 0x1012db4a
cmp dword [0x1021f834], 0
je 0x1012db4a
pxor xmm0, xmm0
movsd qword [0x102196f8], xmm0
jmp 0x1012dba8
mov eax, dword [esp + 0x108]
cmp dword [eax + 0x114], 0x28
jl 0x1012db80
call fcn.1013a3b0
test eax, eax
jne 0x1012db80
call fcn.100ed480
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [0x101f2188]
comisd xmm0, xmm1
ja 0x1012db8e
pxor xmm0, xmm0
movsd qword [0x102196f8], xmm0
jmp 0x1012dba8
movsd qword [esp + 8], xmm1
pxor xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ed440
fstp qword [0x102196f8]
movsd xmm0, qword [0x101f2288]
mov eax, dword [esp + 0x11c]
cmp dword [eax + 0x28], 2
movsd qword [0x10219700], xmm0
mov dword [0x10219724], 0
je 0x1012fa95
mov eax, dword [0x1021f940]
cmp eax, 0x12c
jge 0x1012dc00
cmp eax, 0x32
jl 0x1012dbf2
push 0x19
push 0xf
call fcn.100ed700
add esp, 8
jmp 0x1012dc0c
push 0x14
push 0xa
call fcn.100ed700
add esp, 8
jmp 0x1012dc0c
push 0x1e
push 0x14
call fcn.100ed700
add esp, 8
mov dword [0x10219728], eax
cmp dword [0x1021f944], 0x1e
jg 0x1012dc6c
cmp dword [0x10219180], 0x1f4
jle 0x1012dc6c
movsd xmm1, qword [0x101f21b0]
movsd qword [esp + 8], xmm1
pxor xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ed440
movsd xmm1, qword [0x101f21b8]
fstp qword [0x10219708]
movsd qword [esp + 8], xmm1
pxor xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ed440
fstp qword [0x10219710]
jmp 0x1012dc80
pxor xmm0, xmm0
movsd qword [0x10219708], xmm0
movsd qword [0x10219710], xmm0
mov eax, dword [0x1021fc9c]
cmp eax, 0x32
jg 0x1012dc9c
movsd xmm0, qword [0x101f21c0]
movsd qword [0x10219718], xmm0
jmp 0x1012dcc7
movsd xmm0, qword [0x101f2288]
movsd xmm1, qword [0x101f21c8]
movsd qword [esp], xmm0
movsd qword [esp + 8], xmm1
call fcn.100ed440
mov eax, dword [0x1021fc9c]
fstp qword [0x10219718]
mov ebx, dword [0x1021f820]
test ebx, ebx
jle 0x1012dce8
mov ecx, dword [0x1021f824]
xor edx, edx
cmp dword [ecx + edx*4], 0
jge 0x1012fa8b
inc edx
cmp edx, ebx
jl 0x1012dcd9
xor ebx, ebx
cmp eax, 0xa
jle 0x1012dd15
call fcn.1013a3b0
test eax, eax
jne 0x1012dd27
call fcn.100ed480
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [0x101f21e0]
comisd xmm0, xmm1
jbe 0x1012dd27
test ebx, ebx
jne 0x1012dd27
mov dword [0x10219730], 1
xor eax, eax
jmp 0x1012dd36
mov dword [0x10219730], 0
mov eax, 1
mov ecx, dword [0x10219b44]
mov dword [0x10219734], eax
test ecx, ecx
jle 0x1012dd54
mov eax, dword [0x1021972c]
inc eax
cdq
idiv ecx
mov dword [0x1021972c], edx
xor edx, edx
cmp dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x40]
mov dword [eax], edx
mov dword [ecx], edx
je 0x1012dd6f
mov eax, dword [ebp + 0x44]
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
shl eax, 6
push eax
call fcn.101bcde0
mov dword [esp + 0x114], eax
push 1
push 0xffffffffffffffff
push dword [esp + 0x114]
call fcn.10177800
lea edi, [esp + 0x114]
lea esi, [esp + 0xd0]
lea ebx, [esp + 0x160]
lea ecx, [esp + 0x164]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x124]
push 1
push eax
push edx
push ecx
push ebx
push 0
push esi
push edi
lea eax, [esp + 0x17c]
push eax
call fcn.101787c0
add esp, 0x34
cmp dword [ebp + 0x18], 0
mov edi, dword [ebp + 0x20]
lea esi, [edi*4]
je 0x1012ff39
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x134], eax
push esi
call fcn.101bcde0
pop ecx
mov dword [esp + 0x148], eax
movsd xmm0, qword [0x101f2198]
movsd xmm1, qword [0x101f21a0]
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x80], xmm1
test edi, edi
jle 0x1012de9f
mov esi, eax
mov edi, dword [esp + 0x118]
xor ebx, ebx
push 0x10
call fcn.101bcde0
mov dword [esi + ebx*4], eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + ebx*4]
push dword [edi + ebx*4]
call fcn.100ae040
add esp, 0x10
movsd xmm0, qword [esp + 0x70]
movsd xmm2, qword [esp + 0x80]
mov ecx, dword [esi + ebx*4]
mov eax, dword [edi + ebx*4]
mov edx, dword [ecx]
shl edx, 4
movsd xmm1, qword [eax + edx]
mov edx, dword [ecx + 4]
minsd xmm1, xmm0
movsd qword [esp + 0x70], xmm1
shl edx, 4
movsd xmm3, qword [eax + edx]
maxsd xmm3, xmm2
movsd qword [esp + 0x80], xmm3
inc ebx
cmp ebx, dword [ebp + 0x20]
jl 0x1012de39
mov edi, dword [ebp + 0x20]
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov eax, dword [0x10219190]
imul ebx, ecx, 0xa10
mov dword [esp + 0x10c], ecx
mov ecx, dword [eax + ebx + 0x9d8]
mov dword [esp + 0xd8], ebx
test ecx, ecx
je 0x1012ded0
mov ebx, dword [ecx]
jmp 0x1012ded5
mov ebx, 1
cmp dword [0x1021f880], 2
je 0x1012ff23
cmp dword [0x1021f840], 1
je 0x1012ff23
imul ecx, dword [0x1022002c], 0x168
mov esi, dword [0x10220028]
mov ecx, dword [ecx + esi - 0x18]
test ecx, ecx
je 0x1012ff23
movsd xmm0, qword [ecx + ebx*8]
movsd qword [esp + 0x58], xmm0
cmp ebx, 1
jle 0x1012df2d
movsd xmm0, qword [esp + 0x58]
subsd xmm0, qword [ecx + ebx*8 - 8]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [0x101f21d0]
movsd xmm1, qword [0x101f21d8]
movsd qword [esp], xmm0
movsd qword [esp + 8], xmm1
call fcn.100ed440
fstp qword [esp + 0xd0]
imul eax, dword [0x1022002c], 0x168
mov ecx, dword [0x10220028]
movsd xmm0, qword [esp + 0xd0]
mulsd xmm0, qword [esp + 0x58]
mov esi, dword [eax + ecx - 0x18]
addsd xmm0, qword [esi + ebx*8]
mov eax, dword [0x10219190]
movsd qword [esp + 0xd0], xmm0
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x11c]
mov ebx, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
movsd qword [esp + 8], xmm0
mov dword [esp], ecx
mov ecx, dword [esp + 0xd8]
cmp dword [eax + ecx + 0x9fc], 0
mov dword [esp + 4], ebx
mov ebx, 0x1000
mov eax, 1
cmovne eax, ebx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0xb0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x2c], eax
call fcn.100dfc50
mov ecx, dword [0x10219190]
movsd xmm0, qword [esp + 0xa8]
mov eax, dword [esp + 0xd8]
subsd xmm0, qword [eax + ecx + 0x78]
movsd qword [esp + 0x98], xmm0
push 0x10
push edi
call fcn.101beb7a
add esp, 8
mov esi, eax
test edi, edi
jle 0x1012e0b5
mov edi, dword [ebp + 0x1c]
xor ebx, ebx
mov eax, ebx
shl eax, 4
lea ecx, [esi + eax]
mov dword [ecx + 8], ebx
test edi, edi
je 0x1012e07d
mov edx, dword [ebp + 0x20]
pxor xmm1, xmm1
jmp 0x1012e063
mov eax, ebx
shl eax, 4
lea ecx, [esi + eax]
mov dword [ecx + 8], ebx
movsd xmm0, qword [edi + ebx*8]
comisd xmm0, xmm1
jbe 0x1012e07d
movsd qword [esi + eax], xmm0
inc ebx
cmp ebx, edx
jl 0x1012e058
jmp 0x1012faf4
mov eax, dword [ebp + 0x14]
push ecx
push dword [eax + ebx*4]
mov edx, dword [esp + 0x120]
push dword [edx + ebx*4]
call fcn.100b0a90
add esp, 0xc
inc ebx
cmp ebx, dword [ebp + 0x20]
jl 0x1012e040
mov edi, dword [ebp + 0x20]
cmp edi, 1
jle 0x1012e0b5
push 0x100adf10
push 0x10
push edi
push esi
call fcn.101bec80
add esp, 0x10
push 4
push edi
call fcn.101beb7a
add esp, 8
mov dword [esp + 0x124], eax
xor eax, eax
test edi, edi
jle 0x1012e2de
mov dword [esp + 0x120], esi
xor ebx, ebx
mov edi, eax
xor esi, esi
mov ecx, dword [0x10219190]
mov edx, dword [esp + 0xd8]
mov eax, dword [ecx + edx + 0xd0]
mov eax, dword [eax]
movsd xmm0, qword [eax + 0x48]
movsd qword [esp + 0x138], xmm0
movsd xmm1, qword [eax + 0x50]
movsd qword [esp + 0x140], xmm1
mov dword [esp + 8], 1
lea eax, [esp + 0x138]
mov dword [esp], eax
mov dword [esp + 4], esi
movsd xmm2, qword [edx + ecx + 0x78]
lea eax, [esp + 0xc]
movsd qword [eax], xmm2
movsd xmm3, qword [edx + ecx + 0x80]
movsd qword [eax + 8], xmm3
mov edx, dword [esp + 0x148]
mov ecx, dword [edx + ebx*4]
mov edx, dword [esp + 0x118]
mov eax, dword [ecx]
mov ecx, dword [edx + ebx*4]
pxor xmm4, xmm4
movsd qword [esp + 0x20], xmm4
mov dword [esp + 0x1c], esi
shl eax, 4
movsd xmm5, qword [ecx + eax]
lea edx, [esp + 0x28]
movsd qword [edx], xmm5
movsd xmm6, qword [ecx + eax + 8]
movsd qword [edx + 8], xmm6
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 0x10]
movsd xmm7, qword [ecx + 8]
movsd qword [esp + 0x3c], xmm7
mov dword [esp + 0x38], edx
call fcn.100ae6e0
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x114]
mov dword [edx + ebx*4], 0xffffffff
dec eax
js 0x1012fc75
movsd xmm3, qword [0x101f21e8]
mov dword [esp + 0x6c], ebx
mov esi, eax
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
movsd xmm1, qword [esp + 0x138]
mov ecx, dword [esp + 0x154]
mov ebx, esi
shl ebx, 4
mov ecx, dword [ecx + ebx + 8]
mov edx, dword [edx + ecx*4]
mov eax, dword [eax + ecx*4]
mov edi, dword [edx]
shl edi, 4
movsd xmm0, qword [eax + edi]
subsd xmm0, xmm3
comisd xmm0, xmm1
ja 0x1012e29e
mov edi, dword [edx + 4]
shl edi, 4
movsd xmm0, qword [eax + edi]
addsd xmm0, xmm3
comisd xmm1, xmm0
ja 0x1012e29e
movsd xmm2, qword [esp + 0x140]
mov edi, dword [edx + 0xc]
shl edi, 4
movsd xmm0, qword [edi + eax + 8]
subsd xmm0, xmm3
comisd xmm0, xmm2
ja 0x1012e29e
mov edx, dword [edx + 8]
shl edx, 4
movsd xmm0, qword [edx + eax + 8]
addsd xmm0, xmm3
comisd xmm2, xmm0
ja 0x1012e29e
mov edx, dword [esp + 0x104]
mov ecx, dword [edx + ecx*4]
movsd qword [esp], xmm1
movsd qword [esp + 8], xmm2
mov dword [esp + 0x18], 6
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
call fcn.100af680
movsd xmm3, qword [0x101f21e8]
test eax, eax
jne 0x1012fefd
dec esi
jns 0x1012e1cd
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x124]
mov edx, dword [edx + ebx*4]
xor esi, esi
cmp edx, 0xffffffff
je 0x1012fc75
mov edx, dword [ebp + 0x14]
add edi, dword [edx + ebx*4]
inc ebx
cmp ebx, dword [ebp + 0x20]
jl 0x1012e0de
mov esi, dword [esp + 0x120]
mov eax, edi
mov edi, dword [ebp + 0x20]
mov ecx, dword [0x10219180]
sub ecx, dword [0x1020c754]
cmp ecx, 0xa
jge 0x1012e327
cmp dword [0x1021f940], 0x12c
jg 0x1012e311
cvtsi2sd xmm4, ecx
mulsd xmm4, qword [0x101f2200]
addsd xmm4, qword [0x101f21f8]
jmp 0x1012e32f
cvtsi2sd xmm4, ecx
mulsd xmm4, qword [0x101f2210]
addsd xmm4, qword [0x101f2208]
jmp 0x1012e32f
movsd xmm4, qword [0x101f21f0]
imul ecx, dword [0x1022002c], 0x168
movsd xmm2, qword [0x101f2218]
movsd xmm0, qword [esp + 0xb0]
mov ebx, dword [0x10220028]
movsd xmm3, qword [0x1021fbc8]
maxsd xmm3, qword [0x1021fbc0]
movsd xmm1, qword [ecx + ebx - 0x48]
subsd xmm1, qword [0x101f2220]
movsd qword [esp + 0x68], xmm3
comisd xmm0, xmm1
jb 0x1012e37d
movaps xmm4, xmm2
cmp dword [0x1021f6c8], 0
je 0x1012e3a8
cmp dword [0x1021f6b8], 0
jne 0x1012e3a8
movsd xmm0, qword [0x1021f6c0]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x90], xmm0
jmp 0x1012e3d0
movsd xmm1, qword [esp + 0x68]
movaps xmm0, xmm1
mulsd xmm1, qword [0x101f2228]
mulsd xmm0, xmm4
movsd qword [esp + 0x90], xmm0
mulsd xmm1, xmm4
movsd qword [esp + 0x68], xmm1
lea eax, [eax + eax*2]
shl eax, 4
push eax
call fcn.101bcde0
pop ecx
mov dword [esp + 0x12c], eax
xor ebx, ebx
test edi, edi
jle 0x1012e931
mov eax, dword [0x10219190]
mov ecx, dword [0x1021f6c8]
movsd xmm6, qword [0x101f2230]
movsd xmm7, qword [0x101f21d8]
movsd xmm4, qword [0x101f2288]
movsd xmm5, qword [0x101f2238]
movsd xmm0, qword [0x101f2240]
movsd xmm1, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x70]
movsd xmm3, qword [0x101f2260]
mov dword [esp + 0xdc], eax
mov eax, dword [0x1021f6b8]
mov dword [esp + 0x64], ecx
subsd xmm1, xmm2
mulsd xmm3, xmm1
mulsd xmm1, qword [0x101f21b8]
addsd xmm3, xmm2
movsd qword [esp + 0x58], xmm3
addsd xmm2, xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [esp + 0x98]
mov dword [esp + 0xc4], eax
mov eax, dword [0x1021f840]
xor ecx, ecx
lea edx, [edi - 1]
mov dword [esp + 0xec], eax
mov eax, dword [0x1021fb68]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x120], esi
mov edx, dword [esp + 0x120]
cmp eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
cmove ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov dword [esp + 0x8c], ebx
mov ecx, eax
shl ecx, 4
mov edx, dword [edx + ecx + 8]
cmp dword [esi + edx*4], 0xffffffff
je 0x1012e916
mov ecx, dword [ebp + 0x14]
movsd xmm3, qword [0x101f2198]
mov esi, dword [ecx + edx*4]
test esi, esi
jle 0x1012e888
mov edi, dword [esp + 0x118]
movsd xmm7, qword [esp + 0xd0]
mov edi, dword [edi + edx*4]
mov dword [esp + 0xe4], edi
xor ecx, ecx
mov dword [esp + 0x80], edx
xor ebx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1012e566
cmp dword [esp + 0xc4], 0
jne 0x1012e566
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0xe4]
jmp 0x1012e5ee
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0xe4]
mov edx, ebx
shl edx, 4
movsd xmm4, qword [ecx + edx]
addsd xmm4, xmm2
comisd xmm4, xmm1
jb 0x1012e5a4
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
movsd xmm0, qword [0x1021fc80]
mulsd xmm0, qword [0x101f21d8]
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
comisd xmm0, xmmword [edx + edi + 0x48]
jbe 0x1012e5ee
comisd xmm4, xmmword [esp + 0x68]
jb 0x1012e5ee
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
cmp dword [0x1021f880], 2
je 0x1012e631
cmp dword [esp + 0xec], 1
je 0x1012e631
mov edx, ebx
shl edx, 4
movsd xmm0, qword [ecx + edx]
addsd xmm0, xmm2
comisd xmm0, xmm7
jbe 0x1012e631
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
cmp dword [0x1021fcc8], 3
je 0x1012fbf9
mov edi, dword [esp + 0x148]
mov edx, dword [esp + 0x80]
mov edi, dword [edi + edx*4]
mov edx, dword [edi + 8]
shl edx, 4
movsd xmm0, qword [edx + ecx + 8]
mov dword [esp + 0x84], edi
mov edi, dword [edi + 0xc]
shl edi, 4
subsd xmm0, qword [edi + ecx + 8]
comisd xmm5, xmm0
jbe 0x1012e690
mov edx, dword [esp + 0x11c]
mov edx, dword [edx + 0x28]
cmp edx, 2
je 0x1012fb41
cmp edx, 1
je 0x1012fafb
movaps xmm4, xmm3
movaps xmm0, xmm3
mov edx, dword [esp + 0x134]
mov edi, dword [esp + 0x80]
mov edx, dword [edx + edi*4]
movsd xmm6, qword [edx + ebx*8]
movaps xmm3, xmm6
mov edi, dword [esp + 0xe0]
comisd xmm4, xmm6
cmova edi, ebx
cmp dword [ebp + 0x20], 1
mov dword [esp + 0xe0], edi
minsd xmm3, xmm0
jle 0x1012e78c
mov edx, dword [esp + 0x7c]
cmp edx, dword [esp + 0x88]
jne 0x1012e78c
test eax, eax
jne 0x1012e78c
movsd xmm0, qword [0x101f2248]
comisd xmm0, xmm6
jbe 0x1012e70e
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
jmp 0x1012e7ad
cmp dword [esp + 0x60], 0
je 0x1012e735
movsd xmm0, qword [0x101f2240]
comisd xmm0, xmm6
jbe 0x1012e735
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
jmp 0x1012e7ad
mov edx, dword [esp + 0x11c]
cmp dword [edx + 0x28], 1
je 0x1012fbbd
cmp dword [esp + 0x8c], 0
jne 0x1012e77e
movsd xmm0, qword [0x101f2240]
comisd xmm0, xmm6
jbe 0x1012e770
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
jmp 0x1012e7ad
inc ebx
cmp ebx, esi
jl 0x1012e574
jmp 0x1012fb8a
inc ebx
cmp ebx, esi
jl 0x1012e574
jmp 0x1012fb8a
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
comisd xmm0, xmm6
jbe 0x1012e860
mov edx, dword [esp + 0x128]
mov edi, dword [esp + 0xe4]
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x64], eax
lea ecx, [edx + edx*2]
shl ecx, 4
mov eax, ebx
shl eax, 4
movsd xmm6, qword [edi + eax]
movsd qword [ecx + esi], xmm6
inc edx
movsd xmm6, qword [edi + eax + 8]
mov edi, dword [esp + 0x134]
mov eax, dword [esp + 0x80]
movsd qword [ecx + esi + 8], xmm6
mov edi, dword [edi + eax*4]
movsd xmm6, qword [edi + ebx*8]
mov edi, dword [esp + 0x11c]
movsd qword [ecx + esi + 0x10], xmm6
movsd xmm6, qword [edi + 8]
movsd qword [ecx + esi + 0x18], xmm6
movsd qword [ecx + esi + 0x20], xmm4
mov dword [ecx + esi + 0x28], eax
mov dword [ecx + esi + 0x2c], ebx
mov dword [esp + 0x128], edx
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + eax*4]
mov eax, dword [esp + 0x64]
mov ecx, 1
inc ebx
cmp ebx, esi
jge 0x1012fbe4
mov edx, dword [esp + 0x118]
mov edi, dword [esp + 0x80]
mov edx, dword [edx + edi*4]
mov dword [esp + 0xe4], edx
jmp 0x1012e545
inc ebx
cmp ebx, esi
jl 0x1012e545
movsd xmm6, qword [0x101f2230]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
test ecx, ecx
jne 0x1012e916
cmp eax, dword [esp + 0x88]
jne 0x1012e89b
cmp dword [esp + 0x128], 0
jne 0x1012e916
comisd xmm6, xmm3
jbe 0x1012e916
mov edi, dword [esp + 0x128]
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x118]
inc dword [esp + 0x128]
lea esi, [edi + edi*2]
mov edi, dword [eax + edx*4]
shl esi, 4
mov eax, dword [esp + 0x12c]
mov ecx, ebx
shl ecx, 4
movsd xmm7, qword [ecx + edi]
movsd qword [esi + eax], xmm7
movsd xmm7, qword [ecx + edi + 8]
mov ecx, dword [esp + 0x11c]
movsd qword [esi + eax + 8], xmm7
movsd qword [esi + eax + 0x10], xmm3
movsd xmm3, qword [ecx + 8]
movsd qword [esi + eax + 0x18], xmm3
movsd qword [esi + eax + 0x20], xmm4
mov dword [esi + eax + 0x28], edx
mov dword [esi + eax + 0x2c], ebx
mov eax, dword [esp + 0x7c]
inc eax
cmp eax, dword [ebp + 0x20]
jl 0x1012e4c4
mov ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x120]
mov edi, dword [ebp + 0x20]
cmp dword [0x1021f838], 0
je 0x1012ed75
cmp dword [0x1021f834], 0
je 0x1012ed75
xor ecx, ecx
cmp dword [0x10219730], 0
mov eax, dword [0x10219190]
cmovne ebx, ecx
mov ecx, dword [esp + 0x11c]
movsd xmm2, qword [ecx + 8]
imul ecx, dword [ecx], 0xa10
mov eax, dword [eax + ecx + 0x888]
mov edx, dword [0x1021972c]
movsd xmm3, qword [0x1020c128]
mov ecx, dword [0x10219b3c]
mov ecx, dword [ecx + eax*4]
movsd xmm1, qword [ecx + edx*8]
subsd xmm1, xmm2
mov dword [esp + 0x58], edx
comisd xmm3, xmm1
jbe 0x1012e9ad
pxor xmm0, xmm0
subsd xmm0, xmm3
comisd xmm1, xmm0
ja 0x1012e9dd
mov ecx, dword [0x10219b40]
mov eax, dword [ecx + eax*4]
mov ecx, edx
movsd xmm1, qword [eax + ecx*8]
subsd xmm1, xmm2
comisd xmm3, xmm1
jbe 0x1012ed75
pxor xmm0, xmm0
subsd xmm0, xmm3
comisd xmm1, xmm0
jbe 0x1012ed75
mov ecx, dword [esp + 0x108]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x68]
shl eax, 2
push eax
call fcn.101bcde0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x68]
shl ecx, 4
push ecx
call fcn.101bcde0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x68]
shl ecx, 2
push ecx
call fcn.101bcde0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x68]
shl ecx, 3
push ecx
call fcn.101bcde0
add esp, 0x10
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x108]
mov edx, dword [eax + 0x68]
mov dword [esp + 0x5c], 0
test edx, edx
jle 0x1012eb0f
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x128], ebx
mov ebx, eax
mov eax, 1
mov dword [esp + 0x120], esi
mov esi, dword [ebx + 0x10]
cmp dword [esi + eax*4], 0
je 0x1012eaf5
mov esi, dword [esp + 0x88]
mov dword [esp + 0x5c], ecx
lea edx, [eax - 1]
mov dword [esi + ecx*4], edx
mov esi, dword [esp + 0x84]
mov edi, dword [ebx + 0x44]
shl ecx, 4
mov edx, eax
shl edx, 4
movsd xmm0, qword [edi + edx]
movsd qword [esi + ecx], xmm0
movsd xmm1, qword [edi + edx + 8]
mov edx, dword [esp + 0x80]
movsd qword [esi + ecx + 8], xmm1
mov ecx, dword [ebx + 0x4c]
mov edi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov dword [edx + ecx*4], edi
mov esi, dword [ebx + 0x48]
mov edi, dword [esp + 0x7c]
movsd xmm2, qword [esi + eax*8]
movsd qword [edi + ecx*8], xmm2
mov edx, dword [ebx + 0x68]
inc ecx
inc eax
cmp eax, edx
jle 0x1012ea8a
mov ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x120]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x5c], ecx
cmp dword [0x1021fc78], 1
je 0x1012f884
mov edx, 1
mov ecx, dword [esp + 0x118]
mov eax, dword [ebp + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x11c]
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], edx
dec ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov eax, dword [0x10219734]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
call fcn.10083940
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
test ecx, ecx
jle 0x1012ed42
test eax, eax
jne 0x1012ed42
mov eax, ecx
lea ecx, [ebx + eax]
lea eax, [ecx + ecx*2]
shl eax, 4
push eax
push dword [esp + 0x130]
call fcn.101bcb76
add esp, 8
mov dword [esp + 0x12c], eax
mov ecx, dword [0x1021f6c8]
mov eax, dword [0x10219734]
mov edx, dword [0x1021f6b8]
movsd xmm4, qword [0x10219718]
movsd xmm0, qword [0x101f21c0]
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x98]
movsd xmm3, qword [esp + 0xd0]
mov edi, dword [esp + 0x12c]
mov dword [esp + 0x54], eax
mov eax, dword [0x1021f840]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], ecx
pxor xmm5, xmm5
mov dword [esp + 0x120], esi
mov esi, dword [esp + 0x74]
xor eax, eax
cmp dword [esp + 0x5c], 0
je 0x1012ec7b
cmp dword [esp + 0x50], 0
je 0x1012ec99
mov ecx, dword [esp + 0x6c]
mov edx, eax
shl edx, 4
movsd xmm6, qword [ecx + edx]
addsd xmm6, xmm2
comisd xmm6, xmm1
jae 0x1012ed2f
jmp 0x1012eca2
mov ecx, dword [esp + 0x6c]
mov edx, eax
shl edx, 4
cmp dword [0x1021f880], 2
je 0x1012ecc1
cmp dword [esp + 0x58], 1
je 0x1012ecc1
movsd xmm6, qword [ecx + edx]
addsd xmm6, xmm2
comisd xmm6, xmm3
ja 0x1012ed2f
movsd xmm6, qword [ecx + edx]
lea esi, [ebx + ebx*2]
shl esi, 4
movsd qword [edi + esi], xmm6
movsd xmm7, qword [ecx + edx + 8]
movsd qword [edi + esi + 8], xmm7
mov edx, dword [esp + 0x60]
movsd qword [edi + esi + 0x10], xmm5
test edx, edx
je 0x1012ecf2
movsd xmm6, qword [edx + eax*8]
jmp 0x1012ecfe
mov edx, dword [esp + 0x11c]
movsd xmm6, qword [edx + 8]
cmp dword [esp + 0x54], 0
mov edx, dword [esp + 0x68]
mov ecx, dword [edx + eax*4]
movsd qword [edi + esi + 0x18], xmm6
movaps xmm6, xmm4
mov dword [edi + esi + 0x28], ecx
jne 0x1012ed1c
movaps xmm6, xmm0
movsd qword [edi + esi + 0x20], xmm6
mov dword [edi + esi + 0x2c], 0xffffffff
inc ebx
mov esi, dword [esp + 0x70]
inc eax
cmp eax, esi
jl 0x1012ec6d
mov esi, dword [esp + 0x120]
mov edi, dword [ebp + 0x20]
push dword [esp + 0x88]
call fcn.101bceaa
push dword [esp + 0x88]
call fcn.101bceaa
push dword [esp + 0x88]
call fcn.101bceaa
push dword [esp + 0x88]
call fcn.101bceaa
add esp, 0x10
cmp dword [0x10219724], 0
je 0x1012ef9c
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x11c]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx + 8]
mov ecx, dword [0x10219190]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov edx, 2
mov eax, dword [esp + 0xd8]
cmp dword [eax + ecx + 0x9fc], 0
mov eax, 0x1000
cmove eax, edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.100dfc50
cmp dword [0x10219724], 1
mov eax, dword [0x10219190]
mov ecx, dword [esp + 0xd8]
movsd xmm0, qword [eax + ecx + 0x78]
subsd xmm0, qword [esp + 0x80]
movsd qword [esp + 0x50], xmm0
je 0x1012f8c0
movsd xmm0, qword [0x1021fba8]
subsd xmm0, qword [esp + 0x98]
addsd xmm0, qword [eax + ecx + 0x80]
movsd qword [esp + 0x58], xmm0
test edi, edi
jle 0x1012eefb
mov dword [esp + 0x128], ebx
mov dword [esp + 0x120], esi
xor eax, eax
mov esi, dword [ebp + 0x14]
mov ebx, eax
mov edx, dword [esp + 0x50]
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov edx, dword [esp + 0x118]
mov edx, dword [edx + ebx*4]
mov dword [esp + 0x10], edx
mov edx, dword [esi + ebx*4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0xd0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call fcn.100abc10
movsd xmm1, qword [esp + 0xd0]
movsd xmm0, qword [esp + 0xc8]
minsd xmm1, xmm0
movsd qword [esp + 0xc8], xmm1
inc ebx
cmp ebx, edi
jl 0x1012ee75
mov ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x120]
test ebx, ebx
jle 0x1012efb8
movsd xmm3, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [0x101f21c8]
mulsd xmm1, qword [0x1021f8d8]
movaps xmm4, xmm1
subsd xmm4, qword [esp + 0xc8]
divsd xmm1, xmm4
xor eax, eax
movsd xmm0, qword [0x101f2268]
divsd xmm0, xmm4
mov ecx, dword [esp + 0x12c]
pxor xmm4, xmm4
movaps xmm6, xmm3
movaps xmm5, xmm2
lea edx, [eax + eax*2]
shl edx, 4
subsd xmm6, qword [ecx + edx]
mulsd xmm6, xmm6
subsd xmm5, qword [edx + ecx + 8]
mulsd xmm5, xmm5
addsd xmm6, xmm5
sqrtsd xmm5, xmm6
ucomisd xmm5, xmm4
jp 0x1012ef77
je 0x1012ef97
mulsd xmm5, xmm0
movsd xmm6, qword [0x101f2280]
addsd xmm5, xmm1
maxsd xmm6, xmm5
mulsd xmm6, qword [edx + ecx + 0x20]
movsd qword [edx + ecx + 0x20], xmm6
inc eax
cmp eax, ebx
jl 0x1012ef48
cmp ebx, 1
jle 0x1012efb8
push 0x100adf40
push 0x30
push ebx
push dword [esp + 0x138]
call fcn.101bec80
add esp, 0x10
mov ecx, dword [0x10219728]
xor eax, eax
mov dword [esp + 0xf8], eax
cmp ecx, ebx
mov eax, ebx
cmovl eax, ecx
test eax, eax
jle 0x1012f4fd
movsd xmm2, qword [0x101f2268]
mov edx, dword [ebp + 0x38]
xor eax, eax
lea edx, [edx - 1]
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], edx
mov dword [esp + 0x128], ebx
mov ebx, eax
mov dword [esp + 0x120], esi
mov esi, dword [esp + 0xf8]
mov eax, ecx
mov edx, dword [esp + 0x12c]
lea edi, [ebx + ebx*2]
shl edi, 4
movsd xmm0, qword [edi + edx]
movsd xmm3, qword [edi + edx + 0x18]
mov ecx, dword [edi + edx + 0x28]
movsd qword [esp + 0xd8], xmm0
movsd xmm1, qword [edi + edx + 8]
mov edx, dword [esp + 0x124]
mov edx, dword [edx + ecx*4]
movsd qword [esp + 0xe0], xmm1
test edx, edx
mov dword [esp + 0x130], ecx
jl 0x1012f4d7
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x11c]
movsd qword [esp + 0xc8], xmm3
movsd qword [esp + 0xc], xmm3
mov dword [esp], ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x108]
mov ecx, dword [ecx + 0x98]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14c]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x1021fd48]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x24], ecx
call fcn.1013b230
movsd xmm3, qword [esp + 0xc8]
mov edx, dword [esp + 0x12c]
movsd xmm0, qword [edi + edx + 0x20]
comisd xmm0, xmmword [0x101f21c0]
jb 0x1012f110
movsd xmm1, qword [esp + 0xf0]
maxsd xmm1, qword [0x101f21d8]
mulsd xmm1, xmm0
jmp 0x1012f11d
movsd xmm1, qword [esp + 0xf0]
mulsd xmm1, xmm0
cmp dword [0x10220290], 0
movsd qword [esp + 0xf0], xmm1
je 0x1012f2ec
mov edi, dword [0x1021f690]
test edi, edi
jle 0x1012f2ec
mov ecx, dword [esp + 0x150]
mov edx, dword [0x1021f69c]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x124]
mov edx, dword [edx + eax*4]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14c]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x74], 0
shl eax, 4
movsd xmm0, qword [eax + edx]
mov edx, dword [esp + 0x74]
movsd xmm1, qword [ecx + edx*8]
comisd xmm1, xmm0
ja 0x1012f9b7
inc edx
cmp edx, edi
jl 0x1012f18a
push 4
push edi
movsd qword [esp + 0xd0], xmm3
call fcn.101beb7a
movsd xmm3, qword [esp + 0xd0]
add esp, 8
test esi, esi
jle 0x1012f1d9
mov ecx, dword [esp + 0x110]
xor edx, edx
mov edi, edx
shl edi, 6
mov edi, dword [edi + ecx + 0x18]
inc edx
inc dword [eax + edi*4]
cmp edx, esi
jl 0x1012f1c8
mov edx, dword [0x1021f690]
xor edi, edi
mov ecx, 0xffffffff
dec edx
js 0x1012f271
mov dword [esp + 0xf8], esi
mov esi, dword [eax + edx*4]
cmp esi, edi
cmovg edi, esi
cmovg ecx, edx
dec edx
jns 0x1012f1f4
mov esi, dword [esp + 0xf8]
cmp edi, 2
jl 0x1012f271
cmp esi, dword [ebp + 0x38]
jne 0x1012f2cf
mov edx, dword [esp + 0x100]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x50], edx
dec edi
cmp edx, edi
jge 0x1012f284
mov edx, esi
dec edx
mov dword [esp + 0x58], edx
js 0x1012f284
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc4], ebx
shl edx, 6
add edx, dword [esp + 0x110]
mov ebx, edx
mov edx, edi
shl edx, 6
neg edx
cmp ecx, dword [ebx + edx + 0x18]
je 0x1012f8d7
inc edi
cmp edi, esi
jb 0x1012f252
mov ebx, dword [esp + 0xc4]
jmp 0x1012f284
cmp esi, dword [ebp + 0x38]
jne 0x1012f2cf
mov edx, dword [esp + 0x100]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x110]
mov edi, dword [esp + 0x50]
mov edx, esi
shl edx, 6
mov edx, dword [edx + ecx - 0x28]
cmp edi, dword [eax + edx*4]
jl 0x1012f2cf
mov edx, esi
dec edx
mov dword [esp + 0x58], edx
js 0x1012f2cf
mov edi, ecx
mov dword [esp + 0xf8], esi
mov esi, dword [esp + 0x100]
mov ecx, edx
shl ecx, 6
cmp esi, dword [ecx + edi + 0x18]
je 0x1012f990
dec edx
jns 0x1012f2b6
mov esi, dword [esp + 0xf8]
push eax
movsd qword [esp + 0xcc], xmm3
call fcn.101bceaa
movsd xmm3, qword [esp + 0xcc]
add esp, 4
jmp 0x1012f2f7
mov dword [esp + 0x100], 0xffffffff
test esi, esi
jle 0x1012fa7d
mov eax, dword [0x10219180]
movsd xmm0, qword [0x102196f8]
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xf0]
xor edx, edx
mov ecx, dword [0x1021f690]
mov edi, dword [0x1021f944]
cmp esi, dword [ebp + 0x38]
je 0x1012f359
mov dword [esp + 0xe8], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x110]
jmp 0x1012f7c4
mov dword [esp + 0xe8], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x110]
mov ecx, edx
shl ecx, 6
cmp edi, dword [ecx + ebx + 0x18]
je 0x1012f7c4
inc edx
cmp edx, esi
jl 0x1012f37c
mov ebx, dword [esp + 0xc4]
cmp esi, dword [ebp + 0x38]
jge 0x1012f4d2
mov edx, esi
test edx, edx
jl 0x1012f4d2
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0xfc]
movsd qword [edi + 8], xmm3
cmp ecx, esi
mov edi, esi
cmovl edi, ecx
cmp edi, edx
jle 0x1012f44a
mov eax, dword [esp + 0x110]
mov dword [esp + 0xf8], esi
mov ecx, edi
shl ecx, 6
movsd xmm0, qword [ecx + eax - 0x40]
movsd xmm1, qword [ecx + eax - 0x38]
movsd xmm2, qword [ecx + eax - 0x30]
mov esi, dword [ecx + eax - 0x28]
movsd xmm4, qword [ecx + eax - 0x20]
movsd xmm5, qword [ecx + eax - 0x18]
movsd xmm6, qword [ecx + eax - 0x10]
movsd qword [ecx + eax], xmm0
movsd qword [ecx + eax + 8], xmm1
movsd qword [ecx + eax + 0x10], xmm2
movsd qword [ecx + eax + 0x20], xmm4
movsd qword [ecx + eax + 0x28], xmm5
movsd qword [ecx + eax + 0x30], xmm6
dec edi
cmp edi, edx
mov dword [ecx + eax + 0x18], esi
mov esi, dword [ecx + eax - 0x24]
mov dword [ecx + eax + 0x1c], esi
mov esi, dword [ecx + eax - 8]
mov dword [ecx + eax + 0x38], esi
jg 0x1012f3da
mov esi, dword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf0]
mov eax, dword [esp + 0x110]
movsd xmm1, qword [0x101f2268]
mov ecx, dword [esp + 0x100]
shl edx, 6
mov edi, dword [esp + 0x124]
movsd xmm2, qword [esp + 0xd8]
cmp esi, dword [ebp + 0x38]
movsd qword [edx + eax], xmm0
movsd qword [edx + eax + 8], xmm1
movsd qword [edx + eax + 0x30], xmm3
mov dword [edx + eax + 0x18], ecx
mov ecx, dword [esp + 0x130]
mov edi, dword [edi + ecx*4]
mov ecx, dword [esp + 0x11c]
movsd qword [edx + eax + 0x20], xmm2
movsd xmm4, qword [esp + 0xe0]
movsd qword [edx + eax + 0x28], xmm4
mov dword [edx + eax + 0x1c], edi
mov edi, dword [ecx + 0x10]
mov dword [edx + eax + 0x38], edi
mov eax, dword [0x10219728]
lea edx, [esi + 1]
cmovl esi, edx
jmp 0x1012f4d7
mov eax, dword [0x10219728]
mov edx, dword [esp + 0x128]
inc ebx
cmp eax, edx
cmovl edx, eax
cmp ebx, edx
jl 0x1012f00d
mov edi, dword [ebp + 0x20]
mov dword [esp + 0xf8], esi
mov esi, dword [esp + 0x120]
push dword [esp + 0x124]
call fcn.101bceaa
push esi
call fcn.101bceaa
push dword [esp + 0x134]
call fcn.101bceaa
add esp, 0xc
cmp dword [esp + 0xf8], 0
jne 0x1012f65f
movsd xmm0, qword [0x102196f8]
pxor xmm1, xmm1
ucomisd xmm0, xmm1
jp 0x1012f544
je 0x1012f65f
cmp dword [0x1021f838], 0
je 0x1012f55a
cmp dword [0x1021f834], 0
jne 0x1012f65f
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 0x34]
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
lea eax, [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x108]
call fcn.1012ff9c
test eax, eax
je 0x1012f5d5
mov eax, dword [ebp + 0x48]
mov dword [eax], 0
jmp 0x1012f745
movsd xmm0, qword [0x101f2230]
comisd xmm0, xmmword [esp + 0x50]
ja 0x1012f5ef
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
jmp 0x1012f741
push 0x10
call fcn.101bcde0
pop ecx
cmp dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x40]
movsd xmm0, qword [esp + 0x50]
mov dword [ecx], eax
movsd qword [eax], xmm0
movsd xmm1, qword [esp + 0x58]
movsd qword [eax + 8], xmm1
je 0x1012f64f
push 0x18
call fcn.101bcde0
mov ecx, dword [ebp + 0x44]
push eax
mov dword [ecx], eax
call fcn.1011e3c0
add esp, 8
mov ebx, dword [ebp + 0x44]
movsd xmm0, qword [0x101f2268]
mov eax, dword [ebx]
mov dword [eax], 3
mov ecx, dword [ebx]
movsd qword [ecx + 8], xmm0
mov esi, dword [ebx]
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebp + 0x48]
mov dword [eax], 1
xor ebx, ebx
jmp 0x1012f76d
mov eax, dword [ebp + 0x38]
mov ebx, dword [esp + 0xf8]
mov ecx, dword [ebp + 0x48]
cmp ebx, eax
cmovge ebx, eax
mov dword [ecx], ebx
shl ebx, 4
push ebx
call fcn.101bcde0
pop ecx
cmp dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
je 0x1012f6fc
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
lea ebx, [ecx + ecx*2]
shl ebx, 3
push ebx
call fcn.101bcde0
pop ecx
mov ecx, dword [ebp + 0x44]
mov dword [ecx], eax
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
test edx, edx
jle 0x1012f701
mov edi, dword [esp + 0x110]
mov eax, dword [ebp + 0x44]
xor ebx, ebx
mov edx, dword [eax]
lea esi, [ebx + ebx*2]
lea ecx, [edx + esi*8]
push ecx
call fcn.1011e3c0
mov eax, dword [ebp + 0x44]
add esp, 4
mov edx, dword [eax]
mov dword [edx + esi*8], 5
mov edx, dword [eax]
mov ecx, ebx
shl ecx, 6
movsd xmm0, qword [edi + ecx]
mov ecx, dword [ecx + edi + 0x1c]
movsd qword [edx + esi*8 + 8], xmm0
mov edx, dword [eax]
mov dword [edx + esi*8 + 4], ecx
mov esi, dword [ebp + 0x48]
mov edx, dword [esi]
inc ebx
cmp ebx, edx
jl 0x1012f6b4
mov edi, dword [ebp + 0x20]
jmp 0x1012f701
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
test edx, edx
jle 0x1012f741
mov ecx, dword [ebp + 0x48]
xor ebx, ebx
mov edx, dword [ebp + 0x40]
mov esi, dword [esp + 0x110]
mov edx, dword [edx]
mov eax, ebx
shl eax, 4
mov edi, ebx
shl edi, 6
movsd xmm0, qword [esi + edi + 0x20]
movsd qword [edx + eax], xmm0
inc ebx
movsd xmm1, qword [esi + edi + 0x28]
movsd qword [edx + eax + 8], xmm1
mov edx, dword [ecx]
cmp ebx, edx
jl 0x1012f70a
mov edi, dword [ebp + 0x20]
test edx, edx
jne 0x1012f76b
cmp dword [ebp + 0x44], 0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
je 0x1012f764
mov eax, dword [ebp + 0x44]
mov dword [eax], 0
mov ebx, 1
jmp 0x1012f76d
mov ebx, 1
jmp 0x1012f76d
xor ebx, ebx
cmp dword [ebp + 0x18], 0
je 0x1012f9c7
test edi, edi
jle 0x1012f79a
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x148]
xor esi, esi
push dword [ebx + esi*4]
call fcn.101bceaa
pop ecx
inc esi
cmp esi, edi
jl 0x1012f788
mov ebx, dword [esp + 0x74]
push dword [esp + 0x148]
call fcn.101bceaa
push dword [esp + 0x114]
call fcn.101bceaa
add esp, 8
mov eax, ebx
add esp, 0x174
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
comisd xmm0, xmm1
ja 0x1012fa68
cmp eax, 5
jge 0x1012f7e7
cmp dword [esp + 0xec], 2
jl 0x1012f800
movsd xmm4, qword [0x101f21b8]
jmp 0x1012f808
cmp eax, 0xa
jge 0x1012f800
cmp dword [esp + 0xec], 2
jl 0x1012f800
movsd xmm4, qword [0x101f2270]
jmp 0x1012f808
movsd xmm4, qword [0x101f21e8]
mov ecx, edx
shl ecx, 6
movsd xmm5, qword [ebx + ecx]
comisd xmm1, xmm5
ja 0x1012fa18
subsd xmm5, xmm4
comisd xmm1, xmm5
jbe 0x1012f85f
cmp dword [esp + 0xec], 2
jge 0x1012f83d
cmp dword [esp + 0xe8], 0x1f4
jle 0x1012f85f
mov edi, dword [esp + 0x11c]
mov edi, dword [edi + 0x28]
mov dword [esp + 0x7c], edi
cmp edi, 2
je 0x1012fa36
cmp dword [esp + 0x7c], 1
je 0x1012f9fc
inc edx
cmp edx, esi
jge 0x1012fa53
cmp esi, dword [ebp + 0x38]
jne 0x1012f7ce
lea esi, [esi]
mov edi, dword [esp + 0x100]
jmp 0x1012f37c
cmp dword [0x10219180], 0xa
jg 0x1012f894
xor edx, edx
jmp 0x1012eb21
call fcn.100ed480
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
cmpnltsd xmm0, qword [0x101f2280]
mov eax, dword [0x1021972c]
mov dword [esp + 0x58], eax
movd edx, xmm0
neg edx
jmp 0x1012eb21
movsd xmm0, qword [eax + ecx + 0x80]
subsd xmm0, qword [esp + 0x90]
jmp 0x1012ee52
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x54], edi
mov edx, edi
neg edx
lea edx, [edx + esi - 1]
cmp edx, 0xffffffff
je 0x1012f284
test edx, edx
jl 0x1012f2cf
cmp edx, dword [esp + 0x58]
jge 0x1012f987
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xc4], ebx
mov ebx, edx
shl ebx, 6
movsd xmm0, qword [ebx + ecx + 0x40]
movsd xmm1, qword [ebx + ecx + 0x48]
movsd xmm2, qword [ebx + ecx + 0x50]
mov edi, dword [ebx + ecx + 0x58]
movsd xmm4, qword [ebx + ecx + 0x60]
movsd xmm5, qword [ebx + ecx + 0x68]
movsd xmm6, qword [ebx + ecx + 0x70]
movsd qword [ebx + ecx], xmm0
movsd qword [ebx + ecx + 8], xmm1
movsd qword [ebx + ecx + 0x10], xmm2
movsd qword [ebx + ecx + 0x20], xmm4
movsd qword [ebx + ecx + 0x28], xmm5
movsd qword [ebx + ecx + 0x30], xmm6
inc edx
cmp edx, esi
mov dword [ebx + ecx + 0x18], edi
mov edi, dword [ebx + ecx + 0x5c]
mov dword [ebx + ecx + 0x1c], edi
mov edi, dword [ebx + ecx + 0x78]
mov dword [ebx + ecx + 0x38], edi
jl 0x1012f917
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0x58]
jmp 0x1012f2cf
mov esi, dword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf0]
mov edi, dword [esp + 0x110]
comisd xmm0, xmmword [ecx + edi]
ja 0x1012f8f3
jmp 0x1012f2cf
mov dword [esp + 0x74], edx
mov dword [esp + 0x100], edx
jmp 0x1012f19e
test edi, edi
jle 0x1012f9ea
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x134]
xor esi, esi
push dword [ebx + esi*4]
call fcn.101bceaa
pop ecx
inc esi
cmp esi, edi
jl 0x1012f9d8
mov ebx, dword [esp + 0x74]
push dword [esp + 0x134]
call fcn.101bceaa
pop ecx
jmp 0x1012f777
movsd xmm4, qword [0x101f2278]
movsd xmm5, qword [ecx + ebx + 0x20]
addsd xmm5, xmm4
comisd xmm2, xmm5
jbe 0x1012f85f
mov ebx, dword [esp + 0xc4]
cmp edx, 0xffffffff
jne 0x1012f3a2
cmp esi, dword [ebp + 0x38]
jl 0x1012f3a0
jmp 0x1012f3a2
movsd xmm4, qword [0x101f2278]
movsd xmm5, qword [ecx + ebx + 0x20]
subsd xmm5, xmm4
comisd xmm5, xmm2
ja 0x1012fa18
jmp 0x1012f85f
mov ebx, dword [esp + 0xc4]
cmp esi, dword [ebp + 0x38]
jl 0x1012f3a0
jmp 0x1012f4d2
mov ebx, dword [esp + 0xc4]
cmp esi, dword [ebp + 0x38]
jl 0x1012f3a0
jmp 0x1012f4d2
cmp esi, dword [ebp + 0x38]
jl 0x1012f3a0
jmp 0x1012f4d2
mov ebx, 1
jmp 0x1012dcea
cmp dword [0x1021f838], 0
je 0x1012dbd3
cmp dword [0x1021f834], 0
je 0x1012dbd3
call fcn.100ed480
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
comisd xmm0, xmmword [0x101f2190]
jbe 0x1012fad7
mov dword [0x10219724], 1
jmp 0x1012dbd3
comisd xmm0, xmmword [0x101f21a8]
jbe 0x1012dbd3
mov dword [0x10219724], 2
jmp 0x1012dbd3
mov edi, edx
jmp 0x1012e09f
mov edi, dword [esp + 0x84]
mov edi, dword [edi + 4]
mov edx, ebx
shl edx, 4
shl edi, 4
movsd xmm0, qword [edi + ecx]
subsd xmm0, qword [0x101f2258]
comisd xmm0, xmmword [ecx + edx]
jbe 0x1012e690
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
mov edi, dword [esp + 0x84]
mov edx, ebx
shl edx, 4
movsd xmm0, qword [ecx + edx]
mov edx, dword [edi]
shl edx, 4
movsd xmm4, qword [edx + ecx]
addsd xmm4, qword [0x101f2258]
comisd xmm0, xmm4
jbe 0x1012e690
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
movsd xmm6, qword [0x101f2230]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
jmp 0x1012e880
movsd xmm0, qword [0x101f2250]
comisd xmm0, xmm6
jbe 0x1012e746
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
jmp 0x1012e7ad
movsd xmm6, qword [0x101f2230]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
jmp 0x1012e916
mov edx, dword [esp + 0x11c]
mov edx, dword [edx + 0x28]
cmp edx, 1
je 0x1012fc43
cmp edx, 2
jne 0x1012e63e
mov edx, ebx
shl edx, 4
movsd xmm0, qword [ecx + edx]
comisd xmm0, xmmword [esp + 0x58]
jbe 0x1012e63e
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
movsd xmm0, qword [esp + 0x70]
mov edx, ebx
shl edx, 4
comisd xmm0, xmmword [ecx + edx]
jbe 0x1012e63e
movsd xmm0, qword [0x101f2240]
movsd xmm4, qword [0x101f2288]
mov ecx, dword [esp + 0xe8]
jmp 0x1012e860
mov ecx, dword [0x10219190]
mov edx, dword [esp + 0xd8]
mov edx, dword [edx + ecx + 0xd0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
shl edx, 4
push edx
call fcn.101bcde0
mov dword [esp + 0x64], eax
mov edx, dword [0x10219190]
mov ecx, dword [esp + 0xdc]
mov edx, dword [edx + ecx + 0xd0]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x10]
shl edx, 4
push edx
push dword [ecx]
push dword [esp + 0x6c]
call fcn.101d7590
add esp, 0x10
mov edx, dword [0x10219190]
mov eax, dword [esp + 0xd8]
mov ecx, dword [edx + eax + 0xd0]
mov dword [esp + 0x68], edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x60]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x5c], edi
mov dword [esp], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
movsd xmm0, qword [eax + edx + 0x78]
movsd qword [ecx], xmm0
movsd xmm1, qword [eax + edx + 0x80]
movsd qword [ecx + 8], xmm1
mov eax, dword [esp + 0x148]
mov edx, dword [eax + ebx*4]
mov eax, dword [esp + 0x118]
mov ecx, dword [edx]
mov edx, dword [eax + ebx*4]
pxor xmm2, xmm2
movsd qword [esp + 0x20], xmm2
mov dword [esp + 0x1c], esi
shl ecx, 4
movsd xmm3, qword [edx + ecx]
lea edi, [esp + 0x28]
movsd qword [edi], xmm3
movsd xmm4, qword [edx + ecx + 8]
movsd qword [edi + 8], xmm4
mov edx, dword [esp + 0x11c]
mov edi, dword [esp + 0x68]
mov eax, dword [edx + 0x10]
movsd xmm5, qword [edx + 8]
movsd qword [esp + 0x3c], xmm5
mov dword [esp + 0x38], eax
call fcn.100ae6e0
mov eax, dword [esp + 0x114]
dec eax
js 0x1012febc
movsd xmm0, qword [0x101f21e8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
test ecx, ecx
jle 0x1012fecb
mov dword [esp + 0x58], eax
mov ebx, esi
mov edi, eax
shl edi, 4
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x14c]
mov esi, dword [esp + 0x150]
mov edx, dword [esp + 0x154]
mov edi, dword [esp + 0x60]
mov ecx, ebx
shl ecx, 4
movsd xmm2, qword [edi + ecx]
mov edi, dword [esp + 0x64]
mov edx, dword [edx + edi + 8]
mov esi, dword [esi + edx*4]
mov eax, dword [eax + edx*4]
mov edi, dword [esi]
shl edi, 4
movsd xmm1, qword [edi + eax]
subsd xmm1, xmm0
comisd xmm1, xmm2
ja 0x1012fe85
mov edi, dword [esi + 4]
shl edi, 4
movsd xmm1, qword [edi + eax]
addsd xmm1, xmm0
comisd xmm2, xmm1
ja 0x1012fe85
mov edi, dword [esp + 0x60]
movsd xmm3, qword [ecx + edi + 8]
mov ecx, dword [esi + 0xc]
shl ecx, 4
movsd xmm1, qword [ecx + eax + 8]
subsd xmm1, xmm0
comisd xmm1, xmm3
ja 0x1012fe85
mov ecx, dword [esi + 8]
shl ecx, 4
movsd xmm1, qword [ecx + eax + 8]
addsd xmm1, xmm0
comisd xmm3, xmm1
ja 0x1012fe85
movsd qword [esp], xmm2
movsd qword [esp + 8], xmm3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x104]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
call fcn.100af680
movsd xmm0, qword [0x101f21e8]
test eax, eax
jne 0x1012fed4
inc ebx
cmp ebx, dword [esp + 0x5c]
jl 0x1012fdb3
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x124]
mov ebx, dword [esp + 0x6c]
mov ebx, dword [edx + ebx*4]
xor esi, esi
cmp ebx, 0xffffffff
jne 0x1012feb4
dec eax
jns 0x1012fd9c
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
push dword [esp + 0x60]
call fcn.101bceaa
pop ecx
jmp 0x1012e2c2
mov ebx, dword [esp + 0x6c]
mov ebx, dword [edx + ebx*4]
jmp 0x1012fea8
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x124]
xor esi, esi
mov ebx, dword [esp + 0x154]
mov ebx, dword [edi + ebx + 8]
mov edi, dword [esp + 0x6c]
mov dword [edx + edi*4], ebx
jmp 0x1012fea8
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x124]
mov eax, ebx
mov edx, dword [eax + edx + 8]
xor esi, esi
mov ebx, dword [esp + 0x6c]
mov dword [ecx + ebx*4], edx
jmp 0x1012e2b9
movsd xmm0, qword [0x101f2198]
movsd qword [esp + 0xd0], xmm0
jmp 0x1012df8a
push esi
call fcn.101bcde0
pop ecx
mov dword [esp + 0x134], eax
test edi, edi
jle 0x1012ddf4
mov dword [esp + 0x58], esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x78]
push edx
lea ecx, [eax + ebx*4]
push ecx
push dword [esi + ebx*4]
mov eax, dword [esp + 0x124]
push dword [eax + ebx*4]
call fcn.100b4410
add esp, 0x10
inc ebx
cmp ebx, edi
jl 0x1012ff58
mov esi, dword [esp + 0x58]
jmp 0x1012ddf4