Function at 0x4dae20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8256
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x460], edx
mov eax, dword [ebp + 8]
mov esi, 4
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x464], 0
mov ecx, dword [eax]
mov dword [ebp - 0x468], ecx
xor ecx, ecx
mov dword [ebp - 0x450], ecx
cmp dword [ebp - 0x468], ecx
jle 0x4db2bd
mov edi, closesocket
mov dword [ebp - 0x470], 0xffffffff
nop dword [eax + eax]
mov eax, dword [eax + esi]
add esi, 4
cmp dword [edx + 0x1424], 0
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x45c], esi
je 0x4daee3
mov ecx, dword [edx + 0x1420]
mov eax, dword [edx + 0x1430]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4daed9
mov ecx, dword [ebp - 0x450]
add esi, 0xffffffe4
jmp 0x4daee5
mov ecx, dword [ebp - 0x450]
xor esi, esi
jmp 0x4daee5
xor esi, esi
mov dword [ebp - 0x44c], esi
test esi, esi
je 0x4db2b5
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], esi
jb 0x4daf26
mov ecx, dword [esi]
mov dword [ebp - 0x444], ecx
cmp eax, 0x10
jae 0x4daf4b
movups xmm0, xmmword [ecx]
mov edx, 0xf
mov dword [ebp - 0x458], edx
movups xmmword [ebp - 0x428], xmm0
mov edi, dword [ebp - 0x428]
jmp 0x4dafcb
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, edi
mov dword [ebp - 0x458], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4daf8f
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, dword [ebp - 0x470]
push eax
call fcn.00552cfc
add esp, 4
test eax, eax
je 0x4db2df
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4dafa2
test ecx, ecx
je 0x4dafa0
push ecx
call fcn.00552cfc
add esp, 4
mov edi, eax
jmp 0x4dafa2
xor edi, edi
mov eax, dword [ebp - 0x448]
inc eax
mov dword [ebp - 0x428], edi
push eax
push dword [ebp - 0x444]
push edi
call fcn.0058f3f0
mov eax, dword [ebp - 0x448]
add esp, 0xc
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test eax, eax
je 0x4db0da
cmp edx, 0x10
lea ecx, [ebp - 0x428]
lea eax, [ebp - 0x410]
cmovae ecx, edi
sub eax, ecx
mov dword [ebp - 0x444], eax
mov edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4db010
mov eax, dword [ebp - 0x448]
mov edx, dword [ebp - 0x458]
add eax, 0xffffffff
je 0x4db0da
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x4db065
cmp edx, 0x10
lea ecx, [ebp - 0x428]
cmovae ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x4db065
test eax, eax
je 0x4db0da
sub eax, 1
jne 0x4db032
jmp 0x4db0da
lea ecx, [eax + 1]
mov dword [ebp - 0x444], 0
cmp ecx, dword [ebp - 0x448]
jae 0x4db0d0
lea eax, [ebp - 0x410]
sub eax, ecx
mov dword [ebp - 0x454], eax
nop dword [eax + eax]
mov esi, dword [ebp - 0x454]
lea eax, [ebp - 0x428]
cmp edx, 0x10
cmovae eax, edi
inc dword [ebp - 0x444]
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, dword [ebp - 0x448]
jb 0x4db090
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x44c]
cmp eax, 0x400
jae 0x4db2da
jmp 0x4db0d2
xor eax, eax
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x440], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4db100
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00406cf0
or dword [ebp - 0x464], 1
mov eax, dword [ebp - 0x458]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x4db15d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4db153
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db2df
push ecx
push edi
call fcn.00552cbd
add esp, 8
cmp dword [ebp - 0x42c], 0x10
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x440]
cmovae edx, eax
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x430]
xor ecx, ecx
add eax, edx
xor edi, edi
cmp edx, eax
mov eax, dword [ebp - 0x430]
cmova eax, ecx
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4db1b9
mov esi, eax
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
imul ecx, ecx, 0x1000193
inc edi
xor ecx, eax
cmp edi, esi
jb 0x4db1a0
mov esi, dword [ebp - 0x44c]
cmp dword [ebp - 0x474], ecx
je 0x4db22b
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4db204
mov ecx, dword [ebp - 0x444]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db2df
push edx
push ecx
call fcn.00552cbd
add esp, 8
mov eax, dword [esi + 0x1c]
mov edi, closesocket
mov esi, eax
add eax, 0xffffffe4
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x44c], esi
jne 0x4daef3
mov esi, dword [ebp - 0x45c]
jmp 0x4db28f
mov ecx, dword [esi + 0x18]
call fcn.004dfbc0
mov ecx, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x45c]
add ecx, esi
push ecx
mov ecx, eax
call fcn.004e4e30
add esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x4db28a
mov ecx, dword [ebp - 0x444]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db2df
push edx
push ecx
call fcn.00552cbd
add esp, 8
mov edi, closesocket
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x460]
inc ecx
mov dword [ebp - 0x450], ecx
cmp ecx, dword [ebp - 0x468]
jge 0x4db2bd
mov eax, dword [ebp - 0x46c]
jmp 0x4daea0
mov esi, dword [ebp - 0x45c]
jmp 0x4db29b
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.00552cac
mov esp, ebp
pop ebp
ret 4
call fcn.005534fc
call fcn.005984ba
int3