Function at 0x43c800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x43c9fc
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], ecx
cmp edx, ecx
jge 0x43c9ea
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov eax, edx
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 - 0x1c]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 8], eax
add edx, dword [ecx]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 0x10]
mov ecx, eax
imul ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x20]
sub edi, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
add ecx, esi
cmp dword [ebx + 8], 0xfe
jge 0x43c991
nop
mov esi, dword [ebp + 8]
mov eax, edi
cdq
inc edi
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x28], edi
mov esi, dword [esi + 4]
mov edi, dword [ecx]
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebp + 8]
imul esi, edx
mov edx, 0x100
add esi, dword [eax + 0x18]
movzx eax, byte [esi + 1]
or eax, 0xff0000
imul eax, ebx
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x24], eax
shr eax, 0x10
sub edx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [esi]
mov esi, dword [ebp - 0xc]
or esi, eax
mov eax, edi
and eax, 0xff00ff
imul esi, ebx
mov ebx, dword [ebp - 0x24]
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
shr esi, 8
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
add esi, eax
shr edi, 8
and edi, 0xff00ff
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 0xc]
add ebx, edi
mov eax, ebx
mov edi, dword [ebp - 0x28]
shr eax, 8
mov esi, 0x100
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, dword [ebp - 0xc]
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 - 8]
shl edx, 8
dec eax
or edx, ebx
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
xor esi, edx
mov dword [ecx], esi
add ecx, dword [ebp - 0x10]
test eax, eax
jg 0x43c890
jmp 0x43c9d7
mov esi, dword [ebx + 4]
mov eax, edi
cdq
inc edi
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
imul esi, edx
add esi, dword [ebx + 0x18]
mov ax, word [esi]
movzx edx, byte [esi + 2]
or edx, 0xffffff00
mov word [ebp - 4], ax
movzx eax, byte [ebp - 3]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 4]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ecx], edx
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
test eax, eax
jg 0x43c991
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebp - 0x2c]
jl 0x43c846
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x30]
jne 0x43c822
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4