Function at 0x4206a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f7a50
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x90df34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1808f0c], 0
je 0x420c4a
mov eax, dword [0x1808d24]
cmp dword [eax + 0x38], 0
je 0x420c4a
cmp word [0x8d31ce], 0
mov eax, dword [0x8d31cc]
mov dword [ebp - 0x20], eax
je 0x420728
xor esi, esi
nop dword [eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 2
jl 0x420700
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push 0x1808e90
push eax
call fcn.00416190
push 0x1808e00
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
call fcn.0042bf60
add esp, 0x18
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x420765
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, 0x39
lea edi, [ebp - 0x1dc]
mov esi, 0x8d35f8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x18021f4], 2
jl 0x4208b0
movaps xmm4, xmmword [0x8d6c60]
mov eax, 5
movaps xmm3, xmmword [0x8d6d00]
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1dc]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1dc], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1d4]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x1d4], xmm1
add esi, 8
cmp esi, 0x70
jl 0x4207b0
cmp esi, 0x73
jge 0x4208db
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x1dc], cx
inc esi
cmp esi, 0x73
jl 0x4208b0
push dword [ebp - 0x18]
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00413dc0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x42092f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420925
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420fce
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x420981
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420fd3
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x3c], 8
lea edi, [ebp - 0x50]
mov word [ebp - 0x38], ax
mov eax, dword [0x1808d24]
cmovae edi, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x24], 7
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [0x8d34fc]
mov dword [ebp - 0x20], eax
mov ax, word [0x8d3500]
mov word [ebp - 0x1c], ax
nop
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 3
jl 0x4209c0
push edi
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x18]
movups xmm0, xmmword [0x8d35a8]
mov eax, dword [0x1808d24]
xor esi, esi
cmp dword [0x18021f4], 2
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x8d35b8]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x8d35c8]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x8d35d8]
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [0x8d35e8]
movups xmmword [ebp - 0xa8], xmm0
jl 0x420b80
movaps xmm4, xmmword [0x8d6c60]
mov eax, 5
movaps xmm3, xmmword [0x8d6d00]
xor ecx, ecx
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xe8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe0]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0xe0], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x420a80
jmp 0x420bab
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0xe8], cx
inc esi
cmp esi, 0x28
jl 0x420b80
mov eax, dword [0x8d34fc]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ax, word [0x8d3500]
mov word [ebp - 0x14], ax
nop
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x420bc0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x420c36
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420c2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420fd8
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [0x1808d24]
cmp dword [eax + 0x7b0], 0
jne 0x420fb3
mov ax, word [0x8d31c8]
xor edx, edx
mov word [ebp - 0x20], ax
mov al, byte [0x8d31ca]
mov byte [ebp - 0x1e], al
mov dword [ebp - 0x18], edx
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 3
jl 0x420c73
lea edx, [ebp - 0x20]
call fcn.00404db0
test al, al
je 0x420fb3
cmp word [0x8d31ce], 0
mov eax, dword [0x8d31cc]
mov dword [ebp - 0x18], eax
je 0x420cf8
xor esi, esi
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 2
jl 0x420cd0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push 0x1808e90
push eax
call fcn.00416190
push 0x1808e30
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 5
push eax
call fcn.0042bf60
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x420d60
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420d56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420fdd
push edx
push ecx
call fcn.0059a5db
add esp, 8
movups xmm0, xmmword [0x8d352c]
xor eax, eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x84], 8
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
xor esi, esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x8d353c]
mov dword [ebp - 0x58], eax
mov ax, word [0x8d3540]
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x54], ax
nop word [eax + eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x68], cx
inc esi
cmp esi, 0xb
jl 0x420db0
mov ecx, 0x17
lea edi, [ebp - 0xf4]
mov esi, 0x8d3548
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x18021f4], 2
jl 0x420f20
movaps xmm4, xmmword [0x8d6c60]
mov eax, 5
movaps xmm3, xmmword [0x8d6d00]
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xf4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xf4], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xec]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xec], xmm1
add esi, 8
cmp esi, 0x28
jl 0x420e20
cmp esi, 0x2e
jge 0x420f4b
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0xf4], cx
inc esi
cmp esi, 0x2e
jl 0x420f20
mov eax, dword [0x1808d24]
push 0xff
push dword [ebp - 0x18]
cmp dword [eax + 0x6e8], 0
lea eax, [ebp - 0x68]
push 1
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x80000001
call dword [0x8116b0]
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x420fb3
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420fa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420fe2
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a3cf
mov esp, ebp
pop ebp
ret
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
int3