Function at 0x42a0f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1d0
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x12], dl
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 1
xor ecx, ecx
mov word [ebp - 0x54], 0x9af3
movups xmmword [ebp - 0x52], xmm0
mov dword [ebp - 0x42], 0
mov word [ebp - 0x3e], 0
mov byte [ebp - 0x3c], 0
nop dword [eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 2
jb 0x42a180
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x52], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a1b2
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov dword [ebp - 0x18], 3
mov dword [ebp - 4], 2
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a1e6
sub ecx, esi
mov eax, 0x7fffffff
mov esi, dword [ebx + 0x1c]
sub eax, esi
cmp eax, ecx
jb 0x42a666
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
push ecx
cmovae eax, dword [ebx + 0xc]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x6c]
call fcn.004946d0
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0x6c]
mov esi, 7
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
mov dword [ebp - 0x18], esi
call dword [0x5381ec]
mov ecx, dword [ebp - 0x58]
cmp eax, 0xffffffff
mov dword [ebp - 0x34], eax
sete byte [ebp - 0x11]
cmp ecx, 0x10
jb 0x42a27b
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a66b
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp ecx, 0x10
jb 0x42a2c5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a2bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a66b
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x42a314
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x10
jb 0x42a2ff
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a661
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebp - 0x12], 0
jne 0x42a329
test byte [ebp - 0x1e0], 0x10
jne 0x42a5ff
jmp 0x42a336
test byte [ebp - 0x1e0], 0x10
je 0x42a5ff
lea ecx, [ebp - 0x1b4]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a340
mov al, byte [ebp - 0x1b4]
sub ecx, edx
cmp ecx, 1
jne 0x42a35c
cmp al, 0x2e
je 0x42a5ff
cmp ecx, 2
jne 0x42a371
cmp al, 0x2e
jne 0x42a371
cmp byte [ebp - 0x1b3], al
je 0x42a5ff
cmp byte [ebx + 8], 0
xorps xmm0, xmm0
je 0x42a56e
mov byte [ebp - 0x30], 0xf3
xor eax, eax
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
nop dword [eax]
lea ecx, [eax - 0x51]
xor byte [ebp + eax - 0x30], cl
inc eax
cmp eax, 1
jb 0x42a3a0
xorps xmm0, xmm0
mov dword [0x565620], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a3d4
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402c40
or esi, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 3
lea esi, [ebp - 0x84]
cmp dword [ebp - 0x70], 0x10
cmovae esi, dword [ebp - 0x84]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a410
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x1c]
sub eax, edx
cmp eax, ecx
jb 0x42a666
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
push ecx
cmovae eax, dword [ebx + 0xc]
push esi
push edx
push eax
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x9c]
call fcn.004946d0
mov esi, dword [ebp - 0x18]
or esi, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x9c]
call fcn.0048c9d0
or esi, 0x20
mov dword [ebp - 0x18], esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0048b9b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x42a4d7
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a4cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a66b
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x42a515
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a50b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a66b
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0x10
jb 0x42a5ff
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a5f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a66b
jmp 0x42a5f5
push ecx
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.00402c40
mov dword [ebp - 4], 6
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x42a5bf
movups xmm0, xmmword [ebp - 0x30]
mov ecx, 0xf
mov byte [ebp - 0x30], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x42a5ce
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.00499850
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x42a5ff
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a5f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a661
push ecx
push edx
call fcn.00504f31
add esp, 8
lea eax, [ebp - 0x1e0]
push eax
push dword [ebp - 0x34]
call dword [0x5381d4]
test eax, eax
jne 0x42a314
call dword [0x53808c]
cmp eax, 0x12
jne 0x42a314
push dword [ebp - 0x34]
call dword [0x5381c4]
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x10
jb 0x42a2ff
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a2f5
call fcn.0050a1d0
call fcn.004024b0
call fcn.0050a1d0
int3