Function at 0x43ca10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
shl eax, 4
add eax, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], eax
cmp edx, eax
je 0x43cc2a
push ebx
push esi
push edi
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0xc]
add eax, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
cmp ebx, eax
jge 0x43cc18
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
imul edx, ebx
sub ebx, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0x14], edx
imul ebx, dword [edi + 0xc]
mov eax, dword [edi]
add eax, ebx
mov dword [esi + 0x18], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov ebx, ecx
imul ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
add ebx, edx
mov edx, dword [ebp - 0x20]
sub edx, dword [esi + 0xc]
cmp dword [esi + 8], 0xfe
mov dword [ebp - 0xc], ebx
jge 0x43cba2
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov ecx, edx
mov edi, dword [esi + 8]
inc edx
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x10]
imul edx, ecx
mov ecx, 0x100
add edx, dword [esi + 0x18]
mov esi, dword [ebx]
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 2]
or eax, 0xff0000
imul eax, edi
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x24], eax
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edx]
or ebx, eax
mov edx, 0x100
mov eax, esi
imul ebx, edi
mov edi, dword [ebp - 0x24]
and eax, 0xff00ff
imul eax, ecx
shr esi, 8
and esi, 0xff00ff
imul esi, ecx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr esi, 8
mov ecx, ebx
and esi, 0xff00ff
shr ecx, 8
add edi, esi
and ecx, 0xff00ff
mov eax, edi
mov esi, dword [ebp + 8]
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [ebp - 0xc]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp - 0x10]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp - 0x10], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ebx
test eax, eax
jg 0x43cab0
jmp 0x43cc05
mov edi, dword [edi + 0x10]
mov eax, edi
mov esi, dword [ebp - 8]
imul eax, edx
add eax, dword [ebp - 0x28]
cmp ecx, edi
jne 0x43cbd6
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 8], 1
jne 0x43cbd6
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 1
jne 0x43cbd6
imul edi, esi
push edi
push eax
push ebx
call fcn.004ac3c0
add esp, 0xc
jmp 0x43cc05
mov cx, word [eax]
dec esi
movzx edx, byte [eax + 2]
add eax, edi
or edx, 0xffffff00
mov word [ebp - 4], cx
movzx ecx, byte [ebp - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebp - 4]
shl edx, 8
or edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 0x14]
test esi, esi
jg 0x43cbd6
mov ebx, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, dword [ebp - 0x30]
jl 0x43ca53
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x34]
jne 0x43ca32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4