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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c8a5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x43e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x18], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.0042b581
mov ecx, dword [ebp + 0xc]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
add esp, 4
mov edx, dword [ecx]
mov ecx, edx
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea eax, [ecx + 1]
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b0a1
sub ecx, dword [ebp + 0xc]
push ecx
push edx
lea ecx, [esi + 8]
call fcn.00405f60
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [esi + 0x20], al
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 1
jbe 0x40b0d3
mov edx, dword [esi + 8]
xor ecx, ecx
mov edi, 0x811c9dc5
test eax, eax
je 0x40b0f4
mov esi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x40b0e0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004070b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b145
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov byte [edi + 4], 0
test esi, esi
je 0x40b130
lea eax, [esi + 8]
push eax
push dword [ebp - 0x18]
call fcn.0040af40
push 0x24
push esi
call fcn.0042b5b1
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
cmp eax, 0x71c71c7
je 0x40b26d
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x437740]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x437740]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40b20a
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0042b860
mov ecx, dword [ebp - 0x10]
mov edx, 8
cmp eax, edx
cmova edx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, edx
jae 0x40b1ec
cmp eax, 0x200
jae 0x40b1ea
shl eax, 3
cmp eax, edx
jae 0x40b1ec
mov eax, edx
push eax
call fcn.004125d0
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004070b0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x40b20d
mov ecx, dword [ebp - 0x20]
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 + 0x10], eax
mov eax, dword [edx + 0x18]
and eax, edi
mov dword [ebp + 0xc], ecx
mov ecx, dword [edx + 0xc]
mov edi, dword [ebp - 0x18]
mov edx, dword [ecx + eax*8]
cmp edx, dword [edi]
jne 0x40b23a
mov dword [ecx + eax*8], esi
jmp 0x40b24d
cmp edx, dword [ebp + 0xc]
jne 0x40b244
mov dword [ecx + eax*8], esi
jmp 0x40b251
mov edx, dword [ebp + 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40b251
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 0xc
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3