Function at 0x43c550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
shl eax, 4
add eax, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], eax
cmp edx, eax
je 0x43c7f8
push ebx
push esi
push edi
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov eax, dword [edx + 4]
add ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
jge 0x43c7e6
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebx + 0x10]
mov edx, dword [edi + 0xc]
imul edx, eax
add edx, dword [edi]
mov dword [ebx + 0x14], edx
imul ecx, dword [esi + 0xc]
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc], eax
imul eax, ecx
sub ecx, dword [ebx + 0xc]
mov dword [ebp - 4], ecx
add eax, edx
cmp dword [ebx + 8], 0xfe
jge 0x43c6d4
mov esi, ecx
mov edi, dword [ebx + 8]
inc ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx + 0x18]
imul edx, esi
mov esi, dword [eax]
mov ebx, dword [edx + ecx]
mov ecx, ebx
shr ecx, 8
mov edx, 0x100
and ecx, 0xff00ff
and ebx, 0xff00ff
imul ecx, edi
imul ebx, edi
shr ecx, 8
and ecx, 0xff00ff
shr ebx, 8
mov dword [ebp - 0x18], ecx
and ebx, 0xff00ff
shr ecx, 0x10
sub edx, ecx
mov edi, dword [ebp - 0x18]
mov ecx, esi
shr esi, 8
and ecx, 0xff00ff
and esi, 0xff00ff
imul ecx, edx
imul esi, edx
shr ecx, 8
and ecx, 0xff00ff
shr esi, 8
add ebx, ecx
and esi, 0xff00ff
add edi, esi
mov edx, ebx
mov ecx, edi
shr edx, 8
shr ecx, 8
mov esi, 0x100
and ecx, 0xff00ff
and edx, 0xff00ff
sub esi, ecx
mov ecx, edi
shl ecx, 8
shl esi, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, ebx
mov ebx, dword [ebp + 8]
xor esi, ecx
mov ecx, edi
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl edi, 8
sub edx, ecx
mov ecx, dword [ebp - 0x14]
shl edx, 8
dec ecx
or edx, edi
mov dword [ebp - 0x14], ecx
xor esi, edx
mov dword [eax], esi
add eax, dword [ebp - 0xc]
test ecx, ecx
mov ecx, dword [ebp - 4]
jg 0x43c5e1
jmp 0x43c7d3
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, edx
imul ecx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0xc], edx
jne 0x43c711
cmp dword [esi + 8], 1
jne 0x43c711
cmp dword [edi + 8], 1
jne 0x43c711
imul edx, dword [ebp - 8]
push edx
push ecx
push eax
call fcn.004ac3c0
add esp, 0xc
jmp 0x43c7d3
mov esi, dword [ecx]
mov edx, 0x100
mov ebx, esi
and esi, 0xff00ff
shr ebx, 8
and ebx, 0xff00ff
mov ecx, ebx
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [eax]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
add ebx, ecx
and edi, 0xff00ff
add edi, esi
mov ecx, ebx
shr ecx, 8
mov esi, 0x100
and ecx, 0xff00ff
mov edx, edi
sub esi, ecx
shr edx, 8
shl esi, 8
and edx, 0xff00ff
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x28]
shl edx, 8
or edx, ebx
mov dword [ebp - 0x14], ecx
xor esi, edx
mov edx, dword [ebp - 0x18]
dec edx
mov dword [eax], esi
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
test edx, edx
jg 0x43c711
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x2c]
jl 0x43c596
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x30]
jne 0x43c572
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4