Function at 0x1013b6e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x218
push ebx
mov ebx, dword [esp + 0x220]
push ebp
push edi
mov ebp, ecx
lea edi, [ebx - 1]
mov dword [esp + 0xc], ebp
cmp edi, 7
ja 0x1013c5a3
xorps xmm0, xmm0
movzx eax, word [ebp + 0x16]
movups xmmword [esp + 0x10c], xmm0
movzx ecx, word [ebp + 0x14]
movq qword [esp + 0x11c], xmm0
movq qword [esp + 0x144], xmm0
mov dword [esp + 0x104], 0x8000
mov dword [esp + 0x108], 0x4000
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0x6000
mov dword [esp + 0x12c], 0x4000
mov dword [esp + 0x130], 0x1000
mov dword [esp + 0x16c], 0
mov dword [esp + 0x180], 0x100
mov dword [esp + 0x1a4], 0x280
mov dword [esp + 0x1c8], 0x420
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x220], 1
movups xmmword [esp + 0x134], xmm0
movaps xmm0, xmmword [0x10276e90]
movups xmmword [esp + 0x14c], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x15c], xmm0
movaps xmm0, xmmword [0x10276ea0]
movups xmmword [esp + 0x170], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x184], xmm0
movaps xmm0, xmmword [0x10276eb0]
movups xmmword [esp + 0x194], xmm0
movaps xmm0, xmmword [0x10276e10]
movups xmmword [esp + 0x1a8], xmm0
movaps xmm0, xmmword [0x10276ec0]
movups xmmword [esp + 0x1b8], xmm0
movaps xmm0, xmmword [0x10276e20]
movups xmmword [esp + 0x1cc], xmm0
movaps xmm0, xmmword [0x10276ed0]
movups xmmword [esp + 0x1dc], xmm0
movaps xmm0, xmmword [0x10276e60]
movups xmmword [esp + 0x1ec], xmm0
movaps xmm0, xmmword [0x10276ee0]
movups xmmword [esp + 0x200], xmm0
movaps xmm0, xmmword [0x10276e80]
movups xmmword [esp + 0x210], xmm0
cmp cx, ax
jbe 0x1013b866
mov eax, ecx
movzx eax, ax
mov ecx, ebp
inc eax
shr eax, 1
push 0x10
lea eax, [eax + ebx*2]
inc eax
push eax
mov dword [esp + 0x70], eax
call fcn.10135670
mov ecx, dword [esp + 0x230]
mov dword [esp + 0x14], eax
mov eax, 2
cmp ecx, 1
jne 0x1013b89f
mov cl, byte [ebp + 0x492bc]
mov edx, eax
sar edx, cl
jmp 0x1013b8b7
cmp ecx, 4
jne 0x1013b8b3
mov cl, byte [ebp + 0x492bc]
mov edx, 8
sar edx, cl
jmp 0x1013b8b7
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x238]
movd xmm0, edx
mov dword [esp + 0x5c], edx
pshufd xmm3, xmm0, 0
cmp ecx, 1
jne 0x1013b8da
mov cl, byte [ebp + 0x492bc]
sar eax, cl
jmp 0x1013b8f2
cmp ecx, 4
jne 0x1013b8ee
mov cl, byte [ebp + 0x492bc]
mov eax, 8
sar eax, cl
jmp 0x1013b8f2
mov eax, dword [esp + 0x58]
movzx edx, word [ebp + 0x16]
push esi
mov ecx, edx
mov dword [esp + 0x30], eax
mov esi, ecx
shr ecx, 1
imul esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], esi
movd xmm0, esi
movzx esi, word [ebp + 0x14]
mov eax, esi
pshufd xmm4, xmm0, 0
shr eax, 1
mov dword [esp + 0x70], eax
test ebx, ebx
js 0x1013b960
lea eax, [edi + edi*8]
lea edx, [esp + 0x108]
lea ecx, [esp + 0x78]
lea edx, [edx + eax*4]
lea edi, [ebx + 1]
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
lea ecx, [ecx + 0x10]
mov dword [ecx - 0xc], eax
mov dword [ecx - 8], eax
mov dword [ecx - 4], eax
sub edi, 1
jne 0x1013b940
mov ecx, dword [esp + 0x14]
movzx edx, word [ebp + 0x16]
and edx, 1
mov eax, 0
setne al
add eax, ecx
add eax, ebx
mov dword [esp + 0x64], eax
xor eax, eax
test dx, dx
setne al
add eax, ecx
add eax, ebx
mov dword [esp + 0x5c], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x68], eax
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
test esi, esi
je 0x1013bfaa
lea eax, [ecx + 1]
lea edi, [esi - 1]
cmp eax, edi
cmovl edi, eax
mov eax, dword [esp + 0x234]
mov dword [esp + 0x58], edi
sub eax, 1
je 0x1013bbc9
sub eax, 3
jne 0x1013ba92
movzx ebx, word [ebp + 0x492bc]
movzx edx, word [ebp + 0x1e]
mov ebp, ecx
mov esi, dword [esp + 0x10]
mov ecx, ebx
sar ebp, cl
mov ecx, dword [esp + 0x230]
imul ebp, edx
mov esi, dword [esi + 0x188]
mov eax, esi
and eax, 3
mov dword [esp + 0x14], ebp
lea eax, [eax + ebp*4]
mov ebp, edi
lea eax, [ecx + eax*2]
and edi, 7
mov dword [esp + 0x34], eax
mov ecx, ebx
sar ebp, cl
mov eax, esi
imul ebp, edx
lea edi, [edi*4]
mov ecx, edi
or edi, 2
shr eax, cl
mov ecx, dword [esp + 0x230]
and eax, 3
lea eax, [eax + ebp*4]
lea esi, [ecx + eax*2]
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x38], esi
mov esi, 1
sar esi, cl
mov ecx, edi
mov ebx, dword [eax + 0x188]
mov edx, ebx
mov eax, dword [esp + 0x14]
add eax, esi
shr edx, 2
and edx, 3
shr ebx, cl
and ebx, 3
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x230]
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [esi + ebp]
mov ebp, dword [esp + 0x10]
lea eax, [ebx + eax*4]
lea eax, [edx + eax*2]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x22c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
test eax, eax
jle 0x1013babe
mov ecx, eax
mov edi, esi
and ecx, 0xfffffff
shl ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
movzx eax, word [ebp + 0x16]
xor ecx, ecx
dec eax
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x1013bc29
mov edi, edx
movaps xmm2, xmm3
shl edi, 4
paddd xmm2, xmm3
add edi, 8
add edi, esi
mov eax, dword [esp + 0x34]
movzx edx, word [ebx]
mov dword [esp + 0x4c], edx
movzx ecx, word [eax]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
movzx ebx, word [eax]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
movzx esi, word [eax]
mov eax, dword [esp + 0x78]
imul eax, ecx
mov dword [esp + 0x50], esi
add dword [edi - 8], eax
mov eax, dword [esp + 0x7c]
imul eax, edx
add dword [edi - 4], eax
mov eax, ebx
imul eax, dword [esp + 0x80]
add dword [edi], eax
mov eax, esi
imul eax, dword [esp + 0x84]
add dword [edi + 4], eax
mov eax, dword [esp + 0x22c]
cmp eax, 1
jl 0x1013bb94
lea esi, [esp + 0x8c]
mov ecx, edi
mov edx, edi
mov ebx, eax
mov eax, dword [esi - 4]
lea edx, [edx + 0x10]
imul eax, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
lea esi, [esi + 0x10]
add dword [edx - 8], eax
add dword [ecx - 8], eax
mov eax, dword [esi - 0x10]
imul eax, dword [esp + 0x4c]
add dword [edx - 4], eax
add dword [ecx - 4], eax
mov eax, dword [esi - 0xc]
imul eax, dword [esp + 0x54]
add dword [edx], eax
add dword [ecx], eax
mov eax, dword [esi - 8]
imul eax, dword [esp + 0x50]
add dword [edx + 4], eax
add dword [ecx + 4], eax
sub ebx, 1
jne 0x1013bb50
movups xmm0, xmmword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add edi, 0x10
movzx eax, word [ebp + 0x16]
movaps xmm1, xmm2
inc dword [esp + 0x20]
add ecx, 2
dec eax
mov dword [esp + 0x24], ecx
paddd xmm1, xmm0
movups xmmword [esp + 0x34], xmm1
cmp ecx, eax
jge 0x1013bc22
mov ebx, dword [esp + 0x38]
jmp 0x1013bae2
movzx ecx, word [ebp + 0x492bc]
movzx eax, word [ebp + 0x1e]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x230]
mov esi, dword [esp + 0x58]
sar edi, cl
imul edi, eax
sar esi, cl
imul esi, eax
lea edx, [ebx + edi*2]
mov dword [esp + 0x34], edx
mov edx, 1
sar edx, cl
lea ebx, [ebx + esi*2]
mov ecx, dword [esp + 0x230]
mov dword [esp + 0x38], ebx
lea eax, [edx + edi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x40], eax
jmp 0x1013ba96
mov edx, dword [esp + 0x22c]
movzx eax, word [ebp + 0x16]
dec eax
cmp ecx, eax
jne 0x1013bcc2
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
movzx eax, word [esi]
movzx edi, word [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
shl eax, 4
add ecx, eax
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x78]
imul eax, edi
add dword [ecx], eax
mov eax, dword [esp + 0x7c]
imul eax, dword [esp + 0x24]
add dword [ecx + 4], eax
cmp edx, 1
jl 0x1013bcaf
mov ebp, dword [esp + 0x22c]
lea edi, [esp + 0x8c]
mov edx, ecx
mov eax, dword [edi - 4]
lea edx, [edx + 0x10]
imul eax, dword [esp + 0x50]
lea ecx, [ecx - 0x10]
lea edi, [edi + 0x10]
add dword [edx], eax
add dword [ecx], eax
mov eax, dword [edi - 0x10]
imul eax, dword [esp + 0x24]
add dword [edx + 4], eax
add dword [ecx + 4], eax
sub ebp, 1
jne 0x1013bc83
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
lea ebx, [ebx + eax*2]
add eax, eax
add esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov ebx, dword [esp + 0x22c]
test ebx, ebx
jle 0x1013bdb4
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
shl eax, 4
add eax, ebp
shl esi, 4
add esi, ebp
mov dword [esp + 0x20], eax
shl edx, 4
add edx, ebp
shl ecx, 4
add ecx, ebp
mov dword [esp + 0x14], ebx
lea eax, [esi + 0xc]
add ebp, 4
mov dword [esp + 0x24], eax
add esi, 0xfffffffc
lea eax, [edx + 8]
add edx, 0xfffffff8
mov dword [esp + 0x4c], eax
lea edi, [ecx + 8]
mov eax, dword [esp + 0x5c]
add ecx, 0xfffffff4
shl eax, 4
add ebp, eax
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x18]
add ebp, 0xfffffff4
add ebp, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x50], eax
mov ebx, eax
nop
mov eax, dword [ecx - 4]
lea edi, [edi + 0x10]
add dword [edi - 0x18], eax
lea ebx, [ebx - 0x10]
mov eax, dword [esp + 0x20]
lea ebp, [ebp - 0x10]
add dword [esp + 0x20], 0x10
lea edx, [edx - 0x10]
lea ecx, [ecx - 0x10]
lea esi, [esi - 0x10]
mov eax, dword [eax]
add dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x10]
add dword [edi - 0x14], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x54], 0x10
mov eax, dword [eax]
add dword [ebp + 0x10], eax
mov eax, dword [ecx + 0x14]
add dword [edi - 0x10], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x4c], 0x10
mov eax, dword [eax]
add dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
add dword [edi - 0xc], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x10
mov eax, dword [eax]
add dword [esi + 0x10], eax
sub dword [esp + 0x14], 1
jne 0x1013bd40
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x22c]
mov eax, dword [esp + 0x23c]
sub eax, 1
je 0x1013be88
sub eax, 3
jne 0x1013bee3
movzx ebx, word [ebp + 0x492bc]
movzx edx, word [ebp + 0x1e]
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x238]
sar ebp, cl
mov esi, dword [eax + 0x188]
mov eax, esi
and eax, 3
imul ebp, edx
mov dword [esp + 0x50], ebp
lea eax, [eax + ebp*4]
lea eax, [edi + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov ebp, eax
and eax, 7
sar ebp, cl
imul ebp, edx
lea edi, [eax*4]
mov eax, esi
mov ecx, edi
mov esi, 1
shr eax, cl
or edi, 2
mov ecx, dword [esp + 0x238]
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 + 0x10]
sar esi, cl
mov ecx, edi
mov ebx, dword [eax + 0x188]
mov edx, ebx
mov eax, dword [esp + 0x50]
add eax, esi
shr edx, 2
and edx, 3
shr ebx, cl
and ebx, 3
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x238]
lea eax, [edx + eax*2]
mov dword [esp + 0x44], eax
lea eax, [esi + ebp]
mov ebp, dword [esp + 0x10]
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x22c]
lea eax, [edx + eax*2]
jmp 0x1013bedf
movzx ecx, word [ebp + 0x492bc]
movzx eax, word [ebp + 0x1e]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x238]
sar esi, cl
imul esi, eax
lea edx, [edi + esi*2]
mov edi, dword [esp + 0x58]
sar edi, cl
imul edi, eax
mov eax, dword [esp + 0x238]
mov dword [esp + 0x1c], edx
mov edx, 1
sar edx, cl
mov ecx, dword [esp + 0x238]
lea eax, [eax + edi*2]
mov dword [esp + 0x28], eax
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x44], eax
lea eax, [edx + edi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x48], eax
movzx eax, word [ebp + 0x16]
xor esi, esi
dec eax
mov edi, ebx
test eax, eax
jle 0x1013bf6c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
add ecx, 8
lea edx, [eax + eax]
mov eax, ebx
mov ebx, dword [esp + 0x28]
shl eax, 4
add ecx, eax
nop dword [eax]
movzx eax, word [ecx - 6]
lea ecx, [ecx + 0x10]
mov ebp, dword [esp + 0x1c]
add esi, 2
add dword [esp + 0x1c], edx
inc edi
mov word [ebp], ax
movzx eax, word [ecx - 0x12]
mov ebp, dword [esp + 0x44]
mov word [ebx], ax
add ebx, edx
movzx eax, word [ecx - 0xe]
mov word [ebp], ax
add ebp, edx
movzx eax, word [ecx - 0xa]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x48]
mov word [ebp], ax
add ebp, edx
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x10]
movzx eax, word [ebp + 0x16]
dec eax
cmp esi, eax
jl 0x1013bf10
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x22c]
movzx eax, word [ebp + 0x16]
dec eax
cmp esi, eax
jne 0x1013bf93
mov ecx, dword [esp + 0x18]
add edi, edi
mov edx, dword [esp + 0x1c]
movzx eax, word [ecx + edi*8 + 2]
mov word [edx], ax
movzx eax, word [ecx + edi*8 + 6]
mov ecx, dword [esp + 0x28]
mov word [ecx], ax
mov ecx, dword [esp + 0x2c]
movzx esi, word [ebp + 0x14]
add ecx, 2
mov dword [esp + 0x2c], ecx
cmp ecx, esi
jl 0x1013b9b8
mov cx, word [ebp + 0x14]
mov eax, 0
and cx, 1
setne al
add eax, dword [esp + 0x70]
add eax, ebx
mov dword [esp + 0x54], eax
xor eax, eax
test cx, cx
setne al
add eax, dword [esp + 0x70]
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x60], eax
movzx eax, word [ebp + 0x16]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x1013c597
lea edi, [eax - 1]
lea eax, [ebx + 1]
cmp eax, edi
cmovl edi, eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x2c], edi
sub eax, 1
je 0x1013c1e6
sub eax, 3
jne 0x1013c0b2
movzx edx, word [ebp + 0x492bc]
mov esi, dword [ebp + 0x188]
mov ecx, edx
sar ebx, cl
mov eax, esi
mov ecx, dword [esp + 0x238]
and eax, 3
mov ebp, edi
and edi, 1
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 + 0x238]
and eax, 3
add edi, edi
lea eax, [eax + ebp*4]
lea esi, [ecx + eax*2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], esi
mov ecx, edx
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 + 0x238]
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [esi + ebp]
mov ebp, dword [esp + 0x10]
lea eax, [ebx + eax*4]
lea eax, [edx + eax*2]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x22c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x30], edx
test eax, eax
jle 0x1013c0de
mov ecx, eax
mov edi, esi
and ecx, 0xfffffff
shl ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
movzx eax, word [ebp + 0x14]
xor ecx, ecx
dec eax
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x1013c241
mov edi, edx
movaps xmm1, xmm4
shl edi, 4
paddd xmm1, xmm4
add edi, 8
add edi, esi
mov eax, dword [esp + 0x34]
movzx edx, word [ebx]
mov dword [esp + 0x68], edx
movzx ecx, word [eax]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
movzx ebx, word [eax]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], ebx
movzx esi, word [eax]
mov eax, dword [esp + 0x78]
imul eax, ecx
mov ecx, dword [esp + 0x22c]
mov dword [esp + 0x50], esi
add dword [edi - 8], eax
mov eax, dword [esp + 0x7c]
imul eax, edx
add dword [edi - 4], eax
mov eax, ebx
imul eax, dword [esp + 0x80]
add dword [edi], eax
mov eax, esi
imul eax, dword [esp + 0x84]
add dword [edi + 4], eax
cmp ecx, 1
jl 0x1013c1b4
lea esi, [esp + 0x8c]
mov edx, edi
mov eax, edi
mov ebx, ecx
mov ecx, dword [esi - 4]
lea eax, [eax + 0x10]
imul ecx, dword [esp + 0x5c]
lea edx, [edx - 0x10]
lea esi, [esi + 0x10]
add dword [eax - 8], ecx
add dword [edx - 8], ecx
mov ecx, dword [esi - 0x10]
imul ecx, dword [esp + 0x68]
add dword [eax - 4], ecx
add dword [edx - 4], ecx
mov ecx, dword [esi - 0xc]
imul ecx, dword [esp + 0x64]
add dword [eax], ecx
add dword [edx], ecx
mov ecx, dword [esi - 8]
imul ecx, dword [esp + 0x50]
add dword [eax + 4], ecx
add dword [edx + 4], ecx
sub ebx, 1
jne 0x1013c170
movups xmm0, xmmword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add edi, 0x10
movzx eax, word [ebp + 0x14]
add ecx, 2
inc dword [esp + 0x30]
dec eax
mov dword [esp + 0x14], ecx
paddd xmm0, xmm1
movups xmmword [esp + 0x34], xmm0
cmp ecx, eax
jge 0x1013c23a
mov ebx, dword [esp + 0x38]
jmp 0x1013c102
movzx ecx, word [ebp + 0x492bc]
mov edi, ebx
mov edx, dword [esp + 0x238]
mov esi, dword [esp + 0x2c]
sar edi, cl
sar esi, cl
lea eax, [edx + edi*2]
mov dword [esp + 0x34], eax
lea ebx, [edx + esi*2]
movzx edx, word [ebp + 0x1e]
mov eax, 1
sar eax, cl
mov ecx, dword [esp + 0x238]
imul edx, eax
mov dword [esp + 0x38], ebx
lea eax, [edx + edi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
mov dword [esp + 0x40], eax
jmp 0x1013c0b6
mov edx, dword [esp + 0x22c]
movzx eax, word [ebp + 0x14]
dec eax
cmp ecx, eax
jne 0x1013c2e6
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
movzx eax, word [esi]
movzx edi, word [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
shl eax, 4
add ecx, eax
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x78]
imul eax, edi
add dword [ecx], eax
mov eax, dword [esp + 0x7c]
imul eax, dword [esp + 0x14]
add dword [ecx + 4], eax
cmp edx, 1
jl 0x1013c2d3
mov ebp, dword [esp + 0x22c]
lea edi, [esp + 0x8c]
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [edi - 4]
lea edx, [edx + 0x10]
imul eax, dword [esp + 0x5c]
lea ecx, [ecx - 0x10]
lea edi, [edi + 0x10]
add dword [edx], eax
add dword [ecx], eax
mov eax, dword [edi - 0x10]
imul eax, dword [esp + 0x14]
add dword [edx + 4], eax
add dword [ecx + 4], eax
sub ebp, 1
jne 0x1013c2a0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x74]
lea ebx, [ebx + eax*2]
add eax, eax
add esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
test edx, edx
jle 0x1013c3cd
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x18]
add ecx, edx
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov edx, ecx
shl esi, 4
mov ecx, dword [esp + 0x22c]
add esi, ebx
shl edx, 4
add edx, ebx
shl ecx, 4
add ecx, ebx
shl ebp, 4
lea eax, [esi + 0xc]
add ebp, ebx
mov dword [esp + 0x4c], eax
add ebx, 4
lea eax, [edx + 8]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], eax
lea edi, [ecx + 8]
mov eax, dword [esp + 0x60]
add esi, 0xfffffffc
shl eax, 4
add edx, 0xfffffff8
add ebx, eax
add ecx, 0xfffffff4
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x18]
add ebx, 0xfffffff4
add ebx, eax
mov eax, dword [esp + 0x22c]
add ebp, 0xfffffff0
mov dword [esp + 0x14], eax
mov eax, dword [ecx - 4]
lea edi, [edi + 0x10]
add dword [edi - 0x18], eax
lea ebp, [ebp - 0x10]
mov eax, dword [esp + 0x30]
lea ebx, [ebx - 0x10]
add dword [esp + 0x30], 0x10
lea edx, [edx - 0x10]
lea ecx, [ecx - 0x10]
lea esi, [esi - 0x10]
mov eax, dword [eax]
add dword [ebp + 0x10], eax
mov eax, dword [ecx + 0x10]
add dword [edi - 0x14], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x10
mov eax, dword [eax]
add dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
add dword [edi - 0x10], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x10
mov eax, dword [eax]
add dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
add dword [edi - 0xc], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x4c], 0x10
mov eax, dword [eax]
add dword [esi + 0x10], eax
sub dword [esp + 0x14], 1
jne 0x1013c360
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x23c]
sub eax, 1
je 0x1013c487
sub eax, 3
jne 0x1013c4d1
movzx edx, word [ebp + 0x492bc]
mov ebp, dword [ebp + 0x188]
mov ecx, edx
mov edi, dword [esp + 0x20]
mov eax, ebp
mov esi, dword [esp + 0x238]
and eax, 3
sar edi, cl
lea eax, [eax + edi*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ebx, eax
and eax, 1
sar ebx, cl
mov dword [esp + 0x2c], eax
lea ecx, [eax + eax]
mov eax, ebp
shr eax, cl
mov ecx, edx
and eax, 3
mov edx, ebp
shr edx, 4
and edx, 3
lea eax, [eax + ebx*4]
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 0x1e]
mov eax, 1
sar eax, cl
mov ecx, dword [esp + 0x2c]
imul esi, eax
or ecx, 2
add ecx, ecx
shr ebp, cl
and ebp, 3
lea eax, [esi + edi]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x238]
lea eax, [edx + eax*2]
mov dword [esp + 0x44], eax
lea eax, [esi + ebx]
lea eax, [eax*4]
add eax, ebp
mov ebp, dword [esp + 0x10]
lea eax, [edx + eax*2]
jmp 0x1013c4cd
movzx ecx, word [ebp + 0x492bc]
mov edi, dword [esp + 0x238]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
movzx edx, word [ebp + 0x1e]
sar esi, cl
sar ebx, cl
lea eax, [edi + esi*2]
mov dword [esp + 0x1c], eax
lea eax, [edi + ebx*2]
mov dword [esp + 0x28], eax
mov eax, 1
sar eax, cl
imul edx, eax
lea eax, [edx + esi]
lea eax, [edi + eax*2]
mov dword [esp + 0x44], eax
lea eax, [edx + ebx]
lea eax, [edi + eax*2]
mov dword [esp + 0x48], eax
movzx eax, word [ebp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x22c]
dec eax
mov edi, ebx
test eax, eax
jle 0x1013c559
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
add ecx, 8
lea edx, [eax + eax]
mov eax, ebx
mov ebx, dword [esp + 0x28]
shl eax, 4
add ecx, eax
movzx eax, word [ecx - 6]
lea ecx, [ecx + 0x10]
mov ebp, dword [esp + 0x1c]
add esi, 2
add dword [esp + 0x1c], edx
inc edi
mov word [ebp], ax
movzx eax, word [ecx - 0x12]
mov ebp, dword [esp + 0x44]
mov word [ebx], ax
add ebx, edx
movzx eax, word [ecx - 0xe]
mov word [ebp], ax
add ebp, edx
movzx eax, word [ecx - 0xa]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x48]
mov word [ebp], ax
add ebp, edx
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x10]
movzx eax, word [ebp + 0x14]
dec eax
cmp esi, eax
jl 0x1013c502
mov dword [esp + 0x28], ebx
jmp 0x1013c55d
mov ebx, dword [esp + 0x28]
movzx eax, word [ebp + 0x14]
dec eax
cmp esi, eax
jne 0x1013c580
mov edx, dword [esp + 0x18]
add edi, edi
mov ecx, dword [esp + 0x1c]
movzx eax, word [edx + edi*8 + 2]
mov word [ecx], ax
movzx eax, word [edx + edi*8 + 6]
mov word [ebx], ax
mov ebx, dword [esp + 0x20]
movzx eax, word [ebp + 0x16]
add ebx, 2
mov dword [esp + 0x20], ebx
cmp ebx, eax
jl 0x1013bfe8
push dword [esp + 0x18]
mov ecx, ebp
call fcn.10135700
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x218
ret 0x14