Function at 0x419930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov dword [ebp - 0x44], 0
jmp 0x419949
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x10
jge 0x419980
mov eax, dword [ebp - 0x44]
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 4
lea ecx, [ebp + eax - 0x40]
mov edx, dword [ebp - 0x44]
and edx, 0x80000003
jns 0x419972
dec edx
or edx, 0xfffffffc
inc edx
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + eax*4]
mov dword [ecx + edx*4], eax
jmp 0x419940
mov dword [ebp - 0x44], 0
jmp 0x419992
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0xa
jge 0x419d01
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x40]
shl edx, 7
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x40]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x30]
shl ecx, 9
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x30]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x20]
shl eax, 0xd
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x20]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x10]
shl edx, 0x12
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
xor ecx, ecx
jne 0x41999c
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x2c]
shl edx, 7
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x2c]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
shl ecx, 9
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x1c]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
shl eax, 0xd
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0xc]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x3c]
shl edx, 0x12
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x3c]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
xor ecx, ecx
jne 0x419a08
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x18]
shl edx, 7
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 8]
shl ecx, 9
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 8]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x38]
shl eax, 0xd
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x38]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x28]
shl edx, 0x12
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x28]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
xor ecx, ecx
jne 0x419a74
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 4]
shl edx, 7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 4]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x34]
shl ecx, 9
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x34]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
shl eax, 0xd
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x24]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x14]
shl edx, 0x12
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
xor ecx, ecx
jne 0x419ae0
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x40]
shl edx, 7
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x40]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x3c]
shl ecx, 9
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x3c]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x38]
shl eax, 0xd
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x38]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x34]
shl edx, 0x12
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
xor ecx, ecx
jne 0x419b4c
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x2c]
shl edx, 7
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x28]
shl ecx, 9
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x28]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
shl eax, 0xd
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x30]
shl edx, 0x12
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
xor ecx, ecx
jne 0x419bb8
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
shl edx, 7
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
shl ecx, 9
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
shl eax, 0xd
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x20]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x1c]
shl edx, 0x12
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
xor ecx, ecx
jne 0x419c24
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
shl edx, 7
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
shr eax, 0x19
or edx, eax
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
shl ecx, 9
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
shr edx, 0x17
or ecx, edx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
shl eax, 0xd
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 8]
shl edx, 0x12
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
shr eax, 0xe
or edx, eax
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
xor ecx, ecx
jne 0x419c90
jmp 0x419989
mov dword [ebp - 0x44], 0
jmp 0x419d13
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x10
jge 0x419d53
mov eax, dword [ebp - 0x44]
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 4
lea eax, [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x44]
and ecx, 0x80000003
jns 0x419d3c
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x419d0a
pop esi
mov esp, ebp
pop ebp
ret