Function at 0x464050
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 0x4e0c80
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x534094]
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 [0x543ea0]
push 0x4005c
call fcn.004b447d
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x4005c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004b6610
mov dword [esi], vtable.CAPISocket.0
lea ecx, [esi + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], ecx
movups xmmword [esi + 0xc], xmm0
mov dword [ecx], 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], 0x5293b4
mov dword [esi + 0x40030], 0x40000
call fcn.004b44c0
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 - 0x54], 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.004b447d
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
cmp dword [eax + 0x14], 0x10
jb 0x464180
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0
mov byte [eax], 0
mov eax, dword [0x543e28]
mov ecx, eax
inc eax
mov dword [esi + 0x24], 0
mov dword [0x543e28], eax
test ecx, ecx
jne 0x4641b4
push 0x544330
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], 0x10
jb 0x4641e9
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x148]
mov ecx, esi
call fcn.00442db0
test eax, eax
je 0x464265
movaps xmm0, xmmword [0x52de90]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x6564682b
movaps xmm0, xmmword [0x52df10]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0x7f686e65
mov dword [ebp - 0x28], 0x256c6562
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x2b
jb 0x464230
lea ecx, [ebp - 0x4f]
mov byte [ebp - 0x24], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464247
sub ecx, edx
lea eax, [ebp - 0x4f]
push ecx
push eax
lea ecx, [edi + 0x278]
call fcn.00443960
jmp 0x464325
mov ecx, dword [0x543ea0]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x46428a
mov ecx, dword [edi]
lea eax, [ebp - 0x15]
push 1
push eax
mov byte [ebp - 0x15], 1
call fcn.00443540
mov ecx, dword [0x543ea0]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x464325
nop word [eax + eax]
mov esi, dword [edi]
cmp dword [esi + 0x40054], 0
je 0x464319
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.00465970
test al, al
je 0x464313
test esi, esi
je 0x4642eb
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [edi]
add dword [eax + 0x40054], 0xffffffff
jne 0x464302
mov dword [eax + 0x40050], 0
jmp 0x464308
inc dword [eax + 0x40050]
mov esi, dword [edi]
cmp dword [esi + 0x40054], 0
jne 0x4642b0
mov ecx, dword [0x543ea0]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
jne 0x4642a0
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.004b446a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret