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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b385
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ebx
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x10], edi
jb 0x404fa0
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x404fc2
lea esp, [esp]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x404fb0
push esi
push ebx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00404910
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404ff2
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x7ffffff
je 0x405192
lea eax, [edi + 4]
mov dword [ebp - 0x24], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.004e5c9b
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
mov ecx, dword [ebx]
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
fld dword [ebx]
mov dword [ebp - 0x10], eax
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x40508e
fadd dword [0x51a9b0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x4050aa
fadd dword [0x51a9b0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
ja 0x4050c2
mov edx, dword [ebp - 0x1c]
fstp st(0)
mov eax, dword [ebp - 0x10]
fstp st(0)
jmp 0x405137
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.004f1910
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
fldcw word [ebp + 0xe]
cmp eax, ecx
jae 0x40511a
cmp eax, 0x200
jae 0x405118
shl eax, 3
cmp eax, ecx
jae 0x40511a
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00405cd0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404910
mov edx, dword [eax]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x405160
mov dword [ecx + eax*8], edi
jmp 0x405172
cmp esi, edx
jne 0x405169
mov dword [ecx + eax*8], edi
jmp 0x405176
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x405176
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004e3511
int3