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

Disassembly:
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x108]
mov ebp, dword [esp + 0x128]
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0x144]
mov ebx, dword [esp + 0x148]
mov dword [esp + 0xac], ebx
mov ebx, ebp
neg ebx
mov ecx, dword [esp + 0x124]
and ebx, 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 + 0xec], 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 [ebx + ebp + 0x5c]
cmp edi, dword [ebx + ebp + 0x5c]
jle 0x1002856b
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 [ebx + ebp + 0x2c]
cmp edx, dword [ebx + ebp + 0x2c]
jle 0x10028595
sub ecx, eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x138], ecx
cvtsi2sd xmm0, dword [ebx + ebp + 0x64]
cvtsi2sd xmm3, dword [ebx + ebp + 0x30]
cvtsi2sd xmm2, dword [ebx + ebp + 0x34]
cvtsi2sd xmm4, eax
cvtsi2sd xmm1, dword [ebx + ebp + 0x60]
mov edx, dword [ebx + ebp + 0x3c]
mov dword [esp + 0xa0], edx
mov edx, dword [ebx + ebp + 0x64]
shr edx, 0x1f
mov eax, dword [ebx + ebp + 0x30]
shr eax, 0x1f
mov edi, dword [ebx + ebp + 0x60]
shr edi, 0x1f
addsd xmm0, qword [edx*8 + 0x102cb770]
addsd xmm3, qword [eax*8 + 0x102cb770]
addsd xmm1, qword [edi*8 + 0x102cb770]
mov edx, dword [ebx + ebp + 0x34]
shr edx, 0x1f
divsd xmm1, xmm0
mov ecx, dword [ebx + ebp + 0x6c]
mov esi, dword [ebx + ebp + 0x78]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x68], esi
movsd qword [esp + 0x58], xmm1
addsd xmm2, qword [edx*8 + 0x102cb770]
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 ecx, dword [esp + 0x90]
shl eax, 2
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x12c]
lea edx, [ecx*4]
add edx, dword [esp + 0xac]
mov dword [esp + 0x98], edx
test ecx, ecx
jle 0x10028714
shr ecx, 1
test ecx, ecx
jbe 0x1002ac55
mov dword [esp + 0xe8], eax
xor edx, edx
lea esi, [eax*4]
mov eax, dword [esp + 0xac]
nop word [eax + eax]
mov edi, dword [ebx + ebp + 0x68]
add edi, esi
mov edi, dword [edi + edx*8]
shl edi, 2
mov dword [eax + edx*8], edi
mov edi, dword [ebx + ebp + 0x68]
add edi, esi
mov edi, dword [edi + edx*8 + 4]
shl edi, 2
mov dword [eax + edx*8 + 4], edi
inc edx
cmp edx, ecx
jb 0x100286c0
add edx, edx
mov eax, dword [esp + 0xe8]
inc edx
mov ecx, edx
dec ecx
cmp ecx, dword [esp + 0x90]
jae 0x10028714
mov ecx, dword [ebx + ebp + 0x68]
lea esi, [eax + edx]
mov edi, dword [ecx + esi*4 - 4]
mov ecx, dword [esp + 0xac]
shl edi, 2
mov dword [ecx + edx*4 - 4], edi
mov edx, dword [esp + 0x130]
cmp dword [esp + 0xb8], 0
jle 0x100287b2
mov ecx, dword [esp + 0xb8]
shr ecx, 1
test ecx, ecx
jbe 0x1002ac4b
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]
mov edx, dword [ebx + ebp + 0x38]
add edx, esi
mov edx, dword [edx + edi*8]
mov dword [eax + edi*8], edx
mov edx, dword [ebx + ebp + 0x38]
add edx, esi
mov edx, dword [edx + edi*8 + 4]
mov dword [eax + edi*8 + 4], edx
inc edi
cmp edi, ecx
jb 0x10028760
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 0x100287b2
mov ecx, dword [ebx + ebp + 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 + 0xec], 0xf0
je 0x1002aaa5
cmp dword [esp + 0x6c], 1
je 0x10029e95
cmp dword [esp + 0x6c], 3
jne 0x1002931d
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 [ebx + ebp + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebx + ebp + 0x78]
mov ecx, dword [ebx + ebp + 0x58]
mov esi, dword [ebx + ebp + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + ebp + 0x2c]
mov edi, dword [ebx + ebp + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebx + ebp + 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 + 0xec]
and esi, 0x10
mov dword [esp + 0x88], esi
jne 0x1002885f
mov esi, dword [ebx + ebp + 0x4c]
mov dword [esp + 0xe4], esi
cmp edx, dword [ebx + ebp + 0x4c]
jl 0x1002886c
mov dword [esp + 0xe4], 0
jmp 0x10028873
sub dword [esp + 0xe4], edx
mov esi, dword [esp + 0xec]
and esi, 0x40
mov dword [esp + 0x8c], esi
jne 0x10028897
mov esi, dword [ebx + ebp + 0x7c]
mov dword [esp + 0xe0], esi
cmp eax, dword [ebx + ebp + 0x7c]
jl 0x100288a4
mov dword [esp + 0xe0], 0
jmp 0x100288ab
sub dword [esp + 0xe0], eax
mov esi, dword [esp + 0xec]
and esi, 0x20
mov dword [esp + 0xcc], esi
jne 0x100288cf
mov esi, dword [ebx + ebp + 0x50]
mov dword [esp + 0x80], esi
cmp ecx, dword [ebx + ebp + 0x50]
jl 0x100288dc
mov dword [esp + 0x80], 0
jmp 0x100288e3
sub dword [esp + 0x80], ecx
and dword [esp + 0xec], 0x80
jne 0x10028900
mov esi, dword [ebx + ebp + 0x80]
cmp edi, dword [ebx + ebp + 0x80]
jl 0x10028904
xor esi, esi
jmp 0x10028906
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 + 0xf0], 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 ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x84]
jle 0x10028bdc
mov edi, dword [esp + 0xf0]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xf0]
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 + 0xdc], edx
lea edi, [edi*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x84], esi
mov eax, ecx
mov edx, edi
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xf0]
nop word [eax + eax]
test ebp, ebp
jle 0x10028ba9
mov dword [esp + 0xc8], eax
xor esi, esi
mov ebp, dword [esp + 0xd8]
lea edi, [ebx + eax]
mov ebx, dword [esp + 0xd4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov eax, dword [ebx + ebp + 0x38]
add eax, dword [esp + 0xf4]
mov eax, dword [eax + ecx*4]
sub eax, dword [esp + 0xf8]
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 0x10028b7b
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 + 0xf0]
jb 0x10028b40
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xf0]
inc ecx
add eax, edx
cmp ecx, dword [esp + 0xe4]
jb 0x10028b00
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x80]
cmp ecx, edx
jge 0x10028d71
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf0]
shr edx, 0x1f
add edx, dword [esp + 0xf0]
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 + 0xd4], ebx
mov dword [esp + 0xd8], ebp
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 0x10028d45
mov dword [esp + 0xcc], edx
xor ecx, ecx
mov ebx, dword [esp + 0xd8]
lea eax, [edi + edx]
mov edx, dword [esp + 0xd4]
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 0x1002a9f7
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 0x10028ce0
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 0x10028ca0
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
cmp dword [esp + 0xe0], 0
lea edx, [eax*4]
mov dword [esp + 0xcc], edx
jle 0x10028ed0
mov edx, dword [esp + 0x7c]
xor ecx, ecx
shr edx, 0x1f
add edx, dword [esp + 0x7c]
sar edx, 1
dec edx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x88], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xd4], ebx
lea edi, [edx + edx]
mov dword [esp + 0xc8], edi
lea edi, [edx*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x84], esi
mov eax, ecx
mov edx, edi
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
nop dword [eax]
nop dword [eax]
test ebx, ebx
jle 0x10028ea4
mov dword [esp + 0x88], eax
xor esi, esi
mov ebx, dword [esp + 0xd4]
lea edi, [ebp + eax]
mov ebp, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
mov eax, dword [ebx + ebp + 0x68]
add eax, dword [esp + 0xcc]
mov eax, dword [eax + ecx*4]
sub eax, dword [esp + 0xdc]
add eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [edi + esi*4], eax
mov edx, dword [ebx + ebp + 0x58]
cmp eax, dword [ebx + ebp + 0x58]
jl 0x10028e7b
add edx, edx
sub edx, eax
add edx, 0xfffffffe
cmp dword [esp + 0xec], 0
cmove eax, edx
shl eax, 2
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [esp + 0xc8]
jb 0x10028e40
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
inc ecx
add eax, edx
cmp ecx, dword [esp + 0xe0]
jb 0x10028e00
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add eax, dword [esp + 0x90]
mov edx, eax
sub edx, esi
cmp edx, eax
jge 0x10029045
mov ecx, dword [esp + 0x7c]
sub eax, edx
shr ecx, 0x1f
add ecx, dword [esp + 0x7c]
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 + 0x88], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x88]
mov esi, edi
mov edi, dword [esp + 0xdc]
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
test edi, edi
jle 0x10029020
mov dword [esp + 0x88], ebx
xor ecx, ecx
lea eax, [edx + ebx]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x68]
add esi, dword [esp + 0xf8]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0xec]
add edi, ecx
js 0x1002a9df
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x58]
sub esi, edi
add esi, dword [edx + ebx + 0x58]
add esi, 0xfffffffe
cmp edi, dword [edx + ebx + 0x58]
cmovge edi, esi
shl edi, 2
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xdc]
jb 0x10028fc0
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xdc]
inc ebp
add ebx, esi
cmp ebp, dword [esp + 0xe8]
jb 0x10028f80
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
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 + 0xf0]
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 + 0xf0]
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.10116f20
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x1002a99c
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xe0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x1002a99c
mov eax, dword [esp + 0x7c]
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 0x1002924c
mov edx, edi
shr edx, 1
test edx, edx
jbe 0x1002a9d5
mov ecx, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd8], ebp
shl ecx, 4
mov ebp, dword [esp + 0xd0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebp + esi*8 + 4], eax
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebp + esi*8 + 8], eax
inc esi
cmp esi, edx
jb 0x10029200
add esi, esi
mov ebp, dword [esp + 0xd8]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x1002924c
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x90]
shl eax, 4
add eax, dword [edx + esi*4 - 4]
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe4]
shl eax, 2
mov edx, dword [esp + 0xd0]
imul eax, dword [esp + 0xf0]
push edx
mov ecx, dword [esp + 0xe4]
add ecx, dword [esp + 0x130]
shl ecx, 2
mov edi, dword [esp + 0x60]
add edi, ecx
imul ecx, dword [esp + 0x80]
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 + 0xa4]
push edx
mov esi, dword [esp + 0xc8]
push esi
call fcn.10116f20
jmp 0x1002a998
cmp dword [esp + 0x6c], 4
jne 0x10029e84
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 [ebx + ebp + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebx + ebp + 0x78]
mov ecx, dword [ebx + ebp + 0x58]
mov esi, dword [ebx + ebp + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + ebp + 0x2c]
mov edi, dword [ebx + ebp + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebx + ebp + 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 + 0xec]
and esi, 0x10
mov dword [esp + 0x88], esi
jne 0x100293ae
mov esi, dword [ebx + ebp + 0x4c]
mov dword [esp + 0xe4], esi
cmp edx, dword [ebx + ebp + 0x4c]
jl 0x100293bb
mov dword [esp + 0xe4], 0
jmp 0x100293c2
sub dword [esp + 0xe4], edx
mov esi, dword [esp + 0xec]
and esi, 0x40
mov dword [esp + 0x8c], esi
jne 0x100293e6
mov esi, dword [ebx + ebp + 0x7c]
mov dword [esp + 0xe0], esi
cmp eax, dword [ebx + ebp + 0x7c]
jl 0x100293f3
mov dword [esp + 0xe0], 0
jmp 0x100293fa
sub dword [esp + 0xe0], eax
mov esi, dword [esp + 0xec]
and esi, 0x20
mov dword [esp + 0xcc], esi
jne 0x1002941e
mov esi, dword [ebx + ebp + 0x50]
mov dword [esp + 0x80], esi
cmp ecx, dword [ebx + ebp + 0x50]
jl 0x1002942b
mov dword [esp + 0x80], 0
jmp 0x10029432
sub dword [esp + 0x80], ecx
and dword [esp + 0xec], 0x80
jne 0x1002944f
mov esi, dword [ebx + ebp + 0x80]
cmp edi, dword [ebx + ebp + 0x80]
jl 0x10029453
xor esi, esi
jmp 0x10029455
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 + 0xf0], 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 ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x84]
jle 0x1002973f
mov edi, dword [esp + 0xf0]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xf0]
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 + 0xf0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x1002970c
mov dword [esp + 0xc8], eax
xor edx, edx
mov ebx, dword [esp + 0xd8]
lea ebp, [esi + eax]
mov eax, dword [esp + 0xd4]
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 0x1002aa57
mov dword [ebp + edx*4], edi
mov esi, dword [eax + ebx + 0x28]
cmp edi, dword [eax + ebx + 0x28]
jl 0x100296dd
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 + 0xf0]
jb 0x100296a0
mov eax, dword [esp + 0xc8]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xf0]
inc ecx
add eax, ebx
cmp ecx, dword [esp + 0xe4]
jb 0x10029660
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x80]
cmp ecx, edx
jge 0x100298cf
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf0]
shr edx, 0x1f
add edx, dword [esp + 0xf0]
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 + 0xd4], ebx
mov dword [esp + 0xd8], ebp
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 0x100298a3
mov dword [esp + 0xcc], edx
xor ecx, ecx
mov ebx, dword [esp + 0xd8]
lea eax, [edi + edx]
mov edx, dword [esp + 0xd4]
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 0x1002aa3e
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 0x10029840
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 0x10029800
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
cmp dword [esp + 0xe0], 0
lea edx, [eax*4]
mov dword [esp + 0xcc], edx
jle 0x10029a33
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 + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov eax, edx
mov ebx, edi
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
nop dword [eax + eax]
nop dword [eax]
nop
test esi, esi
jle 0x10029a07
mov dword [esp + 0x88], eax
xor ecx, ecx
mov ebx, dword [esp + 0xd8]
lea ebp, [edi + eax]
mov eax, dword [esp + 0xd4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [eax + ebx + 0x68]
add esi, dword [esp + 0xcc]
mov edi, dword [esi + edx*4]
sub edi, dword [esp + 0xdc]
add edi, ecx
js 0x1002aa32
mov dword [ebp + ecx*4], edi
mov esi, dword [eax + ebx + 0x58]
cmp edi, dword [eax + ebx + 0x58]
jl 0x100299dd
sub esi, edi
add esi, dword [eax + ebx + 0x58]
dec esi
cmp dword [esp + 0xec], 0
cmove edi, esi
shl edi, 2
mov dword [ebp + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xc8]
jb 0x100299a0
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
inc edx
add eax, ebx
cmp edx, dword [esp + 0xe0]
jb 0x10029960
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add eax, dword [esp + 0x90]
mov edx, eax
sub edx, esi
cmp edx, eax
jge 0x10029ba3
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 + 0xec], 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 + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0xc8]
mov esi, edi
mov edi, dword [esp + 0xec]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x10029b7e
mov dword [esp + 0xc8], ebx
xor ecx, ecx
lea eax, [edx + ebx]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x68]
add esi, dword [esp + 0xdc]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0xf8]
add edi, ecx
js 0x1002aa19
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x58]
sub esi, edi
add esi, dword [edx + ebx + 0x58]
dec esi
cmp edi, dword [edx + ebx + 0x58]
cmovge edi, esi
shl edi, 2
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xec]
jb 0x10029b20
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xc8]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0xec]
inc ebp
add ebx, esi
cmp ebp, dword [esp + 0xe8]
jb 0x10029ae0
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
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 + 0xf0]
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 + 0xf0]
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.10116f20
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x1002a99c
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xe0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x1002a99c
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 0x10029dac
mov ecx, edi
shr ecx, 1
test ecx, ecx
jbe 0x1002aa0f
mov eax, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd8], ebp
shl eax, 4
mov ebp, dword [esp + 0xd0]
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 [ebp + esi*8 + 4], edx
add edx, eax
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ebp + esi*8 + 8], edx
inc esi
cmp esi, ecx
jb 0x10029d60
add esi, esi
mov ebp, dword [esp + 0xd8]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x10029dac
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x90]
shl eax, 4
add eax, dword [edx + esi*4 - 4]
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe4]
shl eax, 2
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xe4]
imul eax, dword [esp + 0xf0]
push ecx
mov esi, dword [esp + 0xe4]
add esi, dword [esp + 0x130]
shl esi, 2
mov ecx, dword [esp + 0x60]
add ecx, esi
imul esi, dword [esp + 0x80]
mov edi, dword [esp + 0xa0]
add edi, esi
cmp dword [esp + 0x60], 0
cmove ecx, edi
push ecx
mov esi, dword [esp + 0xa8]
add esi, eax
push esi
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 + 0xa4]
push ecx
mov edx, dword [esp + 0xc8]
push edx
call fcn.10116f20
jmp 0x1002a998
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 [ebx + ebp + 0x10]
mov dword [esp + 0x94], edi
mov dword [esp + 0x60], ecx
mov edi, dword [ebx + ebp + 0x78]
mov ecx, dword [ebx + ebp + 0x58]
mov esi, dword [ebx + ebp + 0xc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + ebp + 0x2c]
mov edi, dword [ebx + ebp + 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebx + ebp + 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 + 0xec]
and esi, 0x10
mov dword [esp + 0x88], esi
jne 0x10029f1b
mov esi, dword [ebx + ebp + 0x4c]
mov dword [esp + 0xe0], esi
cmp edx, dword [ebx + ebp + 0x4c]
jl 0x10029f28
mov dword [esp + 0xe0], 0
jmp 0x10029f2f
sub dword [esp + 0xe0], edx
mov esi, dword [esp + 0xec]
and esi, 0x40
mov dword [esp + 0x8c], esi
jne 0x10029f53
mov esi, dword [ebx + ebp + 0x7c]
mov dword [esp + 0xd0], esi
cmp eax, dword [ebx + ebp + 0x7c]
jl 0x10029f60
mov dword [esp + 0xd0], 0
jmp 0x10029f67
sub dword [esp + 0xd0], eax
mov esi, dword [esp + 0xec]
and esi, 0x20
mov dword [esp + 0xe4], esi
jne 0x10029f8b
mov esi, dword [ebx + ebp + 0x50]
mov dword [esp + 0x80], esi
cmp ecx, dword [ebx + ebp + 0x50]
jl 0x10029f98
mov dword [esp + 0x80], 0
jmp 0x10029f9f
sub dword [esp + 0x80], ecx
and dword [esp + 0xec], 0x80
jne 0x10029fbc
mov esi, dword [ebx + ebp + 0x80]
cmp edi, dword [ebx + ebp + 0x80]
jl 0x10029fc0
xor esi, esi
jmp 0x10029fc2
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 + 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 + 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 + 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 + 0xcc], edx
test eax, eax
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xf0], 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 ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x84]
jle 0x1002a298
mov edi, dword [esp + 0xf0]
xor ecx, ecx
shr edi, 0x1f
add edi, dword [esp + 0xf0]
sar edi, 1
dec edi
mov dword [esp + 0xf8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0xd4], ebx
lea edi, [edi*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xe8], eax
mov dword [esp + 0xdc], edx
mov ebp, ecx
mov ebx, edi
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xf0]
nop dword [eax + eax]
nop dword [eax + eax]
test esi, esi
jle 0x1002a265
mov dword [esp + 0xc8], ebp
xor eax, eax
mov esi, dword [esp + 0xd8]
lea edx, [edi + ebp]
mov ebp, dword [esp + 0xd4]
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 + 0xf4]
mov ebx, dword [ebx + ecx*4]
sub ebx, dword [esp + 0xf8]
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 0x1002a237
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 + 0xf0]
jb 0x1002a200
mov ebp, dword [esp + 0xc8]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xf0]
inc ecx
add ebp, ebx
cmp ecx, dword [esp + 0xe0]
jb 0x1002a1c0
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add edx, dword [esp + 0xb8]
mov ecx, edx
sub ecx, dword [esp + 0x80]
cmp ecx, edx
jge 0x1002a409
sub edx, ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xf0]
shr edx, 0x1f
add edx, dword [esp + 0xf0]
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 + 0xc8], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0xd8], ebp
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0xc8]
mov esi, edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xd4], ebx
nop
test esi, esi
jle 0x1002a3dd
mov dword [esp + 0xc8], eax
xor ebx, ebx
mov dword [esp + 0xdc], edx
lea ecx, [edi + eax]
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [eax + edx + 0x38]
add esi, dword [esp + 0xf8]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0x100]
add edi, ebx
js 0x1002aa89
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 0x1002a380
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xc0]
inc ebp
add eax, dword [esp + 0xe4]
cmp ebp, edx
jb 0x1002a340
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
cmp dword [esp + 0xd0], 0
lea edx, [eax*4]
mov dword [esp + 0xdc], edx
jle 0x1002a56c
mov edx, dword [esp + 0x7c]
xor ecx, ecx
shr edx, 0x1f
add edx, dword [esp + 0x7c]
sar edx, 1
dec edx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0xd4], ebx
lea edi, [edx + edx]
mov dword [esp + 0xc8], edi
lea edi, [edx*8]
mov dword [esp + 0x58], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xe8], eax
mov ebp, ecx
mov ebx, edi
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x1002a540
mov dword [esp + 0x88], ebp
xor eax, eax
lea edx, [esi + ebp]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ebx, dword [ebp + esi + 0x68]
xor edi, edi
add ebx, dword [esp + 0xdc]
mov ebx, dword [ebx + ecx*4]
sub ebx, dword [esp + 0xe4]
add ebx, eax
test ebx, ebx
cmovle ebx, edi
mov dword [edx + eax*4], ebx
mov edi, dword [ebp + esi + 0x58]
cmp ebx, dword [ebp + esi + 0x58]
jl 0x1002a517
dec edi
cmp dword [esp + 0xec], 0
cmove ebx, edi
shl ebx, 2
mov dword [edx + eax*4], ebx
inc eax
cmp eax, dword [esp + 0xc8]
jb 0x1002a4e0
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
inc ecx
add ebp, ebx
cmp ecx, dword [esp + 0xd0]
jb 0x1002a4a0
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add eax, dword [esp + 0x90]
mov edx, eax
sub edx, esi
cmp edx, eax
jge 0x1002a6dd
mov ecx, dword [esp + 0x7c]
sub eax, edx
shr ecx, 0x1f
add ecx, dword [esp + 0x7c]
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 + 0xe4], edi
lea edi, [ecx*8]
mov dword [esp + 0xc8], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x88]
mov esi, edi
mov edi, dword [esp + 0xe4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
test edi, edi
jle 0x1002a6b8
mov dword [esp + 0x88], ebx
xor ecx, ecx
lea eax, [edx + ebx]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x68]
add esi, dword [esp + 0xf8]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0xec]
add edi, ecx
js 0x1002aa6d
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x58]
dec esi
cmp edi, dword [edx + ebx + 0x58]
cmovge edi, esi
shl edi, 2
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xe4]
jb 0x1002a660
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xe4]
inc ebp
add ebx, esi
cmp ebp, dword [esp + 0xe8]
jb 0x1002a620
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
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 + 0xf0]
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 + 0xf0]
add eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xdc]
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 + 0xcc]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x80]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
call fcn.10116f20
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x1002a99c
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0xd0]
sub eax, esi
mov dword [esp + 0x90], eax
test eax, eax
jle 0x1002a99c
mov eax, dword [esp + 0x7c]
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 0x1002a8cc
mov edx, edi
shr edx, 1
test edx, edx
jbe 0x1002aa63
mov ecx, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0xd8], ebp
shl ecx, 4
mov ebp, dword [esp + 0xcc]
nop
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebp + esi*8 + 4], eax
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ebp + esi*8 + 8], eax
inc esi
cmp esi, edx
jb 0x1002a880
add esi, esi
mov ebp, dword [esp + 0xd8]
inc esi
mov eax, esi
dec eax
cmp eax, edi
jae 0x1002a8cc
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x90]
shl eax, 4
add eax, dword [edx + esi*4 - 4]
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xe0]
shl eax, 2
mov edx, dword [esp + 0xcc]
imul eax, dword [esp + 0xf0]
push edx
mov ecx, dword [esp + 0xd4]
add ecx, dword [esp + 0x130]
shl ecx, 2
mov edi, dword [esp + 0x60]
add edi, ecx
imul ecx, dword [esp + 0x80]
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 + 0xa4]
push edx
mov esi, dword [esp + 0xc8]
push esi
call fcn.10116f20
lea esp, [esp + 0x38]
mov eax, dword [esp + 0xa8]
cmp eax, dword [ebx + ebp + 0x5c]
jg 0x1002a9b6
mov eax, dword [esp + 0xa4]
cmp eax, dword [ebx + ebp + 0x2c]
jle 0x1002a9c7
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 0x10029227
cmp dword [esp + 0x8c], 0
jne 0x10028fdd
neg edi
mov dword [eax + ecx*4], edi
jmp 0x10028fe0
cmp dword [esp + 0x88], 0
jne 0x10028cfd
neg edi
mov dword [eax + ecx*4], edi
jmp 0x10028d00
mov esi, 1
jmp 0x10029d87
cmp dword [esp + 0x8c], 0
jne 0x10029b3d
neg edi
dec edi
mov dword [eax + ecx*4], edi
jmp 0x10029b40
neg edi
dec edi
mov dword [ebp + ecx*4], edi
jmp 0x100299c1
cmp dword [esp + 0x88], 0
jne 0x1002985d
neg edi
dec edi
mov dword [eax + ecx*4], edi
jmp 0x10029860
neg edi
dec edi
mov dword [ebp + edx*4], edi
jmp 0x100296c1
mov esi, 1
jmp 0x1002a8a7
cmp dword [esp + 0x8c], 0
jne 0x1002a67d
mov dword [eax + ecx*4], 0
xor edi, edi
jmp 0x1002a680
cmp dword [esp + 0x88], 0
jne 0x1002a39d
mov dword [ecx + ebx*4], 0
xor edi, edi
jmp 0x1002a3a0
mov ecx, dword [esp + 0xb8]
mov esi, dword [ebx + ebp + 0xc]
add esi, esi
mov dword [esp + 0x5c], esi
lea ecx, [ecx*4]
mov esi, dword [ebx + ebp + 0x10]
add ecx, dword [esp + 0x98]
add ecx, 0x1f
and ecx, 0xffffffe0
lea edi, [esi*8]
add edi, ecx
add esi, esi
add edi, 0x23
and edi, 0xffffffe0
mov dword [esp + 0x60], ecx
test esi, esi
mov dword [esp + 0x64], edi
mov dword [ecx], edi
jle 0x1002aba5
mov ecx, esi
shr ecx, 1
mov dword [esp + 0x58], ecx
test ecx, ecx
jbe 0x1002ac41
mov edi, dword [esp + 0x90]
xor ecx, ecx
shl edi, 4
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebp
mov edx, edi
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
nop dword [eax + eax]
nop dword [eax]
nop
add ebp, edx
add ebp, 0x1f
and ebp, 0xffffffe0
mov dword [edi + ecx*8 + 4], ebp
add ebp, edx
add ebp, 0x1f
and ebp, 0xffffffe0
mov dword [edi + ecx*8 + 8], ebp
inc ecx
cmp ecx, ebx
jb 0x1002ab40
add ecx, ecx
mov edx, dword [esp + 0xdc]
inc ecx
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x58], ecx
dec ecx
cmp ecx, esi
mov ecx, dword [esp + 0x58]
jae 0x1002aba5
mov edi, dword [esp + 0x60]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x90]
shl esi, 4
add esi, dword [edi + ecx*4 - 4]
add esi, 0x1f
and esi, 0xffffffe0
mov dword [edi + ecx*4], esi
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
push ecx
shl edx, 2
shl eax, 2
imul edx, esi
mov esi, dword [esp + 0x6c]
add esi, eax
imul eax, dword [esp + 0x60]
mov edi, dword [esp + 0xa4]
add edi, edx
mov edx, dword [esp + 0xa0]
add edx, eax
cmp dword [esp + 0x6c], 0
mov ecx, dword [ebx + ebp + 0xc]
cmove esi, edx
push esi
push edi
mov eax, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov edx, dword [ebx + ebp + 0x10]
push edx
push ecx
mov esi, dword [esp + 0xd4]
push esi
mov edi, dword [esp + 0xb0]
push edi
push 0
mov eax, dword [esp + 0xd8]
push eax
mov ecx, dword [esp + 0x130]
push ecx
mov edx, dword [esp + 0xe4]
push edx
imul ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xc8]
sub esi, ecx
sub esi, dword [esp + 0xa4]
push esi
call fcn.10116f20
jmp 0x1002a998
mov ecx, 1
jmp 0x1002ab75
mov edi, 1
jmp 0x10028790
mov edx, 1
jmp 0x100286ef