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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x646040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edx, edx
je 0x53b539
mov eax, dword [edx]
cmp eax, 4
je 0x53b473
mov dword [ebp - 0x5c], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
xor ebx, ebx
cmp eax, 0x40
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x4c], edx
jb 0x53b43e
mov ecx, eax
mov esi, 0
and ecx, 7
jne 0x53ae99
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
mov edx, eax
add edx, 0x14
jb 0x53ae1b
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + 0xc]
cmp edx, edi
ja 0x53ae1b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
cmp ecx, 0xc8799269
jne 0x53ae1b
add edx, eax
mov ecx, dword [edx]
cmp ecx, 0x14
jb 0x53ae1b
mov ebx, dword [edx]
add ebx, eax
jb 0x53ae1b
cmp ebx, edi
ja 0x53ae1b
mov ecx, dword [edx + 8]
xor esi, esi
cmp ecx, 0xbcea225b
cmove esi, edx
lea ebx, [esi + 0x10]
test esi, esi
cmove ebx, esi
mov esi, eax
add esi, 0x10
jb 0x53b43e
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
ja 0x53b43e
mov esi, dword [edx + 4]
mov edx, dword [esi + eax + 4]
cmp edx, 0xc8799269
jne 0x53b43e
add esi, eax
mov edx, dword [esi]
cmp edx, 0x10
jb 0x53b43e
mov edi, dword [esi]
add edi, eax
setb dl
test esi, esi
je 0x53b43e
test dl, dl
jne 0x53b43e
cmp edi, ecx
ja 0x53b43e
mov esi, dword [esi]
cmp esi, 0x11
jb 0x53b434
add eax, esi
jb 0x53b434
cmp eax, ecx
ja 0x53b434
add esi, 0xfffffff0
test ebx, ebx
mov ecx, dword [ebp - 0x44]
je 0x53b536
lea eax, [ecx - 0x3fffffff]
cmp eax, 0xc0000003
jb 0x53b536
lea edi, [ecx*4 + 4]
cmp esi, edi
jb 0x53b536
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
push 0x14
call fcn.00564055
add esp, 4
xor esi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [ebp - 0x40], eax
mov dword [eax + 8], esi
cmp dword [ebp - 0x48], 0x40000000
jae 0x53b562
push edi
call fcn.00564055
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx], eax
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x48]
lea ecx, [eax + ecx*4]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x44]
nop dword [eax + eax]
mov ecx, eax
add ecx, esi
je 0x53b527
mov dword [ecx], 0
add esi, 4
cmp edi, esi
jne 0x53af10
mov ecx, eax
add ecx, esi
mov edi, dword [ebp - 0x40]
mov dword [edi + 4], ecx
xor ecx, ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, edx
neg eax
xor ecx, ecx
inc ecx
nop word cs:[eax + eax]
mov edx, dword [ebx + ecx*4]
cmp edx, dword [ebx + ecx*4 - 4]
jle 0x53b4f0
mov esi, dword [edi]
mov edi, dword [edi + 4]
sub edi, esi
sar edi, 2
cmp edi, ecx
jbe 0x53b518
mov dword [esi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
mov edi, dword [ebp - 0x40]
jne 0x53af50
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x50], eax
je 0x53b56a
js 0x53b571
mov edi, eax
mov ebx, ecx
shr ebx, 2
mov esi, ecx
and esi, 3
jne 0x53b445
mov esi, edi
sub esi, edx
cmp esi, 0xfffffffc
ja 0x53b012
nop word cs:[eax + eax]
movzx esi, bl
movzx edi, byte [eax]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x631d30]
movzx esi, bl
movzx edi, byte [eax + 1]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x631d30]
movzx esi, bl
movzx edi, byte [eax + 2]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x631d30]
movzx esi, bl
movzx edi, byte [eax + 3]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x631d30]
add eax, 4
cmp eax, edx
jne 0x53afc0
mov edi, dword [ebp - 0x40]
mov dword [edi + 0xc], ebx
cmp ebx, dword [ebp - 0x4c]
jne 0x53b4f0
test edi, edi
je 0x53b574
sar ecx, 2
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
jne 0x53b4fb
cmp edx, 1
jbe 0x53b544
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x50]
cmp dword [esi + 4], eax
jne 0x53b4fb
lea eax, [ecx - 1]
cmp edx, eax
jbe 0x53b544
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x50]
cmp dword [edx + ecx*4 - 4], eax
jne 0x53b4fb
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x53b2d8
mov dword [ebp - 0x50], 0
push edi
call fcn.00530e50
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x44]
lea ecx, [edx - 0x20000000]
cmp ecx, 0xe0000001
jb 0x53b578
lea edi, [edx*8]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0x48], edi
jne 0x53b38f
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64e810]
bt ecx, eax
jb 0x53b285
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x656810], 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0x53215531
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x40]
mov esi, edi
shr esi, 0xe
mov ebx, edi
shr ebx, 0x13
mov eax, dword [ebx*4 + 0x64e810]
bt eax, esi
jb 0x53b5a5
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x656810], 1
mov dword [ebp - 0x14], edi
shl edx, 2
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 4]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64e810]
bt ecx, eax
jb 0x53b296
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x656810], 1
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0x53215531
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebx*4 + 0x64e810]
bt eax, esi
jb 0x53b5b6
mov esi, dword [ebp - 0x40]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x656810], 1
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], esi
lea ecx, [ebx + 0x60]
xor edi, edi
test eax, eax
jne 0x53b2f0
lea eax, [ebx + 0x40]
add ebx, 0x20
lea edi, [ebp - 0x38]
lea edx, [ebp - 0x24]
lea esi, [ebp - 0x3c]
push eax
push ebx
push edi
xor edi, edi
push edx
push dword [ebp - 0x4c]
push ecx
push esi
call fcn.0053b600
add esp, 0x1c
mov esi, dword [esi]
test esi, esi
mov ebx, dword [ebp - 0x50]
je 0x53b1d8
mov eax, dword [ebp - 0x68]
lock or dword [esi + 8], eax
mov edi, esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jb 0x53b589
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x38]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jae 0x53b225
push eax
call fcn.004f4f20
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jb 0x53b597
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jae 0x53b26b
push eax
call fcn.004f4f20
add esp, 4
test ebx, ebx
jne 0x53b2aa
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 8
push esi
call fcn.004f4df0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x53b0ed
push edi
mov dword [ebp - 0x44], edx
call fcn.004f4df0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x53b15c
mov eax, dword [ebx]
test eax, eax
je 0x53b2cd
mov ecx, dword [ebx + 4]
cmp ecx, eax
je 0x53b2c1
add ecx, 0xfffffffc
jne 0x53b2b3
jmp 0x53b553
mov dword [ebx + 4], eax
push eax
call fcn.00564050
add esp, 4
push ebx
call fcn.00564050
add esp, 4
jmp 0x53b26f
push edi
call fcn.0053f1d0
xor ecx, ecx
mov dword [ebp - 0x4c], eax
cmp eax, edi
cmovne ecx, edi
mov dword [ebp - 0x50], ecx
jmp 0x53b091
cmp eax, 1
mov dword [ebp - 0x40], ecx
jne 0x53b33f
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x20
call fcn.00564055
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x44]
push ebx
push eax
push edx
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
call fcn.00533470
mov dword [esi], 0x624404
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x14], eax
jmp 0x53b1c8
cmp eax, 2
jne 0x53b4ae
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x20
call fcn.00564055
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x44]
push ebx
push eax
push edx
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
call fcn.00533470
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x14], eax
mov dword [esi], 0x624464
jmp 0x53b1c8
xor edx, edx
cmp eax, 0x40
jb 0x53b41e
mov ecx, eax
and ecx, 7
jne 0x53b511
mov edx, eax
add edx, 0x10
jb 0x53b511
mov ecx, dword [esi + 0xc]
cmp edx, ecx
ja 0x53b50e
mov edx, dword [esi + 4]
mov edi, dword [edx + eax + 4]
cmp edi, 0xc8799269
jne 0x53b50e
add edx, eax
mov edi, dword [edx]
cmp edi, 0x10
jb 0x53b50e
mov edi, dword [edx]
add edi, eax
setb bl
test edx, edx
je 0x53b50b
test bl, bl
jne 0x53b50b
cmp edi, ecx
mov ebx, dword [ebp + 0xc]
ja 0x53b50e
mov edx, dword [edx]
cmp edx, 0x11
mov edi, dword [ebp - 0x48]
jb 0x53b5c7
add eax, edx
jb 0x53b5c7
cmp eax, ecx
ja 0x53b5c7
add edx, 0xfffffff0
cmp edx, edi
mov edx, dword [ebp - 0x44]
jb 0x53b578
mov eax, dword [ebp - 0x54]
mov esi, dword [eax + 4]
jmp 0x53b0c1
mov ecx, dword [ebp - 0x40]
push 1
call fcn.00591c90
xor esi, esi
jmp 0x53ae99
mov dword [ebp - 0x64], esi
movzx esi, bl
mov dword [ebp - 0x60], esi
movzx esi, byte [eax]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x60]
xor dword [ebp - 0x58], esi
shr ebx, 8
mov esi, dword [ebp - 0x58]
xor ebx, dword [esi*4 + 0x631d30]
mov esi, dword [ebp - 0x64]
inc eax
dec esi
jne 0x53b445
jmp 0x53afa9
lea edi, [edx + 0x40]
lea ebx, [edx + 0x20]
lea eax, [edx + 0x60]
mov dword [ebp - 0x40], eax
push 0x1c
call fcn.00564055
add esp, 4
mov esi, eax
mov ecx, eax
push edi
mov edi, dword [ebp + 8]
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call fcn.0040ce60
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
lock or dword [esi + 8], eax
jmp 0x53b26f
cmp eax, 3
jne 0x53b5d5
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x14
call fcn.00564055
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x44]
push ebx
push eax
push edx
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
call fcn.00533470
mov dword [esi], 0x6244c4
jmp 0x53b1c8
xor ebx, ebx
test edi, edi
je 0x53b4fd
jmp 0x53b5dd
mov ebx, edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x53b26b
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x48]
xor edx, edx
jmp 0x53b41e
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x624e92
call fcn.005912b0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624e92
call fcn.005912b0
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x53b26f
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x624e92
call fcn.005912b0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x624e92
call fcn.005912b0
mov ecx, dword [ebp - 0x40]
call fcn.005912b0
xor ebx, ebx
jmp 0x53b012
int3
xor ebx, ebx
jmp 0x53b4fd
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ebx, dword [ebp - 0x50]
jmp 0x53b26b
push eax
call fcn.004f4f20
add esp, 4
jmp 0x53b1fc
push eax
call fcn.004f4f20
add esp, 4
jmp 0x53b242
push edi
call fcn.004f4df0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x53b12a
mov esi, dword [ebp - 0x40]
push esi
call fcn.004f4df0
add esp, 4
jmp 0x53b18e
mov ecx, esi
push 1
call fcn.00591c90
jmp 0x53b511
mov ebx, dword [ebp - 0x50]
jmp 0x53b1d8
mov esi, dword [ebp - 0x40]
mov ecx, esi
call fcn.0055c100
push esi
call fcn.00564050
add esp, 4
jmp 0x53b4fd