Function at 0x464f80
Capabilities:
Encode data using xor
Initialize winsock library

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 0x4e0f00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x535100]
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, dword [0x544e4c]
push 0x4005c
call fcn.004b4ea3
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x4005c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004b6a30
mov dword [esi], vtable.CAPISocket.0
xorps xmm0, xmm0
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
add esp, 0xc
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov byte [ebp - 4], 1
push 0x40000
mov dword [esi + 0x4002c], 0x528a28
mov dword [esi + 0x40030], 0x40000
call fcn.004b4ee6
add esp, 4
mov dword [esi + 0x40034], eax
mov dword [esi + 0x40038], 0
mov dword [esi + 0x4003c], 0
add esi, 0x40044
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x50], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004b4ea3
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0xc]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x4650b2
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [0x544dd0]
mov ecx, eax
inc eax
mov dword [esi + 0x24], 0
mov dword [0x544dd0], eax
test ecx, ecx
jne 0x4650dd
push 0x5450d8
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 0x40040], 0
lea eax, [edi + 0x130]
mov dword [esi + 0x40028], 0
mov dword [esi + 0x40058], 1
mov dword [ebp - 4], 0xffffffff
mov dword [edi], esi
cmp dword [eax + 0x14], 0xf
jbe 0x465112
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x148]
mov ecx, esi
call fcn.004422b0
test eax, eax
je 0x46518e
movaps xmm0, xmmword [0x52f080]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x2c], 0x46474b08
movaps xmm0, xmmword [0x52f150]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0x5c4b4d46
mov dword [ebp - 0x24], 0x64f4641
mov byte [ebp - 0x20], 0
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x2b
jb 0x465156
lea ecx, [ebp - 0x4b]
mov byte [ebp - 0x20], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465170
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [edi + 0x274]
call fcn.00442fc0
jmp 0x465245
mov ecx, dword [0x544e4c]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x4651b3
mov ecx, dword [edi]
lea eax, [ebp - 0x15]
push 1
push eax
mov byte [ebp - 0x15], 1
call fcn.00442c70
mov ecx, dword [0x544e4c]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x465245
nop
mov esi, dword [edi]
cmp dword [esi + 0x40054], 0
je 0x465239
nop dword [eax + eax]
mov edx, dword [esi + 0x40050]
mov eax, edx
mov ecx, dword [esi + 0x4004c]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 0x40048]
mov eax, dword [eax + ecx*4]
mov ecx, edi
mov esi, dword [eax + edx*4]
push esi
call fcn.004666f0
test al, al
je 0x465233
test esi, esi
je 0x46520b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [edi]
add dword [eax + 0x40054], 0xffffffff
jne 0x465222
mov dword [eax + 0x40050], 0
jmp 0x465228
inc dword [eax + 0x40050]
mov esi, dword [edi]
cmp dword [esi + 0x40054], 0
jne 0x4651d0
mov ecx, dword [0x544e4c]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
jne 0x4651c0
xor al, al
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.004b4e90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret