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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9d55
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10143964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x14], 0x10
jb 0x1005685d
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp + 0xc], edx
cmp dword [esi + 0x10], ecx
jbe 0x10056888
mov edi, dword [ebp - 0x14]
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x10056870
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xc], edx
push edx
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.100561a0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100568b8
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 [edi + 8], 0x6666666
je 0x10056a6d
lea eax, [edi + 4]
mov dword [ebp - 0x24], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.100f0182
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [esi]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
cmp dword [esi + 0x1c], 0
je 0x10056943
mov eax, dword [esi + 0x18]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x24], eax
lock inc dword [eax + 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
mov esi, dword [edx + 0x1c]
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100b50]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10100b50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10056a07
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100f0700
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x100569e3
cmp esi, 0x200
jae 0x100569e1
shl esi, 3
cmp esi, ecx
jae 0x100569e3
mov esi, ecx
mov ecx, dword [ebp - 0x10]
push esi
call fcn.10060bc0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100561a0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x10056a0d
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x24]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x10056a3a
mov dword [ecx + eax*8], edi
jmp 0x10056a4d
cmp edx, dword [ebp - 0x14]
jne 0x10056a44
mov dword [ecx + eax*8], edi
jmp 0x10056a51
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10056a51
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3