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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100332a0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1004805c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x114]
mov ebx, dword [ebp + 8]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], 0
test eax, eax
je 0x100058cb
xor edi, edi
mov dword [ebp - 0x58], edi
nop
lea ecx, [ebp - 0x50]
call fcn.1001e760
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
mov ecx, dword [esi + 0x15c]
add ecx, edi
push ecx
call fcn.1001f080
test al, al
je 0x10005816
mov esi, dword [esi + 0x114]
add esi, edi
mov dword [ebp - 0x60], esi
cmp dword [esi + 0x14], 8
jb 0x100056ae
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
mov edx, dword [esi + 0x10]
mov edi, 0x811c9dc5
mov ecx, 0
add edx, edx
je 0x100056d6
mov ebx, dword [ebp - 0x60]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x100056c2
mov ebx, dword [ebp - 0x54]
push edi
push esi
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
call fcn.10006780
cmp dword [ebp - 0x68], 0
jne 0x10005810
cmp dword [ebx + 8], 0x2c8590b
je 0x10005916
lea eax, [ebx + 4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
push 0x5c
mov dword [ebp - 0x70], 0
call fcn.1002f3d0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
lea eax, [ebx + 8]
push esi
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.10002af0
mov byte [ebp - 4], 2
lea esi, [ebx + 0x20]
mov dword [ebp - 0x78], esi
lea ecx, [esi + 0xc]
mov eax, dword [ebp - 0x50]
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 8], eax
lea eax, [ebp - 0x44]
push eax
call fcn.10002af0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x24]
call fcn.10002af0
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 4
mov eax, dword [esi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100425a0]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100425a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
seta al
test al, al
je 0x100057cf
mov ecx, esi
call fcn.10006440
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10006780
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
jmp 0x100057d2
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [esi + 8], eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x100058e9
mov dword [ecx + eax*8], ebx
mov dword [ecx + eax*8 + 4], ebx
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10005857
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000584d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005910
push edx
push ecx
call fcn.1002f71a
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x100058a1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005897
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005910
push edx
push ecx
call fcn.1002f71a
add esp, 8
mov eax, dword [esi + 0x118]
add edi, 0x18
sub eax, dword [esi + 0x114]
mov ecx, dword [ebp - 0x64]
sar eax, 3
inc ecx
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], edi
cmp ecx, eax
jb 0x10005670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002f3c2
mov esp, ebp
pop ebp
ret 4
cmp esi, edx
jne 0x100058f5
mov dword [ecx + eax*8], ebx
jmp 0x1000580d
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10005908
mov dword [ecx + eax*8 + 4], ebx
mov ebx, dword [ebp - 0x54]
jmp 0x10005816
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.unordered_map_set_too_long
call fcn.1002da1a
int3