Function at 0x46f0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3576
mov eax, dword fs:[0]
push eax
sub esp, 0x170
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
movzx eax, word [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi]
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push eax
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x110], 0
call fcn.005878e0
mov eax, dword [ebp - 0x120]
xorps xmm0, xmm0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x12c], eax
mov eax, 0x8000
movq qword [ebp - 0x138], xmm0
mov word [ebp - 0x130], 0
mov word [ebp - 0x134], ax
movups xmmword [ebp - 0x148], xmm0
mov byte [ebp - 0x12f], 9
mov eax, dword [esi]
shr eax, 1
mov dword [ebp - 0x124], ecx
test al, 1
je 0x46f164
mov eax, dword [esi + 0x14]
jmp 0x46f167
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x13c]
push dword [ecx + 0xc]
push eax
call fcn.004a6bb0
mov eax, dword [ebp - 0x12c]
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 8]
shr eax, 2
test al, 1
je 0x46f1a0
mov eax, dword [ecx + 0x1c]
jmp 0x46f1a3
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x148], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x144], eax
movups xmm0, xmmword [ebp - 0x148]
mov ax, word [ebp - 0x130]
push 0x2c
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xfc]
movups xmmword [ebp - 0xd0], xmm0
push 0
movq xmm0, qword [ebp - 0x138]
push eax
movq qword [ebp - 0xc0], xmm0
call fcn.005be800
add esp, 0xc
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0xfc]
push 0x10
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004b1100
mov byte [ebp - 0x38], 0
mov eax, dword [edi + 8]
mov byte [ebp - 4], 1
test dword [eax], 0x4000000
je 0x46f25d
push dword [edi + 0xc]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.0046ee70
add esp, 0x10
cmp byte [ebp - 0x38], 0
movq xmm0, qword [eax]
movq qword [ebp - 0x34], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
jne 0x46f24e
mov byte [ebp - 0x38], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xfc]
call fcn.004b1730
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x46f7dc
mov eax, dword [eax]
lea ecx, [ebp - 0xfc]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, dword [ebp + 0x3c]
call esi
mov esi, dword [edi]
xorps xmm0, xmm0
add esi, 0x40
movups xmmword [ebp - 0x50], xmm0
push 0x10
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x50], 0
call fcn.005bc4c7
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x4c], edi
lea eax, [edi + 0x10]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x44], eax
movups xmmword [edi], xmm0
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [esi + 4]
push 0x20
mov byte [ebp - 4], 2
movups xmmword [edi], xmm0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], 0
call fcn.005bc4c7
mov esi, eax
xorps xmm0, xmm0
add esp, 8
mov dword [ebp - 0x24], esi
lea edx, [esi + 0x20]
movups xmmword [esi], xmm0
mov dword [ebp - 0x1c], edx
movups xmmword [esi + 0x10], xmm0
mov dword [ebp - 0x20], edx
sub edx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
cmp edx, 0x10
jae 0x46f3b1
mov ecx, edx
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x46f32e
mov dword [ebp - 0x124], getpeername
jmp 0x46f341
lea eax, [ecx + edx]
mov ecx, 0x10
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x124], eax
test esi, esi
je 0x46f3a0
mov eax, edx
mov ecx, esi
test edx, edx
je 0x46f35b
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x46f350
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x46f37d
mov ecx, dword [esi - 4]
add edx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x46f7e1
mov esi, ecx
push edx
push esi
call fcn.005bc4f7
add esp, 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x124]
lea ecx, [ebp - 0x28]
call fcn.0046f7f0
mov esi, dword [ebp - 0x24]
push 0x10
push edi
push esi
call fcn.005be280
add esp, 0xc
lea eax, [esi + 0x10]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
call fcn.004f2de0
mov ecx, eax
call fcn.004f2ec0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x18], eax
sub ecx, esi
xor edx, edx
mov dword [ebp - 0x124], ecx
mov ecx, eax
not ecx
add ecx, ecx
xor ecx, eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x124], edx
jbe 0x46f419
mov edi, dword [ebp - 0x124]
nop word [eax + eax]
mov eax, edx
lea ecx, [esi + edx]
and eax, 3
inc edx
mov al, byte [ebp + eax - 0x14]
xor byte [ecx], al
cmp edx, edi
jb 0x46f400
mov edi, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x14c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 4], 5
movups xmmword [ebp - 0x80], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046eee0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 6
call fcn.004f2de0
push eax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x90]
call fcn.004b1740
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x46f4c9
mov eax, dword [ebp - 0x158]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.0046f9e0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov ecx, dword [esi]
push 0
call fcn.00588380
mov edx, dword [esi + 4]
mov esi, dword [0x6253bc]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x104], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x100], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c], eax
test esi, esi
jne 0x46f5cc
push 0x5c
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x128], esi
test esi, esi
je 0x46f5c4
push 0x5c
push 0
push esi
call fcn.005be800
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
jmp 0x46f5c6
xor esi, esi
mov dword [0x6253bc], esi
xorps xmm0, xmm0
mov dword [ebp - 0x108], esi
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.004a7c40
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm0
movups xmmword [ebp - 0xa4], xmm0
call fcn.004a7b20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004a7f00
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x128], eax
test edx, edx
je 0x46f67e
mov ecx, dword [ebp - 0xa4]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.0046f9e0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x46f6ad
mov eax, dword [ebp - 0x68]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00459d30
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x46f6ea
mov eax, dword [ebp - 0x84]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.0046f9e0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x46f74c
mov esi, dword [ebp - 0x1c]
mov ecx, edx
sub esi, edx
mov eax, esi
je 0x46f70b
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x46f700
mov eax, edx
mov byte [ebp - 4], 0xc
cmp esi, 0x1000
jb 0x46f72d
mov edx, dword [edx - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f7e1
push esi
push edx
call fcn.005bc4f7
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x150]
mov ecx, edi
sub edx, edi
mov eax, edx
je 0x46f76b
nop word [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x46f760
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x46f789
mov ecx, dword [edi - 4]
add edx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x46f7e1
mov edi, ecx
push edx
push edi
call fcn.005bc4f7
mov edi, dword [ebp + 0x3c]
add esp, 8
mov byte [ebp - 0x38], 0
test edi, edi
je 0x46f7bb
mov esi, dword [edi]
lea eax, [ebp + 0x18]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x60d4d0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x128]
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.005a76da
call fcn.004d7f94
int3