Function at 0x42a580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x467004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x38], esi
movzx eax, byte [esi + 7]
cdq
mov ebx, eax
mov ecx, edx
shld ecx, ebx, 8
movzx eax, byte [esi + 6]
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 5]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 4]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
mov dword [ebp - 0x2c], ecx
movzx eax, byte [esi + 0xf]
cdq
mov edi, eax
mov ecx, edx
movzx eax, byte [esi + 0xe]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [esi + 0xd]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [esi + 0xc]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [esi + 0xb]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [esi + 0xa]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [esi + 9]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [esi + 8]
mov esi, dword [ebp - 0x2c]
cdq
shld ecx, edi, 8
or ecx, edx
shl edi, 8
or edi, eax
mov dword [ebp - 0x3c], ecx
mov edx, ebx
shrd edx, esi, 7
shr esi, 7
xor edx, ebx
xor esi, dword [ebp - 0x2c]
and edx, 0xaa00aa
and esi, 0xaa00aa
mov eax, edx
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
xor dword [ebp - 0x2c], ecx
xor eax, edx
mov esi, dword [ebp - 0x3c]
xor ebx, eax
mov edx, edi
shrd edx, esi, 7
shr esi, 7
xor edx, edi
xor esi, dword [ebp - 0x3c]
and edx, 0xaa00aa
and esi, 0xaa00aa
mov eax, edx
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
mov esi, dword [ebp - 0x2c]
xor eax, edx
xor dword [ebp - 0x3c], ecx
mov edx, ebx
shrd edx, esi, 0xe
xor edi, eax
shr esi, 0xe
xor edx, ebx
xor esi, dword [ebp - 0x2c]
and edx, 0xcccc
and esi, 0xcccc
mov eax, edx
mov ecx, esi
shld ecx, eax, 0xe
xor ecx, esi
shl eax, 0xe
mov esi, dword [ebp - 0x3c]
xor eax, edx
xor dword [ebp - 0x2c], ecx
mov edx, edi
shrd edx, esi, 0xe
xor ebx, eax
shr esi, 0xe
xor edx, edi
xor esi, dword [ebp - 0x3c]
and edx, 0xcccc
and esi, 0xcccc
mov eax, edx
mov ecx, esi
shld ecx, eax, 0xe
shl eax, 0xe
xor eax, edx
xor ecx, esi
xor edi, eax
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
xor esi, ecx
mov edx, ebx
xor ecx, ecx
shrd edx, eax, 0x1c
xor edx, ebx
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor dword [ebp - 0x2c], ecx
xor eax, edx
xor ebx, eax
mov edx, edi
mov eax, esi
xor ecx, ecx
shrd edx, eax, 0x1c
xor edx, edi
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor eax, edx
xor esi, ecx
xor edi, eax
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x2c]
mov edx, ebx
shrd edx, esi, 8
xor edx, edi
shr esi, 8
xor esi, dword [ebp - 0x3c]
and edx, 0xff00ff
and esi, 0xff00ff
mov eax, edx
mov ecx, esi
xor edi, edx
shld ecx, eax, 8
xor dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
shl eax, 8
xor ecx, esi
xor ebx, eax
movzx eax, bx
mov dword [ebp - 0x28], eax
mov eax, edx
shrd ebx, eax, 0x10
movzx eax, bx
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
add ebx, 0x10
movzx eax, dx
mov dword [ebp - 0x18], eax
movzx eax, di
mov dword [ebp - 0x24], eax
mov eax, ecx
shrd edi, eax, 0x10
shr edx, 0x10
movzx eax, di
mov dword [ebp - 0x1c], eax
movzx eax, cx
mov dword [ebp - 0x14], eax
movzx eax, byte [ebx + 7]
shr ecx, 0x10
mov dword [ebp - 0x2c], edx
cdq
mov dword [ebp - 0x3c], ecx
mov esi, edx
mov ecx, eax
mov dword [ebp - 0x38], ebx
movzx eax, byte [ebx + 6]
shld esi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or esi, edx
movzx eax, byte [ebx + 5]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx]
cdq
shld esi, ecx, 8
or esi, edx
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x30], esi
movzx eax, byte [ebx + 0xf]
cdq
mov ebx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x38]
mov edi, edx
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xe]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 0x38]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xd]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 0x38]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xc]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 0x38]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xb]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 0x38]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xa]
cdq
or ebx, eax
or edi, edx
shld edi, ebx, 8
shl ebx, 8
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 9]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 0x38]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 8]
cdq
or edi, edx
or ebx, eax
mov edx, ecx
shrd edx, esi, 7
xor edx, ecx
shr esi, 7
xor esi, dword [ebp - 0x30]
and edx, 0xaa00aa
and esi, 0xaa00aa
mov eax, edx
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
xor dword [ebp - 0x30], ecx
xor eax, edx
xor dword [ebp - 0x34], eax
mov edx, ebx
mov esi, edi
shrd edx, esi, 7
shr esi, 7
xor edx, ebx
xor esi, edi
and edx, 0xaa00aa
and esi, 0xaa00aa
mov eax, edx
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
mov esi, dword [ebp - 0x30]
xor eax, edx
mov edx, dword [ebp - 0x34]
xor ebx, eax
shrd edx, esi, 0xe
xor edi, ecx
xor edx, dword [ebp - 0x34]
shr esi, 0xe
and edx, 0xcccc
xor esi, dword [ebp - 0x30]
mov eax, edx
and esi, 0xcccc
mov ecx, esi
shld ecx, eax, 0xe
xor ecx, esi
shl eax, 0xe
xor dword [ebp - 0x30], ecx
xor eax, edx
xor dword [ebp - 0x34], eax
mov edx, ebx
mov esi, edi
shrd edx, esi, 0xe
shr esi, 0xe
xor edx, ebx
xor esi, edi
and edx, 0xcccc
and esi, 0xcccc
mov eax, edx
mov ecx, esi
shld ecx, eax, 0xe
shl eax, 0xe
xor ecx, esi
mov esi, dword [ebp - 0x34]
xor eax, edx
xor ebx, eax
mov edx, esi
mov eax, dword [ebp - 0x30]
xor edi, ecx
shrd edx, eax, 0x1c
xor edx, esi
and edx, 0xf0f0f0f0
mov eax, edx
xor ecx, ecx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor eax, edx
xor dword [ebp - 0x30], ecx
xor esi, eax
mov edx, ebx
mov eax, edi
mov dword [ebp - 0x34], esi
shrd edx, eax, 0x1c
xor ecx, ecx
xor edx, ebx
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor eax, edx
xor edi, ecx
xor ebx, eax
mov edx, esi
mov esi, dword [ebp - 0x30]
shrd edx, esi, 8
xor edx, ebx
shr esi, 8
xor esi, edi
and edx, 0xff00ff
and esi, 0xff00ff
mov eax, edx
mov ecx, esi
xor ebx, edx
shld ecx, eax, 8
xor edi, esi
xor dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
shl eax, 8
xor dword [ebp - 0x34], eax
mov eax, edx
mov ecx, dword [ebp - 0x34]
mov esi, ecx
shrd ecx, eax, 0x10
mov dword [ebp - 0x38], edi
mov edi, edx
mov eax, dword [ebp - 0x38]
and edx, 0xffff0000
or edx, dword [ebp - 0x2c]
shl ecx, 0x10
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shrd ebx, eax, 0x10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov edx, eax
and eax, 0xffff0000
shl esi, 0x10
or eax, dword [ebp - 0x3c]
or esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
shl ecx, 0x10
or ecx, dword [ebp - 0x24]
shl edi, 0x10
mov eax, dword [eax]
or edi, dword [ebp - 0x18]
xor eax, esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
shl ebx, 0x10
or ebx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
xor eax, ecx
shl edx, 0x10
or edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
xor eax, ebx
mov ebx, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x20]
xor eax, edi
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x14]
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2d0]
sub eax, 1
je 0x42ab4d
nop dword [eax]
lea edx, [ebp - 0x28]
push esi
mov ecx, edx
call fcn.00427790
mov eax, dword [ebx + 0x2d0]
inc edi
dec eax
add esp, 4
add esi, 0x20
cmp edi, eax
jb 0x42ab30
lea edx, [ebp - 0x28]
push esi
mov ecx, edx
call fcn.00427ea0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x40], ecx
add eax, 0xa
mov ebx, dword [ebp - 0xc]
mov esi, ecx
mov edx, dword [ebp - 0x14]
xor edi, edi
shl esi, 4
mov ecx, esi
shr ebx, cl
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x1c]
shl ebx, 0x10
or ebx, ecx
mov ecx, esi
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x24]
shl ebx, 0x10
or ebx, ecx
mov ecx, esi
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x18]
shl ebx, 0x10
or ebx, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov ecx, esi
mov ebx, dword [ebp - 0x10]
xor edi, edi
shr ebx, cl
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x20]
shl ebx, 0x10
or ebx, ecx
mov ecx, esi
shr edx, cl
shld edi, ebx, 0x10
movzx edx, dx
shl ebx, 0x10
or ebx, edx
mov edx, dword [ebp - 0x28]
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
shl ebx, 0x10
or ebx, ecx
mov dword [ebp - 0x34], edi
mov esi, ebx
shrd esi, edi, 8
xor esi, dword [ebp - 0x30]
shr edi, 8
and esi, 0xff00ff
xor edi, dword [ebp - 0x2c]
mov ecx, esi
xor dword [ebp - 0x30], esi
and edi, 0xff00ff
xor dword [ebp - 0x2c], edi
mov edx, edi
shld edx, ecx, 8
xor dword [ebp - 0x34], edx
xor edx, edx
mov edi, dword [ebp - 0x34]
shl ecx, 8
xor ebx, ecx
mov ecx, edi
mov esi, ebx
shrd esi, ecx, 0x1c
xor esi, ebx
and esi, 0xf0f0f0f0
mov ecx, esi
shld edx, ecx, 0x1c
shl ecx, 0x1c
xor edx, 0
xor ecx, esi
xor ebx, ecx
xor edi, edx
mov esi, dword [ebp - 0x30]
xor edx, edx
mov ecx, dword [ebp - 0x2c]
shrd esi, ecx, 0x1c
mov dword [ebp - 0x34], edi
xor esi, dword [ebp - 0x30]
and esi, 0xf0f0f0f0
mov ecx, esi
shld edx, ecx, 0x1c
shl ecx, 0x1c
xor edx, 0
xor dword [ebp - 0x2c], edx
xor ecx, esi
xor dword [ebp - 0x30], ecx
mov esi, ebx
shrd esi, edi, 0xe
shr edi, 0xe
xor esi, ebx
xor edi, dword [ebp - 0x34]
and esi, 0xcccc
and edi, 0xcccc
mov ecx, esi
mov edx, edi
shld edx, ecx, 0xe
xor edx, edi
shl ecx, 0xe
xor dword [ebp - 0x34], edx
xor ecx, esi
mov esi, dword [ebp - 0x30]
xor ebx, ecx
mov edi, dword [ebp - 0x2c]
shrd esi, edi, 0xe
xor esi, dword [ebp - 0x30]
shr edi, 0xe
and esi, 0xcccc
xor edi, dword [ebp - 0x2c]
mov ecx, esi
and edi, 0xcccc
mov edx, edi
shld edx, ecx, 0xe
xor edx, edi
shl ecx, 0xe
xor dword [ebp - 0x2c], edx
xor ecx, esi
xor dword [ebp - 0x30], ecx
mov esi, ebx
mov edi, dword [ebp - 0x34]
shrd esi, edi, 7
shr edi, 7
xor esi, ebx
xor edi, dword [ebp - 0x34]
and esi, 0xaa00aa
and edi, 0xaa00aa
mov ecx, esi
mov edx, edi
shld edx, ecx, 7
xor edx, edi
shl ecx, 7
mov edi, dword [ebp - 0x2c]
xor ecx, esi
mov esi, dword [ebp - 0x30]
xor ebx, ecx
xor dword [ebp - 0x34], edx
shrd esi, edi, 7
mov byte [eax - 0xa], bl
xor esi, dword [ebp - 0x30]
shr edi, 7
and esi, 0xaa00aa
xor edi, dword [ebp - 0x2c]
mov ecx, esi
and edi, 0xaa00aa
mov edx, edi
shld edx, ecx, 7
shl ecx, 7
xor edx, edi
mov edi, dword [ebp - 0x2c]
xor ecx, esi
xor dword [ebp - 0x30], ecx
xor edi, edx
mov dword [ebp - 0x2c], edi
mov edx, ebx
mov ecx, dword [ebp - 0x34]
lea eax, [eax + 0x10]
shrd edx, ecx, 8
mov ecx, dword [ebp - 0x34]
mov byte [eax - 0x19], dl
mov edx, ebx
shrd edx, ecx, 0x10
mov byte [eax - 0x18], dl
mov edx, dword [ebp - 0x34]
mov ecx, edx
shrd ebx, ecx, 0x18
mov ecx, edx
mov byte [eax - 0x16], dl
shr ecx, 8
mov byte [eax - 0x15], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax - 0x14], cl
mov ecx, edi
shr edx, 0x18
mov byte [eax - 0x13], dl
mov byte [eax - 0x17], bl
mov ebx, dword [ebp - 0x30]
mov edx, ebx
shrd edx, ecx, 8
mov ecx, edi
mov byte [eax - 0x12], bl
mov byte [eax - 0x11], dl
mov edx, ebx
shrd edx, ecx, 0x10
mov byte [eax - 0x10], dl
mov edx, edi
mov ecx, edx
mov byte [eax - 0xe], dl
shrd ebx, ecx, 0x18
mov ecx, edx
shr ecx, 8
mov byte [eax - 0xd], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax - 0xc], cl
mov ecx, dword [ebp - 0x40]
shr edx, 0x18
inc ecx
mov byte [eax - 0xf], bl
mov byte [eax - 0xb], dl
mov dword [ebp - 0x40], ecx
cmp ecx, 2
jb 0x42ab66
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433718
mov esp, ebp
pop ebp
ret