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

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 0x10219ed6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x102e2740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x50], eax
cmp edi, eax
je 0x1005dcf0
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x48], eax
cmp esi, eax
je 0x1005dcae
nop dword [eax]
mov edx, dword [edi + 0x10]
mov eax, closesocket
sub eax, edx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
cmp eax, dword [esi + 0x10]
jb 0x1005dd12
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x1005db4f
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1005db59
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.100732c0
or dword [ebp - 0x24], 2
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0xf
lea edx, [ebp - 0x6c]
mov edi, dword [ebp - 0x6c]
seta cl
mov dword [ebp - 0x44], edi
cmova eax, edi
mov dword [ebp - 0x2c], 0x811c9dc5
test cl, cl
cmovne edx, edi
mov edi, dword [ebp - 0x5c]
add edi, edx
cmp eax, edi
je 0x1005dbb2
mov edx, dword [ebp - 0x2c]
nop dword [eax]
movsx ecx, byte [eax]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jne 0x1005dba0
jmp 0x1005dbb7
mov edx, 0x811c9dc5
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x2c], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x28]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.1007ed50
mov edi, dword [eax + 4]
test edi, edi
jne 0x1005dc11
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0x58]
cmp eax, 0xf
jbe 0x1005dc47
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005dc3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005dd17
push ecx
push edx
call fcn.101e9982
add esp, 8
mov eax, dword [ebp - 0x28]
cmp edi, dword [eax + 4]
je 0x1005dc57
lea eax, [edi + 0xc]
mov dword [ebp - 0x40], eax
jmp 0x1005dc5b
mov byte [ebp - 0x3c], 1
lea eax, [esi + 0x18]
push eax
call fcn.10064a60
cmp byte [esi + 0x19], 0
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
je 0x1005dc7d
lea eax, [esi + 0x1a]
push eax
call fcn.10064a60
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1005dc92
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax], xmm0
add dword [ebp - 0x1c], 0x10
jmp 0x1005dc9f
lea ecx, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.10078450
mov edi, dword [ebp - 0x30]
add esi, 0x20
cmp esi, dword [ebp - 0x48]
jne 0x1005db20
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1005dccd
mov edx, eax
call fcn.10080510
add esp, 4
add dword [esi + 4], 0xc
jmp 0x1005dcd5
push eax
mov ecx, esi
call fcn.100785c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.100696f0
add edi, 0x28
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x50]
jne 0x1005dae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e9427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1004c040
call fcn.101fdc69
int3