Function at 0x1022ed50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe38
mov eax, dword [0x102e9794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x18]
xor edx, edx
imul eax, dword [ebx + 0x2c]
push esi
mov esi, ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0xdec], ecx
push edi
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0xdc0], esi
movd xmm0, eax
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0xdd8], eax
mov eax, dword [esi + 0x30]
shr eax, 3
shr ecx, 3
dec eax
add ecx, ecx
pshufd xmm1, xmm0, 0
add eax, ecx
mov dword [ebp - 0xe1c], ecx
div ecx
movzx edx, word [esi + 0x26]
add eax, eax
mov dword [ebp - 0xdc4], edx
mov dword [ebp - 0xddc], eax
test edi, edi
je 0x1022edea
mov ecx, edx
mov eax, edi
sub ecx, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x2c]
cmp edi, edx
cmova eax, ecx
mov dword [ebp - 0xdc4], eax
movzx eax, word [esi + 0x24]
mov ecx, 8
sub eax, dword [ebx + 0x28]
cmp eax, dword [ebx + 0x24]
cmova eax, dword [ebx + 0x24]
mov dword [ebp - 0xdf0], eax
cmp eax, 8
ja 0x1022ee0b
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x1c]
lea esi, [ebp - 0xdb0]
movups xmm0, xmmword [ebx + 8]
mov edi, 4
mov dword [ebp - 0xdcc], ecx
imul eax, ecx
paddd xmm1, xmm0
movups xmmword [ebp - 0xe30], xmm1
movd xmm0, eax
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x30], xmm0
nop
mov ecx, esi
call fcn.10232fe0
add esi, 0x120
sub edi, 1
jne 0x1022ee40
mov eax, dword [ebx + 0x1c]
lea esi, [ebp - 0xd90]
movups xmm1, xmmword [ebp - 0xe30]
shl eax, 3
mov dword [ebp - 0xdd4], eax
xor eax, eax
mov dword [ebp - 0xdc8], eax
mov dword [ebp - 0xdb8], esi
mov dword [ebp - 0xde8], 2
nop dword [eax]
nop word [eax + eax]
mov edi, dword [ebp - 0xdf0]
lea ecx, [esi - 0x20]
mov edx, dword [ebp - 0xdc4]
sub edi, eax
mov eax, dword [ebp - 0xdd4]
movaps xmm0, xmm1
mov dword [esi - 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esi - 8], eax
mov eax, dword [ebp - 0xdb8]
mov dword [ecx], edx
add edx, 7
mov dword [esi - 0x1c], edi
mov dword [esi - 4], 8
mov dword [esi], 8
mov dword [esi - 0x18], 0
mov dword [esi - 0x14], 0
mov dword [esi - 0xc], 8
psrldq xmm0, 4
movd dword [esi + 0x64], xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd dword [esi + 0x68], xmm0
movaps xmm0, xmm1
movd dword [esi + 0x60], xmm1
shr edx, 3
psrldq xmm0, 0xc
movd dword [esi + 0x6c], xmm0
mov dword [esi + 0x1c], edx
lea esi, [edi + 7]
shr esi, 3
mov dword [eax + 0x20], esi
mov eax, 1
sub eax, edx
mov edx, dword [ebp - 0xdc4]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0xdb8]
mov dword [edx + 0x10], eax
mov eax, 1
sub eax, esi
mov esi, edx
lea eax, [edi + eax*8]
mov dword [esi + 0x14], eax
call fcn.10233640
movups xmm1, xmmword [ebp - 0xe30]
mov eax, dword [ebp - 0xdc8]
add esi, 0x120
add eax, dword [ebp - 0xdcc]
sub dword [ebp - 0xde8], 1
paddd xmm1, xmmword [ebp - 0x30]
movups xmmword [ebp - 0xe30], xmm1
mov dword [ebp - 0xdb8], esi
mov dword [ebp - 0xdc8], eax
jne 0x1022ee90
mov eax, dword [ebx + 0x3c]
xor edx, edx
mov esi, dword [ebp - 0xdc0]
test eax, eax
jne 0x1022f028
mov edi, dword [ebp - 0xddc]
movzx ecx, byte [esi + 0x41]
shl edi, 3
mov eax, edi
mov dword [ebp - 0xdb8], edi
div ecx
movzx ecx, byte [esi + 0x42]
xor edx, edx
mov dword [ebp - 0xe10], eax
mov eax, edi
div ecx
movzx ecx, byte [esi + 0x43]
xor edx, edx
mov dword [ebp - 0xde4], eax
mov eax, edi
div ecx
mov edi, dword [ebp - 0xddc]
xor edx, edx
imul edi, dword [ebx + 0x28]
mov dword [ebp - 0xdc4], eax
mov eax, dword [ebp - 0xdec]
shl edi, 3
mov dword [eax], edi
mov eax, edi
movzx ecx, byte [esi + 0x41]
imul ecx, ecx
mov dword [ebp - 0xdd8], edi
div ecx
movzx ecx, byte [esi + 0x42]
xor edx, edx
imul ecx, ecx
mov dword [ebp - 0xe0c], eax
mov eax, edi
div ecx
movzx ecx, byte [esi + 0x43]
mov dword [ebp - 0xdf8], eax
mov eax, edi
imul ecx, ecx
jmp 0x1022f09b
sub eax, dword [ebx + 0x2c]
movzx ecx, byte [esi + 0x40]
mov dword [ebx + 0x3c], eax
div ecx
mov ecx, esi
xor edx, edx
mov dword [ebp - 0xdb8], eax
mov eax, dword [ebx + 0x3c]
movzx edi, byte [ecx + 0x41]
div edi
movzx esi, byte [ecx + 0x42]
xor edx, edx
mov dword [ebp - 0xe10], eax
mov eax, dword [ebx + 0x3c]
div esi
movzx ecx, byte [ecx + 0x43]
xor edx, edx
mov dword [ebp - 0xde4], eax
mov eax, dword [ebx + 0x3c]
div ecx
xor edx, edx
mov dword [ebp - 0xdc4], eax
mov eax, dword [ebp - 0xdd8]
div edi
xor edx, edx
mov dword [ebp - 0xe0c], eax
mov eax, dword [ebp - 0xdd8]
div esi
mov esi, dword [ebp - 0xdc0]
mov dword [ebp - 0xdf8], eax
mov eax, dword [ebp - 0xdd8]
xor edx, edx
mov edi, dword [ebx + 0x24]
div ecx
movzx ecx, byte [esi + 0x44]
xor edx, edx
mov dword [ebp - 0xde0], eax
mov eax, edi
div ecx
movzx ecx, byte [esi + 0x45]
xor edx, edx
mov dword [ebp - 0xdf0], eax
mov eax, edi
div ecx
movzx ecx, byte [esi + 0x46]
xor edx, edx
mov dword [ebp - 0xdf4], eax
mov eax, edi
div ecx
movzx ecx, byte [esi + 0x47]
xor edx, edx
mov dword [ebp - 0xe18], eax
mov eax, edi
div ecx
mov dword [ebp - 0xe14], ecx
mov edi, 2
mov dword [ebp - 0xdbc], eax
mov eax, dword [esi + 0x30]
lea esi, [ebp - 0x730]
shl eax, 3
mov dword [ebp - 0xdd4], eax
mov ecx, esi
call fcn.10231c00
add esi, 0x100
sub edi, 1
jne 0x1022f105
lea esi, [ebp - 0x530]
mov edi, 2
mov ecx, esi
call fcn.10231c00
add esi, 0x100
sub edi, 1
jne 0x1022f122
lea esi, [ebp - 0x330]
mov edi, 2
nop
mov ecx, esi
call fcn.10231c00
add esi, 0x100
sub edi, 1
jne 0x1022f140
lea esi, [ebp - 0x930]
mov edi, 2
nop dword [eax]
mov ecx, esi
call fcn.10231c00
add esi, 0x100
sub edi, 1
jne 0x1022f160
mov ecx, dword [ebp - 0xdb8]
lea esi, [ebp - 0x728]
mov eax, dword [ebp - 0xddc]
add ecx, 7
mov edx, dword [ebp - 0xdd8]
shr ecx, 3
shl eax, 7
mov dword [ebp - 0xdec], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xde8], ecx
mov dword [ebp - 0xdc8], 2
mov eax, dword [eax]
lea edx, [eax + edx*2]
mov dword [ebp - 0xdcc], edx
nop word [eax + eax]
mov eax, dword [ebp - 0xdb8]
mov ecx, dword [ebp - 0xdd4]
mov dword [esi - 4], eax
mov eax, dword [ebp - 0xdf0]
sub eax, edi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xde8]
mov dword [esi], eax
add eax, 7
mov dword [esi + 0x28], ecx
lea ecx, [esi - 8]
shr eax, 3
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0x40
mov dword [esi + 0x20], 8
mov dword [esi + 0x14], 1
mov dword [esi + 0x2c], eax
mov dword [ecx], edx
call fcn.102334b0
mov edx, dword [ebp - 0xdcc]
lea esi, [esi + 0x100]
add edx, dword [ebp - 0xdec]
add edi, 8
sub dword [ebp - 0xdc8], 1
mov dword [ebp - 0xdcc], edx
jne 0x1022f1c0
mov edi, dword [ebx + 0x34]
mov edx, dword [ebp - 0xe0c]
mov esi, dword [ebp - 0xdc0]
mov dword [ebp - 0x510], 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x50c], 8
mov ecx, dword [esi + 0x34]
mov esi, dword [ebp - 0xdf4]
lea edx, [eax + edx*2]
shl ecx, 3
mov eax, dword [ebp - 0xe10]
mov dword [ebp - 0x52c], eax
add eax, 7
shr eax, 3
mov dword [ebp - 0x500], eax
mov eax, esi
add eax, 7
mov dword [ebp - 0x51c], ecx
shr eax, 3
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x528], esi
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x518], 0x40
mov dword [ebp - 0x508], 8
mov dword [ebp - 0x514], 1
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x530], edx
call fcn.102334b0
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0xdf8]
mov esi, dword [ebp - 0xdc0]
mov edi, dword [ebp - 0xe18]
mov dword [ebp - 0x328], edi
lea edx, [eax + edx*2]
mov dword [ebp - 0x310], 8
mov eax, dword [ebp - 0xde4]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x32c], eax
add eax, 7
shr eax, 3
mov dword [ebp - 0x300], eax
lea eax, [edi + 7]
shl ecx, 3
mov dword [ebp - 0x31c], ecx
lea ecx, [ebp - 0x330]
shr eax, 3
mov dword [ebp - 0x30c], 8
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x318], 0x40
mov dword [ebp - 0x308], 8
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x330], edx
call fcn.102334b0
mov eax, dword [esi + 0x3c]
xor edx, edx
shl eax, 3
lea esi, [ebp - 0x928]
mov dword [ebp - 0xdf0], eax
mov eax, dword [ebp - 0xdc4]
add eax, 7
mov dword [ebp - 0xdc8], 2
shr eax, 3
mov dword [ebp - 0xdd4], eax
mov eax, dword [ebp - 0xddc]
div dword [ebp - 0xe14]
shl eax, 7
xor edi, edi
mov dword [ebp - 0xdec], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xde0]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xdcc], edx
nop dword [eax]
mov eax, dword [ebp - 0xdc4]
mov ecx, dword [ebp - 0xdf0]
mov dword [esi - 4], eax
mov eax, dword [ebp - 0xdbc]
sub eax, edi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xdd4]
mov dword [esi], eax
add eax, 7
mov dword [esi + 0x28], ecx
lea ecx, [esi - 8]
shr eax, 3
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0x40
mov dword [esi + 0x20], 8
mov dword [esi + 0x14], 1
mov dword [esi + 0x2c], eax
mov dword [ecx], edx
call fcn.102334b0
mov edx, dword [ebp - 0xdcc]
lea esi, [esi + 0x100]
add edx, dword [ebp - 0xdec]
add edi, 8
sub dword [ebp - 0xdc8], 1
mov dword [ebp - 0xdcc], edx
jne 0x1022f400
xor eax, eax
mov dword [ebp - 0x2c], 0x10000
sub dword [ebp - 0xe1c], 2
mov dword [ebp - 0xe0c], eax
mov dword [ebp - 0xde8], eax
mov dword [ebp - 0xdc8], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x20101
mov dword [ebp - 0x20], 0x1010000
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov dword [ebp - 0xde4], 0x80
nop dword [eax + eax]
mov eax, dword [ebp - 0x438]
lea esi, [ebp - 0x2e]
lea edi, [ebp - 0xd3c]
mov dword [ebp - 0xdcc], 0
mov dword [ebp - 0xdd8], esi
mov dword [ebp - 0xdb4], edi
mov ecx, dword [ebp + eax*4 - 0x460]
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0xdf0], 2
mov eax, dword [ebp + eax*4 - 0x4f0]
lea edx, [eax + ecx*2]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0xdc4], edx
mov ecx, dword [ebp + eax*4 - 0x260]
mov eax, dword [ebp - 0x23c]
mov eax, dword [ebp + eax*4 - 0x2f0]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xddc], eax
xor eax, eax
mov dword [ebp - 0xdb8], eax
nop word [eax + eax]
lea esi, [ebp - 0x730]
mov dword [ebp - 0xe00], edx
add esi, eax
lea ecx, [ebp - 0x63c]
add ecx, eax
lea edx, [ebp - 0x930]
mov eax, dword [ebp + eax - 0x638]
mov dword [ebp - 0xdd4], ecx
mov ecx, dword [esi + eax*4 + 0xd0]
mov eax, dword [ebp - 0xdd4]
mov dword [ebp - 0xdd4], 2
mov eax, dword [eax]
mov eax, dword [esi + eax*4 + 0x40]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xdf8], eax
mov eax, dword [ebp - 0xddc]
mov dword [ebp - 0xdc0], eax
mov eax, dword [ebp - 0xdb8]
add edx, eax
mov eax, dword [ebp + eax - 0x838]
mov ecx, dword [edx + eax*4 + 0xd0]
mov eax, dword [ebp - 0xdb8]
mov eax, dword [ebp + eax - 0x83c]
mov eax, dword [edx + eax*4 + 0x40]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xdec], eax
mov dword [ebp - 0xdf4], eax
mov dword [ebp - 0xe18], 4
nop dword [eax + eax]
mov edx, dword [edi]
xor eax, eax
mov esi, dword [edi + 4]
mov dword [ebp - 0xe14], 2
mov dword [ebp - 0xe10], edx
nop word [eax + eax]
lea ecx, [edx + 0x24]
mov edx, dword [edi + esi*4 - 0x30]
mov dword [ebp - 0xdfc], ecx
mov ecx, dword [edi + ecx*4 - 0x74]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0x130], ecx
mov ecx, dword [ebp - 0xe10]
add ecx, dword [ebp - 0xdcc]
mov dword [ebp - 0xdbc], ecx
mov ecx, dword [ebp + ecx*4 - 0xcfc]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0xf0], ecx
mov ecx, dword [ebp - 0xdbc]
mov ecx, dword [ebp + ecx*4 - 0xcd8]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0xb0], ecx
mov ecx, dword [ebp - 0xdbc]
mov ecx, dword [ebp + ecx*4 - 0xcb4]
movzx ecx, byte [ecx + edx]
mov edx, dword [edi - 0x4c]
mov dword [ebp + eax - 0x70], ecx
lea ecx, [esi + 1]
mov dword [ebp - 0xde0], edx
cmp ecx, edx
je 0x1022f6a8
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov edx, dword [edi + esi*4 - 0x30]
mov ecx, dword [edi + ecx*4 - 0x74]
mov dword [ebp - 0xdd0], ecx
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x12c], ecx
mov ecx, dword [ebp - 0xdbc]
lea ecx, [ebp + ecx*4 - 0xcfc]
mov dword [ebp - 0xe04], ecx
mov ecx, dword [ecx]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xec], ecx
mov ecx, dword [ebp - 0xdbc]
lea ecx, [ebp + ecx*4 - 0xcd8]
mov dword [ebp - 0xe08], ecx
mov ecx, dword [ecx]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xac], ecx
mov ecx, dword [ebp - 0xdbc]
lea ecx, [ebp + ecx*4 - 0xcb4]
mov dword [ebp - 0xdbc], ecx
mov ecx, dword [ecx]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x6c], ecx
lea ecx, [esi + 1]
cmp ecx, dword [edi - 0x4c]
je 0x1022f749
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
mov edi, dword [ebp - 0xdb4]
mov dword [ebp - 0xdd0], ecx
jmp 0x1022f74f
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x128], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0xe8], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xa8], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x68], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xde0]
je 0x1022f7bc
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
mov dword [ebp - 0xdd0], ecx
jmp 0x1022f7c2
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x124], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0xe4], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0xa4], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0x64], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xde0]
je 0x1022f82f
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
mov dword [ebp - 0xdd0], ecx
jmp 0x1022f835
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x120], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xe0], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xa0], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x60], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xde0]
je 0x1022f8a2
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
mov dword [ebp - 0xdd0], ecx
jmp 0x1022f8a8
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x11c], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xdc], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x9c], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [ecx + edx]
mov dword [ebp + eax - 0x5c], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xde0]
je 0x1022f915
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
mov dword [ebp - 0xdd0], ecx
jmp 0x1022f91b
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x118], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xd8], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x98], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x58], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xde0]
je 0x1022f982
mov dword [edi + 4], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xdfc]
mov ecx, dword [edi + ecx*4 - 0x74]
jmp 0x1022f988
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [edi + esi*4 - 0x30]
inc esi
mov edi, dword [ebp - 0xe04]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x114], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xe08]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0xd4], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdbc]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x94], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0xdb4]
movzx ecx, byte [edx + ecx]
mov dword [ebp + eax - 0x54], ecx
cmp esi, dword [ebp - 0xde0]
je 0x1022f9df
mov dword [edi + 4], esi
mov edx, dword [ebp - 0xe10]
add eax, 0x20
mov esi, 0
movzx ecx, byte [edx + edi - 0xb]
add edx, ecx
mov dword [edi + 4], 0
sub dword [ebp - 0xe14], 1
mov dword [ebp - 0xe10], edx
mov dword [edi], edx
jne 0x1022f620
xor edx, edx
lea esi, [edx + 4]
nop word [eax + eax]
movzx eax, word [ebp + edx - 0x130]
lea edx, [edx + 8]
mov ecx, 0x80
sub ax, cx
mov ecx, dword [ebp - 0xdf8]
shl ax, 4
mov word [ecx], ax
movzx eax, word [ebp + edx - 0x134]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 2], ax
movzx eax, word [ebp + edx - 0x118]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 0x10], ax
movzx eax, word [ebp + edx - 0x114]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 0x12], ax
mov ecx, dword [ebp + edx - 0xf4]
mov eax, dword [ebp + edx - 0xf8]
add ecx, 2
add ecx, dword [ebp + edx - 0xd4]
add ecx, dword [ebp + edx - 0xd8]
add eax, ecx
mov ecx, dword [ebp - 0xe00]
shr eax, 2
add eax, 0xffffff80
add dword [ebp - 0xe00], 2
shl eax, 4
mov word [ecx], ax
mov ecx, dword [ebp + edx - 0xb4]
mov eax, dword [ebp + edx - 0xb8]
add ecx, 2
add ecx, dword [ebp + edx - 0x94]
add ecx, dword [ebp + edx - 0x98]
add eax, ecx
mov ecx, dword [ebp - 0xdc0]
shr eax, 2
add eax, 0xffffff80
add dword [ebp - 0xdc0], 2
shl eax, 4
mov word [ecx], ax
mov ecx, 0x80
movzx eax, word [ebp + edx - 0x78]
sub ax, cx
mov ecx, dword [ebp - 0xdf4]
shl ax, 4
mov word [ecx], ax
movzx eax, word [ebp + edx - 0x74]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 2], ax
movzx eax, word [ebp + edx - 0x58]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 0x10], ax
movzx eax, word [ebp + edx - 0x54]
sub ax, word [ebp - 0xde4]
shl ax, 4
mov word [ecx + 0x12], ax
add ecx, 4
mov eax, dword [ebp - 0xdf8]
add eax, 4
mov dword [ebp - 0xdf4], ecx
mov dword [ebp - 0xdf8], eax
sub esi, 1
jne 0x1022fa20
add dword [ebp - 0xe00], 8
add eax, 0x10
add dword [ebp - 0xdc0], 8
add ecx, 0x10
sub dword [ebp - 0xe18], 1
mov dword [ebp - 0xdf8], eax
mov dword [ebp - 0xdf4], ecx
jne 0x1022f600
mov esi, dword [ebp - 0xdc4]
lea edx, [ebp - 0x730]
mov eax, dword [ebp - 0xdec]
add esi, 8
mov dword [ebp - 0xe00], esi
add eax, 0xfffffff0
mov esi, dword [ebp - 0xddc]
add esi, 8
mov dword [ebp - 0xdf4], eax
mov dword [ebp - 0xdc0], esi
mov esi, dword [ebp - 0xdb8]
add edx, esi
mov eax, dword [ebp + esi - 0x634]
add dword [ebp + esi - 0x704], eax
mov eax, dword [ebp + esi - 0x704]
inc dword [ebp + esi - 0x720]
mov ecx, dword [edx]
mov dword [edx + 0xf4], 0
mov dword [edx + 0xf8], 0
lea ecx, [ecx + eax*2]
mov eax, dword [ebp + esi - 0x708]
add eax, eax
mov dword [ebp + esi - 0x6f0], ecx
add ecx, eax
mov dword [ebp + esi - 0x6ec], ecx
add ecx, eax
mov dword [ebp + esi - 0x6e8], ecx
add ecx, eax
mov dword [ebp + esi - 0x6e4], ecx
add ecx, eax
mov dword [ebp + esi - 0x6e0], ecx
add ecx, eax
mov dword [ebp + esi - 0x6dc], ecx
add ecx, eax
add eax, ecx
mov dword [ebp + esi - 0x6d8], ecx
mov dword [ebp + esi - 0x6d4], eax
mov eax, dword [ebp + esi - 0x638]
mov ecx, dword [edx + eax*4 + 0xd0]
lea eax, [ebp - 0x63c]
mov eax, dword [eax + esi]
mov esi, dword [ebp - 0xdd8]
mov eax, dword [edx + eax*4 + 0x40]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xe0c]
inc ecx
mov dword [ebp - 0xdf8], eax
mov dword [ebp - 0xe0c], ecx
cmp cx, 4
jne 0x1022fd1e
movzx eax, byte [esi]
lea edx, [ebp - 0x530]
shl eax, 8
add edx, eax
mov eax, dword [edx + 0xfc]
add dword [edx + 0x2c], eax
mov ecx, dword [edx + 0x2c]
inc dword [edx + 0x10]
mov eax, dword [edx]
mov dword [edx + 0xf4], 0
mov dword [edx + 0xf8], 0
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 0x28]
add eax, eax
mov dword [edx + 0x40], ecx
add ecx, eax
mov dword [edx + 0x44], ecx
add ecx, eax
mov dword [edx + 0x48], ecx
add ecx, eax
mov dword [edx + 0x4c], ecx
add ecx, eax
mov dword [edx + 0x50], ecx
add ecx, eax
mov dword [edx + 0x54], ecx
add ecx, eax
add eax, ecx
mov dword [edx + 0x58], ecx
mov dword [edx + 0x5c], eax
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0xd0]
lea ecx, [eax + ecx*2]
xor eax, eax
mov dword [ebp - 0xdc4], ecx
mov dword [ebp - 0xe00], ecx
mov dword [ebp - 0xe0c], eax
mov eax, dword [ebp - 0xde8]
inc eax
mov dword [ebp - 0xde8], eax
cmp ax, 4
jne 0x1022fe02
movzx edx, byte [esi]
shl edx, 8
mov eax, dword [ebp + edx - 0x234]
add dword [ebp + edx - 0x304], eax
mov ecx, dword [ebp + edx - 0x304]
mov eax, dword [ebp + edx - 0x330]
inc dword [ebp + edx - 0x320]
mov dword [ebp + edx - 0x23c], 0
mov dword [ebp + edx - 0x238], 0
lea ecx, [eax + ecx*2]
mov eax, dword [ebp + edx - 0x308]
add eax, eax
mov dword [ebp + edx - 0x2f0], ecx
add ecx, eax
mov dword [ebp + edx - 0x2ec], ecx
add ecx, eax
mov dword [ebp + edx - 0x2e8], ecx
add ecx, eax
mov dword [ebp + edx - 0x2e4], ecx
add ecx, eax
mov dword [ebp + edx - 0x2e0], ecx
add ecx, eax
mov dword [ebp + edx - 0x2dc], ecx
add ecx, eax
add eax, ecx
mov dword [ebp + edx - 0x2d8], ecx
mov dword [ebp + edx - 0x2d4], eax
lea eax, [ebp - 0x530]
add edx, eax
mov eax, dword [edx + 0xf8]
mov ecx, dword [edx + eax*4 + 0xd0]
mov eax, dword [edx + 0xf4]
mov eax, dword [edx + eax*4 + 0x40]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xdc4], eax
mov eax, dword [ebp - 0xddc]
mov dword [ebp - 0xdc0], eax
xor eax, eax
mov dword [ebp - 0xde8], eax
mov esi, dword [ebp - 0xdc8]
inc esi
mov dword [ebp - 0xdc8], esi
cmp si, 1
mov esi, dword [ebp - 0xdd8]
jne 0x1022fea1
movzx eax, byte [esi - 1]
lea edx, [ebp - 0x930]
shl eax, 8
add edx, eax
mov eax, dword [edx + 0xfc]
add dword [edx + 0x2c], eax
mov ecx, dword [edx + 0x2c]
inc dword [edx + 0x10]
mov eax, dword [edx]
mov dword [edx + 0xf4], 0
mov dword [edx + 0xf8], 0
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 0x28]
add eax, eax
mov dword [edx + 0x40], ecx
add ecx, eax
mov dword [edx + 0x44], ecx
add ecx, eax
mov dword [edx + 0x48], ecx
add ecx, eax
mov dword [edx + 0x4c], ecx
add ecx, eax
mov dword [edx + 0x50], ecx
add ecx, eax
mov dword [edx + 0x54], ecx
add ecx, eax
add eax, ecx
mov dword [edx + 0x58], ecx
mov dword [edx + 0x5c], eax
mov ecx, dword [edx + 0xd0]
mov eax, dword [edx + 0x40]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xdec], eax
mov dword [ebp - 0xdf4], eax
xor eax, eax
mov dword [ebp - 0xdc8], eax
mov eax, dword [edi - 0x68]
mov ecx, dword [edi - 0x38]
inc eax
mov dword [edi], 0
cmp eax, ecx
jb 0x1022feba
mov eax, dword [edi - 0x44]
mov dword [edi - 0x4c], eax
jmp 0x1022fede
mov dword [edi - 0x68], eax
inc eax
cmp eax, ecx
je 0x1022fec7
mov eax, dword [edi - 0x58]
jmp 0x1022feca
mov eax, dword [edi - 0x44]
mov dword [edi - 0x4c], eax
lea ecx, [edi - 0x74]
mov eax, dword [edi + 8]
add dword [edi - 0x3c], eax
push dword [edi - 0x3c]
call fcn.10148570
sub dword [ebp - 0xdd4], 1
jne 0x1022f5f1
mov edx, dword [ebp - 0xdc4]
add esi, 5
mov eax, dword [ebp - 0xdb8]
add edx, 0x40
add dword [ebp - 0xddc], 0x40
add eax, 0x100
add dword [ebp - 0xdcc], 0x48
add edi, 0x120
sub dword [ebp - 0xdf0], 1
mov dword [ebp - 0xdc4], edx
mov dword [ebp - 0xdd8], esi
mov dword [ebp - 0xdb8], eax
mov dword [ebp - 0xdb4], edi
jne 0x1022f560
cmp dword [ebx + 0x30], 8
je 0x1022ffab
mov edx, dword [ebp - 0xe1c]
lea esi, [ebp - 0xd74]
mov edi, 2
mov eax, dword [esi - 0x30]
mov ecx, dword [esi]
add eax, edx
mov dword [esi + 0x38], 0
cmp eax, ecx
jb 0x1022ff6c
mov eax, dword [esi - 0xc]
mov dword [esi - 0x14], eax
jmp 0x1022ffa0
mov dword [esi - 0x30], eax
inc eax
mov dword [esi + 0x3c], 0
cmp eax, ecx
je 0x1022ff80
mov eax, dword [esi - 0x20]
jmp 0x1022ff83
mov eax, dword [esi - 0xc]
mov dword [esi - 0x14], eax
lea ecx, [esi - 0x3c]
mov eax, dword [esi + 0x40]
imul eax, edx
add dword [esi - 4], eax
push dword [esi - 4]
call fcn.10148570
mov edx, dword [ebp - 0xe1c]
add esi, 0x120
sub edi, 1
jne 0x1022ff52
mov eax, dword [ebp - 0x720]
cmp eax, dword [ebp - 0x700]
jb 0x1022f4e0
lea edx, [ebp - 0x638]
mov esi, 2
nop dword [eax + eax]
add dword [edx - 0xec], 2
lea edx, [edx + 0x100]
mov ecx, dword [edx - 0x1e4]
imul ecx, dword [edx - 0x1ec]
mov eax, dword [edx - 0x1f8]
mov dword [edx - 0x104], 0
mov dword [edx - 0x100], 0
mov dword [edx - 0x1e8], 0
mov dword [edx - 0x1cc], ecx
lea ecx, [eax + ecx*2]
mov eax, dword [edx - 0x1d0]
add eax, eax
mov dword [edx - 0x1b8], ecx
add ecx, eax
mov dword [edx - 0x1b4], ecx
add ecx, eax
mov dword [edx - 0x1b0], ecx
add ecx, eax
mov dword [edx - 0x1ac], ecx
add ecx, eax
mov dword [edx - 0x1a8], ecx
add ecx, eax
mov dword [edx - 0x1a4], ecx
add ecx, eax
add eax, ecx
mov dword [edx - 0x1a0], ecx
mov dword [edx - 0x19c], eax
sub esi, 1
jne 0x1022ffd0
lea esi, [ebp - 0xd74]
mov edi, 2
cmp dword [esi], 1
mov dword [esi - 0x30], 0
je 0x10230083
mov eax, dword [esi - 0x20]
mov dword [esi - 0x14], eax
mov eax, dword [esi - 0x34]
mov ecx, dword [esi + 4]
add eax, 2
cmp eax, ecx
jb 0x102300a1
mov edx, dword [esi - 8]
lea eax, [ecx - 1]
mov dword [esi - 0x34], eax
lea eax, [edx - 1]
mov dword [esi + 0x38], eax
jmp 0x102300b8
mov dword [esi - 0x34], eax
inc eax
mov dword [esi + 0x38], 0
cmp eax, ecx
je 0x102300b5
mov edx, dword [esi - 0x1c]
jmp 0x102300b8
mov edx, dword [esi - 8]
mov eax, edx
lea ecx, [esi - 0x3c]
mov dword [esi - 0x10], eax
mov byte [ecx + edx + 0x68], 0
mov eax, dword [esi - 0x2c]
imul eax, dword [esi - 0x34]
push eax
mov dword [esi - 4], eax
call fcn.10148570
add esi, 0x120
sub edi, 1
jne 0x10230071
mov ecx, dword [ebp - 0x524]
lea edx, [ebp - 0x838]
mov eax, dword [ebp - 0x530]
lea esi, [edi + 2]
inc ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x524], ecx
imul ecx, dword [ebp - 0x51c]
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x520], edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x504], ecx
mov dword [ebp - 0x320], edi
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x4f0], ecx
lea ecx, [ecx + eax*2]
add eax, eax
mov dword [ebp - 0x4ec], ecx
add ecx, eax
mov dword [ebp - 0x4e8], ecx
add ecx, eax
mov dword [ebp - 0x4e4], ecx
add ecx, eax
mov dword [ebp - 0x4e0], ecx
add ecx, eax
mov dword [ebp - 0x4dc], ecx
add ecx, eax
add eax, ecx
mov dword [ebp - 0x4d8], ecx
mov ecx, dword [ebp - 0x324]
inc ecx
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x324], ecx
imul ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x304], ecx
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x2f0], ecx
lea ecx, [ecx + eax*2]
add eax, eax
mov dword [ebp - 0x2ec], ecx
add ecx, eax
mov dword [ebp - 0x2e8], ecx
add ecx, eax
mov dword [ebp - 0x2e4], ecx
add ecx, eax
mov dword [ebp - 0x2e0], ecx
add ecx, eax
mov dword [ebp - 0x2dc], ecx
add ecx, eax
add eax, ecx
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2d4], eax
add dword [edx - 0xec], 2
lea edx, [edx + 0x100]
mov ecx, dword [edx - 0x1e4]
imul ecx, dword [edx - 0x1ec]
mov eax, dword [edx - 0x1f8]
mov dword [edx - 0x104], 0
mov dword [edx - 0x100], 0
mov dword [edx - 0x1e8], 0
mov dword [edx - 0x1cc], ecx
lea ecx, [eax + ecx*2]
mov eax, dword [edx - 0x1d0]
add eax, eax
mov dword [edx - 0x1b8], ecx
add ecx, eax
mov dword [edx - 0x1b4], ecx
add ecx, eax
mov dword [edx - 0x1b0], ecx
add ecx, eax
mov dword [edx - 0x1ac], ecx
add ecx, eax
mov dword [edx - 0x1a8], ecx
add ecx, eax
mov dword [edx - 0x1a4], ecx
add ecx, eax
add eax, ecx
mov dword [edx - 0x1a0], ecx
mov dword [edx - 0x19c], eax
sub esi, 1
jne 0x102301e1
mov eax, dword [ebp - 0x724]
cmp eax, dword [ebp - 0x6fc]
jb 0x1022f4e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1023c450
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x3c