Function at 0x43b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
mov dword [edi + 0xc0], 0
movzx edx, byte [edi + ebx + 0x2c9c]
xor esi, esi
mov eax, dword [ebp - 4]
mov edi, edx
shr edi, 1
and edx, 1
dec edi
mov dword [ebp - 0xc], esi
or edx, 2
mov ecx, edi
shl edx, cl
lea eax, [eax + edx*4]
add edx, dword [ebp - 0x10]
add eax, 0x239c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, 1
mov dword [ebp - 8], eax
shl dword [ebp - 8], cl
test edi, edi
je 0x43b3e5
lea edx, [eax + eax]
mov esi, ebx
mov eax, dword [ebp - 0x14]
and esi, 1
mov dword [ebp - 0x1c], edx
shr ebx, 1
movzx ecx, word [edx + eax]
mov eax, esi
mov edx, dword [ebp - 4]
neg eax
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4 + 0x748]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, esi
sub edi, 1
jne 0x43b3a2
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
inc ebx
movzx ecx, word [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x10], ebx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [edi + eax*4 + 0x748]
mov ecx, dword [edi + ecx*4 + 0x748]
add eax, esi
mov dword [ebp + edx*4 - 0x22c], eax
add ecx, esi
mov eax, dword [ebp - 8]
add eax, edx
mov dword [ebp + eax*4 - 0x22c], ecx
cmp ebx, 0x40
jb 0x43b363
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x219c]
lea ebx, [edi + 0x121c]
mov dword [ebp - 8], eax
lea esi, [edi + 0x1624]
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x228]
mov dword [ebp - 0xc], esi
sub edi, ecx
mov dword [ebp - 0x1c], 4
sub edi, 0x161c
mov dword [ebp - 0x18], edi
nop dword [eax + eax]
mov edx, dword [ecx + 0xc8]
inc edx
shr edx, 1
mov dword [ebp - 0x2c], edx
je 0x43b59a
mov esi, 0x20
mov dword [ebp - 0x20], ebx
add eax, 0x40
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 8]
mov edi, esi
mov ecx, esi
shr edi, 1
mov esi, dword [ebp - 4]
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edx + edi*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
mov ecx, edi
and ecx, 1
shr edi, 1
neg ecx
shr ecx, 4
mov ebx, dword [esi + eax*4 + 0x748]
and ecx, 0x7f
movzx eax, word [edx + edi*2]
shr eax, 4
xor eax, ecx
mov ecx, edi
and ecx, 1
shr edi, 1
neg ecx
shr ecx, 4
add ebx, dword [esi + eax*4 + 0x748]
and ecx, 0x7f
movzx eax, word [edx + edi*2]
shr eax, 4
xor eax, ecx
add ebx, dword [esi + eax*4 + 0x748]
mov esi, edi
shr edi, 1
and esi, 1
mov eax, edi
neg esi
shr eax, 1
shr esi, 4
and esi, 0x7f
movzx edx, word [edx + eax*2]
mov eax, edi
and eax, 1
shr edx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + edi*2]
mov edi, dword [ebp - 4]
shr ecx, 4
xor ecx, esi
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + edx*4 + 0x748]
mov edx, dword [ebp - 0x20]
add eax, dword [edi + ecx*4 + 0x748]
movzx ecx, word [esi]
add ebx, eax
mov eax, ecx
add esi, 2
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + eax*4 + 0x748]
inc esi
add eax, ebx
mov dword [ebp - 0x10], esi
mov dword [edx], eax
mov eax, dword [edi + ecx*4 + 0x748]
add eax, ebx
mov dword [edx + 4], eax
add edx, 8
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x20], edx
jne 0x43b496
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
mov ecx, 7
mov eax, 0x20
cmp edx, ecx
jbe 0x43b5b7
add dword [ebx + ecx*8], eax
add dword [ebx + ecx*8 + 4], eax
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x43b5a8
mov eax, dword [ebx]
mov dword [esi - 8], eax
mov eax, dword [ebx + 4]
mov dword [esi - 4], eax
mov eax, dword [ebx + 8]
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
mov esi, 4
mov eax, dword [ebp - 0xc]
add eax, 8
nop dword [eax + eax]
mov ecx, dword [ebp - 4]
lea eax, [eax + 8]
movzx ecx, byte [ecx + esi + 0x2c9c]
add esi, 2
mov edx, dword [ebx + ecx*4]
mov ecx, dword [edi + eax - 0xc]
add ecx, edx
mov dword [eax - 8], ecx
mov ecx, dword [edi + eax - 8]
add ecx, edx
mov dword [eax - 4], ecx
cmp esi, 0x80
jb 0x43b5e0
mov eax, dword [ebp - 8]
add ebx, 0x100
mov esi, dword [ebp - 0xc]
sub eax, 0xffffff80
mov ecx, dword [ebp - 4]
add esi, 0x200
sub edi, 0x200
mov dword [ebp - 0x28], ebx
sub dword [ebp - 0x1c], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], edi
jne 0x43b470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret