Function at 0x4b1a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8f65
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
movups xmmword [ebp - 0x28], xmm0
push 0x10
mov byte [ebp - 0x28], 0
call fcn.005bc4c7
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0xc], eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0049fee0
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push 0x10
push esi
call fcn.004f31c0
mov byte [edi], 0
push 0x20
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.005bc4c7
mov dword [edi + 4], eax
xorps xmm0, xmm0
add eax, 0x20
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 4]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
cmp edi, eax
je 0x4b1c03
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
sub edx, ecx
mov dword [ebp - 0x30], ecx
cmp edx, 0x10
jae 0x4b1be9
mov esi, edx
mov eax, closesocket
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x4b1b9b
mov esi, closesocket
jmp 0x4b1ba7
add esi, edx
mov eax, 0x10
cmp esi, eax
cmovb esi, eax
test ecx, ecx
je 0x4b1be1
mov eax, edx
test edx, edx
je 0x4b1bbc
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x4b1bb1
push edx
push dword [ebp - 0x30]
call fcn.005bc4f7
mov dword [edi + 4], 0
add esp, 8
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
push esi
mov ecx, edi
call fcn.0046f7f0
mov esi, dword [edi + 4]
push 0x10
push dword [ebp - 0x2c]
push esi
call fcn.005be280
lea eax, [esi + 0x10]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
mov dword [edi + 8], eax
push 0xffffffffffffffff
call fcn.004f2de0
mov ecx, eax
call fcn.004f2ec0
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub edx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, eax
not ecx
add ecx, ecx
xor ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
test edx, edx
je 0x4b1c47
mov esi, dword [ebp - 0x30]
mov ecx, eax
and ecx, 3
mov cl, byte [ebp + ecx - 0x14]
xor byte [eax + esi], cl
inc eax
cmp eax, edx
jb 0x4b1c33
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov ecx, esi
sub edx, esi
mov eax, edx
je 0x4b1c5d
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x4b1c52
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x4b1c7e
mov ecx, dword [esi - 4]
add edx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4b1ca5
mov esi, ecx
push edx
push esi
call fcn.005bc4f7
add esp, 8
mov eax, edi
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.005bca10
mov esp, ebp
pop ebp
ret
call fcn.004d7f94
int3