Function at 0x43ea16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [ebp - 0x2c8]
lea esi, [eax + 2]
mov dword [ebp + 8], 0x10
movzx eax, byte [esi - 2]
push 8
cdq
pop ecx
call fcn.00470050
mov ebx, eax
push 8
movzx eax, byte [esi - 1]
mov dword [ebp - 0xc], ebx
mov ebx, edx
cdq
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
or eax, ebx
mov ebx, dword [ebp - 4]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ebx, eax
push 8
movzx eax, byte [esi]
mov dword [ebp - 4], ebx
mov ebx, edx
cdq
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
or eax, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ebx, eax
push 8
movzx eax, byte [esi + 1]
mov dword [ebp - 4], ebx
mov ebx, edx
cdq
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
or eax, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ebx, eax
push 8
movzx eax, byte [esi + 2]
mov dword [ebp - 4], ebx
mov ebx, edx
cdq
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
or eax, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ebx, eax
push 8
movzx eax, byte [esi + 3]
mov dword [ebp - 4], ebx
mov ebx, edx
cdq
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
or eax, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ebx, eax
movzx eax, byte [esi + 4]
mov dword [ebp - 4], ebx
mov ebx, edx
cdq
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
push 8
or eax, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edx
pop ecx
mov edx, ebx
call fcn.00470050
mov ecx, eax
mov ebx, edx
movzx eax, byte [esi + 5]
cdq
or ecx, eax
or ebx, edx
mov dword [edi], ecx
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
dec dword [ebp + 8]
jne 0x43ea35
lea esi, [ebp - 0x258]
mov dword [ebp + 8], 0x40
push dword [esi - 0x64]
push dword [esi - 0x68]
call fcn.0043ee28
push dword [esi + 4]
mov edi, eax
mov ebx, edx
push dword [esi]
call fcn.0043ee8d
add esp, 0x10
add edi, eax
adc ebx, edx
add edi, dword [esi - 0x70]
adc ebx, dword [esi - 0x6c]
add edi, dword [esi - 0x28]
adc ebx, dword [esi - 0x24]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
add esi, 8
dec dword [ebp + 8]
jne 0x43eb41
mov eax, dword [ebp + 0xc]
and dword [ebp + 8], 0
mov ecx, dword [eax]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x14]
push ebx
call fcn.0043edae
mov ecx, dword [ebp - 0x14]
push dword [ebp - 4]
not ebx
not ecx
and ebx, esi
mov esi, dword [ebp - 0x20]
and esi, dword [ebp - 0x18]
and ecx, edi
mov edi, dword [ebp - 0x1c]
push dword [ebp - 8]
and edi, dword [ebp - 0x14]
xor ebx, esi
xor ecx, edi
add eax, ebx
adc edx, ecx
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x521b88]
adc edx, dword [ecx + 0x521b8c]
add eax, dword [ebp + ecx - 0x2c8]
adc edx, dword [ebp + ecx - 0x2c4]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call fcn.0043ed38
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
xor ecx, dword [ebp - 8]
xor esi, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x28]
and edi, dword [ebp - 8]
and esi, dword [ebp - 0x24]
and ebx, dword [ebp - 4]
xor ecx, edi
add esp, 0x10
xor esi, ebx
add eax, ecx
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edi
adc edx, esi
mov esi, dword [ebp - 0x20]
add ebx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x44]
adc ecx, dword [ebp - 0x34]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x10]
adc edx, dword [ebp - 0x44]
add dword [ebp + 8], 8
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + 8], 0x280
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
jl 0x43ebe1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add dword [eax], edx
mov edx, dword [ebp - 4]
adc dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
add dword [eax + 8], edx
adc dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x28]
add dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x24]
adc dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x38]
add dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x34]
adc dword [eax + 0x1c], ecx
add dword [eax + 0x20], ebx
mov ecx, dword [ebp - 0x14]
adc dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x20]
add dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x1c]
adc dword [eax + 0x2c], ecx
add dword [eax + 0x30], esi
mov ecx, dword [ebp - 0x30]
adc dword [eax + 0x34], edi
add dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
adc dword [eax + 0x3c], ecx
leave
ret