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

Disassembly:
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x104]
mov ebp, dword [esp + 0x124]
mov dword [esp + 0xec], ebp
mov esi, dword [esp + 0x138]
mov ebp, dword [esp + 0x140]
mov dword [esp + 0x68], esi
mov esi, ebp
neg esi
mov ecx, dword [esp + 0x120]
and esi, 0x3f
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xf0], ecx
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x130]
mov edi, ecx
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x138]
and edx, 0xf0
mov dword [esp + 0x100], edx
mov dword [esp + 0xd4], eax
mov edx, dword [esp + 0x128]
add edi, edx
mov eax, dword [esp + 0x144]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xe0], ebx
mov eax, dword [esi + ebp + 0x58]
cmp edi, dword [esi + ebp + 0x58]
jle 0x100118ad
sub eax, edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0xf8]
add edx, eax
mov ecx, dword [esi + ebp + 0x2c]
cmp edx, dword [esi + ebp + 0x2c]
jle 0x100118d7
sub ecx, eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x134], ecx
cvtsi2sd xmm0, dword [esi + ebp + 0x60]
cvtsi2sd xmm3, dword [esi + ebp + 0x30]
cvtsi2sd xmm2, dword [esi + ebp + 0x34]
cvtsi2sd xmm4, eax
cvtsi2sd xmm1, dword [esi + ebp + 0x5c]
mov edx, dword [esi + ebp + 0x3c]
mov dword [esp + 0xdc], edx
mov edx, dword [esi + ebp + 0x60]
shr edx, 0x1f
mov eax, dword [esi + ebp + 0x30]
shr eax, 0x1f
mov edi, dword [esi + ebp + 0x5c]
shr edi, 0x1f
addsd xmm0, qword [edx*8 + 0x102b0090]
addsd xmm3, qword [eax*8 + 0x102b0090]
addsd xmm1, qword [edi*8 + 0x102b0090]
mov edx, dword [esi + ebp + 0x34]
shr edx, 0x1f
divsd xmm1, xmm0
mov ecx, dword [esi + ebp + 0x68]
mov ebx, dword [esi + ebp + 0x74]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x78], ebx
movsd qword [esp + 0x58], xmm1
addsd xmm2, qword [edx*8 + 0x102b0090]
divsd xmm3, xmm2
mulsd xmm4, xmm3
movsd qword [esp], xmm4
call fcn.10064560
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
cvttsd2si eax, xmm0
cvtsi2sd xmm0, dword [esp + 0x128]
mulsd xmm0, qword [esp + 0x58]
mov dword [esp + 0x74], eax
movsd qword [esp], xmm0
call fcn.10064560
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
cvttsd2si ebx, xmm0
mov ecx, dword [esp + 0xd0]
mov eax, ebx
add eax, ebx
add eax, ebx
mov edx, dword [esp + 0x128]
lea ebx, [ecx*4]
add ebx, dword [esp + 0xe8]
mov dword [esp + 0x70], eax
test ecx, ecx
mov dword [esp + 0xfc], edx
jle 0x10011a85
mov edi, ecx
shr edi, 1
test edi, edi
jbe 0x100128df
lea eax, [edx]
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0xcc], ebx
lea edx, [eax*4]
mov eax, dword [esp + 0xe8]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax + eax]
mov ebx, dword [esi + ebp + 0x64]
add ebx, edx
mov edi, dword [ebx + ecx*8]
add edi, edi
add edi, dword [ebx + ecx*8]
mov dword [eax + ecx*8], edi
mov ebx, dword [esi + ebp + 0x64]
add ebx, edx
mov edi, dword [ebx + ecx*8 + 4]
add edi, edi
add edi, dword [ebx + ecx*8 + 4]
mov dword [eax + ecx*8 + 4], edi
inc ecx
cmp ecx, dword [esp + 0x58]
jb 0x10011a20
add ecx, ecx
mov ebx, dword [esp + 0xcc]
inc ecx
mov eax, ecx
dec eax
cmp eax, dword [esp + 0xd0]
jae 0x10011a85
mov edx, dword [esp + 0xfc]
mov edi, dword [esi + ebp + 0x64]
lea edx, [edx + ecx]
mov eax, dword [edi + edx*4 - 4]
add eax, eax
add eax, dword [edi + edx*4 - 4]
mov edi, dword [esp + 0xe8]
mov dword [edi + ecx*4 - 4], eax
mov ecx, dword [esp + 0x12c]
cmp dword [esp + 0xf8], 0
jle 0x10011b04
mov edi, dword [esp + 0xf8]
shr edi, 1
test edi, edi
jbe 0x100128d5
mov dword [esp + 0xc8], ecx
xor edx, edx
lea eax, [ecx*4]
nop dword [eax + eax]
mov ecx, dword [esi + ebp + 0x38]
add ecx, eax
mov ecx, dword [ecx + edx*8]
mov dword [ebx + edx*8], ecx
mov ecx, dword [esi + ebp + 0x38]
add ecx, eax
mov ecx, dword [ecx + edx*8 + 4]
mov dword [ebx + edx*8 + 4], ecx
inc edx
cmp edx, edi
jb 0x10011ac0
add edx, edx
mov ecx, dword [esp + 0xc8]
inc edx
mov eax, edx
dec eax
cmp eax, dword [esp + 0xf8]
jae 0x10011b04
mov eax, dword [esi + ebp + 0x38]
lea edi, [ecx + edx]
mov eax, dword [eax + edi*4 - 4]
mov dword [ebx + edx*4 - 4], eax
cmp dword [esp + 0x100], 0xf0
je 0x10012724
mov eax, dword [esp + 0x68]
and eax, 0xf
cmp eax, 1
je 0x10011b32
mov eax, 0xffffff1f
lea esp, [esp + 0x104]
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [esp + 0x74]
imul eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xd4]
sub edx, eax
sub edx, dword [esp + 0x70]
mov eax, dword [esi + ebp + 0x10]
mov dword [esp + 0xd4], edx
mov dword [esp + 0x64], eax
mov edx, dword [esi + ebp + 0x74]
mov eax, dword [esi + ebp + 0x54]
mov edi, dword [esi + ebp + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x7c], eax
mov edx, dword [esi + ebp + 0x2c]
mov eax, dword [esi + ebp + 0x58]
mov dword [esp + 0x68], edi
mov edi, dword [esi + ebp + 0x28]
sub edx, dword [esp + 0xf8]
sub eax, dword [esp + 0xd0]
sub edx, ecx
mov dword [esp + 0x5c], edi
sub eax, dword [esp + 0xfc]
mov edi, dword [esp + 0x100]
and edi, 0x10
mov dword [esp + 0x58], edi
jne 0x10011bba
mov edi, dword [esi + ebp + 0x4c]
mov dword [esp + 0xb0], edi
cmp ecx, dword [esi + ebp + 0x4c]
jl 0x10011bc7
mov dword [esp + 0xb0], 0
jmp 0x10011bce
sub dword [esp + 0xb0], ecx
mov edi, dword [esp + 0x100]
and edi, 0x40
mov dword [esp + 0x88], edi
jne 0x10011bf9
mov edi, dword [esi + ebp + 0x78]
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0xfc]
cmp edi, dword [esi + ebp + 0x78]
jl 0x10011c06
mov dword [esp + 0xac], 0
jmp 0x10011c0d
sub dword [esp + 0xac], edi
mov edi, dword [esp + 0x100]
and edi, 0x20
mov dword [esp + 0xb4], edi
jne 0x10011c31
mov edi, dword [esi + ebp + 0x50]
mov dword [esp + 0x84], edi
cmp edx, dword [esi + ebp + 0x50]
jl 0x10011c3e
mov dword [esp + 0x84], 0
jmp 0x10011c45
sub dword [esp + 0x84], edx
and dword [esp + 0x100], 0x80
jne 0x10011c63
mov edx, dword [esi + ebp + 0x7c]
mov dword [esp + 0x80], edx
cmp eax, dword [esi + ebp + 0x7c]
jl 0x10011c70
mov dword [esp + 0x80], 0
jmp 0x10011c77
sub dword [esp + 0x80], eax
mov eax, dword [esp + 0xf8]
cmp eax, dword [esp + 0xb0]
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0xd0]
cmovl esi, dword [esp + 0xf8]
cmp edx, dword [esp + 0xac]
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xac]
cmovl ebp, dword [esp + 0xd0]
cmp eax, dword [esp + 0x84]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x84]
cmovl ecx, dword [esp + 0xf8]
cmp edx, dword [esp + 0x80]
mov edx, eax
mov edi, dword [esp + 0x80]
mov dword [esp + 0xb0], esi
cmovle edi, dword [esp + 0xd0]
sub edx, esi
mov dword [esp + 0x6c], edx
lea esi, [esi + ecx]
cmp esi, dword [esp + 0xf8]
mov esi, dword [esp + 0xd0]
cmovg ecx, edx
lea edx, [ebp + edi]
sub esi, ebp
cmp edx, dword [esp + 0xd0]
mov edx, dword [esp + 0x64]
cmovg edi, esi
lea esi, [eax*4]
mov dword [esp + 0x80], edi
add esi, ebx
mov edi, dword [esp + 0x68]
lea edx, [edx + edx]
mov dword [esp + 0xcc], ebx
mov ebx, edx
add esi, 0x1f
and esi, 0xffffffe0
lea edi, [edi + edi]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0x8c], esi
lea eax, [edi*4]
imul ebx, eax
mov dword [esp + 0x74], eax
lea eax, [ecx*4]
imul eax, edx
add ebx, esi
add ebx, 0x1f
lea ecx, [ebp*4]
and ebx, 0xffffffe0
mov dword [esp + 0x90], ebx
add eax, ebx
mov ebx, dword [esp + 0x78]
add eax, 0x1f
imul ebx, ecx
and eax, 0xffffffe0
mov dword [esp + 0x70], ecx
add ebx, eax
mov ecx, dword [esp + 0xc8]
add ebx, 0x1f
and ebx, 0xffffffe0
mov dword [esp + 0xa8], ebx
test edi, edi
mov dword [esp + 0xb8], edx
lea ebp, [ecx*4]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0xcc]
jle 0x10011f33
xor eax, eax
mov edi, edx
shr edi, 0x1f
add edi, dword [esp + 0xb8]
lea edx, [edx*4]
sar edi, 1
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ebx
mov ebp, eax
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0xb8]
nop dword [eax + eax]
nop dword [eax + eax]
test esi, esi
jle 0x10011f07
mov dword [esp + 0x9c], ebp
xor ecx, ecx
mov dword [esp + 0x98], edx
lea ebx, [edi + ebp]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [ebp + esi + 0x38]
xor edi, edi
add edx, dword [esp + 0xbc]
mov edx, dword [edx + eax*4]
sub edx, dword [esp + 0xc0]
inc edx
add edx, ecx
cmovs edx, edi
mov dword [ebx + ecx*4], edx
mov edi, dword [ebp + esi + 0x28]
cmp edx, dword [ebp + esi + 0x28]
jl 0x10011ed6
dec edi
cmp dword [esp + 0xb4], 0
cmove edx, edi
imul edx, dword [esp + 0xf4]
mov dword [ebx + ecx*4], edx
inc ecx
cmp ecx, dword [esp + 0xb8]
jb 0x10011ea0
mov ebp, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0xb8]
inc eax
add ebp, edx
cmp eax, dword [esp + 0xb0]
jb 0x10011e60
mov ecx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
add ecx, dword [esp + 0xf8]
mov edx, ecx
sub edx, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
neg eax
jns 0x100120a5
mov edi, dword [esp + 0xb8]
sub ecx, edx
mov dword [esp + 0xc8], ecx
mov ecx, edi
shr ecx, 0x1f
xor eax, eax
add ecx, dword [esp + 0xb8]
sar ecx, 1
mov dword [esp + 0xc4], ecx
lea ecx, [edi*4]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
shl edx, 2
mov dword [esp + 0x98], eax
lea ecx, [edi + edi]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa4], esi
mov ecx, dword [esp + 0xc8]
mov edx, eax
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x90]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xa0], ebp
nop dword [eax]
nop dword [eax]
test esi, esi
jle 0x10012080
mov dword [esp + 0x98], edx
xor ebx, ebx
mov dword [esp + 0xc8], ecx
lea ebp, [edi + edx]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [edx + ecx + 0x38]
add esi, dword [esp + 0xb4]
mov edi, dword [esi + eax*4]
sub edi, dword [esp + 0xc4]
inc edi
add edi, ebx
js 0x1001270a
mov dword [ebp + ebx*4], edi
mov esi, dword [edx + ecx + 0x28]
dec esi
cmp edi, dword [edx + ecx + 0x28]
cmovge edi, esi
imul edi, dword [esp + 0xf4]
mov dword [ebp + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xc0]
jb 0x10012020
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x90]
inc eax
add edx, dword [esp + 0x9c]
cmp eax, ecx
jb 0x10011fe0
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0xac], 0
lea edi, [eax*4]
jle 0x1001220e
mov edx, dword [esp + 0x78]
xor ecx, ecx
mov eax, edx
shr eax, 0x1f
add eax, dword [esp + 0x78]
lea edx, [edx*4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x68]
sar eax, 1
mov dword [esp + 0x98], ecx
mov dword [esp + 0xb4], edi
lea edx, [edx + edx]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xc0], eax
mov ebp, ecx
mov ebx, edx
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x94]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax + eax]
test ebx, ebx
jle 0x100121e2
mov dword [esp + 0x98], ebp
xor edx, edx
lea eax, [esi + ebp]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ebx, dword [ebp + esi + 0x64]
xor edi, edi
add ebx, dword [esp + 0xb4]
mov ebx, dword [ebx + ecx*4]
sub ebx, dword [esp + 0xc0]
inc ebx
add ebx, edx
cmovs ebx, edi
mov dword [eax + edx*4], ebx
mov edi, dword [ebp + esi + 0x54]
cmp ebx, dword [ebp + esi + 0x54]
jl 0x100121b6
dec edi
cmp dword [esp + 0x100], 0
cmove ebx, edi
mov edi, ebx
add edi, ebx
add edi, ebx
mov dword [eax + edx*4], edi
inc edx
cmp edx, dword [esp + 0x9c]
jb 0x10012180
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x94]
inc ecx
add ebp, edi
cmp ecx, dword [esp + 0xac]
jb 0x10012140
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov edx, dword [esp + 0xfc]
add edx, dword [esp + 0xd0]
mov dword [esp + 0xfc], edx
sub edx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
neg eax
jns 0x100123a8
mov dword [esp + 0xb4], edi
xor eax, eax
mov edi, dword [esp + 0x78]
mov ecx, edi
shr ecx, 0x1f
add ecx, dword [esp + 0x78]
sar ecx, 1
mov dword [esp + 0xc4], ecx
lea ecx, [edi*4]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x9c], ecx
sub dword [esp + 0xfc], edx
mov dword [esp + 0x58], eax
lea ecx, [edi + edi]
mov dword [esp + 0xc0], ecx
shl edx, 2
mov dword [esp + 0x98], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0xc0]
mov edi, dword [esp + 0x9c]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
test ebp, ebp
jle 0x1001237c
mov dword [esp + 0x98], ecx
xor ebx, ebx
mov ebp, dword [esp + 0xa0]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xa4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov eax, dword [ecx + ebp + 0x64]
add eax, dword [esp + 0xc8]
mov eax, dword [eax + esi*4]
sub eax, dword [esp + 0xc4]
inc eax
add eax, ebx
js 0x100126ee
mov dword [edx + ebx*4], eax
mov edi, dword [ecx + ebp + 0x54]
dec edi
cmp eax, dword [ecx + ebp + 0x54]
cmovge eax, edi
mov edi, eax
add edi, eax
add edi, eax
mov dword [edx + ebx*4], edi
inc ebx
cmp ebx, dword [esp + 0xc0]
jb 0x10012320
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0xc0]
mov edi, dword [esp + 0x9c]
inc esi
add ecx, edi
cmp esi, dword [esp + 0xfc]
jb 0x100122e0
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov edx, dword [esp + 0xf0]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0xbc]
imul eax, dword [esp + 0xb8]
add eax, dword [esp + 0xdc]
mov dword [esp + 0x30], eax
imul edi, dword [esp + 0x78]
add edi, dword [esp + 0xd8]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
call fcn.1022dcc0
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
test eax, eax
jle 0x100126ab
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xac]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xd0], eax
test eax, eax
jle 0x100126ab
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0xa8]
lea edx, [eax*4]
imul edx, dword [esp + 0x80]
lea eax, [edi*8]
add ecx, edx
lea edx, [edi + edi]
add ecx, 0x1f
and ecx, 0xffffffe0
add eax, ecx
add eax, 0x23
and eax, 0xffffffe0
mov dword [esp + 0xa8], ecx
test edx, edx
mov dword [ecx], eax
mov dword [esp + 0x58], edx
jle 0x100125b6
shr edx, 1
mov dword [esp + 0x5c], edx
test edx, edx
jbe 0x100126e4
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0x5c]
lea edi, [ecx + ecx]
add edi, edi
mov ecx, edi
add ecx, edi
add ecx, edi
mov edi, dword [esp + 0xa8]
nop
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edi + edx*8 + 4], eax
add eax, ecx
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edi + edx*8 + 8], eax
inc edx
cmp edx, ebp
jb 0x10012560
add edx, edx
mov ebp, dword [esp + 0xa0]
inc edx
mov eax, edx
dec eax
cmp eax, dword [esp + 0x58]
jae 0x100125b6
mov eax, dword [esp + 0xd0]
lea ecx, [eax + eax]
mov eax, dword [esp + 0xa8]
add ecx, ecx
mov edi, ecx
add edi, ecx
add edi, ecx
add edi, dword [eax + edx*4 - 4]
add edi, 0x1f
and edi, 0xffffffe0
mov dword [eax + edx*4], edi
mov edx, dword [esp + 0x12c]
add edx, dword [esp + 0xb0]
shl edx, 2
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xb0]
imul edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x128]
push esi
add ecx, dword [esp + 0xb0]
shl ecx, 2
mov esi, dword [esp + 0x64]
add esi, ecx
imul ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0xdc]
add edi, ecx
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0xb0]
cmove esi, edi
push esi
mov ecx, dword [esp + 0xe4]
lea eax, [eax + eax]
add ecx, edx
push ecx
mov edx, dword [esp + 0xf4]
add edx, dword [esp + 0x7c]
push edx
add ebx, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x78]
push ebx
mov edx, dword [esp + 0x80]
push edx
mov ecx, dword [esp + 0x88]
push ecx
mov ebx, dword [esp + 0xf0]
push ebx
push 0
mov esi, dword [esp + 0x114]
push esi
mov edi, dword [esp + 0x120]
push edi
imul ebp, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
add eax, dword [esp + 0xdc]
add edx, ebp
add edx, eax
push edx
mov ebp, dword [esp + 0x108]
push ebp
mov esi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
call fcn.1022dcc0
lea esp, [esp + 0x38]
mov eax, dword [esp + 0xe4]
cmp eax, dword [esi + ebp + 0x58]
jg 0x100126c5
mov eax, dword [esp + 0xe0]
cmp eax, dword [esi + ebp + 0x2c]
jle 0x100126d6
mov eax, 0x30
lea esp, [esp + 0x104]
pop ebp
pop ebx
pop edi
pop esi
ret
xor eax, eax
lea esp, [esp + 0x104]
pop ebp
pop ebx
pop edi
pop esi
ret
mov edx, 1
jmp 0x10012587
cmp dword [esp + 0x88], 0
jne 0x1001233e
mov dword [edx + ebx*4], 0
xor eax, eax
jmp 0x10012341
cmp dword [esp + 0x58], 0
jne 0x1001203e
mov dword [ebp + ebx*4], 0
xor edi, edi
jmp 0x10012042
mov edi, dword [esp + 0xf8]
mov edx, dword [esi + ebp + 0x10]
mov eax, dword [esi + ebp + 0xc]
add eax, eax
lea edi, [edi*4]
add edi, ebx
add edi, 0x1f
mov dword [esp + 0x5c], eax
and edi, 0xffffffe0
mov dword [esp + 0x64], edi
lea eax, [edx*8]
add eax, edi
add edx, edx
add eax, 0x23
and eax, 0xffffffe0
mov dword [edi], eax
test edx, edx
mov dword [esp + 0x60], edx
jle 0x1001282a
shr edx, 1
mov dword [esp + 0x6c], edx
test edx, edx
jbe 0x100128c8
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x68], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
lea edi, [edx + edx]
add edi, edi
mov edx, edi
add edx, edi
add edx, edi
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
nop dword [eax]
nop dword [eax]
add eax, ebp
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edi + edx*8 + 4], eax
add eax, ebp
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edi + edx*8 + 8], eax
inc edx
cmp edx, esi
jb 0x100127c0
mov dword [esp + 0x68], edx
mov eax, edx
add eax, eax
inc eax
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
dec eax
cmp eax, dword [esp + 0x60]
jae 0x1001282a
mov edx, dword [esp + 0xd0]
lea edi, [edx + edx]
mov edx, dword [esp + 0x64]
add edi, edi
mov eax, edi
add eax, edi
add eax, edi
mov edi, dword [esp + 0x68]
add eax, dword [edx + edi*4 - 4]
add eax, 0x1f
and eax, 0xffffffe0
mov dword [edx + edi*4], eax
mov edx, dword [esp + 0x64]
push edx
shl ecx, 2
imul ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe0]
add eax, ecx
mov ecx, dword [esp + 0x100]
shl ecx, 2
mov edx, dword [esp + 0x7c]
add edx, ecx
imul ecx, dword [esp + 0x60]
mov edi, dword [esp + 0xdc]
add edi, ecx
cmp dword [esp + 0x7c], 0
cmove edx, edi
push edx
push eax
mov eax, dword [esp + 0xf4]
push eax
push ebx
mov ebx, dword [esi + ebp + 0x10]
push ebx
mov eax, dword [esi + ebp + 0xc]
push eax
mov edx, dword [esp + 0x114]
push edx
mov ecx, dword [esp + 0xf0]
push ecx
push 0
mov ebx, dword [esp + 0x114]
push ebx
mov eax, dword [esp + 0x120]
push eax
mov edi, dword [esp + 0x120]
push edi
imul eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x108]
sub edx, eax
sub edx, dword [esp + 0xa4]
push edx
call fcn.1022dcc0
jmp 0x100126a7
mov dword [esp + 0x68], 1
jmp 0x100127f8
mov edx, 1
jmp 0x10011ae9
mov ecx, 1
jmp 0x10011a56