Function at 0x43a9a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
shl ecx, 4
add ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
cmp eax, ecx
je 0x43abdd
push ebx
push ebp
push esi
push edi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ecx
cmp ebx, ecx
jge 0x43abc8
nop word [eax + eax]
mov esi, dword [esp + 0x44]
mov ecx, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov ebp, dword [esi]
mov edi, dword [esi + 4]
sub ecx, dword [esi + 0x10]
mov dword [esp + 0x34], ebp
mov edx, dword [ebp + 0xc]
imul edx, ebx
mov dword [esp + 0x30], edi
add edx, dword [ebp]
mov dword [esi + 0x14], edx
imul ecx, dword [edi + 0xc]
add ecx, dword [edi]
mov dword [esi + 0x18], ecx
mov ebp, dword [ebp + 0x10]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
add ebx, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esi + 0xc]
cmp dword [esi + 8], 0xfe
mov dword [esp + 0x18], ebx
jge 0x43ab48
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov ecx, edx
mov edi, dword [esi + 8]
inc edx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x10]
imul edx, ecx
mov ecx, 0x100
add edx, dword [esi + 0x18]
mov esi, dword [ebx]
movzx ebp, byte [edx + 1]
movzx ebx, byte [edx + 2]
or ebp, 0xff0000
imul ebp, edi
shl ebx, 0x10
shr ebp, 8
and ebp, 0xff00ff
mov eax, ebp
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edx]
or ebx, eax
mov edx, 0x100
mov eax, esi
imul ebx, edi
and eax, 0xff00ff
shr esi, 8
imul eax, ecx
and esi, 0xff00ff
imul esi, ecx
shr ebx, 8
and ebx, 0xff00ff
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add ebx, eax
and esi, 0xff00ff
add ebp, esi
mov ecx, ebx
mov eax, ebp
mov esi, dword [esp + 0x44]
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebp
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [esp + 0x18]
xor edx, eax
mov eax, ebp
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebp, 8
sub ecx, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
dec eax
or ecx, ebp
mov dword [esp + 0x1c], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
test eax, eax
jg 0x43aa50
jmp 0x43abb1
mov edi, dword [edi + 0x10]
mov esi, eax
mov eax, edi
imul eax, edx
add eax, ecx
cmp ebp, edi
jne 0x43ab80
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 8], 1
jne 0x43ab80
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 8], 1
jne 0x43ab80
imul edi, dword [esp + 0x20]
push edi
push eax
push ebx
call fcn.00514850
add esp, 0xc
jmp 0x43abb1
mov cx, word [eax]
dec esi
movzx edx, byte [eax + 2]
add eax, edi
or edx, 0xffffff00
mov word [esp + 0x10], cx
movzx ecx, byte [esp + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x10]
shl edx, 8
or edx, ecx
mov dword [ebx], edx
add ebx, ebp
test esi, esi
jg 0x43ab80
mov ebx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x38]
jl 0x43a9f0
mov eax, dword [esp + 0x28]
add eax, 0x10
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x3c]
jne 0x43a9c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4