Function at 0x4285a0
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 0x52d320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x3c
push esi
push 0x565010
mov dword [ebp - 4], 0
call fcn.00504232
add esp, 4
test eax, eax
jne 0x4287d3
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0xcee1f1e2
mov byte [ebp - 0x48], 0xef
xor ecx, ecx
movups xmmword [ebp - 0x47], xmm0
mov dword [ebp - 0x37], eax
mov word [ebp - 0x33], ax
mov byte [ebp - 0x31], al
nop word [eax + eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 5
jb 0x428610
mov dword [0x565544], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x47], 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 0x428642
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae esi, dword [ebp - 0x30]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428670
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4287d9
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
push esi
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.004946d0
mov byte [ebp - 4], 2
mov eax, dword [0x565108]
cmp eax, dword [0x56510c]
je 0x4286da
movups xmm0, xmmword [ebp - 0x48]
mov ecx, 0xf
mov byte [ebp - 0x48], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
add dword [0x565108], 0x18
jmp 0x4286ec
lea ecx, [ebp - 0x48]
push ecx
push eax
mov ecx, 0x565104
call fcn.00499850
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x428721
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x428717
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287de
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x428759
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42874f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287de
push ecx
push edx
call fcn.00504f31
add esp, 8
push 0x565010
call fcn.00504243
mov esi, dword [0x562abc]
lea eax, [ebx + 8]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.0048ccc0
mov edx, 0x2714
mov ecx, esi
call fcn.00427380
mov ecx, dword [ebx + 0x1c]
add esp, 0x18
test eax, eax
setg al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x4287c1
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4287b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4287de
push ecx
push edx
call fcn.00504f31
mov al, byte [ebp - 0x11]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.00503edb
call fcn.004024b0
call fcn.0050a1d0
int3