Function at 0x42cfe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, ecx
mov ebx, dword [edx + 8]
movzx ecx, byte [ecx + 0x210]
cmp dword [esi + 0x1f4], 0xffffffff
mov dword [ebp - 0x10], esi
jne 0x42d045
mov eax, dword [esi + 0x1f0]
test ecx, ecx
mov edi, ebx
mov dword [ebp - 0x18], ecx
je 0x42d026
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, 0x10
mov edi, ebx
sub eax, ecx
sub edi, eax
jbe 0x42d04d
mov eax, dword [ebp - 0x14]
not eax
mov ecx, eax
mov eax, edi
shr edi, 4
and eax, 0xf
cmp eax, 1
mov al, 1
sbb edi, 0xffffffff
cmp edi, ecx
mov ecx, dword [ebp - 0x18]
ja 0x42d53c
test ecx, ecx
je 0x42d14e
mov dword [ebp - 0x1c], edx
mov edx, 0x10
lea eax, [esi + ecx + 0x200]
mov edi, ebx
sub edx, ecx
sub ebx, edx
mov dword [ebp - 0x14], ebx
jae 0x42d0d5
test edi, edi
mov ebx, edi
mov dword [ebp - 0x18], ecx
je 0x42d52e
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
xor edi, edi
cmp ebx, 8
mov dword [ebp - 0x14], ecx
jb 0x42d510
mov esi, edx
sub esi, ecx
cmp esi, 0x10
jb 0x42d510
xor edi, edi
cmp ebx, 0x10
jae 0x42d4d6
mov ecx, dword [ebp - 0x14]
mov esi, edi
mov edi, ebx
and edi, 0xfffffff8
nop dword [eax]
movsd xmm0, qword [ecx + esi]
movsd xmm1, qword [eax + esi]
xorps xmm1, xmm0
movlps qword [edx + esi], xmm1
add esi, 8
cmp edi, esi
jne 0x42d0b0
cmp ebx, edi
jne 0x42d510
jmp 0x42d52e
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov edi, dword [esi]
mov ebx, dword [esi + 4]
lea esi, [edi + edx]
add edx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov dword [edx], esi
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 8], edx
xor edx, edx
cmp cl, 8
ja 0x42d178
mov esi, ebx
sub esi, edi
cmp esi, 0x10
jb 0x42d178
xor edx, edx
test ecx, ecx
je 0x42d15b
mov ecx, dword [ebp - 0x18]
mov esi, edx
mov edx, ecx
and edx, 0xfffffff8
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm0, qword [edi + esi]
movsd xmm1, qword [eax + esi]
xorps xmm1, xmm0
movlps qword [ebx + esi], xmm1
add esi, 8
cmp edx, esi
jne 0x42d130
cmp ecx, edx
jne 0x42d178
jmp 0x42d18f
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x42d195
mov ecx, dword [ebp - 0x18]
movups xmm0, xmmword [edi]
movups xmm1, xmmword [eax]
mov edx, ecx
xorps xmm1, xmm0
and edx, 0xfffffff0
movups xmmword [ebx], xmm1
cmp ecx, edx
je 0x42d18f
test cl, 8
jne 0x42d118
mov esi, dword [ebp - 0x18]
nop dword [eax + eax]
movzx ecx, byte [eax + edx]
xor cl, byte [edi + edx]
mov byte [ebx + edx], cl
inc edx
cmp esi, edx
jne 0x42d180
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov eax, ebx
mov ecx, ebx
and eax, 0xf
shr ecx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [0x60749c]
movzx eax, byte [eax]
mov dword [ebp - 0x28], ebx
cmp al, 1
lea eax, [esi + 0x1e0]
mov dword [ebp - 0x30], eax
jne 0x42d1db
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.0042f2d0
jmp 0x42d375
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp ebx, 0x20
jb 0x42d2b1
mov edx, dword [ebp - 0x28]
mov ebx, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
shr edx, 5
nop
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov edi, dword [esi + 0x1e8]
mov edx, dword [esi + 0x1f4]
mov ecx, dword [esi + 0x1f0]
mov esi, dword [eax + 0x1e0]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
mov eax, dword [eax + 0x1e4]
add esi, ecx
mov dword [ebp - 0x50], esi
adc eax, edx
add esi, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x10]
adc eax, 0
add ecx, 2
adc edx, 0
mov edi, dword [edi + 0x1ec]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
mov dword [esi + 0x1f4], edx
mov dword [esi + 0x1f0], ecx
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.004029b0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add esp, 0xc
movups xmm0, xmmword [ebp - 0x70]
movups xmm2, xmmword [eax + ebx - 0x10]
movups xmm1, xmmword [ebp - 0x60]
movups xmm3, xmmword [eax + ebx]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [ecx + ebx - 0x10], xmm2
movups xmmword [ecx + ebx], xmm3
add ebx, 0x20
dec edx
jne 0x42d200
mov ebx, dword [ebp - 0x28]
test bl, 0x10
je 0x42d375
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov edx, dword [esi + 0x1f0]
mov ebx, dword [ebp - 0x10]
and ecx, 0xfffffffe
mov edi, dword [edi + 0x1e8]
shl ecx, 4
add eax, ecx
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1e0]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x1f4]
mov esi, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [edi + 0x1ec]
mov esi, dword [esi + 0x1e4]
adc esi, ecx
add edx, 1
mov dword [ebp - 0x4c], esi
mov dword [ebx + 0x1f0], edx
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
adc ecx, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [edx + 0x1f4], ecx
lea ecx, [ebp - 0x70]
push eax
push esi
push ecx
call fcn.004029b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
movups xmm0, xmmword [ebp - 0x70]
movups xmm1, xmmword [eax]
mov eax, dword [ebp - 0x2c]
xorps xmm1, xmm0
movups xmmword [eax], xmm1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x42d4d2
mov eax, dword [0x60749c]
and ebx, 0xfffffff0
lea edi, [esi + 0x200]
movzx eax, byte [eax]
cmp al, 1
jne 0x42d3ab
mov edx, dword [ebp - 0x30]
mov ecx, esi
push edi
call fcn.0042f220
mov ecx, dword [ebp - 0x14]
add esp, 4
jmp 0x42d458
mov eax, dword [esi + 0x1e8]
mov edx, dword [esi + 0x1f4]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1ec]
mov esi, dword [eax + 0x1f0]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x1e0]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1e4]
adc eax, edx
add esi, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x1f0], esi
mov esi, dword [ebp - 0x10]
adc edx, 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x1f4], edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push eax
push esi
push ecx
call fcn.004029b0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
movsd xmm0, qword [ebp - 0x70]
movsd xmm1, qword [ebp - 0x68]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
add eax, ebx
add edx, ebx
mov ebx, eax
xor eax, eax
cmp ecx, 8
jb 0x42d4c0
mov ecx, ebx
sub ecx, edx
cmp ecx, 0x10
mov ecx, dword [ebp - 0x28]
jb 0x42d4c0
mov eax, dword [ebp - 0x14]
and ecx, 7
mov dword [ebp - 0x28], ecx
sub eax, ecx
xor ecx, ecx
nop word cs:[eax + eax]
nop
movsd xmm0, qword [edx + ecx]
movsd xmm1, qword [edi + ecx]
xorps xmm1, xmm0
movlps qword [ebx + ecx], xmm1
add ecx, 8
cmp eax, ecx
jne 0x42d490
cmp dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x14]
je 0x42d4d2
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [edi + eax]
xor cl, byte [edx + eax]
mov byte [ebx + eax], cl
mov ecx, dword [ebp - 0x14]
inc eax
cmp ecx, eax
jne 0x42d4c0
mov ebx, ecx
jmp 0x42d534
mov ecx, dword [ebp - 0x14]
mov edi, ebx
xor esi, esi
and edi, 0xfffffff0
movups xmm0, xmmword [ecx + esi]
movups xmm1, xmmword [eax + esi]
xorps xmm1, xmm0
movups xmmword [edx + esi], xmm1
add esi, 0x10
cmp edi, esi
jne 0x42d4e0
cmp ebx, edi
je 0x42d52e
test bl, 8
jne 0x42d0a2
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, ebx
movzx ebx, byte [eax + edi]
mov esi, eax
mov eax, edx
mov edx, dword [ebp - 0x14]
xor bl, byte [edx + edi]
mov edx, eax
mov eax, esi
mov byte [edx + edi], bl
inc edi
mov ebx, ecx
cmp ecx, edi
jne 0x42d510
add bl, byte [ebp - 0x18]
mov esi, dword [ebp - 0x10]
xor eax, eax
mov byte [esi + 0x210], bl
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret