Function at 0x4a6500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7150ef
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5070
call fcn.006df660
mov eax, dword [0x7f9c40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x5054], 0
mov dword [ebp - 4], 0
call fcn.004713e0
lea ecx, [esi + 0x170]
mov dword [ebp - 0x505c], eax
push ecx
lea ecx, [ebp - 0x5074]
call fcn.00452ce0
mov eax, dword [ebp - 0x505c]
lea ecx, [ebp - 0x5074]
push ecx
lea ecx, [ebp - 0x5080]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
mov edi, 0xf
mov dword [ebp - 0x5054], 1
push ecx
movups xmmword [ebp - 0x2c], xmm0
lea ecx, [eax + 0x18]
mov dword [ebp - 0x5058], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x2c], 0
call fcn.0045fe80
mov edi, dword [ebp - 0x5078]
cmp byte [edi + 0xd], 0
jne 0x4a660c
mov ecx, dword [ebp - 0x505c]
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x5074]
push eax
lea ecx, [ecx + 0x18]
call fcn.0046b5d0
test al, al
jne 0x4a660c
mov ecx, dword [ebp - 0x505c]
cmp edi, dword [ecx + 0x18]
je 0x4a660c
lea eax, [edi + 0x28]
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x4a660c
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x4a65f9
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ebf0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5058], eax
mov ecx, dword [ebp - 0x5060]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x4a664a
mov edx, dword [ebp - 0x5074]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6640
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a68fb
push ecx
push edx
call fcn.006dec1c
add esp, 8
lea edi, [esi + 8]
mov dword [ebp - 0x5064], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x5060], 0xf
mov byte [ebp - 0x5074], 0
cmp edi, eax
je 0x4a6692
mov ecx, edi
call fcn.0044ce10
movups xmm0, xmmword [ebp - 0x2c]
mov eax, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
jmp 0x4a6698
mov eax, dword [ebp - 0x5058]
mov byte [ebp - 4], 0
cmp eax, 0xf
jbe 0x4a66cf
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a66c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a68fb
push ecx
push edx
call fcn.006dec1c
add esp, 8
call fcn.006dc9cf
push 0
push 0x2710
push edx
push eax
call fcn.006defa0
mov dword [esi + 0x41], eax
mov eax, dword [esi + 0x134]
mov dword [esi + 0x45], edx
mov dword [esi + 0x59], 0
mov dword [esi + 0x51], 0
mov dword [esi + 0x55], 0
movzx ecx, word [eax + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push 0x5024
mov word [esi + 0x3b], ax
lea eax, [ebp - 0x5050]
push 0
push eax
call fcn.006e1410
mov eax, dword [esi + 0x13c]
lea ecx, [ebp - 0x5054]
movups xmm0, xmmword [esi + 0x120]
mov dword [ebp - 0x4fea], eax
lea edx, [ebp - 0x5058]
mov ax, word [esi + 0x13a]
add esp, 0xc
mov word [ebp - 0x502c], ax
mov eax, 0xfe15
mov word [ebp - 0x4fe6], ax
mov eax, dword [esi + 0x198]
cmp eax, 0x20
mov dword [ebp - 0x5058], eax
lea eax, [esi + 0x188]
cmovbe ecx, edx
mov dword [ebp - 0x504c], 4
cmp dword [eax + 0x14], 0xf
movups xmmword [ebp - 0x5048], xmm0
mov dword [ebp - 0x5030], 0x49
mov byte [ebp - 0x4fe4], 1
mov dword [ebp - 0x5054], 0x20
jbe 0x4a67b0
mov eax, dword [eax]
push dword [ecx]
push eax
lea eax, [ebp - 0x500a]
push eax
call fcn.006e0e90
lea eax, [esi + 0x158]
add esp, 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x4a67d0
mov eax, dword [eax]
push eax
push 0x71ab20
lea eax, [ebp - 0x502a]
push 0x10
push eax
call fcn.00450980
lea eax, [esi + 0x140]
add esp, 0x10
cmp dword [eax + 0x14], 0xf
jbe 0x4a67f5
mov eax, dword [eax]
push eax
push 0x71ab20
lea eax, [ebp - 0x501a]
push 0x10
push eax
call fcn.00450980
mov ax, word [esi + 0x13a]
add esp, 0x10
xor ax, word [ebp - 0x503c]
xor edx, edx
mov word [ebp - 0x502c], ax
nop dword [eax]
nop word [eax + eax]
mov cl, byte [ebp + edx - 0x5048]
lea eax, [ebp - 0x502a]
xor byte [eax + edx], cl
lea eax, [ebp - 0x501a]
xor byte [eax + edx], cl
lea eax, [ebp - 0x500a]
xor byte [eax + edx], cl
inc edx
cmp edx, 0x10
jl 0x4a6830
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x5048]
xor byte [ebp + ecx - 0x4ffa], al
mov al, byte [ebp + ecx - 0x5047]
xor byte [ebp + ecx - 0x4ff9], al
mov al, byte [ebp + ecx - 0x5046]
xor byte [ebp + ecx - 0x4ff8], al
mov al, byte [ebp + ecx - 0x5045]
xor byte [ebp + ecx - 0x4ff7], al
add ecx, 4
cmp ecx, 0x10
jl 0x4a6860
call fcn.004713e0
mov esi, eax
lea eax, [ebp - 0x5050]
push eax
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00452ce0
mov ecx, esi
call fcn.004a23f0
call fcn.004713e0
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.00452ce0
mov ecx, esi
call fcn.00472c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006def69
mov esp, ebp
pop ebp
ret
call fcn.006e51cf
int3