Function at 0x49acf0
Capabilities:
Encode data using xor

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 0x528b9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x860
push esi
push edi
mov eax, edx
mov dword [ebp - 0x24], ecx
xor edx, edx
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x2c], edx
xor edi, edi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebx + 0x18]
mov ecx, eax
push esi
push dword [ebx + 0xc]
call fcn.0049aa80
mov eax, dword [0x557f84]
add esp, 0x10
push edi
push edi
push edi
push edi
push esi
call eax
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
jne 0x49ad89
lea esi, [edi + 1]
jmp 0x49af79
cmp byte [ebx + 0xc], 0
mov eax, 0x80803000
mov ecx, dword [0x557f8c]
mov esi, connect
push 0
cmove eax, esi
push eax
push 0
push 0
push dword [ebp - 0x24]
push edx
call ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x49adbe
lea esi, [eax + 2]
jmp 0x49af70
mov eax, dword [0x557f70]
lea edx, [ebp - 0x18]
push edx
push 0x800
lea edx, [ebp - 0x870]
push edx
push ecx
call eax
test eax, eax
je 0x49ae67
nop
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x49ae5a
xor esi, esi
test eax, eax
je 0x49ae31
mov ecx, dword [ebp - 0x20]
nop dword [eax + eax]
lea eax, [ebp - 0x870]
add eax, esi
cmp edi, ecx
je 0x49ae16
mov al, byte [eax]
mov byte [edi], al
inc edi
mov dword [ebp - 0x38], edi
jmp 0x49ae2b
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00402d80
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x49ae00
mov eax, dword [0x557f70]
lea ecx, [ebp - 0x18]
push ecx
push 0x800
lea ecx, [ebp - 0x870]
push ecx
push dword [ebp - 0x24]
call eax
test eax, eax
jne 0x49ade0
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
jmp 0x49ae6b
mov esi, dword [ebp - 0x3c]
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esi
jmp 0x49ae6e
xor esi, esi
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x49ae84
xor edx, edx
mov dword [ebp - 0x28], 5
cmp ecx, eax
cmovne edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
xorps xmm0, xmm0
mov word [ebp - 0x6b], 0x8e9c
movq qword [ebp - 0x69], xmm0
xor ecx, ecx
mov byte [ebp - 0x61], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 2
jb 0x49ae98
mov dword [0x558548], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x6b]
mov byte [ebp - 0x69], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x40], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49aed0
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00402b20
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push dword [ebx + 0x10]
call fcn.004fda60
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x49af37
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49af2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49afbe
push ecx
push edx
call fcn.004f7c11
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test eax, eax
je 0x49af64
push eax
sub edi, esi
push edi
push 1
push esi
call fcn.00505868
push dword [ebp - 0x14]
call fcn.005012e8
add esp, 0x14
push dword [ebp - 0x24]
call dword [0x557f6c]
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x30]
call dword [0x557f6c]
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x49afa9
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x49af9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49afc3
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
call fcn.004fceb0
int3