Function at 0x43be00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], esi
add dword [esi + 0x38], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x43be43
mov edx, 8
mov dword [ebp - 0x24], eax
sub edx, eax
cmp ecx, edx
mov dword [ebp - 0x1c], edx
cmovb edx, ecx
xor esi, esi
cmp edx, 3
jbe 0x43be4a
mov eax, dword [ebp - 0x20]
mov ebx, 4
mov edi, dword [eax]
jmp 0x43be4e
xor edx, edx
jmp 0x43bfb7
xor ebx, ebx
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0x10], esi
or ecx, 1
cmp ecx, edx
jae 0x43be85
mov eax, dword [ebp - 0x20]
lea ecx, [ebx*8]
movzx esi, word [eax + ebx]
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
or ebx, 2
or dword [ebp - 0x10], eax
or edi, esi
cmp ebx, edx
jae 0x43beb5
mov eax, dword [ebp - 0x20]
xor esi, esi
movzx edx, byte [eax + ebx]
shl ebx, 3
xor eax, eax
mov ecx, ebx
shld esi, edx, cl
shl edx, cl
test bl, 0x20
cmovne esi, edx
cmovne edx, eax
mov eax, dword [ebp - 0x10]
or edi, edx
or eax, esi
mov esi, eax
mov eax, dword [ebp - 0x24]
jmp 0x43bebb
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
lea ecx, [eax*8]
xor ebx, ebx
mov edx, dword [ebp - 0x14]
shld esi, edi, cl
shl edi, cl
test cl, 0x20
mov ecx, dword [ebp + 8]
cmovne esi, edi
cmove ebx, edi
or esi, dword [edx + 0x34]
or ebx, dword [edx + 0x30]
cmp dword [ebp - 0x1c], ecx
mov dword [edx + 0x30], ebx
mov dword [edx + 0x34], esi
jbe 0x43bef0
add eax, ecx
jmp 0x43c15f
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x34], ebx
xor eax, esi
xor ecx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10]
mov edx, dword [edx]
mov ebx, dword [ebp - 0x30]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 0x14]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
adc edx, edi
mov dword [ebp - 0x18], edx
mov edx, eax
shld edx, edi, 0xd
shld edi, eax, 0xd
mov eax, dword [ebp - 0x14]
xor edi, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
mov eax, dword [eax + 8]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
adc eax, ebx
mov dword [ebp - 0x28], eax
mov eax, ecx
shrd ecx, ebx, 0x10
shld eax, ebx, 0x10
xor ecx, dword [ebp - 0x28]
mov ebx, esi
xor eax, dword [ebp - 0x2c]
add dword [ebp - 0x18], eax
mov esi, eax
adc dword [ebp - 0x10], ecx
shld esi, ecx, 0x15
shrd eax, ecx, 0xb
mov ecx, dword [ebp - 0x14]
xor esi, dword [ebp - 0x18]
xor eax, dword [ebp - 0x10]
add dword [ebp - 0x2c], edx
mov dword [ecx + 0x18], esi
mov ecx, dword [ebp - 0x14]
adc dword [ebp - 0x28], edi
mov esi, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
mov eax, edx
shrd edx, edi, 0xf
mov ecx, dword [ebp + 8]
shld eax, edi, 0x11
mov edi, dword [ebp - 0x2c]
xor eax, edi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x28]
xor edx, eax
mov dword [esi + 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], edi
xor edx, dword [ebp - 0x34]
xor eax, ebx
mov dword [esi + 4], eax
mov dword [esi], edx
mov edx, dword [ebp - 0x1c]
sub ecx, edx
mov eax, ecx
and ecx, 0xfffffff8
and eax, 7
cmp edx, ecx
mov dword [ebp - 0x24], eax
jae 0x43c0cd
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x1c], edx
mov edx, dword [esi]
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + ecx + 4]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
xor dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [esi + ecx]
xor edi, ecx
add edx, eax
mov dword [ebp - 0x30], ecx
mov ecx, eax
adc dword [ebp - 0x10], ebx
shld ecx, ebx, 0xd
shld ebx, eax, 0xd
mov eax, dword [ebp - 0x28]
mov esi, edi
xor ecx, edx
xor ebx, dword [ebp - 0x10]
add dword [ebp - 0x18], edi
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x2c]
adc eax, ecx
shld esi, ecx, 0x10
shrd edi, ecx, 0x10
mov ecx, dword [ebp - 0x10]
xor esi, dword [ebp - 0x18]
xor edi, eax
mov dword [ebp - 0x40], eax
add ecx, esi
mov eax, esi
adc edx, edi
shld eax, edi, 0x15
shrd esi, edi, 0xb
mov dword [ebp - 0x3c], ecx
mov edi, eax
xor esi, edx
mov eax, dword [ebp - 0x18]
xor edi, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x40]
add eax, ecx
adc esi, ebx
xor edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, ecx
shld eax, ebx, 0x11
shld ebx, ecx, 0x11
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
xor ebx, esi
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x3c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
xor edx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
jb 0x43bff5
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp dword [ebp - 0x24], 3
jbe 0x43c0e2
mov edi, dword [eax + edx]
mov ebx, 4
jmp 0x43c0e6
xor ebx, ebx
xor edi, edi
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x1c], edx
or ecx, 1
cmp ecx, eax
jae 0x43c125
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + edx]
movzx edx, word [eax + ecx]
lea ecx, [ebx*8]
xor eax, eax
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
or ebx, 2
or esi, eax
mov eax, dword [ebp - 0x24]
or edi, edx
cmp ebx, eax
jae 0x43c156
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add ecx, ebx
shl ebx, 3
movzx edx, byte [eax + ecx]
xor eax, eax
mov ecx, ebx
shld eax, edx, cl
shl edx, cl
test bl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
or esi, eax
mov eax, dword [ebp - 0x24]
or edi, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], edi
mov dword [edx + 0x34], esi
mov dword [edx + 0x3c], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret