Function at 0x5439a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0xa8], eax
movsx ebx, byte [edi + 0xb]
test ebx, ebx
jns 0x5439cd
mov ebx, dword [edi + 4]
mov edi, dword [edi]
test ebx, ebx
js 0x543f09
sete al
test edi, edi
setne cl
or cl, al
je 0x543f10
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
movapd xmm0, xmmword [0x62ed40]
movupd xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], 0x621254
push ebx
push edi
call fcn.0052ec60
add esp, 8
test eax, eax
je 0x543b2a
mov esi, eax
mov ebx, 2
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
xor eax, eax
cmp edi, fcn.00560430
je 0x543a3e
mov ecx, edi
call dword [0x63e1cc]
mov ecx, esi
call edi
cmp ebx, eax
jne 0x543ed8
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x543ab3
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
cmp edi, 0x560440
jne 0x543acb
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov edx, ecx
sar edx, 2
lea edi, [edx - 1]
cmp edi, ebx
jne 0x543ed8
cmp ebx, 1
je 0x543f26
cmp edx, 1
jbe 0x543f02
mov edx, dword [esp]
cmp dword [eax + 4], edx
jne 0x543ed8
mov eax, dword [eax + ecx - 8]
cmp eax, dword [esp + 4]
jne 0x543ed8
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call dword [0x63e1cc]
mov ecx, esi
push ebx
push dword [esp + 8]
push dword [esp + 8]
call edi
test al, al
jne 0x543ab3
jmp 0x543ed8
mov byte [eax + 2], 0
mov word [eax], 0
jmp 0x543b13
cmp ecx, 0x3f
je 0x543b13
add eax, esi
cmp ecx, 0x3c
je 0x543ae9
mov edx, 0x3f
sub edx, ecx
push edx
push 0
push eax
call fcn.00567640
add esp, 0xc
lea eax, [esp + 0x48]
push 1
push esi
push eax
call fcn.004e3480
add esp, 0xc
xor eax, eax
jmp 0x543bb6
xorpd xmm0, xmm0
lea esi, [esp + 0x60]
movupd xmmword [esi + 0x34], xmm0
movupd xmmword [esi + 0x28], xmm0
movupd xmmword [esi + 0x18], xmm0
movupd xmmword [esi + 8], xmm0
movupd xmmword [esi - 8], xmm0
movapd xmm0, xmmword [0x62e720]
movupd xmmword [esi - 0x18], xmm0
test ebx, ebx
je 0x543b8d
lea eax, [ebx*8]
mov ecx, ebx
shr ecx, 0x1d
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
cmp ebx, 0x40
jae 0x543e37
mov eax, ebx
mov dword [esp + 0xa0], eax
push eax
push edi
push esi
call fcn.005670c0
add esp, 0xc
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov byte [esp + ecx + 0x60], 0x80
lea eax, [ecx + 1]
cmp eax, 0x39
mov dword [esp + 4], edx
jae 0x543af4
cmp eax, 0x38
je 0x543bcb
mov ecx, 0x38
sub ecx, eax
add eax, esi
push ecx
push 0
push eax
call fcn.00567640
add esp, 0xc
lea edi, [esp + 0x48]
mov dword [edi + 0x50], ebx
mov eax, dword [esp + 4]
mov dword [edi + 0x54], eax
push 1
push esi
push edi
call fcn.004e3480
add esp, 0xc
mov eax, dword [edi]
bswap eax
push eax
call fcn.00531b20
add esp, 4
test al, al
je 0x543ef6
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, 0x52afc0
je 0x543cc4
mov ecx, esi
call dword [0x63e1cc]
lea ecx, [esp + 0x24]
call esi
push eax
call fcn.00531cf0
add esp, 4
mov esi, eax
cmp dword [esp + 0x3c], 0
je 0x543e98
mov dword [esp + 0x48], 0
mov edi, dword [0x6550b0]
test edi, edi
je 0x543e63
lea ebx, [esp + 0x44]
mov ecx, edi
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x44]
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x4c]
push ebx
call fcn.00532b70
mov ebx, dword [ebx]
test ebx, ebx
je 0x543e63
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 8]
cmp esi, method.std::__Cr::basic_streambuf_char__struct_std::__Cr::char_traits_char__.virtual_4
je 0x543c98
mov ecx, esi
call dword [0x63e1cc]
lea ecx, [esp + 0x24]
push ebx
call esi
push ebx
call fcn.00532290
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x543cbb
xor edx, edx
cmp esi, ebx
sete dl
mov ecx, edi
push edx
push eax
call fcn.00531bb0
mov ebx, dword [esp + 0x30]
jmp 0x543a23
push 0x14
call fcn.00562bc5
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, esi
push eax
call fcn.0052b1f0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [esp + 0x38]
sub esp, 8
movsd qword [esp], xmm0
call fcn.0058f970
add esp, 8
fstp qword [esp + 0x18]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp ecx, 4
jbe 0x543f17
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 8], xmm0
mov ebx, dword [esp + 0x34]
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
lea edx, [edi - 1]
cmp edx, 3
mov dword [esp], esi
jb 0x543dee
add edi, 0xfffffffd
mov esi, 2
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
sub esp, 8
movsd qword [esp], xmm0
call fcn.0058f970
add esp, 8
fstp qword [esp + 0x48]
lea eax, [esp + 0x48]
push eax
call fcn.00501440
add esp, 4
mov eax, dword [esp]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
sub eax, ecx
sar eax, 2
cmp eax, esi
jbe 0x543f17
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 8]
subsd xmm1, xmm0
movd xmm2, edi
por xmm2, xmmword [0x626540]
subsd xmm2, qword [0x626550]
divsd xmm1, xmm2
addsd xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.0058f9c0
fstp qword [esp]
call fcn.0058f91d
add esp, 8
fstp qword [esp + 0x10]
cvttsd2si eax, qword [esp + 0x10]
cmp ebx, eax
lea ebx, [ebx + 1]
cmovl ebx, eax
mov eax, dword [esp + 4]
mov dword [eax + esi*4], ebx
inc esi
dec edi
jne 0x543d40
mov esi, dword [esp]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x543f17
mov dword [eax - 4], 0x7fffffff
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebx, edx
sub ebx, ecx
je 0x543f34
js 0x543f3b
shr ebx, 2
movzx esi, bl
movzx edi, byte [ecx]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x62fd30]
inc ecx
cmp ecx, edx
jne 0x543e15
mov eax, dword [esp]
mov dword [eax + 0xc], ebx
jmp 0x543c1a
mov eax, ebx
shr eax, 6
lea ecx, [esp + 0x48]
push eax
push edi
push ecx
call fcn.004e3480
add esp, 0xc
mov eax, ebx
and eax, 0x3f
je 0x543b8d
and ebx, 0x7fffffc0
add edi, ebx
jmp 0x543b7b
lea eax, [esp + 0x24]
and byte [eax + 0x1c], 0xbf
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x63e1cc]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24]
push esi
mov esi, eax
push eax
call ebx
mov ebx, dword [esi]
lea eax, [esp + 0x24]
mov eax, dword [eax + 0x1c]
lock or dword [ebx + 8], eax
jmp 0x543c7a
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
lea ecx, [eax - 1]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub edx, ecx
cmp edx, 4
jbe 0x543f02
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
lea edx, [eax - 2]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x543f02
mov eax, dword [ecx + eax*4 - 8]
mov dword [esp + 0x38], eax
jmp 0x543c30
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004fda90
add esp, 8
push eax
push str.Histogram.MismatchedConstructionArguments
call fcn.00402cd0
add esp, 8
call fcn.005c56a0
mov esi, eax
jmp 0x543ab3
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
jmp 0x543f1c
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x543f1c
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x543f1c
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x622e92
call fcn.0058fdd0
cmp dword [esp], 0xffffffff
jne 0x543ed8
xor eax, eax
dec eax
jmp 0x543aa9
xor ebx, ebx
jmp 0x543e2c
int3