Function at 0x10232140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2b10
call fcn.101308a0
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x10305014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x10]
lea edi, [ebp - 0x2a4c]
push 0x2a3c
push eax
push edi
call fcn.10132610
add esp, 0xc
mov esi, 0xbaa8beb0
cmp dword [edi], 0
je 0x10232196
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10130483
mov eax, esi
add esp, 0x2b10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x50], 0
jne 0x1023217f
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240e]
mov dword [ebp - 0x2a94], eax
mov eax, dword [eax - 0x61e]
add eax, 6
lea edi, [ecx + 0xa901a]
mov dword [ebp - 0x2aa4], edi
movzx eax, al
mov dword [ebp - 0x2ae0], eax
lea eax, [ebp - 0x2713]
mov dword [ebp - 0x2a84], eax
lea eax, [ecx + 0xc0]
mov dword [ebp - 0x2ac4], eax
lea eax, [ecx + 0x3c0]
mov dword [ebp - 0x2ac0], eax
lea eax, [ecx + 0x5c0]
mov dword [ebp - 0x2abc], eax
lea eax, [ecx + 0x7c0]
mov dword [ebp - 0x2ab8], eax
lea eax, [ecx + 0x9c0]
mov dword [ebp - 0x2ab4], eax
lea eax, [ecx + 0xbc0]
mov dword [ebp - 0x2ab0], eax
lea eax, [ecx + 0xdc0]
mov dword [ebp - 0x2aac], eax
lea eax, [ecx + 0xfc0]
mov dword [ebp - 0x2aa8], eax
xor eax, eax
mov dword [ebp - 0x2a74], eax
mov eax, dword [ebp - 0x2a74]
mov al, byte [eax + 0x102df0b4]
mov ecx, dword [ebp + 0x14]
add al, byte [ecx + 8]
movzx eax, al
mov ecx, dword [eax*4 + 0x102df0b8]
mov eax, dword [ebp - 0x2a74]
mov ebx, dword [esi + 0x44]
test eax, eax
mov dword [ebp - 0x2a98], ecx
je 0x10232e5a
inc ebx
sar ebx, 1
mov ecx, dword [esi + 0x48]
inc ecx
sar ecx, 1
mov dword [ebp - 0x2a5c], ecx
mov ecx, dword [esi + eax*4]
mov dword [ebp - 0x2a6c], ecx
mov edi, dword [esi + eax*4 + 0x20]
mov ecx, dword [edx + eax*4]
mov edx, dword [edx + eax*4 + 0x20]
cmp dword [ebp + eax*4 - 0x2a28], 0
mov dword [ebp - 0x2a70], ecx
mov dword [ebp - 0x2a78], edx
je 0x10232e99
movzx eax, word [ebp + eax*2 - 0x2a1c]
test eax, eax
je 0x102322da
xor ecx, ecx
mov edx, dword [ebp - 0x2a94]
sar word [edx - 4], 1
shl word [edx - 2], 1
shl word [edx], 1
inc ecx
add edx, 0xc
cmp ecx, eax
jb 0x102322c7
mov edx, dword [ebp - 0x2a5c]
test edx, edx
jle 0x10232ebc
lea eax, [edi + edi*2]
mov dword [ebp - 0x2b04], eax
lea eax, [edi + edi*4]
mov dword [ebp - 0x2b00], eax
lea eax, [edi + edi]
lea eax, [eax + eax*2]
mov dword [ebp - 0x2afc], eax
lea eax, [edi*8]
sub eax, edi
mov dword [ebp - 0x2af8], eax
mov eax, dword [ebp - 0x2a70]
add eax, 7
mov dword [ebp - 0x2acc], eax
mov eax, dword [ebp - 0x2a6c]
add eax, 7
mov dword [ebp - 0x2ac8], eax
mov dword [ebp - 0x2a88], 0
mov dword [ebp - 0x2a5c], edx
mov dword [ebp - 0x2a50], edi
mov dword [ebp - 0x2b08], ebx
test ebx, ebx
jle 0x10232dc7
mov dword [ebp - 0x2a8c], 0
mov esi, dword [ebp - 0x2a98]
mov ecx, esi
shr ecx, 0x10
imul eax, ecx, 0x4ec5
shr eax, 0x14
imul eax, eax, 0x34
sub ecx, eax
movzx eax, si
shr eax, 3
imul eax, eax, 0x2493
shr eax, 0x10
lea eax, [esi + eax*8]
and ecx, 0x3c
mov dword [ebp - 0x2ad0], ecx
and eax, 0x38
mov dword [ebp - 0x2b0c], eax
mov eax, esi
shr eax, 2
mov ecx, esi
shr ecx, 0x1e
xor ecx, eax
and ecx, 1
mov dword [ebp - 0x2ae4], esi
lea eax, [ecx + esi*2]
mov dword [ebp - 0x2a98], eax
mov al, 1
xor ecx, ecx
mov esi, ecx
or esi, dword [ebp - 0x2a88]
cmp esi, edx
jge 0x10232db0
mov dword [ebp - 0x2adc], eax
add ecx, dword [ebp - 0x2ad0]
mov dword [ebp - 0x2aec], ecx
mov eax, esi
imul eax, dword [ebp - 0x2a78]
add eax, dword [ebp - 0x2acc]
mov dword [ebp - 0x2b14], eax
imul esi, edi
mov eax, dword [ebp - 0x2a6c]
add eax, esi
mov dword [ebp - 0x2b10], eax
add esi, dword [ebp - 0x2ac8]
mov dword [ebp - 0x2ae8], esi
xor edx, edx
mov al, 1
mov ecx, edx
or ecx, dword [ebp - 0x2a8c]
cmp ecx, ebx
jge 0x10232d93
mov dword [ebp - 0x2b1c], eax
add edx, dword [ebp - 0x2b0c]
mov dword [ebp - 0x2b18], edx
mov eax, dword [ebp - 0x2b14]
mov dword [ebp - 0x2a90], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x2a60], 8
mov dword [ebp - 0x2a68], 0
mov dword [ebp - 0x2a54], 0
mov dword [ebp - 0x2a64], 0
xor esi, esi
xor ecx, ecx
xor eax, eax
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x2a58], edi
movzx edi, byte [edx - 7]
add dword [ebp - 0x2a68], edi
movzx edi, byte [edx - 6]
add dword [ebp - 0x2a54], edi
movzx edi, byte [edx - 5]
add dword [ebp - 0x2a64], edi
movzx edi, byte [edx - 4]
add esi, edi
movzx edi, byte [edx - 3]
add ecx, edi
movzx edi, byte [edx - 2]
add eax, edi
movzx edi, byte [edx - 1]
add ebx, edi
movzx edi, byte [edx]
add dword [ebp - 0x2a58], edi
mov edi, dword [ebp - 0x2a58]
add edx, dword [ebp - 0x2a78]
dec dword [ebp - 0x2a60]
jne 0x1023247b
mov dword [ebp - 0x2a80], esi
mov dword [ebp - 0x2a7c], ecx
mov dword [ebp - 0x2a60], eax
mov edx, dword [ebp - 0x2b10]
mov esi, dword [ebp - 0x2a90]
add edx, esi
mov dword [ebp - 0x2aa0], edx
mov edx, dword [ebp - 0x2a74]
movzx edx, word [ebp + edx*2 - 0x2a1c]
test edx, edx
je 0x1023257b
movzx esi, word [ebp - 0x2a68]
movzx ecx, word [ebp - 0x2a54]
add ecx, esi
movzx eax, word [ebp - 0x2a64]
add eax, ecx
movzx ecx, word [ebp - 0x2a80]
add ecx, eax
movzx eax, word [ebp - 0x2a7c]
add eax, ecx
movzx ecx, word [ebp - 0x2a60]
add ecx, eax
movzx eax, bx
add eax, ecx
movzx ecx, di
add ecx, eax
shr ecx, 6
xor eax, eax
xor esi, esi
mov ebx, dword [ebp - 0x2a84]
movzx edi, byte [ebx + esi - 0x300]
cmp cx, di
jb 0x10232571
movzx edi, byte [ebx + esi]
cmp cx, di
jbe 0x102325f9
inc esi
add eax, 0x1000000
cmp edx, esi
jne 0x10232551
xor eax, eax
mov edx, dword [ebp - 0x2aa0]
mov dword [edx + 4], eax
mov dword [edx], eax
mov edi, dword [ebp - 0x2a50]
mov dword [edx + edi + 4], eax
mov dword [edx + edi], eax
mov dword [edx + edi*2 + 4], eax
mov dword [edx + edi*2], eax
mov ecx, dword [ebp - 0x2b04]
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx], eax
mov dword [edx + edi*4 + 4], eax
mov dword [edx + edi*4], eax
mov ecx, dword [ebp - 0x2b00]
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x2afc]
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x2af8]
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx], eax
mov edx, 8
test byte [ebp - 0x2b1c], 1
mov eax, 0
mov ebx, dword [ebp - 0x2b08]
jne 0x10232418
jmp 0x10232d93
test eax, eax
js 0x1023257b
sar eax, 0x18
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x2a74]
lea eax, [eax + eax*2]
shl eax, 0xa
add eax, ebp
add eax, 0xffffd5b4
mov ebx, dword [eax + edi*4 + 0x63c]
cmp bx, 0xe
mov ecx, 0xe
cmovge ebx, ecx
cmp bx, 3
mov esi, 2
cmovl ebx, esi
mov edx, ebx
add dl, 0xfe
mov dword [ebp - 0x2af4], edi
mov dword [ebp - 0x2af0], eax
movzx eax, word [eax + edi*4 + 0x63e]
cmp ax, 0xe
cmovge eax, ecx
cmp ax, 3
cmovl eax, esi
lea ecx, [eax + 0xfe]
xor esi, esi
inc esi
shl esi, cl
movzx edi, dl
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2a9c], edi
movzx edx, word [edx + edi*2 + 0xa9000]
bt edx, ecx
movzx ecx, cl
mov dword [ebp - 0x2a80], ecx
jae 0x102329b1
mov eax, dword [ebp - 0x2af4]
mov ecx, dword [ebp - 0x2af0]
lea eax, [ecx + eax*4]
add eax, 0x63a
movzx eax, word [eax]
mov ecx, eax
neg ecx
test byte [ebp - 0x2ae4], 1
cmove ecx, eax
imul eax, dword [ebp - 0x2a9c], 0xd000
add eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2a80]
shl edx, 0xc
add edx, eax
mov edi, dword [ebp - 0x2aec]
shl edi, 6
add edi, edx
add edi, dword [ebp - 0x2b18]
movsx edx, cx
mov eax, dword [ebp - 0x2ae8]
mov ecx, dword [ebp - 0x2a90]
lea esi, [eax + ecx]
xor ebx, ebx
mov ecx, dword [ebp - 0x2ae0]
movsx eax, byte [edi + ebx]
imul eax, edx
sar eax, cl
mov byte [esi - 7], al
movsx eax, byte [edi + ebx + 1]
imul eax, edx
sar eax, cl
mov byte [esi - 6], al
movsx eax, byte [edi + ebx + 2]
imul eax, edx
sar eax, cl
mov byte [esi - 5], al
movsx eax, byte [edi + ebx + 3]
imul eax, edx
sar eax, cl
mov byte [esi - 4], al
movsx eax, byte [edi + ebx + 4]
imul eax, edx
sar eax, cl
mov byte [esi - 3], al
movsx eax, byte [edi + ebx + 5]
imul eax, edx
sar eax, cl
mov byte [esi - 2], al
movsx eax, byte [edi + ebx + 6]
imul eax, edx
sar eax, cl
mov byte [esi - 1], al
movsx eax, byte [edi + ebx + 7]
imul eax, edx
sar eax, cl
mov byte [esi], al
add ebx, 0x40
add esi, dword [ebp - 0x2a50]
cmp ebx, 0x200
jne 0x102326f9
cmp dword [ebp - 0x2a90], 0
mov edi, dword [ebp - 0x2a50]
je 0x102325d7
mov edx, dword [ebp - 0x2aa0]
movsx eax, byte [edx - 1]
movsx ecx, byte [edx]
movsx esi, byte [edx + 1]
lea ebx, [eax + ecx*2]
add ebx, esi
movsx esi, byte [edx - 2]
shr ebx, 2
mov byte [edx], bl
add esi, ecx
lea eax, [esi + eax*2]
shr eax, 2
mov byte [edx - 1], al
movsx esi, byte [edx + edi - 1]
mov dword [ebp - 0x2a58], esi
movsx ecx, byte [edx + edi]
movsx eax, byte [edx + edi + 1]
lea ebx, [esi + ecx*2]
add ebx, eax
movsx esi, byte [edx + edi - 2]
shr ebx, 2
mov byte [edx + edi], bl
lea eax, [edx + edi]
add esi, ecx
mov ecx, dword [ebp - 0x2a58]
lea ecx, [esi + ecx*2]
shr ecx, 2
mov byte [edx + edi - 1], cl
movsx edx, byte [edi + eax - 1]
movsx esi, byte [edi + eax]
movsx ecx, byte [edi + eax + 1]
lea ebx, [edx + esi*2]
add ebx, ecx
mov ecx, dword [ebp - 0x2a50]
movsx edi, byte [ecx + eax - 2]
shr ebx, 2
mov ecx, dword [ebp - 0x2a50]
mov byte [ecx + eax], bl
mov ecx, dword [ebp - 0x2a50]
add ecx, eax
add edi, esi
lea edx, [edi + edx*2]
shr edx, 2
mov esi, dword [ebp - 0x2a50]
mov byte [esi + eax - 1], dl
mov eax, dword [ebp - 0x2a50]
movsx edx, byte [eax + ecx - 1]
mov eax, dword [ebp - 0x2a50]
movsx esi, byte [eax + ecx]
mov eax, dword [ebp - 0x2a50]
movsx eax, byte [eax + ecx + 1]
lea ebx, [edx + esi*2]
add ebx, eax
mov eax, dword [ebp - 0x2a50]
movsx edi, byte [eax + ecx - 2]
shr ebx, 2
mov eax, dword [ebp - 0x2a50]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x2a50]
add eax, ecx
add edi, esi
lea edx, [edi + edx*2]
shr edx, 2
mov esi, dword [ebp - 0x2a50]
mov byte [esi + ecx - 1], dl
mov ecx, dword [ebp - 0x2a50]
movsx edx, byte [ecx + eax - 1]
mov ecx, dword [ebp - 0x2a50]
movsx esi, byte [ecx + eax]
mov ecx, dword [ebp - 0x2a50]
movsx ecx, byte [ecx + eax + 1]
lea ebx, [edx + esi*2]
add ebx, ecx
mov ecx, dword [ebp - 0x2a50]
movsx edi, byte [ecx + eax - 2]
shr ebx, 2
mov ecx, dword [ebp - 0x2a50]
mov byte [ecx + eax], bl
mov ecx, dword [ebp - 0x2a50]
add ecx, eax
add edi, esi
lea edx, [edi + edx*2]
shr edx, 2
mov esi, dword [ebp - 0x2a50]
mov byte [esi + eax - 1], dl
mov eax, dword [ebp - 0x2a50]
movsx edx, byte [eax + ecx - 1]
mov eax, dword [ebp - 0x2a50]
movsx esi, byte [eax + ecx]
mov eax, dword [ebp - 0x2a50]
movsx eax, byte [eax + ecx + 1]
lea ebx, [edx + esi*2]
add ebx, eax
mov eax, dword [ebp - 0x2a50]
movsx edi, byte [eax + ecx - 2]
shr ebx, 2
mov eax, dword [ebp - 0x2a50]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x2a50]
add eax, ecx
add edi, esi
lea edx, [edi + edx*2]
shr edx, 2
mov esi, dword [ebp - 0x2a50]
mov byte [esi + ecx - 1], dl
mov ecx, dword [ebp - 0x2a50]
movsx edx, byte [ecx + eax - 1]
mov ecx, dword [ebp - 0x2a50]
movsx esi, byte [ecx + eax]
mov ecx, dword [ebp - 0x2a50]
movsx ecx, byte [ecx + eax + 1]
lea ebx, [edx + esi*2]
add ebx, ecx
mov ecx, dword [ebp - 0x2a50]
movsx edi, byte [ecx + eax - 2]
shr ebx, 2
mov ecx, dword [ebp - 0x2a50]
mov byte [ecx + eax], bl
mov ecx, dword [ebp - 0x2a50]
add ecx, eax
add edi, esi
lea edx, [edi + edx*2]
mov edi, dword [ebp - 0x2a50]
shr edx, 2
mov byte [edi + eax - 1], dl
movsx eax, byte [edi + ecx - 1]
movsx edx, byte [edi + ecx]
movsx esi, byte [edi + ecx + 1]
lea ebx, [eax + edx*2]
add ebx, esi
movsx esi, byte [edi + ecx - 2]
shr ebx, 2
mov byte [edi + ecx], bl
add esi, edx
lea eax, [esi + eax*2]
shr eax, 2
mov byte [edi + ecx - 1], al
jmp 0x102325d7
mov dword [ebp - 0x2a60], ebx
or edx, esi
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x2a9c]
mov word [ecx + ebx*2 + 0xa9000], dx
mov edx, ecx
imul ecx, ebx, 0xd000
mov esi, dword [ebp - 0x2a80]
mov edi, esi
shl edi, 0xc
add edi, ecx
lea ecx, [edi + edx]
mov dword [ebp - 0x2a7c], ecx
mov ecx, ebx
shl cl, 2
add cl, 0xb
lea edx, [esi + esi*2]
lea edx, [esi + edx*4]
add edx, ebx
mov ebx, dword [edx*4 + 0x102df0b8]
movzx ecx, cl
mov dword [ebp - 0x2a54], ecx
movzx eax, ax
lea eax, [eax*4 + 4]
mov dword [ebp - 0x2a58], eax
movzx eax, byte [esi + 0x102df4b8]
mov dword [ebp - 0x2ad4], eax
mov eax, dword [ebp - 0x2ac4]
mov dword [ebp - 0x2ad8], edi
lea esi, [eax + edi]
xor eax, eax
mov dword [ebp - 0x2a64], eax
mov dword [ebp - 0x2a68], esi
xor edx, edx
mov eax, dword [ebp - 0x2a54]
mov edi, ebx
shr edi, 2
mov ecx, ebx
shr ecx, 0x1e
xor ecx, edi
mov edi, ebx
and ecx, 1
lea ebx, [ecx + ebx*2]
and edi, 0x7ff
mov cl, byte [edi + 0x102df4c5]
mov byte [esi - 0xc0], cl
mov cl, byte [edi + 0x102df4c6]
mov byte [esi - 0x80], cl
mov cl, byte [edi + 0x102df4c7]
mov byte [esi - 0x40], cl
mov cl, byte [edi + 0x102df4c8]
mov byte [esi], cl
add edx, 4
add esi, 0x100
cmp edx, eax
jbe 0x10232a4a
mov eax, dword [ebp - 0x2a64]
inc eax
mov esi, dword [ebp - 0x2a68]
inc esi
cmp eax, dword [ebp - 0x2a58]
jne 0x10232a36
mov ebx, dword [ebp - 0x2a7c]
mov byte [ebx], 0
movzx ecx, word [ebp - 0x2a60]
lea edx, [ecx*4 + 4]
mov dword [ebp - 0x2a54], 0
mov ecx, str.______________________
mov dword [ebp - 0x2a68], edx
mov dword [ebp - 0x2a60], ecx
xor ecx, ecx
mov dword [ebp - 0x2a64], ecx
xor esi, esi
xor edi, edi
mov ecx, dword [ebp - 0x2a60]
movsx edx, byte [ecx + esi]
movsx eax, byte [ebx + esi]
imul eax, edx
add edi, eax
inc esi
cmp dword [ebp - 0x2a58], esi
jne 0x10232af1
sub edi, 0xffffff80
shr edi, 8
mov esi, dword [ebp - 0x2a54]
shl esi, 7
add esi, dword [ebp - 0x2aa4]
mov ecx, dword [ebp - 0x2a64]
mov word [esi + ecx*2], di
inc ecx
add ebx, 0x40
mov edx, dword [ebp - 0x2a68]
cmp ecx, edx
jne 0x10232ae1
mov eax, dword [ebp - 0x2a54]
inc eax
mov ecx, dword [ebp - 0x2a60]
add ecx, 0x40
mov dword [ebp - 0x2a54], eax
cmp eax, 0x40
mov ebx, dword [ebp - 0x2a7c]
jne 0x10232ad9
mov dword [ebp - 0x2a54], 0
mov ebx, dword [ebp - 0x2aa4]
mov eax, str.______________________
xor ecx, ecx
mov dword [ebp - 0x2a58], eax
mov dword [ebp - 0x2a64], ecx
xor esi, esi
xor eax, eax
mov edi, dword [ebp - 0x2a68]
movsx edx, word [ebx + esi*2]
mov ecx, ebx
mov ebx, dword [ebp - 0x2a58]
movsx ebx, byte [ebx + esi]
imul ebx, edx
add eax, ebx
mov ebx, ecx
inc esi
cmp edi, esi
jne 0x10232b82
sub eax, 0xffffff80
sar eax, 8
cmp eax, 0x7f
mov edx, 0x7f
cmovge eax, edx
cmp eax, 0xffffff82
mov edx, 0xffffff81
cmovl eax, edx
mov edx, dword [ebp - 0x2a54]
shl edx, 6
mov esi, dword [ebp - 0x2a7c]
add edx, esi
mov ecx, dword [ebp - 0x2a64]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [ebp - 0x2a58]
add eax, 0x40
cmp ecx, 0x40
jne 0x10232b6c
mov eax, dword [ebp - 0x2a54]
inc eax
sub ebx, 0xffffff80
mov dword [ebp - 0x2a54], eax
cmp eax, 0x40
jne 0x10232b65
xor eax, eax
mov edi, dword [ebp - 0x2ad4]
movsx ecx, byte [esi + eax]
imul ecx, edi
shr ecx, 7
mov byte [esi + eax], cl
movsx ecx, byte [esi + eax + 0x1c0]
imul ecx, edi
shr ecx, 7
mov byte [esi + eax + 0x1c0], cl
inc eax
cmp eax, 0x40
jne 0x10232c04
mov eax, dword [ebp - 0x2ac0]
mov esi, dword [ebp - 0x2ad8]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232c3c
mov eax, dword [ebp - 0x2abc]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232c6e
mov eax, dword [ebp - 0x2ab8]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232ca0
mov eax, dword [ebp - 0x2ab4]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232cd2
mov eax, dword [ebp - 0x2ab0]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232d04
mov eax, dword [ebp - 0x2aac]
add eax, esi
xor ecx, ecx
movsx edx, byte [eax + ecx - 0x1c0]
imul edx, edi
shr edx, 7
mov byte [eax + ecx - 0x1c0], dl
movsx edx, byte [eax + ecx]
imul edx, edi
shr edx, 7
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x40
jne 0x10232d36
add esi, dword [ebp - 0x2aa8]
xor eax, eax
movsx ecx, byte [esi + eax - 0x1c0]
imul ecx, edi
shr ecx, 7
mov byte [esi + eax - 0x1c0], cl
movsx ecx, byte [esi + eax]
imul ecx, edi
shr ecx, 7
mov byte [esi + eax], cl
inc eax
cmp eax, 0x40
jne 0x10232d66
jmp 0x10232691
mov ecx, 8
test byte [ebp - 0x2adc], 1
mov eax, 0
mov edx, dword [ebp - 0x2a5c]
jne 0x102323c0
mov eax, dword [ebp - 0x2a8c]
add eax, 0x10
mov dword [ebp - 0x2a8c], eax
cmp eax, ebx
jl 0x10232361
mov eax, dword [ebp - 0x2a88]
add eax, 0x10
mov dword [ebp - 0x2a88], eax
cmp eax, edx
mov eax, dword [ebp - 0x2a84]
jl 0x1023234f
mov dword [ebp - 0x2a84], eax
test edx, edx
jle 0x10232ebc
xor ecx, ecx
mov dword [ebp - 0x2a58], ecx
test ebx, ebx
mov eax, dword [ebp - 0x2a70]
mov edi, dword [ebp - 0x2a6c]
jle 0x10232e31
xor ecx, ecx
movzx edx, byte [eax + ecx]
movsx esi, byte [edi + ecx]
add esi, edx
mov edx, esi
sar edx, 0x1f
cmp esi, 0x100
not dl
movzx edx, dl
cmovb edx, esi
mov byte [edi + ecx], dl
inc ecx
cmp ebx, ecx
jne 0x10232e0c
mov ecx, dword [ebp - 0x2a58]
inc ecx
add edi, dword [ebp - 0x2a50]
mov dword [ebp - 0x2a6c], edi
add eax, dword [ebp - 0x2a78]
mov dword [ebp - 0x2a70], eax
cmp ecx, dword [ebp - 0x2a5c]
jne 0x10232df4
jmp 0x10232ebc
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x2a5c], ecx
mov ecx, dword [esi + eax*4]
mov dword [ebp - 0x2a6c], ecx
mov edi, dword [esi + eax*4 + 0x20]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x2a70], ecx
mov ecx, dword [edx + eax*4 + 0x20]
mov dword [ebp - 0x2a78], ecx
mov edx, dword [ebp - 0x2a5c]
cmp dword [ebp + eax*4 - 0x2a28], 0
jne 0x102322e0
jmp 0x10232e9f
mov edx, dword [ebp - 0x2a5c]
push edx
push ebx
push dword [ebp - 0x2a78]
push dword [ebp - 0x2a70]
push edi
push dword [ebp - 0x2a6c]
call fcn.1018fa30
add esp, 0x18
mov eax, dword [ebp - 0x2a74]
inc eax
add dword [ebp - 0x2a94], 0xc00
add dword [ebp - 0x2a84], 0x100
cmp eax, 3
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
jne 0x1023223d
xor esi, esi
jmp 0x1023217f