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

Disassembly:
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x108]
mov ebx, dword [esp + 0x128]
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0x144]
mov ebp, dword [esp + 0x148]
mov dword [esp + 0xac], ebp
mov ebp, ebx
neg ebp
mov ecx, dword [esp + 0x124]
and ebp, 0x3f
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x134]
mov edi, ecx
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x94], eax
mov eax, edx
and edx, 0xf0
and eax, 0xf
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x12c]
add edi, edx
mov esi, dword [esp + 0x138]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa4], esi
mov eax, dword [ebp + ebx + 0x5c]
cmp edi, dword [ebp + ebx + 0x5c]
jle 0x1000fecb
sub eax, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0xb8]
add edx, eax
mov ecx, dword [ebp + ebx + 0x2c]
cmp edx, dword [ebp + ebx + 0x2c]
jle 0x1000fef5
sub ecx, eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x138], ecx
cvtsi2sd xmm0, dword [ebp + ebx + 0x64]
cvtsi2sd xmm3, dword [ebp + ebx + 0x30]
cvtsi2sd xmm2, dword [ebp + ebx + 0x34]
cvtsi2sd xmm4, eax
cvtsi2sd xmm1, dword [ebp + ebx + 0x60]
mov edx, dword [ebp + ebx + 0x3c]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp + ebx + 0x64]
shr edx, 0x1f
mov eax, dword [ebp + ebx + 0x30]
shr eax, 0x1f
mov edi, dword [ebp + ebx + 0x60]
shr edi, 0x1f
addsd xmm0, qword [edx*8 + 0x102cb6d0]
addsd xmm3, qword [eax*8 + 0x102cb6d0]
addsd xmm1, qword [edi*8 + 0x102cb6d0]
mov edx, dword [ebp + ebx + 0x34]
shr edx, 0x1f
divsd xmm1, xmm0
mov ecx, dword [ebp + ebx + 0x6c]
mov esi, dword [ebp + ebx + 0x78]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x68], esi
movsd qword [esp + 0x58], xmm1
addsd xmm2, qword [edx*8 + 0x102cb6d0]
divsd xmm3, xmm2
mulsd xmm4, xmm3
movsd qword [esp], xmm4
call fcn.1007ede0
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, dword [esp + 0x12c]
mulsd xmm0, qword [esp + 0x58]
mov dword [esp + 0x74], eax
movsd qword [esp], xmm0
call fcn.1007ede0
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
cvttsd2si eax, xmm0
mov edi, dword [esp + 0x90]
test edi, edi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x12c]
lea ecx, [edi*4]
mov dword [esp + 0x64], ecx
lea esi, [edx + ecx]
mov dword [esp + 0x98], esi
jle 0x1001006b
mov ecx, edi
shr ecx, 1
test ecx, ecx
jbe 0x10012787
mov dword [esp + 0xe8], eax
xor edx, edx
lea esi, [eax*4]
mov eax, dword [esp + 0xac]
nop dword [eax]
mov edi, dword [ebp + ebx + 0x68]
add edi, esi
mov edi, dword [edi + edx*8]
mov dword [eax + edx*8], edi
mov edi, dword [ebp + ebx + 0x68]
add edi, esi
mov edi, dword [edi + edx*8 + 4]
mov dword [eax + edx*8 + 4], edi
inc edx
cmp edx, ecx
jb 0x10010020
add edx, edx
mov eax, dword [esp + 0xe8]
inc edx
mov ecx, edx
dec ecx
cmp ecx, dword [esp + 0x90]
jae 0x1001006b
mov ecx, dword [ebp + ebx + 0x68]
lea esi, [eax + edx]
mov edi, dword [ecx + esi*4 - 4]
mov ecx, dword [esp + 0xac]
mov dword [ecx + edx*4 - 4], edi
mov edx, dword [esp + 0x130]
cmp dword [esp + 0xb8], 0
jle 0x10010112
mov ecx, dword [esp + 0xb8]
shr ecx, 1
test ecx, ecx
jbe 0x1001277d
mov dword [esp + 0xe8], eax
xor edi, edi
mov dword [esp + 0xdc], edx
lea esi, [edx*4]
mov eax, dword [esp + 0x98]
nop dword [eax + eax]
nop dword [eax]
nop
mov edx, dword [ebp + ebx + 0x38]
add edx, esi
mov edx, dword [edx + edi*8]
mov dword [eax + edi*8], edx
mov edx, dword [ebp + ebx + 0x38]
add edx, esi
mov edx, dword [edx + edi*8 + 4]
mov dword [eax + edi*8 + 4], edx
inc edi
cmp edi, ecx
jb 0x100100c0
add edi, edi
mov eax, dword [esp + 0xe8]
inc edi
mov edx, dword [esp + 0xdc]
mov ecx, edi
dec ecx
cmp ecx, dword [esp + 0xb8]
jae 0x10010112
mov ecx, dword [ebp + ebx + 0x38]
lea esi, [edx + edi]
mov ecx, dword [ecx + esi*4 - 4]
mov esi, dword [esp + 0x98]
mov dword [esi + edi*4 - 4], ecx
cmp dword [esp + 0xf0], 0xf0
je 0x10012600
cmp dword [esp + 0x6c], 1
je 0x10011899
cmp dword [esp + 0x6c], 3
jne 0x10010d21
mov ecx, dword [esp + 0x74]
imul ecx, dword [esp + 0x104]
mov edi, dword [esp + 0x94]
sub edi, ecx
sub edi, dword [esp + 0x70]
mov ecx, dword [ebp + ebx + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebp + ebx + 0x78]
mov ecx, dword [ebp + ebx + 0x58]
mov esi, dword [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + ebx + 0x2c]
mov edi, dword [ebp + ebx + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebp + ebx + 0x28]
sub ecx, dword [esp + 0xb8]
sub edi, dword [esp + 0x90]
sub ecx, edx
mov dword [esp + 0x68], esi
sub edi, eax
mov esi, dword [esp + 0xf0]
and esi, 0x10
mov dword [esp + 0x84], esi
jne 0x100101bf
mov esi, dword [ebp + ebx + 0x4c]
mov dword [esp + 0xe4], esi
cmp edx, dword [ebp + ebx + 0x4c]
jl 0x100101cc
mov dword [esp + 0xe4], 0
jmp 0x100101d3
sub dword [esp + 0xe4], edx
mov esi, dword [esp + 0xf0]
and esi, 0x40
mov dword [esp + 0x88], esi
jne 0x100101f7
mov esi, dword [ebp + ebx + 0x7c]
mov dword [esp + 0xe0], esi
cmp eax, dword [ebp + ebx + 0x7c]
jl 0x10010204
mov dword [esp + 0xe0], 0
jmp 0x1001020b
sub dword [esp + 0xe0], eax
mov esi, dword [esp + 0xf0]
and esi, 0x20
mov dword [esp + 0xcc], esi
jne 0x1001022c
mov esi, dword [ebp + ebx + 0x50]
mov dword [esp + 0x7c], esi
cmp ecx, dword [ebp + ebx + 0x50]
jl 0x10010236
mov dword [esp + 0x7c], 0
jmp 0x1001023a
sub dword [esp + 0x7c], ecx
and dword [esp + 0xf0], 0x80
jne 0x10010257
mov esi, dword [ebp + ebx + 0x80]
cmp edi, dword [ebp + ebx + 0x80]
jl 0x1001025b
xor esi, esi
jmp 0x1001025d
sub esi, edi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xb8]
cmp ebx, dword [esp + 0xe4]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0x90]
cmovl eax, dword [esp + 0xb8]
cmp edi, dword [esp + 0xe0]
mov edi, ebx
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0xe0]
cmovl ebp, dword [esp + 0x90]
sub edi, eax
cmp ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
cmovl ecx, dword [esp + 0xb8]
cmp esi, dword [esp + 0x90]
mov dword [esp + 0xdc], edx
cmovge esi, dword [esp + 0x90]
lea edx, [eax + ecx]
cmp edx, dword [esp + 0xb8]
mov dword [esp + 0x70], edi
cmovg ecx, edi
lea edx, [ebp + esi]
mov edi, dword [esp + 0x90]
sub edi, ebp
cmp edx, dword [esp + 0x90]
mov dword [esp + 0x7c], ecx
lea ecx, [ecx*4]
cmovg esi, edi
lea edi, [ebx*4]
mov dword [esp + 0x80], esi
lea ebx, [eax*4]
mov esi, dword [esp + 0x64]
add edi, dword [esp + 0x98]
add edi, 0x1f
and edi, 0xffffffe0
lea edx, [esi + esi]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x8c], edx
mov dword [esp + 0xe0], ebp
lea ebp, [ebp*4]
mov dword [esp + 0xe4], eax
lea esi, [esi + esi]
mov edx, esi
imul edx, ebx
imul ecx, esi
add edx, edi
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xc0], edx
add ecx, edx
mov edx, dword [esp + 0x8c]
add ecx, 0x1f
imul edx, ebp
and ecx, 0xffffffe0
add edx, ecx
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xd0], edx
test eax, eax
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xf4], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0xc4], ecx
lea ecx, [edx*4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0xbc], edi
mov dword [esp + 0xf8], ecx
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0x80]
jle 0x1001053c
mov edi, dword [esp + 0xf4]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xf4]
sar edi, 1
dec edi
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xdc], edx
lea edi, [edi*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x80], esi
mov eax, ecx
mov edx, edi
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xf4]
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
test ebp, ebp
jle 0x10010509
mov dword [esp + 0xc8], eax
xor esi, esi
mov ebp, dword [esp + 0xd4]
lea edi, [ebx + eax]
mov ebx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov eax, dword [ebx + ebp + 0x38]
add eax, dword [esp + 0xf8]
mov eax, dword [eax + ecx*4]
sub eax, dword [esp + 0xec]
add eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [edi + esi*4], eax
mov edx, dword [ebx + ebp + 0x28]
cmp eax, dword [ebx + ebp + 0x28]
jl 0x100104db
add edx, edx
sub edx, eax
add edx, 0xfffffffe
cmp dword [esp + 0xcc], 0
cmove eax, edx
imul eax, dword [esp + 0x104]
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [esp + 0xf4]
jb 0x100104a0
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xf4]
inc ecx
add eax, edx
cmp ecx, dword [esp + 0xe4]
jb 0x10010460
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x7c]
cmp ecx, edx
jge 0x100106d1
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf4]
shr edx, 0x1f
add edx, dword [esp + 0xf4]
sar edx, 1
dec edx
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xe8], eax
xor eax, eax
mov dword [esp + 0x58], eax
shl ecx, 2
lea edi, [edx*8]
mov dword [esp + 0xc8], edi
lea edi, [edx + edx]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0x80], esi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0xcc]
mov ebx, edi
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xec], ecx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
test ebx, ebx
jle 0x100106a5
mov dword [esp + 0xcc], edx
xor ecx, ecx
mov ebx, dword [esp + 0xd4]
lea eax, [edi + edx]
mov edx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x38]
add esi, dword [esp + 0xec]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0x100]
add edi, ecx
js 0x10012505
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x28]
sub esi, edi
add esi, dword [edx + ebx + 0x28]
add esi, 0xfffffffe
cmp edi, dword [edx + ebx + 0x28]
cmovge edi, esi
imul edi, dword [esp + 0x104]
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xfc]
jb 0x10010640
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xfc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc0]
inc ebp
add edx, esi
cmp ebp, dword [esp + 0xdc]
jb 0x10010600
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
cmp dword [esp + 0xe0], 0
lea edx, [eax*4]
mov dword [esp + 0xcc], edx
jle 0x100108c5
mov edx, dword [esp + 0x8c]
shr edx, 0x1f
mov ecx, dword [esp + 0x64]
add edx, dword [esp + 0x8c]
sar edx, 1
mov dword [esp + 0xdc], 0
lea edi, [ecx + ecx]
dec edx
lea ecx, [ecx*8]
mov dword [esp + 0x84], edi
shr edi, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xc8], edx
mov esi, dword [esp + 0xdc]
mov ecx, dword [esp + 0xc4]
nop dword [eax + eax]
nop dword [eax]
cmp dword [esp + 0x84], 0
jle 0x100108a9
cmp dword [esp + 0xec], 0
jbe 0x100124fb
mov eax, dword [esp + 0x58]
xor edi, edi
imul eax, esi
add eax, ecx
mov dword [esp + 0xdc], esi
mov ecx, eax
nop dword [eax + eax]
nop dword [eax]
nop
mov edx, dword [ebp + ebx + 0x68]
mov esi, edi
add edx, dword [esp + 0xcc]
add esi, edi
mov eax, dword [esp + 0xdc]
mov eax, dword [edx + eax*4]
sub eax, dword [esp + 0xc8]
add eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [ecx + edi*8], eax
mov edx, dword [ebp + ebx + 0x58]
cmp eax, dword [ebp + ebx + 0x58]
jl 0x100107e8
cmp dword [esp + 0xf0], 0
jne 0x100107e8
add edx, edx
sub edx, eax
add edx, 0xfffffffe
mov dword [ecx + edi*8], edx
mov edx, dword [ebp + ebx + 0x68]
inc esi
add edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xdc]
mov eax, dword [edx + eax*4]
sub eax, dword [esp + 0xc8]
add eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [ecx + edi*8 + 4], eax
mov edx, dword [ebp + ebx + 0x58]
cmp eax, dword [ebp + ebx + 0x58]
jl 0x10010831
cmp dword [esp + 0xf0], 0
jne 0x10010831
sub edx, eax
add edx, dword [ebp + ebx + 0x58]
add edx, 0xfffffffe
mov dword [ecx + edi*8 + 4], edx
inc edi
cmp edi, dword [esp + 0xec]
jb 0x100107a0
add edi, edi
mov esi, dword [esp + 0xdc]
inc edi
mov ecx, dword [esp + 0xc4]
mov edx, edi
dec edx
cmp edx, dword [esp + 0x84]
jae 0x100108a9
mov eax, dword [esp + 0x8c]
imul eax, esi
add edi, eax
mov eax, dword [ebp + ebx + 0x68]
add eax, dword [esp + 0xcc]
mov eax, dword [eax + esi*4]
sub eax, dword [esp + 0xc8]
add eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ecx + edi*4 - 4], eax
mov edx, dword [ebp + ebx + 0x58]
cmp eax, dword [ebp + ebx + 0x58]
jl 0x100108a9
cmp dword [esp + 0xf0], 0
jne 0x100108a9
sub edx, eax
add edx, dword [ebp + ebx + 0x58]
add edx, 0xfffffffe
mov dword [ecx + edi*4 - 4], edx
inc esi
cmp esi, dword [esp + 0xe0]
jb 0x10010760
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x80]
add eax, dword [esp + 0x90]
mov edx, eax
sub edx, esi
cmp edx, eax
jge 0x10010a41
mov ecx, dword [esp + 0x8c]
sub eax, edx
shr ecx, 0x1f
add ecx, dword [esp + 0x8c]
sar ecx, 1
dec ecx
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xe8], eax
xor eax, eax
shl edx, 2
mov dword [esp + 0x58], eax
lea edi, [ecx + ecx]
mov dword [esp + 0xdc], edi
lea edi, [ecx*8]
mov dword [esp + 0xc8], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0xf0], edx
mov dword [esp + 0x80], esi
mov dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x84]
mov esi, edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xd4], ebx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x10010a1c
mov dword [esp + 0x84], ebp
xor ebx, ebx
lea eax, [edx + ebp]
mov edx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebp + 0x68]
add esi, dword [esp + 0xf0]
mov esi, dword [esi + ecx*4]
sub esi, dword [esp + 0xec]
add esi, ebx
js 0x100124e3
mov dword [eax + ebx*4], esi
mov edi, dword [edx + ebp + 0x58]
cmp esi, dword [edx + ebp + 0x58]
jl 0x100109f6
sub edi, esi
add edi, dword [edx + ebp + 0x58]
add edi, 0xfffffffe
mov dword [eax + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xdc]
jb 0x100109c0
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xdc]
inc ecx
add ebp, esi
cmp ecx, dword [esp + 0xe8]
jb 0x10010980
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
mov edi, dword [esp + 0xb0]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0xf8]
imul eax, dword [esp + 0xf4]
add eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xcc]
imul edx, dword [esp + 0x8c]
add edx, dword [esp + 0x9c]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
call fcn.1017eb10
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x100124a0
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xe0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x100124a0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xd0]
lea edx, [eax*4]
imul edx, esi
mov esi, dword [esp + 0x60]
add ecx, edx
add ecx, 0x1f
and ecx, 0xffffffe0
mov dword [esp + 0xd0], ecx
lea eax, [esi*8]
add eax, ecx
lea edi, [esi + esi]
add eax, 0x23
and eax, 0xffffffe0
mov dword [ecx], eax
test edi, edi
jle 0x10010c50
mov edx, edi
shr edx, 1
test edx, edx
jbe 0x100124d9
mov ecx, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xd0]
lea ecx, [ecx*4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebx + esi*8 + 4], eax
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebx + esi*8 + 8], eax
inc esi
cmp esi, edx
jb 0x10010c00
add esi, esi
mov ebx, dword [esp + 0xd4]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x10010c50
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xd0]
lea edx, [eax*4]
add edx, dword [ecx + esi*4 - 4]
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe4]
shl eax, 2
mov edx, dword [esp + 0xd0]
imul eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x12c]
push edx
add ecx, dword [esp + 0xe4]
shl ecx, 2
mov edi, dword [esp + 0x60]
add edi, ecx
imul ecx, dword [esp + 0x90]
mov esi, dword [esp + 0xa0]
add esi, ecx
cmp dword [esp + 0x60], 0
cmove edi, esi
push edi
mov edx, dword [esp + 0xa8]
add edx, eax
push edx
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x80]
push eax
mov ecx, dword [esp + 0xa8]
add ecx, dword [esp + 0x88]
push ecx
mov esi, dword [esp + 0x74]
push esi
mov edi, dword [esp + 0x7c]
push edi
mov eax, dword [esp + 0x8c]
push eax
mov edx, dword [esp + 0xb0]
push edx
push 0
mov eax, dword [esp + 0xd8]
push eax
mov ecx, dword [esp + 0x130]
push ecx
imul eax, dword [esp + 0x114]
mov edx, dword [esp + 0xe4]
add edx, eax
add edx, dword [esp + 0x110]
push edx
mov esi, dword [esp + 0xc8]
push esi
call fcn.1017eb10
jmp 0x1001249c
cmp dword [esp + 0x6c], 4
jne 0x10011888
mov ecx, dword [esp + 0x74]
imul ecx, dword [esp + 0x104]
mov edi, dword [esp + 0x94]
sub edi, ecx
sub edi, dword [esp + 0x70]
mov ecx, dword [ebp + ebx + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebp + ebx + 0x78]
mov ecx, dword [ebp + ebx + 0x58]
mov esi, dword [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + ebx + 0x2c]
mov edi, dword [ebp + ebx + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebp + ebx + 0x28]
sub ecx, dword [esp + 0xb8]
sub edi, dword [esp + 0x90]
sub ecx, edx
mov dword [esp + 0x68], esi
sub edi, eax
mov esi, dword [esp + 0xf0]
and esi, 0x10
mov dword [esp + 0x88], esi
jne 0x10010db2
mov esi, dword [ebp + ebx + 0x4c]
mov dword [esp + 0xe4], esi
cmp edx, dword [ebp + ebx + 0x4c]
jl 0x10010dbf
mov dword [esp + 0xe4], 0
jmp 0x10010dc6
sub dword [esp + 0xe4], edx
mov esi, dword [esp + 0xf0]
and esi, 0x40
mov dword [esp + 0x8c], esi
jne 0x10010dea
mov esi, dword [ebp + ebx + 0x7c]
mov dword [esp + 0xe0], esi
cmp eax, dword [ebp + ebx + 0x7c]
jl 0x10010df7
mov dword [esp + 0xe0], 0
jmp 0x10010dfe
sub dword [esp + 0xe0], eax
mov esi, dword [esp + 0xf0]
and esi, 0x20
mov dword [esp + 0xcc], esi
jne 0x10010e22
mov esi, dword [ebp + ebx + 0x50]
mov dword [esp + 0x80], esi
cmp ecx, dword [ebp + ebx + 0x50]
jl 0x10010e2f
mov dword [esp + 0x80], 0
jmp 0x10010e36
sub dword [esp + 0x80], ecx
and dword [esp + 0xf0], 0x80
jne 0x10010e53
mov esi, dword [ebp + ebx + 0x80]
cmp edi, dword [ebp + ebx + 0x80]
jl 0x10010e57
xor esi, esi
jmp 0x10010e59
sub esi, edi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xb8]
cmp ebx, dword [esp + 0xe4]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0x90]
cmovl eax, dword [esp + 0xb8]
cmp edi, dword [esp + 0xe0]
mov edi, ebx
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0xe0]
cmovl ebp, dword [esp + 0x90]
sub edi, eax
cmp ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
cmovl ecx, dword [esp + 0xb8]
cmp esi, dword [esp + 0x90]
mov dword [esp + 0xdc], edx
cmovge esi, dword [esp + 0x90]
lea edx, [eax + ecx]
cmp edx, dword [esp + 0xb8]
mov dword [esp + 0x70], edi
cmovg ecx, edi
lea edx, [ebp + esi]
mov edi, dword [esp + 0x90]
sub edi, ebp
cmp edx, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
lea ecx, [ecx*4]
cmovg esi, edi
lea edi, [ebx*4]
mov dword [esp + 0x84], esi
lea ebx, [eax*4]
mov esi, dword [esp + 0x64]
add edi, dword [esp + 0x98]
add edi, 0x1f
and edi, 0xffffffe0
lea edx, [esi + esi]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xe0], ebp
lea ebp, [ebp*4]
mov dword [esp + 0xe4], eax
lea esi, [esi + esi]
mov edx, esi
imul edx, ebx
imul ecx, esi
add edx, edi
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xc0], edx
add ecx, edx
mov edx, dword [esp + 0x7c]
add ecx, 0x1f
imul edx, ebp
and ecx, 0xffffffe0
add edx, ecx
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xd0], edx
test eax, eax
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xec], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0xc4], ecx
lea ecx, [edx*4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0xbc], edi
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0x84]
jle 0x1001113f
mov edi, dword [esp + 0xec]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xec]
sar edi, 1
dec edi
mov dword [esp + 0xf8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x84], esi
lea edi, [edi*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd8], ebp
mov eax, ecx
mov ebx, edi
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xec]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x1001110c
mov dword [esp + 0xc8], eax
xor edx, edx
mov ebx, dword [esp + 0xd4]
lea ebp, [esi + eax]
mov eax, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [eax + ebx + 0x38]
add esi, dword [esp + 0xf4]
mov edi, dword [esi + ecx*4]
sub edi, dword [esp + 0xf8]
add edi, edx
js 0x10012564
mov dword [ebp + edx*4], edi
mov esi, dword [eax + ebx + 0x28]
cmp edi, dword [eax + ebx + 0x28]
jl 0x100110dd
sub esi, edi
add esi, dword [eax + ebx + 0x28]
dec esi
cmp dword [esp + 0xcc], 0
cmove edi, esi
imul edi, dword [esp + 0x104]
mov dword [ebp + edx*4], edi
inc edx
cmp edx, dword [esp + 0xec]
jb 0x100110a0
mov eax, dword [esp + 0xc8]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xec]
inc ecx
add eax, ebx
cmp ecx, dword [esp + 0xe4]
jb 0x10011060
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x80]
cmp ecx, edx
jge 0x100112cf
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xec]
shr edx, 0x1f
add edx, dword [esp + 0xec]
sar edx, 1
dec edx
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xe8], eax
xor eax, eax
mov dword [esp + 0x58], eax
shl ecx, 2
lea edi, [edx*8]
mov dword [esp + 0xc8], edi
lea edi, [edx + edx]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0xcc]
mov ebx, edi
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xf8], ecx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
test ebx, ebx
jle 0x100112a3
mov dword [esp + 0xcc], edx
xor ecx, ecx
mov ebx, dword [esp + 0xd4]
lea eax, [edi + edx]
mov edx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x38]
add esi, dword [esp + 0xf8]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0x100]
add edi, ecx
js 0x1001254b
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x28]
sub esi, edi
add esi, dword [edx + ebx + 0x28]
dec esi
cmp edi, dword [edx + ebx + 0x28]
cmovge edi, esi
imul edi, dword [esp + 0x104]
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xfc]
jb 0x10011240
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xfc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc0]
inc ebp
add edx, esi
cmp ebp, dword [esp + 0xdc]
jb 0x10011200
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
cmp dword [esp + 0xe0], 0
lea edx, [eax*4]
mov dword [esp + 0xcc], edx
jle 0x1001142d
mov ecx, dword [esp + 0x7c]
xor edx, edx
shr ecx, 0x1f
add ecx, dword [esp + 0x7c]
sar ecx, 1
dec ecx
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x88], edx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x84], esi
lea edi, [ecx + ecx]
mov dword [esp + 0xc8], edi
lea edi, [ecx*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov eax, edx
mov ebp, edi
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
nop dword [eax + eax]
nop dword [eax]
nop
test esi, esi
jle 0x10011401
mov dword [esp + 0x88], eax
xor ebx, ebx
mov ebp, dword [esp + 0xd4]
lea ecx, [edi + eax]
mov eax, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [eax + ebp + 0x68]
add esi, dword [esp + 0xcc]
mov esi, dword [esi + edx*4]
sub esi, dword [esp + 0xdc]
add esi, ebx
js 0x10012540
mov dword [ecx + ebx*4], esi
mov edi, dword [eax + ebp + 0x58]
cmp esi, dword [eax + ebp + 0x58]
jl 0x100113de
cmp dword [esp + 0xf0], 0
jne 0x100113de
sub edi, esi
add edi, dword [eax + ebp + 0x58]
dec edi
mov dword [ecx + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xc8]
jb 0x100113a0
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
inc edx
add eax, ebp
cmp edx, dword [esp + 0xe0]
jb 0x10011360
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
add eax, dword [esp + 0x90]
mov edx, eax
sub edx, esi
cmp edx, eax
jge 0x1001159f
mov ecx, dword [esp + 0x7c]
sub eax, edx
shr ecx, 0x1f
add ecx, dword [esp + 0x7c]
sar ecx, 1
dec ecx
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xe8], eax
xor eax, eax
shl edx, 2
mov dword [esp + 0x58], eax
lea edi, [ecx + ecx]
mov dword [esp + 0xf0], edi
lea edi, [ecx*8]
mov dword [esp + 0x88], edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0xc8]
mov esi, edi
mov edi, dword [esp + 0xf0]
mov dword [esp + 0xd4], ebx
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
test edi, edi
jle 0x1001157a
mov dword [esp + 0xc8], ebp
xor ebx, ebx
lea eax, [edx + ebp]
mov edx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebp + 0x68]
add esi, dword [esp + 0xdc]
mov esi, dword [esi + ecx*4]
sub esi, dword [esp + 0xf8]
add esi, ebx
js 0x10012527
mov dword [eax + ebx*4], esi
mov edi, dword [edx + ebp + 0x58]
cmp esi, dword [edx + ebp + 0x58]
jl 0x10011554
sub edi, esi
add edi, dword [edx + ebp + 0x58]
dec edi
mov dword [eax + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xf0]
jb 0x10011520
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0xf0]
inc ecx
add ebp, esi
cmp ecx, dword [esp + 0xe8]
jb 0x100114e0
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
mov edi, dword [esp + 0xb0]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xec]
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0xf4]
imul eax, dword [esp + 0xec]
add eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xcc]
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0x9c]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x80]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
call fcn.1017eb10
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x100124a0
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xe0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x100124a0
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xd0]
lea eax, [edx*4]
imul eax, esi
mov esi, dword [esp + 0x60]
add ecx, eax
add ecx, 0x1f
and ecx, 0xffffffe0
mov dword [esp + 0xd0], ecx
lea edx, [esi*8]
add edx, ecx
lea edi, [esi + esi]
add edx, 0x23
and edx, 0xffffffe0
mov dword [ecx], edx
test edi, edi
jle 0x100117b0
mov ecx, edi
shr ecx, 1
test ecx, ecx
jbe 0x1001251d
mov eax, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xd0]
lea eax, [eax*4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax + eax]
add edx, eax
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ebx + esi*8 + 4], edx
add edx, eax
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ebx + esi*8 + 8], edx
inc esi
cmp esi, ecx
jb 0x10011760
add esi, esi
mov ebx, dword [esp + 0xd4]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x100117b0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xd0]
lea edx, [eax*4]
add edx, dword [ecx + esi*4 - 4]
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe4]
shl eax, 2
mov esi, dword [esp + 0xd0]
mov edx, dword [esp + 0xe4]
imul eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x12c]
push esi
add ecx, dword [esp + 0xe4]
shl ecx, 2
mov esi, dword [esp + 0x60]
add esi, ecx
imul ecx, dword [esp + 0x80]
mov edi, dword [esp + 0xa0]
add edi, ecx
cmp dword [esp + 0x60], 0
cmove esi, edi
push esi
mov ecx, dword [esp + 0xa8]
add ecx, eax
push ecx
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x80]
push eax
mov ecx, dword [esp + 0xa8]
add ecx, dword [esp + 0x88]
push ecx
mov edi, dword [esp + 0x74]
push edi
mov eax, dword [esp + 0x7c]
push eax
mov ecx, dword [esp + 0x8c]
push ecx
mov esi, dword [esp + 0xb0]
push esi
push 0
mov edi, dword [esp + 0xd8]
push edi
mov eax, dword [esp + 0x130]
push eax
imul edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
add ecx, edx
add ecx, dword [esp + 0x110]
push ecx
mov edx, dword [esp + 0xc8]
push edx
call fcn.1017eb10
jmp 0x1001249c
mov eax, 0xffffff1f
lea esp, [esp + 0x108]
pop ebp
pop ebx
pop edi
pop esi
ret
mov ecx, dword [esp + 0x74]
imul ecx, dword [esp + 0x104]
mov edi, dword [esp + 0x94]
sub edi, ecx
sub edi, dword [esp + 0x70]
mov ecx, dword [ebp + ebx + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebp + ebx + 0x78]
mov ecx, dword [ebp + ebx + 0x58]
mov esi, dword [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + ebx + 0x2c]
mov edi, dword [ebp + ebx + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebp + ebx + 0x28]
sub ecx, dword [esp + 0xb8]
sub edi, dword [esp + 0x90]
sub ecx, edx
mov dword [esp + 0x68], esi
sub edi, eax
mov esi, dword [esp + 0xf0]
and esi, 0x10
mov dword [esp + 0x88], esi
jne 0x1001191f
mov esi, dword [ebp + ebx + 0x4c]
mov dword [esp + 0xe0], esi
cmp edx, dword [ebp + ebx + 0x4c]
jl 0x1001192c
mov dword [esp + 0xe0], 0
jmp 0x10011933
sub dword [esp + 0xe0], edx
mov esi, dword [esp + 0xf0]
and esi, 0x40
mov dword [esp + 0x84], esi
jne 0x10011957
mov esi, dword [ebp + ebx + 0x7c]
mov dword [esp + 0xd0], esi
cmp eax, dword [ebp + ebx + 0x7c]
jl 0x10011964
mov dword [esp + 0xd0], 0
jmp 0x1001196b
sub dword [esp + 0xd0], eax
mov esi, dword [esp + 0xf0]
and esi, 0x20
mov dword [esp + 0xe4], esi
jne 0x1001198c
mov esi, dword [ebp + ebx + 0x50]
mov dword [esp + 0x7c], esi
cmp ecx, dword [ebp + ebx + 0x50]
jl 0x10011996
mov dword [esp + 0x7c], 0
jmp 0x1001199a
sub dword [esp + 0x7c], ecx
and dword [esp + 0xf0], 0x80
jne 0x100119b7
mov esi, dword [ebp + ebx + 0x80]
cmp edi, dword [ebp + ebx + 0x80]
jl 0x100119bb
xor esi, esi
jmp 0x100119bd
sub esi, edi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xb8]
cmp ebx, dword [esp + 0xe0]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x90]
cmovl eax, dword [esp + 0xb8]
cmp edi, dword [esp + 0xd0]
mov edi, ebx
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0xd0]
cmovl ebp, dword [esp + 0x90]
sub edi, eax
cmp ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
cmovl ecx, dword [esp + 0xb8]
cmp esi, dword [esp + 0x90]
mov dword [esp + 0xdc], edx
cmovge esi, dword [esp + 0x90]
lea edx, [eax + ecx]
cmp edx, dword [esp + 0xb8]
mov dword [esp + 0x70], edi
cmovg ecx, edi
lea edx, [ebp + esi]
mov edi, dword [esp + 0x90]
sub edi, ebp
cmp edx, dword [esp + 0x90]
mov dword [esp + 0x7c], ecx
lea ecx, [ecx*4]
cmovg esi, edi
lea edi, [ebx*4]
mov dword [esp + 0x80], esi
lea ebx, [eax*4]
mov esi, dword [esp + 0x64]
add edi, dword [esp + 0x98]
add edi, 0x1f
and edi, 0xffffffe0
lea edx, [esi + esi]
mov esi, dword [esp + 0x60]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd0], ebp
lea ebp, [ebp*4]
mov dword [esp + 0xe0], eax
lea esi, [esi + esi]
mov edx, esi
imul edx, ebx
imul ecx, esi
add edx, edi
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xbc], edx
add ecx, edx
mov edx, dword [esp + 0xc8]
add ecx, 0x1f
imul edx, ebp
and ecx, 0xffffffe0
add edx, ecx
add edx, 0x1f
and edx, 0xffffffe0
mov dword [esp + 0xcc], edx
test eax, eax
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xf4], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0xc0], ecx
lea ecx, [edx*4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x8c], edi
mov dword [esp + 0xf8], ecx
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0x80]
jle 0x10011c98
mov edi, dword [esp + 0xf4]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xf4]
sar edi, 1
dec edi
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0xd8], ebp
lea edi, [edi*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xdc], edx
mov ebp, ecx
mov ebx, edi
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0xf4]
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
test esi, esi
jle 0x10011c65
mov dword [esp + 0xc4], ebp
xor eax, eax
mov esi, dword [esp + 0xd4]
lea edx, [edi + ebp]
mov ebp, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ebx, dword [ebp + esi + 0x38]
xor edi, edi
add ebx, dword [esp + 0xf8]
mov ebx, dword [ebx + ecx*4]
sub ebx, dword [esp + 0xec]
add ebx, eax
test ebx, ebx
cmovle ebx, edi
mov dword [edx + eax*4], ebx
mov edi, dword [ebp + esi + 0x28]
cmp ebx, dword [ebp + esi + 0x28]
jl 0x10011c37
dec edi
cmp dword [esp + 0xe4], 0
cmove ebx, edi
imul ebx, dword [esp + 0x104]
mov dword [edx + eax*4], ebx
inc eax
cmp eax, dword [esp + 0xf4]
jb 0x10011c00
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0xf4]
inc ecx
add ebp, ebx
cmp ecx, dword [esp + 0xe0]
jb 0x10011bc0
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x7c]
cmp ecx, edx
jge 0x10011e09
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf4]
shr edx, 0x1f
add edx, dword [esp + 0xf4]
sar edx, 1
dec edx
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xe8], eax
xor eax, eax
mov dword [esp + 0x58], eax
shl ecx, 2
lea edi, [edx*8]
mov dword [esp + 0xe4], edi
lea edi, [edx + edx]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xc4], eax
mov dword [esp + 0x80], esi
mov dword [esp + 0xd8], ebp
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0xc4]
mov esi, edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xd4], ebx
nop dword [eax + eax]
test esi, esi
jle 0x10011ddd
mov dword [esp + 0xc4], eax
xor ebx, ebx
mov dword [esp + 0xdc], edx
lea ecx, [edi + eax]
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [eax + edx + 0x38]
add esi, dword [esp + 0xec]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0x100]
add edi, ebx
js 0x100125e4
mov dword [ecx + ebx*4], edi
mov esi, dword [eax + edx + 0x28]
dec esi
cmp edi, dword [eax + edx + 0x28]
cmovge edi, esi
imul edi, dword [esp + 0x104]
mov dword [ecx + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xfc]
jb 0x10011d80
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xbc]
inc ebp
add eax, dword [esp + 0xe4]
cmp ebp, edx
jb 0x10011d40
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
cmp dword [esp + 0xd0], 0
lea edx, [eax*4]
jle 0x10011ffc
mov edi, dword [esp + 0xc8]
shr edi, 0x1f
mov ecx, dword [esp + 0x64]
add edi, dword [esp + 0xc8]
sar edi, 1
dec edi
mov dword [esp + 0xe4], edi
lea edi, [ecx + ecx]
mov dword [esp + 0xd8], 0
lea ecx, [ecx*8]
mov dword [esp + 0x88], edi
shr edi, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xc4], edx
mov esi, dword [esp + 0xd8]
mov ecx, dword [esp + 0xc0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
cmp dword [esp + 0x88], 0
jle 0x10011fd9
cmp dword [esp + 0xdc], 0
jbe 0x100125da
mov eax, dword [esp + 0x58]
xor edx, edx
imul eax, esi
mov dword [esp + 0xd8], esi
add eax, ecx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
mov edi, dword [ebp + ebx + 0x68]
mov esi, edx
add edi, dword [esp + 0xc4]
add esi, edx
mov ecx, dword [esp + 0xd8]
mov ecx, dword [edi + ecx*4]
xor edi, edi
sub ecx, dword [esp + 0xe4]
add ecx, esi
test ecx, ecx
cmovle ecx, edi
mov dword [eax + edx*8], ecx
mov edi, dword [ebp + ebx + 0x58]
cmp ecx, dword [ebp + ebx + 0x58]
jl 0x10011f24
cmp dword [esp + 0xf0], 0
jne 0x10011f24
dec edi
mov dword [eax + edx*8], edi
mov edi, dword [ebp + ebx + 0x68]
inc esi
add edi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd8]
mov ecx, dword [edi + ecx*4]
sub ecx, dword [esp + 0xe4]
add ecx, esi
xor esi, esi
test ecx, ecx
cmovle ecx, esi
mov dword [eax + edx*8 + 4], ecx
mov esi, dword [ebp + ebx + 0x58]
cmp ecx, dword [ebp + ebx + 0x58]
jl 0x10011f67
cmp dword [esp + 0xf0], 0
jne 0x10011f67
dec esi
mov dword [eax + edx*8 + 4], esi
inc edx
cmp edx, dword [esp + 0xdc]
jb 0x10011ee0
add edx, edx
mov esi, dword [esp + 0xd8]
inc edx
mov ecx, dword [esp + 0xc0]
mov edi, edx
dec edi
cmp edi, dword [esp + 0x88]
jae 0x10011fd9
mov eax, dword [esp + 0xc8]
imul eax, esi
add edx, eax
mov eax, dword [ebp + ebx + 0x68]
add eax, dword [esp + 0xc4]
mov eax, dword [eax + esi*4]
sub eax, dword [esp + 0xe4]
add eax, edi
xor edi, edi
test eax, eax
cmovle eax, edi
mov dword [ecx + edx*4 - 4], eax
mov edi, dword [ebp + ebx + 0x58]
cmp eax, dword [ebp + ebx + 0x58]
jl 0x10011fd9
cmp dword [esp + 0xf0], 0
jne 0x10011fd9
dec edi
mov dword [ecx + edx*4 - 4], edi
inc esi
cmp esi, dword [esp + 0xd0]
jb 0x10011ea0
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x80]
add eax, dword [esp + 0x90]
mov ecx, eax
sub ecx, esi
cmp ecx, eax
jge 0x100121cb
mov edi, dword [esp + 0xc8]
sub eax, ecx
shr edi, 0x1f
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x64]
add edi, dword [esp + 0xc8]
sar edi, 1
dec edi
mov dword [esp + 0xe4], edi
lea edi, [eax + eax]
mov dword [esp + 0xd8], 0
lea eax, [eax*8]
shl ecx, 2
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], edi
shr edi, 1
mov dword [esp + 0xc4], edx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xec], ecx
mov dword [esp + 0x80], esi
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
cmp dword [esp + 0x88], 0
jle 0x100121af
cmp dword [esp + 0xdc], 0
jbe 0x100125d0
mov esi, dword [esp + 0x58]
xor ecx, ecx
imul esi, eax
mov dword [esp + 0xd8], eax
add esi, edx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
mov edx, dword [ebp + ebx + 0x68]
mov eax, ecx
add edx, dword [esp + 0xec]
add eax, ecx
mov edi, dword [esp + 0xd8]
mov edx, dword [edx + edi*4]
sub edx, dword [esp + 0xe4]
add edx, eax
js 0x100125b4
mov dword [esi + ecx*8], edx
mov edi, dword [ebp + ebx + 0x58]
cmp edx, dword [ebp + ebx + 0x58]
jl 0x10012119
dec edi
mov dword [esi + ecx*8], edi
mov edx, dword [ebp + ebx + 0x68]
inc eax
add edx, dword [esp + 0xec]
mov edi, dword [esp + 0xd8]
mov edx, dword [edx + edi*4]
sub edx, dword [esp + 0xe4]
add edx, eax
js 0x10012597
mov dword [esi + ecx*8 + 4], edx
mov eax, dword [ebp + ebx + 0x58]
cmp edx, dword [ebp + ebx + 0x58]
jl 0x10012151
dec eax
mov dword [esi + ecx*8 + 4], eax
inc ecx
cmp ecx, dword [esp + 0xdc]
jb 0x100120e0
add ecx, ecx
mov edx, dword [esp + 0xcc]
inc ecx
mov eax, edi
mov edi, ecx
dec edi
cmp edi, dword [esp + 0x88]
jae 0x100121af
mov esi, dword [esp + 0xc8]
imul esi, eax
add ecx, esi
mov esi, dword [ebp + ebx + 0x68]
add esi, dword [esp + 0xec]
mov esi, dword [esi + eax*4]
sub esi, dword [esp + 0xe4]
add esi, edi
js 0x1001257a
mov dword [edx + ecx*4 - 4], esi
mov edi, dword [ebp + ebx + 0x58]
cmp esi, dword [ebp + ebx + 0x58]
jl 0x100121af
dec edi
mov dword [edx + ecx*4 - 4], edi
inc eax
cmp eax, dword [esp + 0xe8]
jb 0x100120a0
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x104]
mov dword [esp + 8], edi
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0xf8]
imul eax, dword [esp + 0xf4]
add eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
imul edx, dword [esp + 0xc8]
add edx, dword [esp + 0x9c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
call fcn.1017eb10
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x100124a0
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xd0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x100124a0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
lea edx, [eax*4]
imul edx, esi
mov esi, dword [esp + 0x60]
add ecx, edx
add ecx, 0x1f
and ecx, 0xffffffe0
mov dword [esp + 0xcc], ecx
lea eax, [esi*8]
add eax, ecx
lea edi, [esi + esi]
add eax, 0x23
and eax, 0xffffffe0
mov dword [ecx], eax
test edi, edi
jle 0x100123d0
mov edx, edi
shr edx, 1
test edx, edx
jbe 0x10012570
mov ecx, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xcc]
lea ecx, [ecx*4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebx + esi*8 + 4], eax
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebx + esi*8 + 8], eax
inc esi
cmp esi, edx
jb 0x10012380
add esi, esi
mov ebx, dword [esp + 0xd4]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x100123d0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xcc]
lea edx, [eax*4]
add edx, dword [ecx + esi*4 - 4]
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe0]
shl eax, 2
mov edx, dword [esp + 0xcc]
imul eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x12c]
push edx
add ecx, dword [esp + 0xd4]
shl ecx, 2
mov edi, dword [esp + 0x60]
add edi, ecx
imul ecx, dword [esp + 0xcc]
mov esi, dword [esp + 0xa0]
add esi, ecx
cmp dword [esp + 0x60], 0
cmove edi, esi
push edi
mov edx, dword [esp + 0xa8]
add edx, eax
push edx
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x80]
push eax
mov ecx, dword [esp + 0xa8]
add ecx, dword [esp + 0x88]
push ecx
mov esi, dword [esp + 0x74]
push esi
mov edi, dword [esp + 0x7c]
push edi
mov eax, dword [esp + 0x8c]
push eax
mov edx, dword [esp + 0xb0]
push edx
push 0
mov eax, dword [esp + 0xd8]
push eax
mov ecx, dword [esp + 0x130]
push ecx
imul eax, dword [esp + 0x110]
mov edx, dword [esp + 0xe4]
add edx, eax
add edx, dword [esp + 0x100]
push edx
mov esi, dword [esp + 0xc8]
push esi
call fcn.1017eb10
lea esp, [esp + 0x38]
mov eax, dword [esp + 0xa8]
cmp eax, dword [ebp + ebx + 0x5c]
jg 0x100124ba
mov eax, dword [esp + 0xa4]
cmp eax, dword [ebp + ebx + 0x2c]
jle 0x100124cb
mov eax, 0x30
lea esp, [esp + 0x108]
pop ebp
pop ebx
pop edi
pop esi
ret
xor eax, eax
lea esp, [esp + 0x108]
pop ebp
pop ebx
pop edi
pop esi
ret
mov esi, 1
jmp 0x10010c27
cmp dword [esp + 0x88], 0
jne 0x100109dd
neg esi
mov dword [eax + ebx*4], esi
jmp 0x100109e0
mov edi, 1
jmp 0x10010850
cmp dword [esp + 0x84], 0
jne 0x1001065d
neg edi
mov dword [eax + ecx*4], edi
jmp 0x10010660
mov esi, 1
jmp 0x10011787
cmp dword [esp + 0x8c], 0
jne 0x1001153d
neg esi
dec esi
mov dword [eax + ebx*4], esi
jmp 0x10011540
neg esi
dec esi
mov dword [ecx + ebx*4], esi
jmp 0x100113c0
cmp dword [esp + 0x88], 0
jne 0x1001125d
neg edi
dec edi
mov dword [eax + ecx*4], edi
jmp 0x10011260
neg edi
dec edi
mov dword [ebp + edx*4], edi
jmp 0x100110c1
mov esi, 1
jmp 0x100123a7
cmp dword [esp + 0x84], 0
jne 0x1001219c
mov dword [edx + ecx*4 - 4], 0
xor esi, esi
jmp 0x100121a0
cmp dword [esp + 0x84], 0
jne 0x1001213e
mov dword [esi + ecx*8 + 4], 0
xor edx, edx
jmp 0x10012142
cmp dword [esp + 0x84], 0
jne 0x10012108
mov dword [esi + ecx*8], 0
xor edx, edx
jmp 0x1001210b
mov ecx, 1
jmp 0x10012167
mov edx, 1
jmp 0x10011f86
cmp dword [esp + 0x88], 0
jne 0x10011d9d
mov dword [ecx + ebx*4], 0
xor edi, edi
jmp 0x10011da0
mov esi, dword [esp + 0xb8]
mov edi, dword [ebp + ebx + 0xc]
add edi, edi
mov dword [esp + 0x5c], edi
lea esi, [esi*4]
mov edi, dword [ebp + ebx + 0x10]
add esi, dword [esp + 0x98]
add esi, 0x1f
and esi, 0xffffffe0
lea ecx, [edi*8]
add ecx, esi
add edi, edi
add ecx, 0x23
and ecx, 0xffffffe0
mov dword [esp + 0x60], ecx
test edi, edi
mov dword [esi], ecx
jle 0x100126db
mov ecx, edi
shr ecx, 1
mov dword [esp + 0x58], ecx
test ecx, ecx
jbe 0x10012773
mov dword [esp + 0xdc], edx
xor ecx, ecx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
nop dword [eax + eax]
add ebx, ebp
add ebx, 0x1f
and ebx, 0xffffffe0
mov dword [esi + ecx*8 + 4], ebx
add ebx, ebp
add ebx, 0x1f
and ebx, 0xffffffe0
mov dword [esi + ecx*8 + 8], ebx
inc ecx
cmp ecx, edx
jb 0x10012680
add ecx, ecx
mov edx, dword [esp + 0xdc]
inc ecx
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x58], ecx
dec ecx
cmp ecx, edi
mov ecx, dword [esp + 0x58]
jae 0x100126db
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x64]
add edi, dword [esi + ecx*4 - 4]
add edi, 0x1f
and edi, 0xffffffe0
mov dword [esi + ecx*4], edi
mov edi, dword [esp + 0x58]
push esi
shl edx, 2
shl eax, 2
imul edx, edi
mov ecx, dword [esp + 0x6c]
add ecx, eax
imul eax, dword [esp + 0x60]
mov esi, dword [esp + 0xa4]
add esi, edx
mov edx, dword [esp + 0xa0]
add edx, eax
cmp dword [esp + 0x6c], 0
cmove ecx, edx
push ecx
push esi
mov eax, dword [esp + 0xb8]
push eax
mov edi, dword [esp + 0xa8]
push edi
mov eax, dword [ebp + ebx + 0x10]
push eax
mov edx, dword [ebp + ebx + 0xc]
push edx
mov ecx, dword [esp + 0xd4]
push ecx
mov esi, dword [esp + 0xb0]
push esi
push 0
mov edi, dword [esp + 0xd8]
push edi
mov edx, dword [esp + 0x130]
push edx
mov eax, dword [esp + 0xe4]
push eax
imul edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xc8]
sub ecx, edx
sub ecx, dword [esp + 0xa4]
push ecx
call fcn.1017eb10
jmp 0x1001249c
mov ecx, 1
jmp 0x100126b5
mov edi, 1
jmp 0x100100f0
mov edx, 1
jmp 0x10010049