Function at 0x429fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
movzx eax, byte [ebx + 7]
cdq
mov esi, eax
mov ecx, edx
shld ecx, esi, 8
movzx eax, byte [ebx + 6]
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 5]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 4]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 3]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 2]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 1]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
movzx eax, byte [ebx]
shld ecx, esi, 8
cdq
or ecx, edx
shl esi, 8
or esi, eax
mov dword [ebp - 8], ecx
movzx eax, byte [ebx + 0xf]
cdq
mov edi, eax
mov dword [ebp - 0xc], esi
movzx eax, byte [ebx + 0xe]
mov ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 0xd]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 0xc]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 0xb]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
shld ecx, edi, 8
movzx eax, byte [ebx + 0xa]
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx + 9]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx + 8]
cdq
shld ecx, edi, 8
or ecx, edx
shl edi, 8
mov edx, esi
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp - 8]
or edi, eax
shrd edx, esi, 7
xor edx, dword [ebp - 0xc]
shr esi, 7
and edx, 0xaa00aa
xor esi, dword [ebp - 8]
mov eax, edx
and esi, 0xaa00aa
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
xor dword [ebp - 8], ecx
xor eax, edx
xor dword [ebp - 0xc], eax
mov edx, edi
mov esi, dword [ebp - 0x10]
shrd edx, esi, 7
shr esi, 7
xor edx, edi
xor esi, dword [ebp - 0x10]
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 - 8]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edi, eax
xor dword [ebp - 0x10], ecx
shrd edx, esi, 0xe
xor edx, dword [ebp - 0xc]
shr esi, 0xe
and edx, 0xcccc
xor esi, dword [ebp - 8]
mov eax, edx
and esi, 0xcccc
mov ecx, esi
shld ecx, eax, 0xe
xor ecx, esi
shl eax, 0xe
mov esi, dword [ebp - 0x10]
xor eax, edx
xor dword [ebp - 0xc], eax
mov edx, edi
xor dword [ebp - 8], ecx
shrd edx, esi, 0xe
shr esi, 0xe
xor edx, edi
xor esi, dword [ebp - 0x10]
and edx, 0xcccc
and esi, 0xcccc
mov eax, edx
mov ecx, esi
shld ecx, eax, 0xe
shl eax, 0xe
xor ecx, esi
xor eax, edx
xor edi, eax
mov edx, dword [ebp - 0xc]
add ebx, 0x10
mov eax, dword [ebp - 8]
shrd edx, eax, 0x1c
mov esi, dword [ebp - 0x10]
xor edx, dword [ebp - 0xc]
xor esi, ecx
xor ecx, ecx
mov dword [ebp + 0xc], ebx
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor dword [ebp - 8], ecx
xor eax, edx
xor dword [ebp - 0xc], eax
xor ecx, ecx
mov eax, esi
mov edx, edi
shrd edx, eax, 0x1c
xor edx, edi
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
xor ecx, 0
shl eax, 0x1c
xor esi, ecx
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edi, eax
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
shrd edx, esi, 8
shr esi, 8
xor edx, edi
xor esi, dword [ebp - 0x10]
and edx, 0xff00ff
and esi, 0xff00ff
mov eax, edx
xor dword [ebp - 0x10], esi
mov ecx, esi
shld ecx, eax, 8
xor edi, edx
xor dword [ebp - 8], ecx
shl eax, 8
xor dword [ebp - 0xc], eax
movzx eax, byte [ebx + 7]
cdq
mov ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 6]
mov esi, edx
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 5]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 4]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 3]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [ebx + 2]
shld esi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
or esi, edx
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 - 4], esi
movzx eax, byte [ebx + 0xf]
cdq
mov ebx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
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 + 0xc]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xd]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp + 0xc]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xc]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp + 0xc]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xb]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp + 0xc]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 0xa]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp + 0xc]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 9]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp + 0xc]
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
shr esi, 7
xor edx, ecx
xor esi, dword [ebp - 4]
and edx, 0xaa00aa
and esi, 0xaa00aa
mov eax, edx
mov ecx, esi
shld ecx, eax, 7
shl eax, 7
xor eax, edx
xor ecx, esi
xor dword [ebp - 0x14], eax
mov edx, ebx
xor dword [ebp - 4], ecx
mov esi, edi
shrd edx, esi, 7
xor edx, ebx
shr esi, 7
xor esi, edi
and edx, 0xaa00aa
mov eax, edx
and esi, 0xaa00aa
mov ecx, esi
shld ecx, eax, 7
xor ecx, esi
shl eax, 7
xor eax, edx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
xor ebx, eax
shrd edx, esi, 0xe
xor edi, ecx
xor edx, dword [ebp - 0x14]
and edx, 0xcccc
shr esi, 0xe
xor esi, dword [ebp - 4]
mov eax, edx
and esi, 0xcccc
mov ecx, esi
shld ecx, eax, 0xe
shl eax, 0xe
xor ecx, esi
xor dword [ebp - 4], ecx
xor eax, edx
xor dword [ebp - 0x14], eax
mov edx, ebx
mov esi, edi
shrd edx, esi, 0xe
xor edx, ebx
shr esi, 0xe
and edx, 0xcccc
xor esi, edi
mov eax, edx
and esi, 0xcccc
mov ecx, esi
shld ecx, eax, 0xe
shl eax, 0xe
xor ecx, esi
mov esi, dword [ebp - 0x14]
xor eax, edx
xor ebx, eax
mov edx, esi
mov eax, dword [ebp - 4]
xor edi, ecx
shrd edx, eax, 0x1c
xor ecx, ecx
xor edx, esi
and edx, 0xf0f0f0f0
mov eax, edx
shld ecx, eax, 0x1c
shl eax, 0x1c
xor ecx, 0
xor dword [ebp - 4], ecx
xor eax, edx
xor esi, eax
mov edx, ebx
mov eax, edi
mov dword [ebp - 0x14], 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
mov edx, esi
xor ebx, eax
mov esi, dword [ebp - 4]
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
mov dword [ebp - 0x18], ebx
xor dword [ebp - 4], ecx
shl eax, 8
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov ebx, ecx
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, si
shl ebx, 0x10
or ebx, eax
mov dword [ebp + 0xc], edi
mov eax, edx
mov edi, edx
shrd ecx, eax, 0x10
mov eax, dword [ebp - 8]
and edx, 0xffff0000
shrd esi, eax, 0x10
shl ecx, 0x10
movzx eax, si
or ecx, eax
shl edi, 0x10
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
movzx eax, cx
or edi, eax
shr ecx, 0x10
or edx, ecx
mov ecx, dword [ebp - 0x18]
mov esi, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
movzx eax, dx
shl esi, 0x10
or esi, eax
mov eax, dword [ebp + 0xc]
shrd ecx, eax, 0x10
mov eax, dword [ebp - 0x10]
shrd edx, eax, 0x10
shl ecx, 0x10
movzx eax, dx
or ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, ax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
shl edx, 0x10
and ecx, 0xffff0000
or edx, eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
or ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor eax, ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
xor eax, esi
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x10]
xor eax, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x2d0]
lea esi, [ecx + 0x20]
xor eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x18]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x1c]
xor eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
sub edi, 1
je 0x42a55a
lea eax, [ebp - 0x3c]
push esi
push eax
push eax
call fcn.0042c750
add esp, 0xc
add esi, 0x20
sub edi, 1
jne 0x42a544
lea eax, [ebp - 0x3c]
push esi
push eax
push eax
call fcn.0042ce60
mov eax, dword [ebp + 8]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x18], ecx
add eax, 0xa
mov ebx, dword [ebp - 0x20]
mov esi, ecx
mov edx, dword [ebp - 0x28]
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 - 0x30]
shl ebx, 0x10
or ebx, ecx
mov ecx, esi
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x38]
shl ebx, 0x10
or ebx, ecx
mov ecx, esi
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x2c]
shl ebx, 0x10
or ebx, ecx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], ebx
mov ecx, esi
mov ebx, dword [ebp - 0x24]
xor edi, edi
shr ebx, cl
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
mov edx, dword [ebp - 0x34]
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 - 0x3c]
shr edx, cl
shld edi, ebx, 0x10
movzx ecx, dx
shl ebx, 0x10
or ebx, ecx
mov dword [ebp - 0x14], edi
mov esi, ebx
shrd esi, edi, 8
xor esi, dword [ebp + 0xc]
shr edi, 8
and esi, 0xff00ff
xor edi, dword [ebp + 0x10]
mov ecx, esi
xor dword [ebp + 0xc], esi
and edi, 0xff00ff
xor dword [ebp + 0x10], edi
mov edx, edi
shld edx, ecx, 8
xor dword [ebp - 0x14], edx
xor edx, edx
mov edi, dword [ebp - 0x14]
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 + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0x10]
shrd esi, ecx, 0x1c
mov dword [ebp - 0x14], edi
xor esi, dword [ebp + 0xc]
and esi, 0xf0f0f0f0
mov ecx, esi
shld edx, ecx, 0x1c
shl ecx, 0x1c
xor edx, 0
xor dword [ebp + 0x10], edx
xor ecx, esi
xor dword [ebp + 0xc], ecx
mov esi, ebx
shrd esi, edi, 0xe
shr edi, 0xe
xor esi, ebx
xor edi, dword [ebp - 0x14]
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 - 0x14], edx
xor ecx, esi
mov esi, dword [ebp + 0xc]
xor ebx, ecx
mov edi, dword [ebp + 0x10]
shrd esi, edi, 0xe
xor esi, dword [ebp + 0xc]
shr edi, 0xe
and esi, 0xcccc
xor edi, dword [ebp + 0x10]
mov ecx, esi
and edi, 0xcccc
mov edx, edi
shld edx, ecx, 0xe
xor edx, edi
shl ecx, 0xe
xor dword [ebp + 0x10], edx
xor ecx, esi
xor dword [ebp + 0xc], ecx
mov esi, ebx
mov edi, dword [ebp - 0x14]
shrd esi, edi, 7
shr edi, 7
xor esi, ebx
xor edi, dword [ebp - 0x14]
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 + 0x10]
xor ecx, esi
mov esi, dword [ebp + 0xc]
xor ebx, ecx
xor dword [ebp - 0x14], edx
shrd esi, edi, 7
mov byte [eax - 0xa], bl
xor esi, dword [ebp + 0xc]
shr edi, 7
and esi, 0xaa00aa
xor edi, dword [ebp + 0x10]
mov ecx, esi
and edi, 0xaa00aa
mov edx, edi
shld edx, ecx, 7
shl ecx, 7
xor edx, edi
mov edi, dword [ebp + 0x10]
xor ecx, esi
xor dword [ebp + 0xc], ecx
xor edi, edx
mov dword [ebp + 0x10], edi
mov edx, ebx
mov ecx, dword [ebp - 0x14]
lea eax, [eax + 0x10]
shrd edx, ecx, 8
mov ecx, dword [ebp - 0x14]
mov byte [eax - 0x19], dl
mov edx, ebx
shrd edx, ecx, 0x10
mov byte [eax - 0x18], dl
mov edx, dword [ebp - 0x14]
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 + 0xc]
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 - 0x18]
shr edx, 0x18
inc ecx
mov byte [eax - 0xf], bl
mov byte [eax - 0xb], dl
mov dword [ebp - 0x18], ecx
cmp ecx, 2
jb 0x42a573
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret