Function at 0x422070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
push ebx
push esi
movups xmm0, xmmword [eax]
mov dword [ebp - 0x60], 0xa
push edi
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x34]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
nop dword [eax]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x24]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
xor eax, ecx
mov ecx, eax
add esi, dword [ebp - 0x5c]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x5c]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x3c]
add esi, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x78], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [ebp - 0x4c], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x48]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x74], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [ebp - 0x38]
shl eax, 8
shr ecx, 0x18
or ecx, eax
add esi, dword [ebp - 0x50]
mov dword [ebp - 0x88], ecx
lea ebx, [ecx + edi]
mov edi, dword [ebp - 0x18]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x58]
xor eax, esi
mov dword [ebp - 0x48], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x50]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x80], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x50], eax
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x4c]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [ebp - 0x44], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 8], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
xor eax, ecx
mov edi, eax
shl eax, 0x10
mov edx, dword [ebp - 0x50]
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x48]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x74]
xor edi, eax
mov dword [ebp - 0x40], eax
add ecx, dword [ebp - 0x70]
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], eax
add eax, edx
mov dword [ebp - 0x18], eax
xor eax, esi
ror eax, 0x19
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x70]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x80]
xor edi, eax
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
add eax, edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x24], eax
xor eax, esi
ror eax, 0x19
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x88]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x84]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [ecx + esi]
xor edi, eax
mov dword [ebp - 0x38], eax
mov ebx, edi
shl edi, 8
shr ebx, 0x18
or ebx, edi
lea eax, [edx + ebx]
mov ecx, dword [ebp - 0x54]
mov edx, eax
xor edx, esi
mov dword [ebp - 0x20], eax
ror edx, 0x19
sub dword [ebp - 0x60], 1
jne 0x4220e0
mov dword [ebp - 0xc], ebx
lea esi, [ebp - 0x44]
mov ebx, dword [ebp - 0x64]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x34], edx
sub esi, ebx
xor edx, edx
sub edi, ebx
lea eax, [ebx + 8]
lea ebx, [ebp - 0x44]
nop word [eax + eax]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebx + edx*4], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + edx*4 - 0x40], ecx
add edx, 4
mov ecx, dword [eax - 0x10]
add dword [esi + eax - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [edi + eax - 0x10], ecx
cmp edx, 0x10
jl 0x4223a0
mov ebx, dword [ebp - 0x64]
xor esi, esi
lea edx, [ebx + 0x41]
nop
mov al, byte [ebp + esi*4 - 0x44]
lea edx, [edx + 4]
mov ecx, dword [ebp + esi*4 - 0x44]
inc esi
mov byte [edx - 5], al
mov eax, ecx
shr eax, 8
mov byte [edx - 4], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx - 3], al
mov byte [edx - 2], cl
cmp esi, 0x10
jl 0x4223d0
pop edi
pop esi
lea eax, [ebp - 0x44]
mov dword [ebx + 0x80], 0
push 0x40
push eax
call fcn.0043ba20
add esp, 8
add dword [ebx + 0x30], 1
jne 0x42241d
inc dword [ebx + 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004437dd
mov esp, ebp
pop ebp
ret