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

Disassembly:
sub esp, 0xe8
mov edx, dword [esp + 0xec]
lea eax, [esp + 0x88]
push ebx
push ebp
push esi
sub eax, edx
mov dword [esp + 0xc], ecx
lea ebx, [esp + 0xd4]
mov dword [esp + 0x90], eax
lea ebp, [esp + 0xb4]
mov dword [esp + 0x74], 0
push edi
xor esi, esi
xor edi, edi
sub ebx, edx
sub ebp, edx
xor eax, eax
mov ecx, dword [edx]
test ecx, ecx
je 0x1013cf06
lea eax, [ecx + ecx]
mov dword [ebx + edx], ecx
mov ecx, dword [esp + 0x94]
mov dword [edx + ebp], eax
inc eax
cmp esi, dword [edx]
cmovl esi, dword [edx]
inc edi
mov dword [ecx + edx], eax
add edx, 4
mov eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x78], eax
cmp edi, 8
jl 0x1013ced5
mov edi, dword [esp + 0x98]
mov ecx, 1
cmp eax, ecx
jle 0x1013cf52
nop word [eax + eax]
mov edx, dword [esp + ecx*4 + 0x98]
mov eax, edx
imul eax, edi
cmp eax, 0xffff
jge 0x1013cf42
mov edi, eax
mov dword [esp + ecx*4 + 0xb4], 1
jmp 0x1013cf49
mov dword [esp + ecx*4 + 0xb4], edx
mov eax, dword [esp + 0x78]
inc ecx
cmp ecx, eax
jl 0x1013cf20
mov ebx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb4], edi
movzx eax, word [ebx + 0x16]
movzx ecx, word [ebx + 0x14]
cmp cx, ax
jbe 0x1013cf6c
mov eax, ecx
movzx eax, ax
lea esi, [esi*4 + 2]
inc eax
mov ecx, ebx
shr eax, 1
add esi, eax
push 0x10
push esi
call fcn.10135670
push 0x10
mov edi, eax
mov ecx, ebx
push esi
mov dword [esp + 0x24], edi
call fcn.10135670
mov ecx, dword [esp + 0x104]
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, 2
cmp ecx, 1
jne 0x1013cfc0
mov edx, dword [esp + 0x10]
mov ebx, eax
mov cl, byte [edx + 0x492bc]
sar ebx, cl
mov dword [esp + 0x64], ebx
jmp 0x1013cfe9
cmp ecx, 4
jne 0x1013cfdc
mov edx, dword [esp + 0x10]
mov ebx, 8
mov cl, byte [edx + 0x492bc]
sar ebx, cl
mov dword [esp + 0x64], ebx
jmp 0x1013cfe9
mov ecx, dword [esp + 0x94]
mov edx, ebx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x10c]
cmp ecx, 1
jne 0x1013cfff
mov cl, byte [edx + 0x492bc]
sar eax, cl
jmp 0x1013d01a
cmp ecx, 4
jne 0x1013d013
mov cl, byte [edx + 0x492bc]
mov eax, 8
sar eax, cl
jmp 0x1013d01a
mov eax, dword [esp + 0x94]
movzx ecx, word [edx + 0x16]
mov dword [esp + 0x4c], eax
mov ebx, ecx
imul ebx, eax
mov ebp, ecx
movzx eax, word [edx + 0x14]
inc ecx
shr ecx, 1
mov dword [esp + 0x54], ecx
shr ebp, 1
lea ecx, [eax + 1]
mov dword [esp + 0x94], ebx
mov ebx, eax
shr ecx, 1
shr ebx, 1
mov dword [esp + 0x90], ecx
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
je 0x1013d7fd
movzx ebx, word [edx + 0x14]
lea eax, [ecx + 1]
dec ebx
cmp eax, ebx
cmovl ebx, eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x8c], ebx
sub eax, 1
je 0x1013d18b
sub eax, 3
jne 0x1013d1e5
movzx ebx, word [edx + 0x492bc]
mov ebp, ecx
movzx edx, word [edx + 0x1e]
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x100]
sar ebp, cl
imul ebp, edx
mov eax, dword [eax + 0x188]
and eax, 3
lea eax, [eax + ebp*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
mov esi, eax
and eax, 7
sar esi, cl
imul esi, edx
lea edi, [eax*4]
mov eax, dword [esp + 0x10]
mov ecx, edi
or edi, 2
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x188]
shr eax, cl
mov ecx, dword [esp + 0x100]
and eax, 3
lea eax, [eax + esi*4]
mov esi, 1
lea eax, [ecx + eax*2]
mov ecx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
sar esi, cl
mov ecx, edi
mov ebx, dword [eax + 0x188]
mov eax, ebx
shr eax, 2
lea edx, [esi + ebp]
mov ebp, dword [esp + 0x20]
and eax, 3
shr ebx, cl
and ebx, 3
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x100]
lea eax, [edx + eax*2]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
add eax, esi
lea eax, [ebx + eax*4]
lea eax, [edx + eax*2]
jmp 0x1013d1d9
movzx ecx, word [edx + 0x492bc]
movzx eax, word [edx + 0x1e]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x100]
sar edi, cl
imul edi, eax
lea edx, [esi + edi*2]
mov esi, ebx
mov ebx, dword [esp + 0x100]
sar esi, cl
imul esi, eax
mov dword [esp + 0x34], edx
mov edx, 1
sar edx, cl
lea eax, [ebx + esi*2]
mov dword [esp + 0x30], eax
lea eax, [edx + edi]
lea eax, [ebx + eax*2]
mov dword [esp + 0x2c], eax
lea eax, [edx + esi]
lea eax, [ebx + eax*2]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
test ebp, ebp
je 0x1013d248
mov eax, dword [esp + 0x64]
lea ecx, [esi + 8]
mov edi, dword [esp + 0x30]
mov ebx, ebp
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
lea edx, [eax + eax]
movzx eax, word [esi]
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x18], eax
add esi, edx
movzx eax, word [edi]
add edi, edx
mov dword [ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x2c], edx
movzx eax, word [eax]
mov dword [ecx - 0x10], eax
movzx eax, word [ebp]
add ebp, edx
mov dword [ecx - 0xc], eax
sub ebx, 1
jne 0x1013d201
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
test byte [edx + 0x16], 1
je 0x1013d274
mov eax, dword [esp + 0x34]
mov ecx, ebp
add ecx, ecx
xorps xmm0, xmm0
movzx eax, word [eax]
mov dword [esi + ecx*8], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax]
mov dword [esi + ecx*8 + 4], eax
movq qword [esi + ecx*8 + 8], xmm0
xor eax, eax
mov dword [esp + 0x50], eax
cmp dword [esp + 0x78], eax
jle 0x1013d626
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov ebp, esi
mov dword [esp + 0x60], ebp
xorps xmm0, xmm0
mov dword [esp + 0x48], eax
mov ebx, esi
movups xmmword [esp + 0x68], xmm0
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
test eax, eax
jle 0x1013d2fa
mov ecx, dword [esp + 0x48]
lea eax, [edi + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
nop word [eax + eax]
add edi, dword [ebx]
lea eax, [eax + 0x10]
mov dword [eax - 0x18], edi
add esi, dword [ebx + 4]
mov dword [eax - 0x14], esi
add edx, dword [ebx + 8]
mov dword [eax - 0x10], edx
add ecx, dword [ebx + 0xc]
add ebx, 0x10
sub dword [esp + 0x24], 1
mov dword [eax - 0xc], ecx
jne 0x1013d2d0
mov eax, dword [esp + 0x48]
jmp 0x1013d302
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
cmp eax, dword [esp + 0x54]
jge 0x1013d36e
mov ebp, dword [esp + 0x1c]
add ebx, 8
add ebp, 8
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x50]
shl eax, 4
add eax, ebp
mov ebp, dword [esp + 0x54]
sub ebp, dword [esp + ebx*4 + 0x98]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x60]
add edi, dword [ebx - 8]
lea ebx, [ebx + 0x10]
sub edi, dword [ebp]
lea eax, [eax + 0x10]
mov dword [eax - 0x18], edi
add esi, dword [ebx - 0x14]
sub esi, dword [ebp + 4]
mov dword [eax - 0x14], esi
add edx, dword [ebx - 0x10]
sub edx, dword [ebp + 8]
mov dword [eax - 0x10], edx
add ecx, dword [ebx - 0xc]
sub ecx, dword [ebp + 0xc]
add ebp, 0x10
sub dword [esp + 0x24], 1
mov dword [eax - 0xc], ecx
jne 0x1013d336
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x54], eax
jge 0x1013d3ba
mov eax, dword [esp + 0x54]
lea ebx, [ebp + 8]
mov ebp, dword [esp + 0x1c]
add ebp, 8
shl eax, 4
add eax, ebp
mov ebp, dword [esp + 0x18]
sub ebp, dword [esp + 0x54]
sub edi, dword [ebx - 8]
lea ebx, [ebx + 0x10]
mov dword [eax - 8], edi
lea eax, [eax + 0x10]
sub esi, dword [ebx - 0x14]
mov dword [eax - 0x14], esi
sub edx, dword [ebx - 0x10]
mov dword [eax - 0x10], edx
sub ecx, dword [ebx - 0xc]
mov dword [eax - 0xc], ecx
sub ebp, 1
jne 0x1013d397
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + eax*4 + 0xd8]
mov eax, dword [esp + 0x10]
mov cx, word [eax + 0x16]
mov eax, 0
and cx, 1
setne al
lea edx, [esi + eax]
xor eax, eax
add edx, dword [esp + 0x20]
test cx, cx
setne al
xor ebx, ebx
add eax, esi
add eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
lea ebp, [esi + eax]
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x1013d51e
mov ecx, ebp
shl edx, 4
shl ecx, 4
lea eax, [edi + 0xc]
add eax, ecx
add edx, edi
mov dword [esp + 0x60], eax
mov eax, ebp
shl eax, 4
lea ebp, [edi + 8]
add ebp, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], ebp
add eax, 0xfffffff8
mov ebp, dword [esp + 0x48]
add eax, edi
shl ebp, 4
mov dword [esp + 0x48], ebp
add ebp, 4
add ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], ebp
add eax, 0xfffffff4
lea ebp, [edi - 4]
add ebp, ecx
add eax, edi
mov dword [esp + 0x88], eax
lea eax, [edx - 0x10]
mov dword [esp + 0x48], eax
nop
mov edx, esi
lea ecx, [ebx + esi]
add ecx, ecx
lea ebp, [ebp - 0x10]
sub edx, ebx
inc ebx
add edx, edx
mov eax, dword [edi + edx*8 - 0x10]
add dword [edi + ecx*8], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
add dword [esp + 0x7c], 0x10
sub dword [esp + 0x48], 0x10
mov eax, dword [eax]
add dword [edi], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 - 0xc]
add dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
add dword [esp + 0x80], 0x10
sub dword [esp + 0x88], 0x10
mov eax, dword [eax]
add dword [edi], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 - 8]
add dword [edi + ecx*8 + 8], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x24]
add dword [esp + 0x84], 0x10
sub dword [esp + 0x24], 0x10
mov eax, dword [eax]
add dword [edi], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 - 4]
add dword [edi + ecx*8 + 0xc], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
add ecx, 0x10
add dword [ebp + 0x10], eax
mov dword [esp + 0x60], ecx
cmp ebx, esi
jl 0x1013d470
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + ecx*4 + 0xb8]
cmp ebx, 1
jne 0x1013d58e
test eax, eax
je 0x1013d56a
mov ecx, dword [esp + 0x14]
shl esi, 4
add ecx, 8
lea edx, [esi + 8]
mov esi, eax
add edx, edi
mov eax, dword [edx - 8]
lea edx, [edx + 0x10]
mov dword [ecx - 8], eax
lea ecx, [ecx + 0x10]
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
mov eax, dword [edx - 0x10]
mov dword [ecx - 0x10], eax
mov eax, dword [edx - 0xc]
mov dword [ecx - 0xc], eax
sub esi, 1
jne 0x1013d543
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test byte [edx + 0x16], 1
je 0x1013d60f
mov ecx, eax
add ebp, ebp
add ecx, ecx
mov eax, dword [edi + ebp*8]
mov dword [esi + ecx*8], eax
mov eax, dword [edi + ebp*8 + 4]
jmp 0x1013d602
test eax, eax
je 0x1013d5d6
mov ecx, dword [esp + 0x14]
mov ebp, eax
shl esi, 4
add ecx, 8
add esi, 8
add esi, edi
mov eax, dword [esi - 8]
lea esi, [esi + 0x10]
cdq
lea ecx, [ecx + 0x10]
idiv ebx
mov dword [ecx - 0x18], eax
mov eax, dword [esi - 0x14]
cdq
idiv ebx
mov dword [ecx - 0x14], eax
mov eax, dword [esi - 0x10]
cdq
idiv ebx
mov dword [ecx - 0x10], eax
mov eax, dword [esi - 0xc]
cdq
idiv ebx
mov dword [ecx - 0xc], eax
sub ebp, 1
jne 0x1013d5a3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test byte [edx + 0x16], 1
je 0x1013d60f
mov ebp, dword [esp + 0x18]
mov ecx, eax
add ebp, ebp
add ecx, ecx
mov eax, dword [edi + ebp*8]
cdq
idiv ebx
mov dword [esi + ecx*8], eax
mov eax, dword [edi + ebp*8 + 4]
cdq
idiv ebx
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esi + ecx*8 + 4], eax
movq qword [esi + ecx*8 + 8], xmm0
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x78]
jl 0x1013d290
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x10c]
sub eax, 1
je 0x1013d6fe
sub eax, 3
jne 0x1013d74e
movzx ebx, word [edx + 0x492bc]
movzx edx, word [edx + 0x1e]
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
sar ebp, cl
mov ecx, dword [esp + 0x108]
imul ebp, edx
mov eax, dword [eax + 0x188]
and eax, 3
lea eax, [eax + ebp*4]
lea eax, [ecx + eax*2]
mov ecx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
mov esi, eax
and eax, 7
sar esi, cl
imul esi, edx
lea edi, [eax*4]
mov eax, dword [esp + 0x10]
mov ecx, edi
or edi, 2
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x188]
shr eax, cl
mov ecx, dword [esp + 0x108]
and eax, 3
lea eax, [eax + esi*4]
mov esi, 1
lea eax, [ecx + eax*2]
mov ecx, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
sar esi, cl
mov ecx, edi
mov ebx, dword [eax + 0x188]
mov eax, ebx
shr eax, 2
lea edx, [esi + ebp]
mov ebp, dword [esp + 0x20]
and eax, 3
shr ebx, cl
and ebx, 3
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x108]
lea eax, [edx + eax*2]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, esi
lea eax, [ebx + eax*4]
lea eax, [edx + eax*2]
jmp 0x1013d74a
movzx ecx, word [edx + 0x492bc]
movzx eax, word [edx + 0x1e]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x108]
mov ebx, dword [esp + 0x8c]
sar esi, cl
imul esi, eax
sar ebx, cl
imul ebx, eax
lea edx, [edi + esi*2]
mov dword [esp + 0x28], edx
mov edx, 1
sar edx, cl
lea eax, [edi + ebx*2]
mov dword [esp + 0x3c], eax
lea eax, [edx + esi]
lea eax, [edi + eax*2]
mov dword [esp + 0x38], eax
lea eax, [edx + ebx]
lea eax, [edi + eax*2]
mov dword [esp + 0x5c], eax
xor ebx, ebx
test ebp, ebp
je 0x1013d7bb
mov eax, dword [esp + 0x4c]
mov edi, ebp
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
add ecx, 8
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x3c]
lea edx, [eax + eax]
movzx eax, word [ecx - 8]
lea ecx, [ecx + 0x10]
mov ebx, dword [esp + 0x38]
add dword [esp + 0x38], edx
mov word [esi], ax
add esi, edx
movzx eax, word [ecx - 0x14]
mov word [ebp], ax
add ebp, edx
movzx eax, word [ecx - 0x10]
mov word [ebx], ax
mov ebx, dword [esp + 0x5c]
movzx eax, word [ecx - 0xc]
mov word [ebx], ax
add ebx, edx
mov dword [esp + 0x5c], ebx
sub edi, 1
jne 0x1013d770
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test byte [edx + 0x16], 1
je 0x1013d7e2
mov ecx, dword [esp + 0x28]
add ebx, ebx
movzx eax, word [esi + ebx*8]
mov word [ecx], ax
mov ecx, dword [esp + 0x3c]
movzx eax, word [esi + ebx*8 + 4]
mov word [ecx], ax
mov ecx, dword [esp + 0x44]
movzx eax, word [edx + 0x14]
add ecx, 2
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
cmp ecx, eax
jl 0x1013d0a3
movzx eax, word [edx + 0x16]
xor ebx, ebx
mov dword [esp + 0x64], ebx
test eax, eax
je 0x1013df23
mov ebp, dword [esp + 0x40]
lea edi, [eax - 1]
lea eax, [ebx + 1]
cmp eax, edi
cmovl edi, eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], edi
sub eax, 1
je 0x1013d8df
sub eax, 3
jne 0x1013d927
mov eax, dword [esp + 0x10]
mov ebp, edi
movzx edx, word [edx + 0x492bc]
and edi, 1
mov ecx, edx
sar ebx, cl
mov esi, dword [eax + 0x188]
mov eax, esi
mov ecx, dword [esp + 0x108]
and eax, 3
lea eax, [eax + ebx*4]
lea eax, [ecx + eax*2]
mov ecx, edx
mov dword [esp + 0x34], eax
mov eax, esi
sar ebp, cl
lea ecx, [edi + edi]
shr eax, cl
or edi, 2
mov ecx, dword [esp + 0x108]
and eax, 3
add edi, edi
lea eax, [eax + ebp*4]
lea eax, [ecx + eax*2]
mov ecx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 0x1e]
mov eax, 1
sar eax, cl
mov ecx, edi
imul esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esi + ebx]
mov ebx, dword [eax + 0x188]
mov eax, ebx
shr ebx, cl
shr eax, 4
and eax, 3
and ebx, 3
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x108]
lea eax, [edx + eax*2]
mov dword [esp + 0x2c], eax
lea eax, [esi + ebp]
mov ebp, dword [esp + 0x40]
lea eax, [ebx + eax*4]
lea eax, [edx + eax*2]
jmp 0x1013d923
movzx ecx, word [edx + 0x492bc]
mov edi, ebx
mov ebx, dword [esp + 0x108]
mov esi, dword [esp + 0x50]
movzx edx, word [edx + 0x1e]
sar edi, cl
sar esi, cl
lea eax, [ebx + edi*2]
mov dword [esp + 0x34], eax
lea eax, [ebx + esi*2]
mov dword [esp + 0x30], eax
mov eax, 1
sar eax, cl
imul edx, eax
lea eax, [edx + edi]
lea eax, [ebx + eax*2]
mov dword [esp + 0x2c], eax
lea eax, [edx + esi]
lea eax, [ebx + eax*2]
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x30]
test ebp, ebp
je 0x1013d98b
mov eax, dword [esp + 0x94]
mov esi, ebp
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x34]
add ecx, 8
mov ebx, dword [esp + 0x58]
lea edx, [eax + eax]
nop word [eax + eax]
movzx eax, word [ebp]
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x18], eax
add ebp, edx
movzx eax, word [edi]
add edi, edx
mov dword [ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x2c], edx
movzx eax, word [eax]
mov dword [ecx - 0x10], eax
movzx eax, word [ebx]
add ebx, edx
mov dword [ecx - 0xc], eax
sub esi, 1
jne 0x1013d950
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test byte [ebp + 0x14], 1
je 0x1013d9b9
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
add ecx, ecx
movzx eax, word [eax]
mov dword [ebx + ecx*8], eax
movzx eax, word [edi]
mov dword [ebx + ecx*8 + 4], eax
movq qword [ebx + ecx*8 + 8], xmm0
xor ecx, ecx
mov dword [esp + 0x7c], ecx
cmp dword [esp + 0x78], ecx
jle 0x1013ddc5
nop dword [eax]
shl ecx, 2
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
mov esi, dword [esp + 0x6c]
mov eax, ebx
mov edi, dword [esp + 0x68]
mov edx, dword [esp + ecx + 0x98]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], ebx
test edx, edx
jle 0x1013da36
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
add ebx, 8
mov edx, dword [esp + 0x70]
nop dword [eax + eax]
add edi, dword [eax]
lea ebx, [ebx + 0x10]
mov dword [ebx - 0x18], edi
add esi, dword [eax + 4]
mov dword [ebx - 0x14], esi
add edx, dword [eax + 8]
mov dword [ebx - 0x10], edx
add ecx, dword [eax + 0xc]
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [ebx - 0xc], ecx
jne 0x1013da10
jmp 0x1013da3a
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x90]
cmp dword [esp + ebx + 0x98], ebp
jge 0x1013dacc
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 8]
mov eax, dword [esp + 0x44]
add ebp, 8
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + eax + 0x98]
shl eax, 4
add eax, ebp
mov ebp, dword [esp + 0x90]
sub ebp, dword [esp + ebx*4 + 0x98]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x54]
nop word [eax + eax]
add edi, dword [ebx - 8]
lea ebx, [ebx + 0x10]
sub edi, dword [ebp]
lea eax, [eax + 0x10]
mov dword [eax - 0x18], edi
add esi, dword [ebx - 0x14]
sub esi, dword [ebp + 4]
mov dword [eax - 0x14], esi
add edx, dword [ebx - 0x10]
sub edx, dword [ebp + 8]
mov dword [eax - 0x10], edx
add ecx, dword [ebx - 0xc]
sub ecx, dword [ebp + 0xc]
add ebp, 0x10
sub dword [esp + 0x18], 1
mov dword [eax - 0xc], ecx
jne 0x1013da90
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x54], ebp
mov eax, dword [esp + ebx + 0x98]
add eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x90], eax
jge 0x1013db37
mov eax, dword [esp + 0x90]
lea ebx, [ebp + 8]
mov ebp, dword [esp + 0x1c]
add ebp, 8
shl eax, 4
add eax, ebp
mov ebp, dword [esp + 0x90]
sub dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x1c]
sub edi, dword [ebx - 8]
lea ebx, [ebx + 0x10]
mov dword [eax - 8], edi
lea eax, [eax + 0x10]
sub esi, dword [ebx - 0x14]
mov dword [eax - 0x14], esi
sub edx, dword [ebx - 0x10]
mov dword [eax - 0x10], edx
sub ecx, dword [ebx - 0xc]
sub dword [esp + 0x20], 1
mov dword [eax - 0xc], ecx
jne 0x1013db10
jmp 0x1013db3b
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + eax + 0xd8]
mov eax, dword [esp + 0x10]
mov cx, word [eax + 0x14]
mov eax, 0
and cx, 1
setne al
lea edx, [esi + eax]
xor eax, eax
add edx, dword [esp + 0x40]
test cx, cx
mov ecx, dword [esp + 0x40]
setne al
xor edi, edi
add eax, esi
add eax, ecx
mov dword [esp + 0x4c], eax
lea ebx, [esi + ecx]
mov dword [esp + 0x60], ebx
test esi, esi
jle 0x1013dca8
mov ecx, ebx
shl edx, 4
shl ecx, 4
add edx, ebp
mov dword [esp + 0x8c], edx
lea eax, [ecx + 0xc]
add eax, ebp
mov dword [esp + 0x18], eax
mov eax, ebx
shl eax, 4
lea ebx, [eax + 8]
add eax, 0xfffffff8
add ebx, ebp
add eax, ebp
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x4c]
shl ebx, 4
mov dword [esp + 0x4c], ebx
add ebx, 4
add ebx, ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
add eax, 0xfffffff4
lea ebx, [ecx - 4]
add ebx, ebp
add eax, ebp
mov dword [esp + 0x84], eax
lea eax, [edx - 0x10]
mov dword [esp + 0x4c], eax
nop dword [eax]
mov edx, esi
lea ecx, [esi + edi]
add ecx, ecx
lea ebx, [ebx - 0x10]
sub edx, edi
inc edi
add edx, edx
mov eax, dword [ebp + edx*8 - 0x10]
add dword [ebp + ecx*8], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x4c]
add dword [esp + 0x8c], 0x10
sub dword [esp + 0x4c], 0x10
mov eax, dword [eax]
add dword [ebp], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + edx*8 - 0xc]
add dword [ebp + ecx*8 + 4], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x84]
add dword [esp + 0x24], 0x10
sub dword [esp + 0x84], 0x10
mov eax, dword [eax]
add dword [ebp], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + edx*8 - 8]
add dword [ebp + ecx*8 + 8], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x80]
add dword [esp + 0x88], 0x10
sub dword [esp + 0x80], 0x10
mov eax, dword [eax]
add dword [ebp], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + edx*8 - 4]
add dword [ebp + ecx*8 + 0xc], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
add ecx, 0x10
add dword [ebx + 0x10], eax
mov dword [esp + 0x18], ecx
cmp edi, esi
jl 0x1013dbf0
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + eax + 0xb8]
cmp edi, 1
jne 0x1013dd2a
mov edi, dword [esp + 0x14]
test ecx, ecx
je 0x1013dcf7
shl esi, 4
lea edx, [edi + 8]
lea eax, [esi + 8]
mov esi, ecx
add eax, ebp
nop dword [eax]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
mov dword [edx - 8], ecx
lea edx, [edx + 0x10]
mov ecx, dword [eax - 0x14]
mov dword [edx - 0x14], ecx
mov ecx, dword [eax - 0x10]
mov dword [edx - 0x10], ecx
mov ecx, dword [eax - 0xc]
mov dword [edx - 0xc], ecx
sub esi, 1
jne 0x1013dcd0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
test byte [eax + 0x14], 1
je 0x1013ddaa
add ebx, ebx
xorps xmm0, xmm0
add ecx, ecx
mov eax, dword [ebp + ebx*8]
mov dword [edi + ecx*8], eax
mov eax, dword [ebp + ebx*8 + 4]
mov ebx, dword [esp + 0x14]
mov dword [ebx + ecx*8 + 4], eax
movq qword [ebx + ecx*8 + 8], xmm0
jmp 0x1013ddae
test ecx, ecx
je 0x1013dd74
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
add ecx, 8
shl esi, 4
add esi, 8
add esi, ebp
mov eax, dword [esi - 8]
lea esi, [esi + 0x10]
cdq
lea ecx, [ecx + 0x10]
idiv edi
mov dword [ecx - 0x18], eax
mov eax, dword [esi - 0x14]
cdq
idiv edi
mov dword [ecx - 0x14], eax
mov eax, dword [esi - 0x10]
cdq
idiv edi
mov dword [ecx - 0x10], eax
mov eax, dword [esi - 0xc]
cdq
idiv edi
mov dword [ecx - 0xc], eax
sub ebx, 1
jne 0x1013dd41
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test byte [eax + 0x14], 1
je 0x1013ddae
mov esi, dword [esp + 0x60]
add ecx, ecx
add esi, esi
xorps xmm0, xmm0
mov eax, dword [ebp + esi*8]
cdq
idiv edi
mov dword [ebx + ecx*8], eax
mov eax, dword [ebp + esi*8 + 4]
cdq
idiv edi
mov dword [ebx + ecx*8 + 4], eax
movq qword [ebx + ecx*8 + 8], xmm0
jmp 0x1013ddae
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x7c], ecx
cmp ecx, dword [esp + 0x78]
jl 0x1013d9d0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x10c]
sub eax, 1
je 0x1013df45
sub eax, 3
jne 0x1013de7d
movzx edx, word [ebp + 0x492bc]
mov ebp, dword [ebp + 0x188]
mov ecx, edx
mov edi, dword [esp + 0x64]
mov eax, ebp
mov esi, dword [esp + 0x108]
and eax, 3
sar edi, cl
lea eax, [eax + edi*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov ebx, eax
and eax, 1
sar ebx, cl
mov dword [esp + 0x50], eax
lea ecx, [eax + eax]
mov eax, ebp
shr eax, cl
mov ecx, edx
and eax, 3
lea eax, [eax + ebx*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 0x1e]
mov eax, 1
sar eax, cl
mov ecx, dword [esp + 0x50]
imul esi, eax
or ecx, 2
mov eax, ebp
add ecx, ecx
shr eax, 4
and eax, 3
shr ebp, cl
and ebp, 3
lea edx, [esi + edi]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x108]
lea eax, [edx + eax*2]
mov dword [esp + 0x38], eax
lea eax, [esi + ebx]
lea eax, [eax*4]
add eax, ebp
lea eax, [edx + eax*2]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
test ebp, ebp
je 0x1013deeb
mov eax, dword [esp + 0x94]
mov esi, ebp
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x5c]
add ecx, 8
lea edx, [eax + eax]
movzx eax, word [ecx - 8]
lea ecx, [ecx + 0x10]
mov word [ebx], ax
add ebx, edx
movzx eax, word [ecx - 0x14]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x38]
add dword [esp + 0x38], edx
mov word [edi], ax
add edi, edx
movzx eax, word [ecx - 0x10]
mov word [ebx], ax
movzx eax, word [ecx - 0xc]
mov ebx, dword [esp + 0x28]
mov word [ebp], ax
add ebp, edx
sub esi, 1
jne 0x1013dea4
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test byte [edx + 0x14], 1
je 0x1013df0c
mov ecx, ebp
add ecx, ecx
movzx eax, word [esi + ecx*8]
mov word [ebx], ax
movzx eax, word [esi + ecx*8 + 4]
mov word [edi], ax
mov ebx, dword [esp + 0x64]
movzx eax, word [edx + 0x16]
add ebx, 2
mov dword [esp + 0x64], ebx
cmp ebx, eax
jl 0x1013d813
push dword [esp + 0x1c]
mov ecx, edx
call fcn.10135700
mov ecx, dword [esp + 0x10]
push esi
call fcn.10135700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 0x14
movzx ecx, word [ebp + 0x492bc]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x108]
mov ebx, dword [esp + 0x50]
sar esi, cl
sar ebx, cl
lea eax, [edx + esi*2]
mov dword [esp + 0x28], eax
lea edi, [edx + ebx*2]
movzx edx, word [ebp + 0x1e]
mov eax, 1
sar eax, cl
mov ecx, dword [esp + 0x108]
imul edx, eax
mov dword [esp + 0x3c], edi
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x38], eax
lea eax, [edx + ebx]
lea eax, [ecx + eax*2]
mov dword [esp + 0x5c], eax
jmp 0x1013de81