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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x696398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov esi, dword [ecx]
mov dword [ebp - 0x454], esi
mov esi, 4
mov edx, dword [ebp - 0x454]
test edx, edx
jle 0x4f7e57
nop dword [eax]
mov ecx, dword [ecx + esi]
add esi, 4
mov eax, dword [eax + 0x1434]
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x470], ecx
mov esi, dword [eax]
mov dword [ebp - 0x45c], esi
cmp esi, eax
je 0x4f7e2f
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov edx, dword [edi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x44c], edi
movups xmmword [ebp - 0x428], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x450], edx
jb 0x4f7a5e
mov edi, dword [edi]
mov dword [ebp - 0x44c], edi
cmp edx, 0x7fffffff
ja 0x4f7e7e
cmp edx, 0x10
jae 0x4f7a9b
movups xmm0, xmmword [edi]
mov eax, 0xf
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x448], eax
movups xmmword [ebp - 0x428], xmm0
mov edi, dword [ebp - 0x428]
mov dword [ebp - 0x414], eax
jmp 0x4f7b42
mov eax, edx
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4f7ab7
mov eax, closesocket
mov dword [ebp - 0x448], eax
lea ecx, [eax + 1]
jmp 0x4f7ad3
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x448], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4f7aec
push ecx
call fcn.0043d6d0
mov edx, dword [ebp - 0x450]
mov edi, eax
mov eax, dword [ebp - 0x448]
add esp, 4
jmp 0x4f7b11
test ecx, ecx
je 0x4f7b09
push ecx
call fcn.00569cc5
mov edx, dword [ebp - 0x450]
mov edi, eax
mov eax, dword [ebp - 0x448]
add esp, 4
jmp 0x4f7b0b
xor edi, edi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x414], eax
lea eax, [edx + 1]
push eax
push dword [ebp - 0x44c]
mov dword [ebp - 0x428], edi
push edi
mov dword [ebp - 0x418], edx
call fcn.005a5530
mov eax, dword [ebp - 0x448]
add esp, 0xc
mov edx, dword [ebp - 0x450]
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
test edx, edx
je 0x4f7c3e
cmp eax, 0x10
lea ecx, [ebp - 0x428]
lea eax, [ebp - 0x410]
cmovae ecx, edi
setae byte [ebp - 0x441]
sub eax, ecx
mov dword [ebp - 0x44c], eax
mov edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4f7b80
mov edx, dword [ebp - 0x450]
lea eax, [edx - 1]
test eax, eax
je 0x4f7c3e
nop
cmp byte [ebp - 0x441], 0
lea ecx, [ebp - 0x428]
cmovne ecx, edi
cmp byte [ecx + eax], 0x2f
je 0x4f7bd7
cmp byte [ebp - 0x441], 0
lea ecx, [ebp - 0x428]
cmovne ecx, edi
cmp byte [ecx + eax], 0x5c
je 0x4f7bd7
test eax, eax
je 0x4f7c3e
sub eax, 1
jne 0x4f7ba0
jmp 0x4f7c3e
lea ecx, [eax + 1]
cmp ecx, edx
jae 0x4f7c34
lea eax, [ebp - 0x410]
sub eax, ecx
mov dword [ebp - 0x44c], eax
mov eax, edx
mov esi, dword [ebp - 0x44c]
sub eax, ecx
mov dword [ebp - 0x450], eax
nop dword [eax]
cmp byte [ebp - 0x441], 0
lea eax, [ebp - 0x428]
cmovne eax, edi
mov al, byte [eax + ecx]
mov byte [esi + ecx], al
inc ecx
cmp ecx, edx
jb 0x4f7c00
mov eax, dword [ebp - 0x450]
mov esi, dword [ebp - 0x45c]
cmp eax, 0x400
jae 0x4f7e74
jmp 0x4f7c36
xor eax, eax
mov byte [ebp + eax - 0x410], 0
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x440], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f7c65
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.0043e440
or dword [ebp - 0x464], 1
cmp dword [ebp - 0x42c], 0x10
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x440]
cmovae edx, eax
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x430]
setae byte [ebp - 0x441]
add eax, edx
mov byte [ebp - 4], 1
xor ecx, ecx
cmp edx, eax
jae 0x4f7cd6
mov esi, eax
nop
movzx eax, byte [edx]
inc edx
imul ecx, ecx, 0x1000193
xor ecx, eax
cmp edx, esi
jb 0x4f7cc0
mov esi, dword [ebp - 0x45c]
cmp dword [ebp - 0x470], ecx
je 0x4f7d86
cmp byte [ebp - 0x441], 0
mov byte [ebp - 4], 0
je 0x4f7d24
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f7d1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f7e79
push ecx
push edx
call fcn.00569caa
add esp, 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4f7d61
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4f7d57
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f7e79
push ecx
push edi
call fcn.00569caa
add esp, 8
mov eax, dword [ebp - 0x458]
mov esi, dword [esi]
mov dword [ebp - 0x45c], esi
cmp esi, dword [eax + 0x1434]
jne 0x4f7a20
mov edx, dword [ebp - 0x454]
jmp 0x4f7e35
mov ecx, dword [esi + 0x20]
call fcn.004fd5d0
mov ecx, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x460]
add ecx, esi
push ecx
mov ecx, eax
call fcn.00502c10
add esi, eax
mov byte [ebp - 4], 0
cmp byte [ebp - 0x441], 0
je 0x4f7de8
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f7dde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f7e79
push ecx
push edx
call fcn.00569caa
add esp, 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4f7e21
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4f7e17
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f7e79
push ecx
push edi
call fcn.00569caa
add esp, 8
mov eax, dword [ebp - 0x458]
mov edx, dword [ebp - 0x454]
jmp 0x4f7e3b
mov eax, dword [ebp - 0x458]
mov esi, dword [ebp - 0x460]
mov ecx, dword [ebp - 0x468]
inc ecx
mov dword [ebp - 0x468], ecx
cmp ecx, edx
jge 0x4f7e57
mov ecx, dword [ebp - 0x46c]
jmp 0x4f79f0
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.00569c79
mov esp, ebp
pop ebp
ret 4
call fcn.0056a270
call fcn.005afa70
call fcn.0043d580
int3