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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8955
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x10118fc0]
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 0x10039a0d
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 0x10039a38
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 0x10039a20
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.10039800
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10039a68
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 0x10039c5a
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.100bb50a
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 0x10039ac0
mov edi, dword [edi]
cmp eax, 0x7fffffff
ja 0x10039c64
cmp eax, 0xf
ja 0x10039ae5
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
movups xmm0, xmmword [edi]
movups xmmword [ecx], xmm0
jmp 0x10039b33
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10039af6
mov eax, closesocket
jmp 0x10039b00
mov edx, 0x16
cmp eax, edx
cmovb eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.10003a60
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.100bd0e0
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 + 0x100f17a0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f17a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10039bf4
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.100cc840
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100bb8c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10039bd0
cmp edi, 0x200
jae 0x10039bce
shl edi, 3
cmp edi, ecx
jae 0x10039bd0
mov edi, ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003a0c0
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.10039800
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x10039bfa
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 0x10039c27
mov dword [ecx + eax*8], esi
jmp 0x10039c3a
cmp edx, dword [ebp - 0x18]
jne 0x10039c31
mov dword [ecx + eax*8], esi
jmp 0x10039c3e
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10039c3e
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.100a3f19
call fcn.10007860
int3