Function at 0x43c2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
cmp eax, ecx
je 0x43c544
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 - 0x24], ecx
cmp edx, ecx
jge 0x43c532
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 - 8], 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
mov dword [ebp - 4], edi
add ecx, esi
cmp dword [ebx + 8], 0xfe
jge 0x43c450
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 4]
cdq
mov edi, dword [ebx + 8]
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, edx
mov edx, 0x100
inc dword [ebp - 4]
mov esi, dword [esi + eax]
mov eax, esi
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
imul esi, edi
imul eax, edi
shr esi, 8
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
mov dword [ebp - 0x20], eax
shr eax, 0x10
sub edx, eax
mov edi, dword [ebp - 0x20]
mov eax, dword [ecx]
mov ebx, eax
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
imul ebx, edx
imul eax, edx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, esi
add edi, eax
mov esi, 0x100
mov eax, edi
mov edx, ebx
shr eax, 8
and eax, 0xff00ff
shr edx, 8
sub esi, eax
and edx, 0xff00ff
shl esi, 8
mov eax, edi
shl eax, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, ebx
mov ebx, dword [ebp + 8]
xor esi, eax
mov eax, edi
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
dec eax
or edx, edi
mov dword [ebp - 8], eax
xor esi, edx
mov dword [ecx], esi
add ecx, dword [ebp - 0xc]
test eax, eax
jg 0x43c362
jmp 0x43c51f
mov esi, dword [ebx + 4]
mov eax, edi
cdq
inc edi
mov dword [ebp - 4], edi
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, edx
mov edx, 0x100
mov esi, dword [esi + eax]
mov ebx, esi
shr ebx, 8
and esi, 0xff00ff
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
add ebx, eax
and edi, 0xff00ff
add edi, esi
mov eax, ebx
shr eax, 8
mov esi, 0x100
and eax, 0xff00ff
mov edx, edi
sub esi, eax
shr edx, 8
shl esi, 8
mov eax, ebx
shl eax, 8
and edx, 0xff00ff
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, edi
mov edi, dword [ebp - 4]
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 - 0xc]
test eax, eax
jg 0x43c450
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x24]
jl 0x43c313
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x28]
jne 0x43c2f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4