Function at 0x420b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], edx
cmp edi, esi
je 0x420bce
mov esi, eax
cmp ebx, 0x10
jb 0x420bc3
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
nop word [eax + eax]
push ecx
push eax
push edi
call edx
mov ecx, dword [ebp - 0x18]
add esp, 0xc
sub esi, ecx
mov edx, 4
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x420b92
mov eax, dword [ebp - 0x18]
mov esi, edi
mov ecx, dword [ebp - 0x3c]
add eax, 0x10
mov edx, dword [ebp - 0x30]
sub ebx, 0x10
add edi, 0x10
mov dword [ebp - 0x18], eax
sub dword [ebp - 0x1c], 1
jne 0x420b80
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], edi
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
jmp 0x420c67
mov dword [ebp - 0x38], ebx
cmp ebx, 0x10
jb 0x420c6a
lea edx, [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0x34], eax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x1c], eax
mov eax, edi
sub eax, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x2c], eax
shl eax, 4
add esi, eax
mov dword [ebp - 0x18], esi
push ecx
lea eax, [ebp - 0x14]
push eax
push edi
call edx
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov ebx, dword [ebp - 0x24]
xor esi, esi
mov eax, dword [ebp - 0x34]
nop dword [eax]
lea ecx, [ebp - 0x14]
add ecx, esi
add esi, 4
mov eax, dword [eax + ecx]
xor eax, dword [ecx]
mov edx, dword [ebx + ecx]
mov dword [edi + ecx], eax
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx], edx
cmp esi, 0x10
jb 0x420c20
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
sub ebx, 0x10
add dword [ebp - 0x24], 0x10
add edi, 0x10
add dword [ebp - 0x1c], 0x10
sub dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], edi
jne 0x420c03
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
test ebx, ebx
je 0x420dce
lea ecx, [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, 1
sub eax, ecx
mov dword [ebp - 0x38], eax
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x34], eax
mov eax, 3
sub eax, ecx
mov dword [ebp - 0x40], eax
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x1c], eax
lea eax, [esi + 2]
mov dword [ebp - 0x24], eax
mov eax, ecx
sub esi, eax
mov dword [ebp - 0x18], esi
nop dword [eax]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x30]
add esp, 0xc
xor eax, eax
cmp eax, ebx
jae 0x420d7b
mov ecx, dword [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov edi, dword [ebp - 0x18]
add esi, eax
mov dl, byte [esi + ecx]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
xor cl, byte [esi]
mov byte [esi + edi], cl
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x38]
add ecx, esi
cmp ecx, ebx
jae 0x420d7a
mov dl, byte [edi + eax + 1]
mov edi, dword [ebp - 0x20]
mov cl, byte [esi + 1]
xor cl, byte [edi + eax + 1]
mov edi, dword [ebp - 0x24]
mov byte [edi + eax - 1], cl
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov byte [ecx + eax + 1], dl
mov ecx, dword [ebp - 0x34]
add ecx, esi
cmp ecx, ebx
jae 0x420d75
mov dl, byte [eax + edi + 2]
mov edi, dword [ebp - 0x20]
mov cl, byte [esi + 2]
xor cl, byte [edi + eax + 2]
mov edi, dword [ebp - 0x24]
mov byte [edi + eax], cl
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov byte [ecx + eax + 2], dl
mov ecx, dword [ebp - 0x40]
add ecx, esi
cmp ecx, ebx
jae 0x420d70
mov cl, byte [esi + 3]
mov esi, dword [ebp - 0x20]
mov dl, byte [edi + eax + 3]
xor cl, byte [esi + eax + 3]
mov esi, dword [ebp - 0x24]
mov byte [esi + eax + 1], cl
mov ecx, dword [ebp - 0x20]
mov byte [ecx + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x420cc0
jmp 0x420d7b
add eax, 3
jmp 0x420d7b
add eax, 2
jmp 0x420d7b
inc eax
cmp ebx, 0x10
jbe 0x420dac
add dword [ebp - 0x1c], 0x10
add edi, 0x10
add dword [ebp - 0x18], 0x10
add dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], edi
sub ebx, 0x10
jne 0x420cb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret
cmp eax, 0x10
jae 0x420dce
mov edx, dword [ebp - 0x20]
sub edi, edx
lea ecx, [edx + eax]
mov edx, 0x10
sub edx, eax
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x420dc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret