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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebac5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1011cfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], 0xf
jbe 0x1003999d
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp + 0xc], edx
cmp dword [edi + 0x10], ecx
jbe 0x100399c8
mov esi, dword [ebp - 0x14]
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x100399b0
mov esi, dword [ebp - 0x10]
mov dword [ebp + 0xc], edx
push edx
push edi
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.10039790
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100399f8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x7ffffff
je 0x10039bea
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.100be635
mov esi, eax
xorps xmm0, xmm0
lea ecx, [esi + 8]
mov dword [ebp - 0x24], esi
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
add esp, 4
mov dword [ecx + 0x14], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
jbe 0x10039a50
mov edi, dword [edi]
cmp eax, 0x7fffffff
ja 0x10039bf4
cmp eax, 0xf
ja 0x10039a75
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
movups xmm0, xmmword [edi]
movups xmmword [ecx], xmm0
jmp 0x10039ac3
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10039a86
mov eax, closesocket
jmp 0x10039a90
mov edx, 0x16
cmp eax, edx
cmovb eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.10003580
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x1c], ecx
mov dword [esi + 8], eax
lea ecx, [edx + 1]
mov dword [esi + 0x18], edx
push ecx
push edi
push eax
call fcn.100c0230
mov edx, dword [ebp - 0x10]
add esp, 0x14
lea eax, [edx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x1c]
inc eax
movss xmm3, dword [edx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f47c0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f47c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10039b84
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.100cf990
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100be9f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10039b60
cmp edi, 0x200
jae 0x10039b5e
shl edi, 3
cmp edi, ecx
jae 0x10039b60
mov edi, ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003a050
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039790
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x10039b8a
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [eax], esi
mov dword [ecx + 4], esi
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 0x18]
and eax, edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ecx + eax*8]
cmp edx, dword [edi]
jne 0x10039bb7
mov dword [ecx + eax*8], esi
jmp 0x10039bca
cmp edx, dword [ebp - 0x18]
jne 0x10039bc1
mov dword [ecx + eax*8], esi
jmp 0x10039bce
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10039bce
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100a706a
call fcn.10007520
int3