Function at 0x43cc30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x43ce8b
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
cmp edx, ecx
jge 0x43ce79
mov ebx, dword [ebp + 8]
mov eax, edx
mov edi, dword [ebx]
mov ecx, dword [ebx + 4]
sub eax, dword [ebx + 0x10]
mov esi, dword [edi + 0xc]
imul esi, edx
cdq
add esi, dword [edi]
mov dword [ebx + 0x14], esi
idiv dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 4], eax
add edx, dword [ecx]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 0x10]
mov ecx, eax
imul ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
sub edi, dword [ebx + 0xc]
mov dword [ebp - 0xc], eax
add ecx, esi
cmp dword [ebx + 8], 0xfe
jge 0x43cda0
nop
mov esi, dword [ebx + 4]
mov eax, edi
cdq
inc edi
mov dword [ebp - 8], edi
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, edx
mov edx, 0x100
movzx eax, byte [esi + eax]
mov esi, 0x100
mov ebx, eax
shl ebx, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
imul ebx, dword [eax + 8]
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
mov eax, dword [ecx]
mov edi, eax
shr eax, 8
and eax, 0xff00ff
and edi, 0xff00ff
imul eax, edx
imul edi, edx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, eax
mov eax, ebx
mov edx, edi
shr eax, 8
and eax, 0xff00ff
shr edx, 8
sub esi, eax
and edx, 0xff00ff
shl esi, 8
mov eax, ebx
shl eax, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, edi
mov edi, dword [ebp - 8]
xor esi, eax
mov eax, ebx
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
dec eax
or edx, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor esi, edx
mov dword [ecx], esi
add ecx, dword [ebp - 0xc]
test eax, eax
jg 0x43ccc0
jmp 0x43ce66
mov esi, dword [ebx + 4]
mov eax, edi
cdq
inc edi
mov dword [ebp - 8], edi
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, edx
mov edx, 0x100
movzx eax, byte [esi + eax]
mov esi, 0x100
mov ebx, eax
shl ebx, 0x10
or ebx, eax
mov eax, ebx
shr eax, 0x10
sub edx, eax
mov eax, dword [ecx]
mov edi, eax
shr eax, 8
and eax, 0xff00ff
and edi, 0xff00ff
imul eax, edx
imul edi, edx
shr eax, 8
and eax, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, ebx
add ebx, eax
mov eax, ebx
mov edx, edi
shr eax, 8
and eax, 0xff00ff
shr edx, 8
sub esi, eax
and edx, 0xff00ff
shl esi, 8
mov eax, ebx
shl eax, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, edi
mov edi, dword [ebp - 8]
xor esi, eax
mov eax, ebx
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
dec eax
or edx, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor esi, edx
mov dword [ecx], esi
add ecx, dword [ebp - 0xc]
test eax, eax
jg 0x43cda0
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x20]
jl 0x43cc73
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x24]
jne 0x43cc52
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4