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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x140
movsd xmm1, qword [ebp + 0x24]
movsd xmm0, qword [0x101f3910]
mov dword [esp + 0x12c], ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + edx*4]
inc dword [0x10219a34]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0xe0], 0xfffffffe
mov dword [esp + 0xb8], ecx
imul ecx, ecx, 0xa10
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x100], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0xbc], edx
mov eax, ecx
and eax, 2
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc0], esi
and ecx, 1
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc4], edi
mov edi, eax
mov esi, ecx
mov dword [esp + 0xc8], ebx
inc edi
jns 0x1016275f
mov eax, dword [0x10219190]
mov edx, dword [esp + 0x100]
cmp edi, dword [eax + edx + 0x870]
jge 0x1016275f
cmp edi, 0xffffffff
je 0x101616f5
mov ebx, dword [eax + edx + 0x850]
mov ebx, dword [ebx + edi*4]
mov edx, dword [esi + 8]
mov edx, dword [edx + ebx*4]
mov dword [esp + 0xe4], ebx
mov ebx, dword [edx]
jmp 0x1016170a
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xe4], edx
imul edx, dword [esp + 0xe4], 0xa10
mov dword [esp + 0x124], edx
mov edx, dword [edx + eax + 0xd0]
mov edx, dword [edx]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
mov dword [esp + 0xec], ecx
je 0x10161776
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + ebx*4]
cmp ecx, dword [edx + 0x10]
je 0x10161776
push dword [esp + 0xec]
mov dword [esp + 0xb8], edx
call fcn.101bceaa
mov edx, dword [esp + 0xb8]
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [eax + ebx*4], 0
mov eax, dword [esi + 0x38]
mov dword [esp + 0xd4], 1
cmp dword [eax + ebx*4], 0
je 0x10162727
cmp dword [ebp + 0x2c], 2
je 0x10161790
cmp dword [esp + 0xd0], 0
je 0x101617b2
mov ecx, dword [edx + 0x10]
shl ecx, 4
push ecx
push dword [edx]
push dword [eax + ebx*4]
mov dword [esp + 0xc0], edx
call fcn.101d7590
mov edx, dword [esp + 0xc0]
add esp, 0xc
mov eax, dword [esi + 0x70]
cmp dword [eax + ebx*4], 0
je 0x10162681
cmp dword [ebp + 0x2c], 2
je 0x101617d3
cmp dword [esp + 0xcc], 0
je 0x101618f0
mov eax, dword [esi + 0x78]
lea ecx, [ebx*8]
mov dword [esp + 0x120], ecx
pxor xmm0, xmm0
movsd qword [eax + ecx], xmm0
mov eax, dword [0x10219190]
mov ecx, dword [esp + 0x124]
cmp dword [eax + ecx + 0x474], 0
jle 0x101618c6
mov dword [esp + 0xb4], edx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0xe0], edi
xor ecx, ecx
mov ebx, ecx
mov edi, dword [esp + 0x124]
mov eax, dword [eax + edi + 0x114]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x13c]
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x101622dd
mov eax, dword [edi + 0x10]
shl eax, 4
push eax
push dword [edi]
push edx
call fcn.101d7590
add esp, 0xc
mov eax, dword [esp + 0x13c]
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + eax*4]
mov edx, dword [edi + 0x10]
mov dword [ecx + ebx*4], edx
mov edx, dword [esi + 0x74]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x124]
movsd xmm0, qword [edi + 0x18]
movsd qword [eax + ebx*8], xmm0
mov eax, dword [esi + 0x78]
movsd xmm1, qword [edi + 0x18]
mov edi, dword [esp + 0x120]
addsd xmm1, qword [eax + edi]
movsd qword [eax + edi], xmm1
mov eax, dword [0x10219190]
inc ebx
cmp ebx, dword [eax + edx + 0x474]
jl 0x10161820
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x13c]
mov edi, dword [esp + 0xe0]
cmp dword [ebp + 0x2c], 2
mov ecx, dword [esp + 0x124]
mov eax, dword [eax + ecx + 0x474]
mov dword [esp + 0xb4], edx
mov edx, dword [esi + 0x7c]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0xb4]
je 0x10161908
jmp 0x101618fe
lea eax, [ebx*8]
mov dword [esp + 0x120], eax
cmp dword [esp + 0xd4], 0
je 0x10161977
mov ecx, dword [0x10219190]
mov eax, dword [esp + 0x124]
movsd xmm0, qword [eax + ecx + 0x78]
movsd xmm1, qword [eax + ecx + 0x80]
mov ecx, dword [esi + 0x3c]
mov eax, dword [edx + 0x10]
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0xf8], xmm1
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x40]
movsd xmm2, qword [edx + 0x18]
mov edx, dword [esp + 0x120]
movsd qword [eax + edx], xmm2
xor edx, edx
mov dword [esp + 0x130], edx
mov edx, ebx
pxor xmm3, xmm3
movsd qword [esp + 0x118], xmm3
shl edx, 4
mov dword [esp + 0xe8], edx
jmp 0x101619c8
mov edx, dword [esi + 0x44]
mov eax, ebx
shl eax, 4
movsd xmm0, qword [edx + eax]
movsd xmm1, qword [edx + eax + 8]
mov edx, dword [esi + 0x4c]
mov edx, dword [edx + ebx*4]
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0xf8], xmm1
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x130], edx
mov edx, dword [esi + 0x48]
movsd xmm2, qword [edx + eax]
movsd qword [esp + 0x118], xmm2
movsd xmm1, qword [ebp + 0x24]
mov edx, dword [esi + 0x38]
mov edx, dword [edx + ebx*4]
mov dword [esp], edx
mov edx, dword [esi + 0x3c]
mov edx, dword [edx + ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [esp + 0xf0]
lea edx, [esp + 0xc]
mov dword [edx], eax
mov eax, dword [esp + 0xf4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xfc]
mov dword [edx + 0xc], eax
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x130]
movsd xmm0, qword [esp + 0x118]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x12c]
movsd qword [esp + 0x3c], xmm1
mov dword [esp + 0x38], edx
call fcn.100ae6e0
mov edx, dword [esi + 0x7c]
cmp dword [edx + ebx*4], 0
jle 0x10161b26
mov dword [esp + 0xe0], edi
xor eax, eax
mov edi, eax
movsd xmm1, qword [ebp + 0x24]
mov edx, dword [esi + 0x6c]
mov edx, dword [edx + ebx*4]
mov edx, dword [edx + edi*4]
mov dword [esp], edx
mov edx, dword [esi + 0x70]
mov edx, dword [edx + ebx*4]
mov edx, dword [edx + edi*4]
mov dword [esp + 8], edx
lea edx, [esp + 0xc]
mov dword [esp + 4], 0
mov eax, dword [esp + 0xf0]
mov dword [edx], eax
mov eax, dword [esp + 0xf4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xfc]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x130]
movsd xmm0, qword [esp + 0x118]
movsd qword [esp + 0x20], xmm0
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x12c]
movsd qword [esp + 0x3c], xmm1
mov dword [esp + 0x38], edx
call fcn.100ae6e0
mov edx, dword [esi + 0x7c]
inc edi
cmp edi, dword [edx + ebx*4]
jl 0x10161a76
mov edi, dword [esp + 0xe0]
movsd xmm0, qword [ebp + 0x10]
mov eax, dword [esp + 0xe8]
movsd xmm1, qword [ebp + 0x18]
movsd xmm2, qword [ebp + 0x24]
mov edx, dword [esi + 0x44]
movsd qword [edx + eax], xmm0
movsd qword [edx + eax + 8], xmm1
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x12c]
mov dword [eax + ebx*4], edx
mov eax, dword [esp + 0x120]
mov edx, dword [esi + 0x48]
movsd qword [edx + eax], xmm2
lea edx, [esp + 0xa4]
push edx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
push dword [eax + ebx*4]
push dword [ecx + ebx*4]
call fcn.100ae040
add esp, 0xc
mov edx, dword [esp + 0xa4]
mov eax, dword [esi + 0x28]
mov dword [eax + ebx*4], edx
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0xa8]
mov dword [eax + ebx*4], edx
mov edx, dword [esp + 0xb0]
mov eax, dword [esi + 0x30]
mov dword [eax + ebx*4], edx
mov edx, dword [esp + 0xac]
mov eax, dword [esi + 0x34]
mov dword [eax + ebx*4], edx
mov edx, dword [0x1021f8f8]
cmp edx, 3
je 0x10161bcf
cmp edx, 2
je 0x10161bcf
cmp edx, 1
jne 0x10161db4
mov edx, dword [esi + 0x98]
mov edx, dword [edx + ebx*4]
cmp edx, 1
je 0x10161d44
cmp edx, 2
jne 0x10161bf8
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 1
jmp 0x10161db4
test edx, edx
jne 0x10161db4
mov edx, dword [esp + 0xe4]
movsd xmm0, qword [ebp + 0x24]
movsd qword [esp + 8], xmm0
xor eax, eax
mov dword [esp], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 4], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.100dfc50
mov edx, dword [0x1021f8f8]
cmp edx, 2
je 0x10161c67
cmp edx, 1
jne 0x10161ce7
mov edx, dword [0x10219190]
movsd xmm3, qword [0x1021fb98]
addsd xmm3, qword [0x1021fba8]
mulsd xmm3, qword [0x101f3930]
mov ecx, dword [esp + 0x124]
mov eax, dword [esi + 0x44]
movsd xmm2, qword [edx + ecx + 0x80]
mov edx, dword [esp + 0xe8]
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [eax + edx + 8]
addsd xmm0, xmm1
subsd xmm0, xmm2
comisd xmm0, xmm3
jbe 0x10161d44
movsd xmm0, qword [esp + 0x68]
addsd xmm0, xmm1
subsd xmm0, xmm2
comisd xmm3, xmm0
jbe 0x10161be6
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 0
jmp 0x10161db4
mov edx, dword [0x10219190]
movsd xmm1, qword [esp + 0x70]
movsd xmm0, qword [0x1021fb88]
movsd xmm2, qword [0x1021fbb8]
mov eax, dword [esi + 0x44]
subsd xmm2, xmm0
movaps xmm5, xmm2
divsd xmm5, qword [0x101f3920]
mov ecx, dword [esp + 0x124]
movsd xmm3, qword [edx + ecx + 0x80]
mov edx, dword [esp + 0xe8]
movsd xmm4, qword [eax + edx + 8]
subsd xmm1, xmm3
addsd xmm1, xmm4
addsd xmm5, xmm0
comisd xmm5, xmm1
jb 0x10161d53
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 0xffffffff
jmp 0x10161db4
movsd xmm6, qword [esp + 0x68]
subsd xmm6, xmm3
addsd xmm6, xmm4
comisd xmm5, xmm6
jbe 0x10161d76
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 0
jmp 0x10161db4
movsd xmm3, qword [0x101f3928]
mulsd xmm2, xmm3
movsd xmm4, qword [0x101f3920]
divsd xmm2, xmm4
addsd xmm0, xmm2
comisd xmm0, xmm1
jb 0x10161da7
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 1
jmp 0x10161db4
mov edx, dword [esi + 0x9c]
mov dword [edx + ebx*4], 2
movsd xmm0, qword [0x101f3910]
mov dword [esp + 0xe0], edi
mov edx, 1
xor eax, eax
xor ecx, ecx
mov edi, ebx
inc eax
cmp eax, dword [esi + 0x68]
jg 0x10161de9
cmp ebx, eax
jne 0x10161e00
cmp edx, 1
je 0x10161dcc
mov dword [esp + 0x13c], ebx
jmp 0x101622af
mov edi, ecx
mov edx, 2
mov eax, ebx
inc edi
cmp edi, dword [esi + 0x68]
jg 0x10162378
cmp edi, ebx
je 0x10161df0
mov dword [esp + 0x13c], ebx
mov ecx, dword [esi + 0x10]
cmp dword [ecx + eax*4], 0
jne 0x10161e1d
cmp eax, dword [esp + 0x13c]
jne 0x101622a5
cmp dword [ecx + edi*4], 0
jne 0x10161e30
cmp edi, dword [esp + 0x13c]
jne 0x101622a5
mov ebx, dword [esi]
mov ecx, dword [ebx + eax*4]
mov dword [esp + 0x138], ecx
mov ecx, dword [ebx + edi*4]
mov ebx, dword [esi + 0x40]
movsd xmm1, qword [ebx + edi*8]
comisd xmm1, xmmword [ebx + eax*8]
mov dword [esp + 0x134], ebx
jae 0x101622a5
mov ebx, dword [esi + 0x7c]
mov dword [esp + 0x128], ebx
test ebx, ebx
je 0x10161e71
cmp dword [ebx + eax*4], 0
je 0x101622a5
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x110], edi
mov dword [esp + 0x104], edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x114], ecx
mov ecx, dword [edx + eax*4]
mov edx, dword [edx + edi*4]
mov edi, dword [ebx + edi*4]
mov ebx, dword [ebx + eax*4]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
shl edi, 4
shl ebx, 4
movsd xmm1, qword [ebx + ecx]
mov ecx, dword [esp + 0x114]
subsd xmm1, xmm0
comisd xmm1, xmmword [edi + edx]
mov edx, dword [esp + 0x104]
mov edi, dword [esp + 0x110]
ja 0x101622a5
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], ecx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ecx + edi*4]
shl edi, 4
movsd xmm1, qword [edi + ebx]
mov edi, dword [ecx + eax*4]
shl edi, 4
mov ecx, dword [esp + 0x108]
movsd xmm2, qword [edi + ecx]
mov ecx, dword [esp + 0x114]
mov edi, dword [esp + 0x110]
addsd xmm2, xmm0
comisd xmm1, xmm2
ja 0x101622a5
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], ecx
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx + edi*4]
mov ecx, dword [ecx + eax*4]
shl edi, 4
shl ecx, 4
movsd xmm1, qword [ecx + ebx + 8]
subsd xmm1, xmm0
mov ecx, dword [esp + 0x10c]
comisd xmm1, xmmword [edi + ecx + 8]
mov ecx, dword [esp + 0x114]
mov edi, dword [esp + 0x110]
ja 0x101622a5
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], ecx
mov ecx, dword [esi + 0x34]
mov edi, dword [ecx + edi*4]
shl edi, 4
movsd xmm1, qword [edi + ebx + 8]
mov edi, dword [ecx + eax*4]
shl edi, 4
mov ecx, dword [esp + 0x108]
movsd xmm2, qword [edi + ecx + 8]
mov ecx, dword [esp + 0x114]
mov edi, dword [esp + 0x110]
addsd xmm2, xmm0
comisd xmm1, xmm2
ja 0x101622a5
mov ebx, dword [esp + 0x128]
cmp dword [ebx + eax*4], 0
jle 0x101622a5
imul ecx, ecx, 0xa10
mov ebx, edi
shl ebx, 4
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
imul ecx, dword [esp + 0x138], 0xa10
mov dword [esp + 0x90], ebx
mov ebx, eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x94]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [esi + 0x74]
mov eax, dword [eax + ebx*4]
comisd xmm0, xmmword [eax + edx*8]
jae 0x10162286
mov eax, dword [0x10219190]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x98]
mov ecx, dword [eax + edx + 0xd0]
mov ebx, dword [ecx]
movsd xmm0, qword [ebx + 0x48]
movsd qword [esp + 0x48], xmm0
movsd xmm1, qword [ebx + 0x50]
movsd qword [esp + 0x50], xmm1
mov dword [esp + 8], 1
lea ecx, [esp + 0x48]
mov dword [esp], ecx
xor ecx, ecx
lea ebx, [esp + 0xc]
pxor xmm4, xmm4
mov dword [esp + 4], ecx
movsd xmm2, qword [edx + eax + 0x78]
movsd qword [ebx], xmm2
movsd xmm3, qword [edx + eax + 0x80]
movsd qword [ebx + 8], xmm3
mov edx, dword [esp + 0x90]
mov eax, dword [esi + 0x44]
movsd qword [esp + 0x20], xmm4
mov dword [esp + 0x1c], ecx
movsd xmm5, qword [eax + edx]
lea ecx, [esp + 0x28]
movsd qword [ecx], xmm5
movsd xmm6, qword [eax + edx + 8]
movsd qword [ecx + 8], xmm6
mov eax, dword [esi + 0x4c]
mov edx, dword [eax + edi*4]
mov ebx, dword [esi + 0x48]
movsd xmm7, qword [ebx + edi*8]
mov ebx, dword [esp + 0x9c]
movsd qword [esp + 0x3c], xmm7
mov dword [esp + 0x38], edx
call fcn.100ae6e0
mov edx, dword [esp + 0x94]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx + edi*4]
mov dword [esp], ecx
mov ecx, dword [esi + 0x40]
movsd xmm0, qword [ecx + edi*8]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov eax, dword [eax + ebx*4]
movsd xmm1, qword [eax + edx*8]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + edx*4]
movsd qword [esp + 0x1c], xmm1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call fcn.100b07a0
cmp dword [esp + 0x84], 0
mov edx, dword [esp + 0x94]
je 0x1016219c
mov ecx, dword [esi + 0x7c]
jmp 0x10162286
mov ecx, dword [esi + 0x84]
inc dword [ecx + ebx*4]
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
mov eax, dword [eax + edi*4]
lea eax, [eax*8 + 8]
push eax
push dword [ecx + edi*4]
mov dword [esp + 0x9c], edx
call fcn.101bcb76
mov edx, dword [esp + 0x9c]
add esp, 8
mov ecx, dword [esi + 0x90]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov ecx, dword [ecx + edi*4]
mov eax, dword [eax + edi*4]
mov dword [eax + ecx*8], ebx
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov ecx, dword [ecx + edi*4]
mov eax, dword [eax + edi*4]
mov dword [eax + ecx*8 + 4], edx
mov ecx, dword [esi + 0x94]
inc dword [ecx + edi*4]
mov ecx, dword [esi + 0x88]
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x10162308
mov eax, dword [esi + 0x8c]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + edx*4]
lea eax, [eax*4 + 4]
push eax
push dword [ecx + edx*4]
mov dword [esp + 0x9c], edx
call fcn.101bcb76
mov edx, dword [esp + 0x9c]
add esp, 8
mov ecx, dword [esi + 0x88]
mov ecx, dword [ecx + ebx*4]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx + ebx*4]
mov ecx, dword [ecx + edx*4]
mov eax, dword [esi + 0x88]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + edx*4]
mov dword [eax + ecx*4], edi
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx + ebx*4]
inc dword [ecx + edx*4]
mov ecx, dword [esi + 0x7c]
inc edx
cmp edx, dword [ecx + ebx*4]
jge 0x10162294
mov eax, dword [esi + 0x40]
jmp 0x1016202a
movsd xmm0, qword [0x101f3910]
mov edx, dword [esp + 0x104]
mov eax, ebx
cmp edx, 1
je 0x101622b7
cmp edx, 2
je 0x101622ca
cmp edi, eax
jne 0x10161e07
nop
lea esi, [esi]
mov ebx, dword [esp + 0x13c]
xor ecx, ecx
jmp 0x10161dcc
lea esi, [esi]
mov ebx, dword [esp + 0x13c]
jmp 0x10161df0
mov eax, dword [edi + 0x10]
shl eax, 4
push eax
call fcn.101bcde0
pop ecx
mov edx, dword [esp + 0x13c]
mov ecx, dword [esi + 0x6c]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + ebx*4]
jmp 0x10161849
mov eax, dword [0x10219190]
push 4
mov ecx, dword [esp + 0x7c]
push dword [ecx + eax + 0x474]
mov dword [esp + 0x9c], edx
call fcn.101beb7a
mov edx, dword [esp + 0x9c]
push 4
mov ecx, dword [esi + 0x88]
mov dword [ecx + ebx*4], eax
mov eax, dword [0x10219190]
mov ecx, dword [esp + 0x84]
push dword [ecx + eax + 0x474]
mov dword [esp + 0xa4], edx
call fcn.101beb7a
mov edx, dword [esp + 0xa4]
add esp, 0x10
mov ecx, dword [esi + 0x8c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x88]
mov ecx, dword [ecx + ebx*4]
jmp 0x10162223
cmp dword [esp + 0xdc], 0
mov edi, dword [esp + 0xe0]
je 0x101625f0
cmp dword [0x1021f690], 0
jle 0x1016266c
mov eax, dword [esp + 0x100]
mov edx, dword [esi + 0x50]
mov dword [edx + ebx*4], 0xffffffff
mov edx, dword [0x10219190]
mov edx, dword [edx + eax + 0x9fc]
test edx, edx
je 0x101624e6
mov edx, dword [edx + 0x10]
shl edx, 4
push edx
call fcn.101bcde0
mov dword [esp + 0xa4], eax
mov edx, dword [0x10219190]
mov eax, dword [esp + 0x104]
mov eax, dword [edx + eax + 0x9fc]
mov edx, dword [eax + 0x10]
shl edx, 4
push edx
push dword [eax]
push dword [esp + 0xac]
call fcn.101d7590
add esp, 0x10
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x100]
movsd xmm3, qword [ebp + 0x24]
mov dword [esp + 0x13c], ebx
mov ebx, dword [0x10219190]
mov eax, dword [ebx + ecx + 0x9fc]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
movsd xmm0, qword [ecx + ebx + 0x78]
lea eax, [esp + 0xc]
movsd qword [eax], xmm0
movsd xmm1, qword [ecx + ebx + 0x80]
movsd qword [eax + 8], xmm1
pxor xmm2, xmm2
movsd qword [esp + 0x20], xmm2
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x28]
mov ebx, dword [ebp + 0x10]
mov dword [eax], ebx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x13c]
movsd qword [esp + 0x3c], xmm3
mov dword [esp + 0x38], edx
call fcn.100ae6e0
mov eax, dword [0x10219190]
mov edx, dword [esp + 0x100]
mov eax, dword [edx + eax + 0x9fc]
lea edx, [esp + 0x58]
push edx
push dword [eax + 0x10]
push dword [esp + 0xa8]
call fcn.100ae040
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0xac]
shl edx, 4
movsd xmm0, qword [eax + edx]
movsd qword [esp + 0x94], xmm0
push eax
call fcn.101bceaa
add esp, 0x10
jmp 0x10162503
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x28]
mov edx, dword [edx + ebx*4]
mov eax, dword [eax + ebx*4]
shl edx, 4
movsd xmm0, qword [edx + eax]
movsd qword [esp + 0x88], xmm0
mov ecx, dword [0x1021f690]
test ecx, ecx
jle 0x10162532
mov edx, dword [0x1021f69c]
movsd xmm1, qword [esp + 0x88]
xor eax, eax
movsd xmm0, qword [edx + eax*8]
comisd xmm0, xmm1
jae 0x10162661
inc eax
cmp eax, ecx
jl 0x1016251e
mov eax, dword [esi + 0x50]
mov edx, dword [eax + ebx*4]
cmp edx, 0xffffffff
je 0x101625df
cmp edx, dword [0x1021f690]
jge 0x101625df
mov ecx, dword [0x1021fc60]
mov dword [esp + 0x7c], ecx
lea ecx, [ecx + edx*8]
movsd xmm1, qword [ecx]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x1021f6a0]
movsd xmm0, qword [ecx + edx*8]
addsd xmm0, qword [0x101f3918]
comisd xmm0, xmm1
jb 0x101625ba
mov edx, dword [0x1021f6b4]
inc dword [esi + 0x108]
mov ecx, dword [eax + ebx*4]
mov edx, dword [edx + ecx*4]
movsd xmm0, qword [edx + 0x18]
addsd xmm0, qword [esi + 0x100]
mov edx, dword [esp + 0x7c]
movsd qword [esi + 0x100], xmm0
mov eax, dword [eax + ebx*4]
lea edx, [edx + eax*8]
movsd xmm1, qword [edx]
mov dword [esp + 0x80], edx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + ebx*4]
mov eax, dword [eax + ebx*4]
shl edx, 4
maxsd xmm1, qword [edx + eax]
mov edx, dword [esp + 0x80]
movsd qword [edx], xmm1
mov edx, dword [esi + 0x50]
mov edx, dword [edx + ebx*4]
mov eax, dword [esi + 0x10c]
cmp edx, eax
cmovge eax, edx
mov dword [esi + 0x10c], eax
cmp dword [esp + 0xd8], 0
je 0x101616b5
mov edx, dword [esi + 0x10]
cmp dword [edx + ebx*4], 0
jne 0x101616b5
mov dword [edx + ebx*4], 1
mov ebx, dword [0x10219190]
mov edx, dword [esp + 0x100]
inc dword [esi + 0x14]
cmp dword [ebx + edx + 0x84c], 0
je 0x10162635
cmp edi, 0xffffffff
je 0x101616b5
cmp dword [ebx + edx + 0x5c], 0
je 0x101616b5
mov ebx, dword [esp + 0x120]
mov edx, dword [esi + 0x40]
movsd xmm0, qword [esi + 0x20]
inc dword [esi + 0x18]
addsd xmm0, qword [edx + ebx]
movsd qword [esi + 0x20], xmm0
jmp 0x101616b5
mov edx, dword [esi + 0x50]
mov dword [edx + ebx*4], eax
jmp 0x10162532
mov edx, dword [esi + 0x50]
mov dword [edx + ebx*4], 0
mov edx, dword [esi + 0x50]
mov edx, dword [edx + ebx*4]
jmp 0x101625df
mov ecx, dword [0x10219190]
push 4
mov eax, dword [esp + 0x128]
push dword [eax + ecx + 0x474]
mov dword [esp + 0xbc], edx
call fcn.101beb7a
mov edx, dword [esp + 0xbc]
mov ecx, eax
push 4
mov eax, dword [esi + 0x6c]
mov dword [eax + ebx*4], ecx
mov ecx, dword [0x10219190]
mov eax, dword [esp + 0x130]
push dword [eax + ecx + 0x474]
mov dword [esp + 0xc4], edx
call fcn.101beb7a
mov edx, dword [esp + 0xc4]
mov ecx, eax
push 8
mov eax, dword [esi + 0x70]
mov dword [eax + ebx*4], ecx
mov ecx, dword [0x10219190]
mov eax, dword [esp + 0x138]
push dword [eax + ecx + 0x474]
mov dword [esp + 0xcc], edx
call fcn.101beb7a
mov edx, dword [esp + 0xcc]
add esp, 0x18
mov ecx, eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0xcc], 1
mov dword [eax + ebx*4], ecx
jmp 0x101617d3
mov eax, dword [edx + 0x10]
shl eax, 4
push eax
mov dword [esp + 0xb8], edx
call fcn.101bcde0
mov edx, dword [esp + 0xb8]
add esp, 4
mov ecx, eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0xd0], 1
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x38]
jmp 0x10161790
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
xor eax, eax
mov esp, ebp
pop ebp
ret