Function at 0x42833f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, eax
mov eax, dword [esi + 4]
mov edi, 0x80
sub edi, eax
push edi
push dword [ebp + 0xc]
lea eax, [eax + esi + 8]
push eax
call fcn.00450c90
mov eax, dword [esi + 4]
add eax, ebx
add esp, 0xc
cmp eax, 0x80
jae 0x42837f
mov dword [esi + 4], eax
jmp 0x428703
sub ebx, edi
mov eax, ebx
mov dword [ebp - 0x74], eax
shr eax, 7
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
add edi, eax
lea eax, [esi + 0x108]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], eax
xor edi, edi
lea ecx, [esi + 0xa]
movzx eax, byte [ecx - 2]
cdq
shld edx, eax, 8
shl eax, 8
mov esi, eax
movzx eax, byte [ecx - 1]
mov ebx, edx
cdq
or esi, eax
movzx eax, byte [ecx]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 1]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 2]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 3]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 4]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
movzx eax, byte [ecx + 5]
or ebx, edx
shld ebx, esi, 8
shl esi, 8
cdq
or esi, eax
or ebx, edx
mov dword [ebp + edi*8 - 0x300], esi
mov dword [ebp + edi*8 - 0x2fc], ebx
inc edi
add ecx, 8
cmp edi, 0x10
jl 0x4283a2
lea eax, [ebp - 0x290]
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], 0x40
mov ecx, dword [eax - 0x68]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax - 0x64]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
mov edi, ecx
mov ebx, eax
shrd edi, ebx, 0x13
or esi, edi
mov edx, ecx
shl edx, 0xd
mov edi, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
shld eax, ecx, 3
shr ebx, 0x13
or edx, ebx
shl ecx, 3
shr edi, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0x70]
xor esi, edi
mov edi, dword [ebp - 0xc]
xor ebx, ebx
or ebx, eax
mov eax, dword [ebp - 0x6c]
shrd ecx, eax, 6
xor edx, ebx
mov ebx, dword [ebp - 0xc]
xor esi, ecx
shr eax, 6
xor edx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], esi
mov esi, eax
shrd esi, edi, 8
mov dword [ebp - 0x64], edx
xor edx, edx
or edx, esi
mov ecx, eax
mov esi, eax
shrd eax, ebx, 1
shl ecx, 0x18
shr edi, 8
shl esi, 0x1f
or ecx, edi
shr ebx, 1
or esi, ebx
xor ecx, esi
mov esi, dword [ebp - 0x10]
xor edi, edi
or edi, eax
mov eax, dword [ebp - 0xc]
shrd esi, eax, 7
xor edx, edi
xor edx, esi
mov esi, dword [ebp - 0x7c]
shr eax, 7
xor ecx, eax
mov eax, dword [ebp - 4]
add esi, edx
mov edx, dword [ebp - 0x64]
adc edx, ecx
add esi, dword [eax - 0x70]
adc edx, dword [eax - 0x6c]
add esi, dword [eax - 0x28]
adc edx, dword [eax - 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
add eax, 8
dec dword [ebp - 0x5c]
mov dword [ebp - 4], eax
jne 0x428445
mov esi, dword [ebp - 0x60]
and dword [ebp - 4], 0
push 0x10
pop ecx
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
shld esi, edx, 0x17
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
shl edx, 0x17
shrd edi, ebx, 0x12
xor ecx, ecx
or ecx, esi
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x30]
shr eax, 9
or eax, edx
mov edx, dword [ebp - 0x30]
shl edx, 0xe
shr ebx, 0x12
or edx, ebx
mov ebx, dword [ebp - 0x2c]
xor ecx, edx
mov edx, dword [ebp - 0x30]
shrd edi, ebx, 0xe
xor eax, esi
shl edx, 0x12
xor esi, esi
or esi, edi
mov edi, dword [ebp - 0x28]
and edi, dword [ebp - 0x30]
xor eax, esi
mov esi, dword [ebp - 0x2c]
shr ebx, 0xe
or edx, ebx
mov ebx, dword [ebp - 0x24]
and ebx, dword [ebp - 0x2c]
xor ecx, edx
mov edx, dword [ebp - 0x30]
not edx
and edx, dword [ebp - 0x20]
not esi
and esi, dword [ebp - 0x1c]
xor edx, edi
xor esi, ebx
add eax, edx
mov edx, dword [ebp - 4]
adc ecx, esi
add eax, dword [edx + 0x4c4f70]
mov esi, dword [ebp - 0x4c]
adc ecx, dword [edx + 0x4c4f74]
add eax, dword [ebp + edx - 0x300]
mov edi, dword [ebp - 0x50]
adc ecx, dword [ebp + edx - 0x2fc]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x50]
adc ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x4c]
shrd edx, esi, 0x1c
shld ebx, edi, 0x1e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
or ecx, edx
mov edx, dword [ebp - 0x4c]
shr esi, 0x1c
shl eax, 4
or eax, esi
shr edx, 2
shl edi, 0x1e
or edx, edi
mov edi, dword [ebp - 0x50]
xor esi, esi
or esi, ebx
mov ebx, dword [ebp - 0x4c]
xor ecx, edx
mov edx, dword [ebp - 0x4c]
shld ebx, edi, 0x19
xor eax, esi
shr edx, 7
xor esi, esi
shl edi, 0x19
or edx, edi
mov edi, dword [ebp - 0x48]
and edi, dword [ebp - 0x50]
xor ecx, edx
mov edx, dword [ebp - 0x48]
xor edx, dword [ebp - 0x50]
or esi, ebx
and edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
and ebx, dword [ebp - 0x4c]
xor eax, esi
mov esi, dword [ebp - 0x44]
xor esi, dword [ebp - 0x4c]
xor edx, edi
and esi, dword [ebp - 0x3c]
xor esi, ebx
add ecx, edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x38]
adc eax, esi
add edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x34]
adc esi, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x40]
adc eax, dword [ebp - 0xc]
add dword [ebp - 4], 8
cmp dword [ebp - 4], 0x280
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jl 0x42851f
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov edx, dword [ebp + ecx*8 - 0x50]
add dword [eax], edx
mov edx, dword [ebp + ecx*8 - 0x4c]
adc dword [eax + 4], edx
inc ecx
add eax, 8
cmp ecx, 8
jl 0x4286b4
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp + 8]
push dword [ebp - 0x58]
mov eax, edi
mov ecx, esi
call fcn.00427f68
mov eax, dword [ebp - 0x74]
and eax, 0x7f
mov ebx, eax
mov eax, dword [ebp - 0x58]
pop ecx
shl edi, 7
add eax, edi
push ebx
push eax
lea eax, [esi + 8]
push eax
call fcn.00450c90
sub edi, 0xffffff80
add esp, 0xc
add dword [esi], edi
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebx
leave
ret