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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c70a
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x8f9064]
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 dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x9c], ebx
mov esi, ecx
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa0], ebx
push eax
mov dword [ebp - 0x88], str.presence
mov dword [ebp - 0x84], 8
call fcn.005618f0
test al, al
jne 0x5376a9
sub esp, 8
mov ecx, 0x8ab44c
mov eax, esp
mov dword [eax], str.The_remote_configuration_does_not_have_presence_configuration_section.
mov dword [eax + 4], 0x46
call fcn.004a31d0
add esp, 8
jmp 0x537a7d
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], str.Object
push eax
push str.presence
mov ecx, esi
mov dword [ebp - 0x8c], 6
call fcn.004519b0
mov eax, dword [str.presence]
mov edx, dword [0x8aa510]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call dword [sym.imp.PocoJSON.dll_public:_class_Poco::Dynamic::Var___thiscall_Poco::JSON::Object::get_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
push str.presence
push ecx
mov edx, eax
lea ecx, [ebp - 0xf0]
call fcn.00546150
add esp, 8
lea ecx, [ebp - 0x78]
call dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::Dynamic::Var::destructor_void_]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x537770
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x537766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x537766
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0056d673
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x88], str.intervals
mov dword [ebp - 0x84], 9
call fcn.005618f0
test al, al
jne 0x5377d7
sub esp, 8
mov ecx, 0x8ab44c
mov eax, esp
mov dword [eax], str.The_remote_presence_configuration_does_not_have_intervals_values.
mov dword [eax + 4], 0x41
call fcn.004a31d0
add esp, 8
jmp 0x537a71
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xf0]
call dword [sym.imp.PocoJSON.dll_public:_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______thiscall_Poco::JSON::Object::getNames_void_]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], edi
cmp edi, eax
je 0x537a66
push ecx
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.005436e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 2
cmp eax, 2
je 0x537866
sub esp, 8
mov edx, edi
mov eax, esp
mov dword [eax], str.Number_of_presence_interval_values_for_platform__are_not_equal_to_2._Value_list_invalid.
mov dword [eax + 4], 0x5a
call fcn.00543870
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.0042b880
mov eax, dword [ebp - 0x94]
add edi, 0x18
mov byte [ebp - 4], 3
jmp 0x537800
mov esi, dword [ecx]
lea eax, [ebx + 0xf4]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x7c], eax
add eax, 4
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 6
push 0x2c
mov dword [ebp - 0x84], 0
call fcn.0056d2dd
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x84], eax
lea ebx, [eax + 8]
push edi
mov ecx, ebx
call fcn.00486a20
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], eax
mov byte [ebp - 4], 7
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x5378c6
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x5378e4
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x5378d2
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x90]
push esi
push ebx
push eax
call fcn.005465b0
cmp dword [ebp - 0x8c], 0
je 0x537941
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x5379e4
mov edx, ebx
call fcn.00480330
push 0x2c
push esi
call fcn.0056d673
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.0042b880
mov ebx, dword [ebp - 0x9c]
add edi, 0x18
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 3
jmp 0x537800
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 8]
cmp eax, 0x5d1745d
jne 0x537959
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x8ae320]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x8ae320]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
seta al
test al, al
je 0x5379c7
call fcn.00545100
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0xbc]
push esi
push ebx
push eax
call fcn.005465b0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], eax
jmp 0x5379cd
mov edx, dword [ebp - 0x90]
push dword [ebp - 0xa4]
mov dword [ebp - 0x84], 0
push edx
push esi
call fcn.00484be0
lea ecx, [ebp - 0x20]
call fcn.0042b880
mov ebx, dword [ebp - 0x9c]
add edi, 0x18
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 3
jmp 0x537800
lea ecx, [ebp - 0xb0]
call fcn.0042b770
lea ecx, [ebp - 0xf0]
call dword [sym.imp.PocoJSON.dll_public:_void___thiscall_Poco::JSON::Object::destructor_void_]
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.0056d0b2
mov esp, ebp
pop ebp
ret