Function at 0x4064b0
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 0x495ffe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x4bb0c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x140], 0
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x110], xmm0
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
push 0x5c
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0xd8], 0xa54b4c6f
push eax
mov dword [ebp - 0xd4], 0x81890b19
mov dword [ebp - 0xd0], 0xc98dc6b5
mov dword [ebp - 0xcc], 0xd779e3d
mov dword [ebp - 0xc8], 0xbe6b2d36
mov dword [ebp - 0xc4], 0x120bec77
mov dword [ebp - 0xc0], 0xcda0aa20
mov dword [ebp - 0xbc], 0xb4a57a43
mov dword [ebp - 0xb8], 0x754100f5
mov dword [ebp - 0xb4], 0x8e77b48a
mov dword [ebp - 0xb0], 0x77d41049
mov dword [ebp - 0xac], 0xda7759f9
mov dword [ebp - 0xa8], 0x689c5e20
mov dword [ebp - 0xa4], 0x1e929ee3
mov dword [ebp - 0xa0], 0xd70ba4d2
mov dword [ebp - 0x9c], 0x61dc40df
mov dword [ebp - 0x98], 0xa2d407a1
mov dword [ebp - 0x94], 0xf0e6a065
mov dword [ebp - 0x90], 0x6bbaf778
mov dword [ebp - 0x8c], 0x6cd2c06d
mov dword [ebp - 0x88], 0xbc3edba0
mov dword [ebp - 0x84], 0xfece9d3b
mov dword [ebp - 0x80], 0x93ec5dff
call fcn.0046ed70
lea eax, [ebp - 0xd8]
add esp, 0xc
mov dword [ebp - 0x214], eax
mov edx, 0x769d555f
lea eax, [ebp - 0x210]
xor esi, esi
mov dword [ebp - 0x218], eax
nop dword [eax]
mov eax, edx
shl eax, 0xd
xor edx, eax
mov eax, edx
shr eax, 0x11
xor edx, eax
mov eax, edx
shl eax, 5
xor edx, eax
mov eax, dword [ebp - 0x214]
neg edx
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x218]
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
cmp esi, 0x5c
jb 0x4066b0
push 0x4bdca0
mov edx, 0x410970
mov byte [ebp - 4], 6
mov ecx, 0x4bdca4
call fcn.0040dfb0
mov esi, dword [0x4bdca0]
add esp, 4
test esi, esi
jne 0x40670d
lea edx, [esi + 1]
jmp 0x406730
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
push 1
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.WS2_32.dll_bind
call dword [0x49a38c]
call esi
mov edx, eax
mov ecx, 0x5c
lea eax, [ebp - 0x210]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406740
test edx, edx
jne 0x406c8d
mov eax, 0x5ef
mov word [ebp - 0x18c], dx
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xe16a80ec
mov dword [ebp - 0x48], 0xbb72b322
mov edx, 0xe11880af
mov dword [ebp - 0x44], 0x32921257
xor esi, esi
mov dword [ebp - 0x40], 0x5fdd886
mov dword [ebp - 0x3c], 0x2663f
mov dword [ebp - 0x38], 0xf0322e4d
mov dword [ebp - 0x34], 0xc21880bd
mov dword [ebp - 0x30], 0x69c2feb6
movups xmmword [ebp - 0x1ac], xmm0
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x214], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x214]
xor ecx, edx
imul edx, edx, 0x41c64e6d
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x3039
not edx
cmp esi, 0x20
jb 0x4067d0
lea eax, [ebp - 0x4c]
mov esi, 0x20
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x214], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x218]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x214]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0x22
jb 0x406820
mov byte [ebp - 4], 7
lea edx, [ebp - 0x1ac]
mov ecx, dword [ebp - 0x224]
mov eax, 1
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x148]
push eax
call fcn.004099a0
add esp, 4
test al, al
je 0x406b01
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0xaf55288c
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], 0xa325a5e2
mov dword [ebp - 0x58], 0x2ab0a84a
mov eax, 0x4f856bb7
mov dword [ebp - 0x54], 0xe1acf366
xor esi, esi
mov dword [ebp - 0x50], 0xc2253dc9
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x214], ecx
mov ecx, eax
shl ecx, 0xd
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
xor eax, ecx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov ecx, dword [ebp - 0x218]
ror eax, 2
mov edx, dword [ecx + esi]
mov ecx, dword [ebp - 0x214]
xor edx, eax
mov dword [ecx + esi], edx
add esi, 4
cmp esi, 0x14
jb 0x4068c8
mov dword [ebp - 4], 8
lea edx, [ebp - 0x170]
mov ecx, dword [ebp - 0x224]
mov eax, 3
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x144]
push eax
call fcn.004099a0
add esp, 4
test al, al
je 0x406b01
mov eax, 0x97c0
mov dword [ebp - 0x28], 0x69220c
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x95934772
mov dword [ebp - 0x20], 0xdfc15d2
mov edx, 0x1c2248
mov dword [ebp - 0x1c], 0x861f87af
xor esi, esi
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x214], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x214]
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
imul eax, edx, 0x41c64e6d
mov edx, 0xffffcfc7
sub edx, eax
cmp esi, 0x10
jb 0x406990
lea eax, [ebp - 0x28]
mov esi, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x214], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x218]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x214]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0x12
jb 0x4069e0
mov dword [ebp - 4], 9
lea edx, [ebp - 0x15c]
mov ecx, dword [ebp - 0x224]
mov eax, 7
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x140]
push eax
call fcn.00405b10
add esp, 4
test al, al
je 0x406b01
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x513dd525
lea eax, [ebp - 0x78]
mov dword [ebp - 0x74], 0x5a0ed164
mov dword [ebp - 0x70], 0xd43a7260
mov edx, 0x8bd0147f
mov dword [ebp - 0x6c], 0xbd8907dc
xor esi, esi
mov dword [ebp - 0x68], 0x1e1827bf
mov dword [ebp - 0x64], 0x35a286ec
movups xmmword [ebp - 0x188], xmm0
movq qword [ebp - 0x178], xmm0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x214], eax
mov eax, edx
shl eax, 0xd
xor edx, eax
mov eax, edx
shr eax, 0x11
xor edx, eax
mov eax, edx
shl eax, 5
xor edx, eax
mov eax, dword [ebp - 0x218]
ror edx, 1
mov ecx, dword [eax + esi]
mov eax, dword [ebp - 0x214]
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
cmp esi, 0x18
jb 0x406a90
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x188]
mov ecx, dword [ebp - 0x224]
mov eax, 0xf
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x128]
push eax
call fcn.00405b10
add esp, 4
mov byte [ebp - 0x219], 1
test al, al
jne 0x406b08
mov byte [ebp - 0x219], 0
mov eax, dword [ebp - 0x214]
test al, 8
je 0x406b31
and eax, 0xfffffff7
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x220], eax
mov edx, 0x18
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x406b26
test al, 4
je 0x406b5b
and eax, 0xfffffffb
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x220], eax
mov edx, 0x12
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x406b50
test al, 2
je 0x406b7e
and eax, 0xfffffffd
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x220], eax
mov edx, 0x14
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x406b73
mov dword [ebp - 4], 5
test al, 1
je 0x406bab
and eax, 0xfffffffe
mov ecx, 0x22
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x1ac]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406ba0
cmp byte [ebp - 0x219], 0
je 0x406c50
movups xmm0, xmmword [ebp - 0x140]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x144]
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0x10c], eax
movq xmm0, qword [ebp - 0x130]
movq qword [ebp - 0xf8], xmm0
movups xmm0, xmmword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
movups xmmword [ebp - 0xf0], xmm0
mov word [ebp - 0x140], ax
movq xmm0, qword [ebp - 0x118]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 5
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x224]
mov edx, 0x4109f0
push 0x4bdcb4
mov ecx, 0x4bdca8
mov dword [ebp - 0x218], eax
call fcn.0040dfb0
mov esi, dword [0x4bdcb4]
add esp, 4
test esi, esi
je 0x406c8d
push dword [ebp - 0x218]
mov ecx, esi
call dword [0x49a38c]
call esi
mov eax, dword [ebp - 0x110]
movups xmm0, xmmword [ebp - 0x108]
mov dword [edi], eax
mov eax, dword [ebp - 0x10c]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0xf8]
movq qword [edi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0xf0]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
movups xmmword [edi + 0x20], xmm0
mov word [ebp - 0x108], ax
movq xmm0, qword [ebp - 0xe0]
movq qword [edi + 0x30], xmm0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.00406d50
lea ecx, [ebp - 0x148]
call fcn.00406d50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046ce78
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret