Function at 0x53e480
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, 0x100
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [esp + 0xf8], ecx
cmp edi, 1
jne 0x53e4b5
cmp edx, 2
je 0x53ed22
cmp edi, eax
jl 0x53ec67
mov cl, 1
mov dword [esp + 4], ecx
mov ecx, edi
mov edi, eax
test edi, edi
jle 0x53eb3b
cmp ecx, 0x7fffffff
je 0x53ec5d
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], ecx
cmp edx, 0x3eb
jae 0x53ebc2
cmp ebx, edi
je 0x53ec76
cmp edx, 3
jb 0x53ec86
mov eax, ebx
sub eax, edi
add eax, 2
cmp edx, eax
ja 0x53ec86
cmp byte [esp + 4], 0
je 0x53ec86
mov esi, dword [ebp + 0x20]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 0x6222d8
mov dword [esp + 0x48], 0
jb 0x53ed31
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [esp + 0x48], esi
push ecx
push dword [esp + 0xc]
call fcn.0052c9c0
add esp, 8
mov esi, eax
test eax, eax
je 0x53e6d5
mov ebx, dword [esp + 0x34]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
xor eax, eax
cmp edi, fcn.00562fa0
je 0x53e5ba
mov ecx, edi
call dword [0x63e64c]
mov ecx, esi
call edi
mov dword [esp + 4], esi
cmp ebx, eax
jne 0x53ecdb
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x53e637
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
cmp edi, 0x562fb0
jne 0x53e677
mov eax, dword [ecx + 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
mov ebx, dword [esp + 8]
jne 0x53ecdb
cmp edi, 2
jb 0x53ed15
cmp edx, 1
jbe 0x53ec40
cmp dword [eax + 4], esi
jne 0x53ecdb
mov eax, dword [eax + ecx - 8]
cmp eax, ebx
jne 0x53ecdb
mov dword [esp + 0x28], 0x6222d8
mov eax, dword [esp + 0x48]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x53ed07
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.00568175
mov eax, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call dword [0x63e64c]
mov ecx, dword [esp + 4]
push ebx
push dword [esp + 0xc]
push esi
call edi
test al, al
jne 0x53e637
jmp 0x53ecdb
mov byte [eax + 2], 0
mov word [eax], 0
jmp 0x53e6be
cmp ecx, 0x3f
je 0x53e6be
add eax, esi
cmp ecx, 0x3c
je 0x53e694
mov edx, 0x3f
sub edx, ecx
push edx
push 0
push eax
call fcn.00569910
add esp, 0xc
lea eax, [esp + 0x50]
push 1
push esi
push eax
call fcn.004dde80
add esp, 0xc
xor eax, eax
jmp 0x53e763
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
xorps xmm0, xmm0
lea esi, [esp + 0x68]
movups xmmword [esi + 0x34], xmm0
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 8], xmm0
movups xmmword [esi - 8], xmm0
movapd xmm0, xmmword [0x62f520]
movupd xmmword [esi - 0x18], xmm0
test ebx, ebx
je 0x53e73a
lea eax, [ebx*8]
mov ecx, ebx
shr ecx, 0x1d
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
cmp ebx, 0x40
jae 0x53eadd
mov eax, ebx
mov dword [esp + 0xa8], eax
push eax
push edi
push esi
call fcn.00569390
add esp, 0xc
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x64]
mov byte [esp + ecx + 0x68], 0x80
lea eax, [ecx + 1]
cmp eax, 0x39
jae 0x53e69f
cmp eax, 0x38
je 0x53e778
mov ecx, 0x38
sub ecx, eax
add eax, esi
push ecx
push 0
push eax
call fcn.00569910
add esp, 0xc
lea edi, [esp + 0x50]
mov eax, dword [esp + 4]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ebx
push 1
push esi
push edi
call fcn.004dde80
add esp, 0xc
mov ebx, dword [edi]
mov edi, dword [0x64a734]
cmp edi, 1
jbe 0x53ec11
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x53ebb6
mov eax, dword [0x64a73c]
test eax, eax
je 0x53e7c6
mov esi, dword [eax + 0x50]
test esi, esi
jne 0x53ecb0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
cmp esi, 0x558840
je 0x53e897
mov ecx, esi
call dword [0x63e64c]
lea ecx, [esp + 0x28]
call esi
push eax
call fcn.004f7340
add esp, 4
mov esi, eax
cmp dword [esp + 0x40], 0
je 0x53eb6e
mov dword [esp + 0x50], 0
mov edi, dword [0x655080]
test edi, edi
je 0x53eb06
lea ebx, [esp + 0x4c]
mov ecx, edi
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x48]
push esi
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x50]
push ebx
call fcn.004f8080
mov ebx, dword [ebx]
test ebx, ebx
je 0x53eb06
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
cmp esi, method.std::__Cr::basic_streambuf_char__struct_std::__Cr::char_traits_char__.virtual_4
je 0x53e86b
mov ecx, esi
call dword [0x63e64c]
lea ecx, [esp + 0x28]
push ebx
call esi
push ebx
call fcn.004f78e0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x53e59b
xor edx, edx
cmp esi, ebx
sete dl
mov ecx, edi
push edx
push eax
call fcn.00540400
jmp 0x53e59b
push 0x14
call fcn.00564ea5
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 0x40]
xor eax, eax
mov esi, ecx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov edi, 0
mov edx, 0
inc esi
mov dword [esp + 8], ebx
je 0x53e920
mov dword [esp + 4], ecx
cmp esi, 0x40000000
jae 0x53ed55
lea eax, [esi*4]
push eax
call fcn.00564ea5
add esp, 4
mov edi, eax
mov ebx, dword [esp + 8]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea esi, [eax + esi*4]
mov dword [ebx + 8], esi
mov eax, dword [esp + 4]
lea eax, [eax*4 + 4]
xor ecx, ecx
mov edx, edi
add edx, ecx
je 0x53ec47
mov dword [edx], 0
add ecx, 4
cmp eax, ecx
jne 0x53e902
mov dword [ebx + 4], esi
xor eax, eax
mov edx, esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [esp + 0x3c]
sub esp, 8
movsd qword [esp], xmm0
mov esi, edx
call fcn.00591c60
add esp, 8
fstp qword [esp + 0x20]
sub esi, edi
cmp esi, 4
jbe 0x53ec4e
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [edi + 4], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
lea edx, [edi - 1]
cmp edx, 3
jb 0x53ea3b
add edi, 0xfffffffd
mov esi, 2
mov ecx, dword [esp + 4]
mov dword [esp + 4], ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
sub esp, 8
movsd qword [esp], xmm0
call fcn.00591c60
add esp, 8
fstp qword [esp + 0x50]
lea eax, [esp + 0x50]
push eax
call fcn.004ef3c0
add esp, 4
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ebx
sar eax, 2
cmp eax, esi
jbe 0x53ec4e
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x10]
subsd xmm1, xmm0
movd xmm2, edi
por xmm2, xmmword [0x627190]
subsd xmm2, qword [0x6271a0]
divsd xmm1, xmm2
addsd xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.00591cb0
fstp qword [esp]
call fcn.00591c0d
add esp, 8
fstp qword [esp + 0x18]
cvttsd2si eax, qword [esp + 0x18]
mov ecx, dword [esp + 4]
cmp ecx, eax
lea ecx, [ecx + 1]
cmovl ecx, eax
mov dword [ebx + esi*4], ecx
inc esi
dec edi
jne 0x53e98b
mov ebx, dword [esp + 8]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
cmp eax, ecx
je 0x53ec4e
mov dword [eax - 4], 0x7fffffff
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, eax
sub edi, esi
je 0x53ed4b
js 0x53ed52
mov ecx, edi
shr ecx, 2
mov edx, esi
and edi, 3
jne 0x53eb4d
sub esi, eax
cmp esi, 0xfffffffc
ja 0x53ead1
mov esi, 0xff
movzx edi, byte [edx]
mov ebx, ecx
and ebx, esi
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [edx + 1]
mov ebx, ecx
and ebx, esi
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [edx + 2]
mov ebx, ecx
and ebx, esi
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [edx + 3]
mov ebx, ecx
and ebx, esi
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
add edx, 4
cmp edx, eax
jne 0x53ea7b
mov eax, dword [esp + 8]
mov dword [eax + 0xc], ecx
jmp 0x53e7ed
mov eax, ebx
shr eax, 6
lea ecx, [esp + 0x50]
push eax
push edi
push ecx
call fcn.004dde80
add esp, 0xc
mov eax, ebx
and eax, 0x3f
je 0x53e73a
and ebx, 0xffffffc0
add edi, ebx
jmp 0x53e728
lea eax, [esp + 0x28]
and byte [eax + 0x1c], 0xbf
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x63e64c]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x28]
push esi
mov esi, eax
push eax
call ebx
mov ebx, dword [esi]
lea eax, [esp + 0x28]
mov eax, dword [eax + 0x1c]
lock or dword [ebx + 8], eax
jmp 0x53e84d
xor edi, edi
inc edi
mov ebx, edi
test ecx, ecx
jg 0x53e4cf
jmp 0x53e4dd
movzx ebx, byte [edx]
mov dword [esp + 4], ebx
movzx ebx, cl
xor ebx, dword [esp + 4]
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
inc edx
dec edi
jne 0x53eb4d
jmp 0x53ea6f
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
lea ecx, [eax - 1]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub edx, ecx
cmp edx, 4
jbe 0x53ec40
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
lea edx, [eax - 2]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x53ec40
mov eax, dword [ecx + eax*4 - 8]
mov dword [esp + 0x3c], eax
jmp 0x53e803
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x53e7b2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
push eax
mov esi, dword [ebp + 8]
push esi
mov ebx, eax
call fcn.0052b630
add esp, 8
push eax
push str.Histogram.TooManyBuckets.1000
call fcn.004faec0
add esp, 8
push 0
push 0x10
push str.Blink.UseCounter
push ebx
mov ebx, esi
push esi
call fcn.005357f0
add esp, 0x14
test al, al
je 0x53ed69
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jmp 0x53e4f3
push 0x64a734
call fcn.00409590
add esp, 4
test al, al
je 0x53ed5e
mov dword [0x64a738], 0
mov edi, 0x64a738
mov dword [0x64a734], edi
jmp 0x53e7a3
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
jmp 0x53ec53
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x53ec53
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x624173
call fcn.00591ed0
mov ebx, 0x7ffffffe
jmp 0x53e4dd
mov dword [esp + 4], 0
mov ecx, eax
jmp 0x53e4c7
lea ebx, [edi + 1]
mov dword [esp + 4], 0
jmp 0x53e4fb
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052b630
add esp, 8
push eax
push str.Histogram.BadConstructionArguments
call fcn.004faec0
add esp, 8
call fcn.005c7650
mov dword [esp + 4], eax
jmp 0x53e65d
bswap ebx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
call dword [0x63e64c]
mov ecx, esi
push ebx
call dword [esp + 8]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
jne 0x53e7cd
jmp 0x53ecf9
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.0052b630
add esp, 8
push eax
push 0x62fb00
call fcn.004faec0
add esp, 8
call fcn.005c7650
mov dword [esp + 4], eax
jmp 0x53e637
push eax
call fcn.004f0f10
add esp, 4
jmp 0x53e65d
cmp esi, 0xffffffff
jne 0x53ecdb
xor eax, eax
dec eax
jmp 0x53e62f
mov edi, 2
mov edx, 3
jmp 0x53e4b5
push esi
call fcn.004f0de0
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
jmp 0x53e580
xor ecx, ecx
jmp 0x53ead1
int3
mov ecx, dword [esp + 8]
call fcn.00591ed0
mov edi, dword [0x64a734]
jmp 0x53e7a3
push 0
push 0x14
push str.PageLoad.Clients.Ads
push dword [ebp + 0xc]
push ebx
call fcn.005357f0
add esp, 0x14
test al, al
jne 0x53ec04
push 2
call fcn.00563020
add esp, 4
test al, al
je 0x53edee
lea esi, [esp + 0x50]
mov ecx, esi
push 2
push 0x1bf
push str.histogram.cc
call fcn.0040a9f0
lea eax, [esp + 0x58]
push 0xb
push str.Histogram:
push eax
call fcn.005320d0
add esp, 0xc
push dword [ebp + 0xc]
push ebx
push eax
call fcn.005320d0
add esp, 0xc
push 0x1c
push str._has_too_many_bucket_count:
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, eax
push dword [esp + 0xc]
call fcn.00451d70
mov ecx, esi
call fcn.00407a90
mov dword [esp + 4], 0
mov ebx, dword [esp + 0x10]
mov edx, 0x66
jmp 0x53e4f3