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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10151ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1020d838]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10215c58], 0
mov edi, dword [ebp + 8]
jne 0x1005b169
mov eax, dword [0x10215914]
test al, 1
jne 0x1005b169
or eax, 1
mov dword [0x10215914], eax
mov dword [ebp - 4], 0
mov dword [0x102158f0], 0
mov dword [0x102158f4], 0
mov dword [0x102158f8], 0
mov dword [0x102158fc], 0
mov dword [0x10215900], 0
mov dword [0x10215904], 0
mov dword [0x10215908], 0
mov dword [0x1021590c], 0
mov dword [0x10215910], 0
push 0x80
mov ecx, 0x10215908
mov byte [ebp - 4], 3
mov dword [0x10215c58], 0x102158f0
call fcn.10052c20
mov eax, dword [0x102158f8]
sub eax, dword [0x102158f0]
sar eax, 2
cmp eax, 0x80
jae 0x1005b131
push 0x80
mov ecx, 0x102158f0
call fcn.10052c20
mov eax, dword [0x10215904]
sub eax, dword [0x102158fc]
sar eax, 2
cmp eax, 0x80
jae 0x1005b155
push 0x80
mov ecx, 0x102158fc
call fcn.10052c20
push 0x101561b0
call fcn.101203b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
sub esp, 0x18
mov ecx, esp
push edi
call fcn.10009da0
lea eax, [ebp - 0x28]
push eax
call fcn.10046c00
push 0x78
mov dword [ebp - 4], 4
call fcn.1011fc95
mov esi, eax
add esp, 0x20
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x1005b1f8
push edi
mov ecx, esi
call fcn.10009da0
xorps xmm0, xmm0
lea eax, [esi + 0x40]
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 6
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_c123c834b6400069760a5c20c75c480d___void___.0
mov dword [eax + 0x24], eax
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
jmp 0x1005b1fa
xor esi, esi
mov byte [esi + 0x30], 1
mov ecx, dword [0x10215c58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], esi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1005b21b
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1005b228
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.10048130
mov esi, dword [ebp - 0x30]
mov edi, dword [0x10215c58]
lea eax, [ebp - 0x28]
add edi, 0x18
mov edx, 0x811c9dc5
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], edi
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1005b265
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x1005b250
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], edx
cmp eax, dword [edi + 8]
je 0x1005b278
mov dword [eax], edx
add dword [edi + 4], 4
jmp 0x1005b284
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.10048130
mov eax, dword [0x10215c58]
lea edi, [eax + 0xc]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x51eb851f
sar ecx, 2
mul ecx
mov eax, dword [edi + 4]
shr edx, 5
mov dword [ebp - 0x2c], edx
cmp eax, dword [edi + 8]
je 0x1005b2b1
mov dword [eax], edx
add dword [edi + 4], 4
jmp 0x1005b2bd
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.10048130
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1005b2ed
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b2e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b30a
push ecx
push edx
call fcn.1011fcc5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011fcd3
mov esp, ebp
pop ebp
ret
call fcn.1012687f
int3