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

Disassembly:
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x108]
mov edi, dword [esp + 0x128]
mov dword [esp + 0xf4], edi
mov esi, dword [esp + 0x13c]
mov edi, dword [esp + 0x144]
mov dword [esp + 0x6c], esi
mov esi, edi
neg esi
mov edx, dword [esp + 0x120]
and esi, 0x3f
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x134]
mov ebp, dword [esp + 0x148]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0xf0], ebp
add ebx, edx
mov ecx, dword [esp + 0x124]
mov ebp, dword [esp + 0x138]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x13c]
and eax, 0xf0
mov dword [esp + 0x104], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xe8], ebp
mov eax, dword [esi + edi + 0x58]
cmp ebx, dword [esi + edi + 0x58]
jle 0x100169aa
sub eax, edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x134], eax
mov edx, ebp
mov eax, dword [esp + 0x130]
add edx, eax
mov ecx, dword [esi + edi + 0x2c]
cmp edx, dword [esi + edi + 0x2c]
jle 0x100169ca
mov ebp, ecx
sub ebp, eax
mov dword [esp + 0x138], ebp
cvtsi2sd xmm1, dword [esi + edi + 0x5c]
cvtsi2sd xmm3, dword [esi + edi + 0x30]
cvtsi2sd xmm2, dword [esi + edi + 0x34]
cvtsi2sd xmm4, eax
cvtsi2sd xmm0, dword [esi + edi + 0x60]
mov edx, dword [esi + edi + 0x3c]
mov dword [esp + 0xe4], edx
mov edx, dword [esi + edi + 0x5c]
shr edx, 0x1f
mov eax, dword [esi + edi + 0x30]
shr eax, 0x1f
mov ecx, dword [esi + edi + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esi + edi + 0x60]
shr ecx, 0x1f
addsd xmm1, qword [edx*8 + 0x102b00e0]
addsd xmm3, qword [eax*8 + 0x102b00e0]
addsd xmm0, qword [ecx*8 + 0x102b00e0]
mov edx, dword [esi + edi + 0x34]
shr edx, 0x1f
divsd xmm1, xmm0
mov ebx, dword [esi + edi + 0x74]
mov dword [esp + 0x68], ebx
movsd qword [esp + 0x58], xmm1
addsd xmm2, qword [edx*8 + 0x102b00e0]
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 + 0x12c]
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 edx, dword [esp + 0xd8]
shl ebx, 2
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x12c]
lea ebx, [edx*4]
add ebx, dword [esp + 0xf0]
mov dword [esp + 0x100], eax
test edx, edx
jle 0x10016b63
shr edx, 1
test edx, edx
jbe 0x100179a3
xor ecx, ecx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebp
mov ebx, dword [esp + 0xf0]
lea eax, [eax*4]
nop dword [eax + eax]
nop dword [eax + eax]
mov ebp, dword [esi + edi + 0x64]
add ebp, eax
mov ebp, dword [ebp + ecx*8]
shl ebp, 2
mov dword [ebx + ecx*8], ebp
mov ebp, dword [esi + edi + 0x64]
add ebp, eax
mov ebp, dword [ebp + ecx*8 + 4]
shl ebp, 2
mov dword [ebx + ecx*8 + 4], ebp
inc ecx
cmp ecx, edx
jb 0x10016b00
add ecx, ecx
mov ebx, dword [esp + 0xcc]
inc ecx
mov ebp, dword [esp + 0xd0]
mov eax, ecx
dec eax
cmp eax, dword [esp + 0xd8]
jae 0x10016b63
mov eax, dword [esp + 0x100]
mov edx, dword [esi + edi + 0x64]
lea eax, [eax + ecx]
mov edx, dword [edx + eax*4 - 4]
mov eax, dword [esp + 0xf0]
shl edx, 2
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x130]
test ebp, ebp
mov dword [esp + 0xd4], eax
jle 0x10016be7
mov ecx, ebp
shr ecx, 1
test ecx, ecx
jbe 0x10017999
xor edx, edx
mov dword [esp + 0xd0], ebp
lea eax, [eax*4]
nop dword [eax]
nop dword [eax]
mov ebp, dword [esi + edi + 0x38]
add ebp, eax
mov ebp, dword [ebp + edx*8]
mov dword [ebx + edx*8], ebp
mov ebp, dword [esi + edi + 0x38]
add ebp, eax
mov ebp, dword [ebp + edx*8 + 4]
mov dword [ebx + edx*8 + 4], ebp
inc edx
cmp edx, ecx
jb 0x10016ba0
add edx, edx
mov ebp, dword [esp + 0xd0]
inc edx
mov eax, edx
dec eax
cmp eax, ebp
jae 0x10016be7
mov eax, dword [esp + 0xd4]
mov ecx, dword [esi + edi + 0x38]
lea eax, [eax + edx]
mov ecx, dword [ecx + eax*4 - 4]
mov dword [ebx + edx*4 - 4], ecx
cmp dword [esp + 0x104], 0xf0
je 0x100177ec
mov eax, dword [esp + 0x6c]
and eax, 0xf
cmp eax, 1
je 0x10016c15
mov eax, 0xffffff1f
lea esp, [esp + 0x108]
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [esp + 0x74]
imul eax, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
sub edx, eax
sub edx, dword [esp + 0x70]
mov eax, dword [esi + edi + 0x10]
mov dword [esp + 0xdc], edx
mov edx, dword [esi + edi + 0x74]
mov dword [esp + 0x60], eax
mov ecx, dword [esi + edi + 0xc]
mov eax, dword [esi + edi + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + edi + 0x58]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esi + edi + 0x28]
mov eax, dword [esi + edi + 0x2c]
sub edx, dword [esp + 0xd8]
sub eax, ebp
mov dword [esp + 0x68], ecx
sub eax, dword [esp + 0xd4]
sub edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
and ecx, 0x10
mov dword [esp + 0x88], ecx
jne 0x10016ca7
mov ecx, dword [esi + edi + 0x4c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xd4]
cmp ecx, dword [esi + edi + 0x4c]
jl 0x10016cb4
mov dword [esp + 0xb0], 0
jmp 0x10016cbb
sub dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x104]
and ecx, 0x40
mov dword [esp + 0x8c], ecx
jne 0x10016ce6
mov ecx, dword [esi + edi + 0x78]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x100]
cmp ecx, dword [esi + edi + 0x78]
jl 0x10016cf3
mov dword [esp + 0xac], 0
jmp 0x10016cfa
sub dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x104]
and ecx, 0x20
mov dword [esp + 0xb4], ecx
jne 0x10016d1e
mov ecx, dword [esi + edi + 0x50]
mov dword [esp + 0x80], ecx
cmp eax, dword [esi + edi + 0x50]
jl 0x10016d2b
mov dword [esp + 0x80], 0
jmp 0x10016d32
sub dword [esp + 0x80], eax
and dword [esp + 0x104], 0x80
jne 0x10016d50
mov eax, dword [esi + edi + 0x7c]
mov dword [esp + 0x84], eax
cmp edx, dword [esi + edi + 0x7c]
jl 0x10016d5d
mov dword [esp + 0x84], 0
jmp 0x10016d64
sub dword [esp + 0x84], edx
cmp ebp, dword [esp + 0xb0]
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0xd8]
mov eax, dword [esp + 0xb0]
cmovl eax, ebp
cmp edi, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmovl ecx, dword [esp + 0xd8]
cmp ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x80]
cmovl edx, ebp
cmp edi, dword [esp + 0x84]
mov edi, ebp
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0xb0], eax
cmovle esi, dword [esp + 0xd8]
sub edi, eax
mov dword [esp + 0x70], edi
lea eax, [eax + edx]
cmp eax, ebp
mov eax, dword [esp + 0xd8]
cmovg edx, edi
lea edi, [ecx + esi]
sub eax, ecx
cmp edi, dword [esp + 0xd8]
mov dword [esp + 0xd0], ebp
cmovg esi, eax
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x80], edx
lea edx, [edx*4]
mov dword [esp + 0xac], ecx
lea eax, [esi + esi]
mov esi, dword [esp + 0x60]
lea ecx, [ecx*4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], ecx
lea eax, [esi + esi]
mov dword [esp + 0xb8], eax
imul edx, eax
lea esi, [ebp*4]
mov ebp, dword [esp + 0xb0]
add esi, ebx
mov ebx, eax
add esi, 0x1f
and esi, 0xffffffe0
mov eax, dword [esp + 0xd4]
lea edi, [ebp*4]
imul ebx, edi
add ebx, esi
add ebx, 0x1f
and ebx, 0xffffffe0
mov dword [esp + 0x94], ebx
add edx, ebx
mov ebx, dword [esp + 0x7c]
add edx, 0x1f
imul ebx, ecx
and edx, 0xffffffe0
add ebx, edx
add ebx, 0x1f
and ebx, 0xffffffe0
mov dword [esp + 0x90], esi
test ebp, ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x98], edx
lea edx, [eax*4]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xbc], edx
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
jle 0x10017010
mov edx, dword [esp + 0xb8]
xor ecx, ecx
mov eax, edx
shr eax, 0x1f
add eax, dword [esp + 0xb8]
lea edx, [edx*4]
sar eax, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xc0], eax
mov ebp, ecx
mov ebx, edx
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0xb8]
nop dword [eax]
test esi, esi
jle 0x10016fe4
mov dword [esp + 0x9c], ebp
xor eax, eax
mov esi, dword [esp + 0xa4]
lea edx, [edi + ebp]
mov ebp, dword [esp + 0xa0]
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 + 0xbc]
mov ebx, dword [ebx + ecx*4]
sub ebx, dword [esp + 0xc0]
inc ebx
add ebx, eax
cmovs ebx, edi
mov dword [edx + eax*4], ebx
mov edi, dword [ebp + esi + 0x28]
cmp ebx, dword [ebp + esi + 0x28]
jl 0x10016fb6
dec edi
cmp dword [esp + 0xb4], 0
cmove ebx, edi
imul ebx, dword [esp + 0xfc]
mov dword [edx + eax*4], ebx
inc eax
cmp eax, dword [esp + 0xb8]
jb 0x10016f80
mov ebp, dword [esp + 0x9c]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0xb8]
inc ecx
add ebp, ebx
cmp ecx, dword [esp + 0xb0]
jb 0x10016f40
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov edx, dword [esp + 0xd4]
add edx, ebp
mov dword [esp + 0xd4], edx
sub edx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
neg eax
jns 0x1001718a
mov dword [esp + 0xcc], ebx
xor eax, eax
mov ebx, dword [esp + 0xb8]
mov ecx, ebx
shr ecx, 0x1f
add ecx, dword [esp + 0xb8]
sar ecx, 1
mov dword [esp + 0xc8], ecx
lea ecx, [ebx*4]
mov ebx, dword [esp + 0x60]
sub dword [esp + 0xd4], edx
mov dword [esp + 0xb4], ecx
shl edx, 2
lea ecx, [ebx + ebx]
mov dword [esp + 0x58], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov ebp, dword [esp + 0x58]
mov edx, eax
mov ebx, ecx
mov esi, dword [esp + 0xd4]
mov edi, dword [esp + 0x94]
nop
test ebx, ebx
jle 0x1001715e
mov dword [esp + 0x9c], edx
xor ecx, ecx
mov ebx, dword [esp + 0xa4]
lea eax, [edi + edx]
mov edx, dword [esp + 0xa0]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x38]
add esi, dword [esp + 0xc0]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0xc8]
inc edi
add edi, ecx
js 0x100177d0
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x28]
dec esi
cmp edi, dword [edx + ebx + 0x28]
cmovge edi, esi
imul edi, dword [esp + 0xfc]
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xc4]
jb 0x10017100
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0xd4]
mov edi, dword [esp + 0x94]
inc ebp
add edx, dword [esp + 0xb4]
cmp ebp, esi
jb 0x100170c0
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x100]
cmp dword [esp + 0xac], 0
lea edx, [eax*4]
mov dword [esp + 0xb4], edx
jle 0x100172eb
mov edx, dword [esp + 0x7c]
xor ecx, ecx
mov eax, edx
shr eax, 0x1f
add eax, dword [esp + 0x7c]
sar eax, 1
mov dword [esp + 0xc0], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xcc], ebx
lea eax, [edx + edx]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov ebp, ecx
mov ebx, eax
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x98]
nop dword [eax + eax]
nop dword [eax]
nop
test ebx, ebx
jle 0x100172bf
mov dword [esp + 0x88], ebp
xor eax, eax
lea edx, [esi + ebp]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
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, eax
cmovs ebx, edi
mov dword [edx + eax*4], ebx
mov edi, dword [ebp + esi + 0x54]
cmp ebx, dword [ebp + esi + 0x54]
jl 0x10017296
dec edi
cmp dword [esp + 0x104], 0
cmove ebx, edi
shl ebx, 2
mov dword [edx + eax*4], ebx
inc eax
cmp eax, dword [esp + 0x9c]
jb 0x10017260
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x98]
inc ecx
add ebp, edi
cmp ecx, dword [esp + 0xac]
jb 0x10017220
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x100]
add eax, dword [esp + 0xd8]
mov dword [esp + 0x100], eax
sub eax, dword [esp + 0x84]
mov dword [esp + 0xc8], eax
mov edx, dword [esp + 0x84]
neg edx
mov edx, eax
jns 0x10017485
mov dword [esp + 0xcc], ebx
xor eax, eax
mov ebx, dword [esp + 0x7c]
mov ecx, ebx
shr ecx, 0x1f
add ecx, dword [esp + 0x7c]
sar ecx, 1
mov dword [esp + 0xc4], ecx
lea ecx, [ebx*4]
mov ebx, dword [esp + 0x64]
sub dword [esp + 0x100], edx
mov dword [esp + 0x9c], ecx
shl edx, 2
lea ecx, [ebx + ebx]
mov dword [esp + 0x58], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x58]
mov ebx, eax
mov esi, ecx
mov edi, dword [esp + 0x9c]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
nop
test esi, esi
jle 0x10017459
mov dword [esp + 0x88], ebx
xor ecx, ecx
lea eax, [edx + ebx]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov esi, dword [edx + ebx + 0x64]
add esi, dword [esp + 0xc8]
mov edi, dword [esi + ebp*4]
sub edi, dword [esp + 0xc4]
inc edi
add edi, ecx
js 0x100177b4
mov dword [eax + ecx*4], edi
mov esi, dword [edx + ebx + 0x54]
dec esi
cmp edi, dword [edx + ebx + 0x54]
cmovge edi, esi
shl edi, 2
mov dword [eax + ecx*4], edi
inc ecx
cmp ecx, dword [esp + 0xc0]
jb 0x10017400
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x9c]
inc ebp
add ebx, edi
cmp ebp, dword [esp + 0x100]
jb 0x100173c0
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov edx, dword [esp + 0xf8]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0xbc]
imul ecx, dword [esp + 0xb8]
add ecx, dword [esp + 0xe4]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xb4]
imul eax, dword [esp + 0x7c]
add eax, dword [esp + 0xe0]
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x98]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x54], ecx
call fcn.1018ffe0
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
test eax, eax
jle 0x10017771
mov eax, dword [esp + 0xd8]
sub eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xd8], eax
test eax, eax
jle 0x10017771
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0xa8]
lea edx, [eax*4]
imul edx, dword [esp + 0x84]
lea eax, [ebp*8]
add ecx, edx
add ecx, 0x1f
and ecx, 0xffffffe0
add eax, ecx
add eax, 0x23
and eax, 0xffffffe0
mov dword [esp + 0xa8], ecx
mov dword [ecx], eax
lea ecx, [ebp + ebp]
test ecx, ecx
jle 0x10017693
mov edx, ecx
shr edx, 1
mov dword [esp + 0x58], edx
test edx, edx
jbe 0x100177aa
mov ebp, dword [esp + 0xd8]
xor edx, edx
shl ebp, 4
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0xa8]
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 0x10017640
add edx, edx
mov esi, dword [esp + 0xa0]
inc edx
mov edi, dword [esp + 0xa4]
mov eax, edx
dec eax
cmp eax, ecx
jae 0x10017693
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xd8]
shl eax, 4
add eax, dword [ecx + edx*4 - 4]
add eax, 0x1f
and eax, 0xffffffe0
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0xb0]
shl eax, 2
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
imul eax, dword [esp + 0xb8]
mov dword [esp + 0xa0], esi
push ecx
mov ebp, dword [esp + 0xb0]
add ebp, dword [esp + 0x130]
shl ebp, 2
mov ecx, dword [esp + 0x60]
add ecx, ebp
imul ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xe4]
add esi, ebp
cmp dword [esp + 0x60], 0
cmove ecx, esi
push ecx
mov ebp, dword [esp + 0xec]
add ebp, eax
push ebp
mov eax, dword [esp + 0xfc]
add eax, dword [esp + 0x80]
push eax
add ebx, dword [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x74]
push ebx
mov eax, dword [esp + 0x7c]
push eax
mov ecx, dword [esp + 0x8c]
push ecx
mov ebx, dword [esp + 0xf8]
push ebx
push 0
mov ebp, dword [esp + 0x11c]
push ebp
mov esi, dword [esp + 0x128]
push esi
imul edx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
add eax, edx
add eax, dword [esp + 0xa4]
push eax
mov edx, dword [esp + 0x110]
push edx
mov esi, dword [esp + 0xd8]
call fcn.1018ffe0
lea esp, [esp + 0x38]
mov eax, dword [esp + 0xec]
cmp eax, dword [esi + edi + 0x58]
jg 0x1001778b
mov eax, dword [esp + 0xe8]
cmp eax, dword [esi + edi + 0x2c]
jle 0x1001779c
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 edx, 1
jmp 0x1001766e
cmp dword [esp + 0x8c], 0
jne 0x1001741e
mov dword [eax + ecx*4], 0
xor edi, edi
jmp 0x10017421
cmp dword [esp + 0x88], 0
jne 0x1001711e
mov dword [eax + ecx*4], 0
xor edi, edi
jmp 0x10017121
mov edx, dword [esi + edi + 0xc]
lea ecx, [ebp*4]
add edx, edx
add ecx, ebx
mov dword [esp + 0x5c], edx
add ecx, 0x1f
mov edx, dword [esi + edi + 0x10]
and ecx, 0xffffffe0
mov dword [esp + 0x60], ecx
lea eax, [edx*8]
add edx, edx
add eax, ecx
add eax, 0x23
and eax, 0xffffffe0
mov dword [esp + 0x64], eax
test edx, edx
mov dword [ecx], eax
jle 0x100178e5
mov eax, edx
shr eax, 1
mov dword [esp + 0x58], eax
test eax, eax
jbe 0x1001798f
mov ecx, dword [esp + 0xd8]
xor eax, eax
shl ecx, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
add esi, ecx
add esi, 0x1f
and esi, 0xffffffe0
mov dword [edi + eax*8 + 4], esi
add esi, ecx
add esi, 0x1f
and esi, 0xffffffe0
mov dword [edi + eax*8 + 8], esi
inc eax
cmp eax, ebp
jb 0x10017880
add eax, eax
mov ebp, dword [esp + 0xd0]
inc eax
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
dec eax
cmp eax, edx
mov eax, dword [esp + 0x58]
jae 0x100178e5
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xd8]
shl edx, 4
add edx, dword [ecx + eax*4 - 4]
add edx, 0x1f
and edx, 0xffffffe0
mov dword [ecx + eax*4], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xd0], ebp
push ecx
mov ebp, dword [esp + 0xd8]
shl ebp, 2
imul ebp, edx
mov edx, dword [esp + 0x104]
shl edx, 2
mov eax, dword [esp + 0xe8]
add eax, ebp
mov ebp, dword [esp + 0x6c]
add ebp, edx
imul edx, dword [esp + 0x60]
mov ecx, dword [esp + 0xe4]
add ecx, edx
cmp dword [esp + 0x6c], 0
cmove ebp, ecx
push ebp
push eax
mov eax, dword [esp + 0xfc]
push eax
push ebx
mov ebx, dword [esi + edi + 0x10]
push ebx
mov eax, dword [esi + edi + 0xc]
push eax
mov edx, dword [esp + 0xec]
push edx
mov ecx, dword [esp + 0xf8]
push ecx
push 0
mov ebx, dword [esp + 0x11c]
push ebx
mov eax, dword [esp + 0x128]
push eax
mov ebp, dword [esp + 0x128]
push ebp
imul eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x110]
sub edx, eax
sub edx, dword [esp + 0xa4]
push edx
call fcn.1018ffe0
jmp 0x1001776d
mov eax, 1
jmp 0x100178b5
mov edx, 1
jmp 0x10016bca
mov ecx, 1
jmp 0x10016b37