Function at 0x52f500
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 [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edx, edx
je 0x52fced
mov eax, dword [edx]
cmp eax, 4
je 0x52fc13
mov dword [ebp - 0x64], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x4c], 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 - 0x6c], edx
jb 0x52fbde
mov ecx, eax
mov esi, 0
and ecx, 7
jne 0x52f639
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
mov edx, eax
add edx, 0x14
jb 0x52f5bb
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + 0xc]
cmp edx, edi
ja 0x52f5bb
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
cmp ecx, 0xc8799269
jne 0x52f5bb
add edx, eax
mov ecx, dword [edx]
cmp ecx, 0x14
jb 0x52f5bb
mov ebx, dword [edx]
add ebx, eax
jb 0x52f5bb
cmp ebx, edi
ja 0x52f5bb
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 0x52fbde
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
ja 0x52fbde
mov esi, dword [edx + 4]
mov edx, dword [esi + eax + 4]
cmp edx, 0xc8799269
jne 0x52fbde
add esi, eax
mov edx, dword [esi]
cmp edx, 0x10
jb 0x52fbde
mov edi, dword [esi]
add edi, eax
setb dl
test esi, esi
je 0x52fbde
test dl, dl
jne 0x52fbde
cmp edi, ecx
ja 0x52fbde
mov esi, dword [esi]
cmp esi, 0x11
jb 0x52fbd4
add eax, esi
jb 0x52fbd4
cmp eax, ecx
ja 0x52fbd4
add esi, 0xfffffff0
test ebx, ebx
mov ecx, dword [ebp - 0x44]
je 0x52fcea
lea eax, [ecx - 0x3fffffff]
cmp eax, 0xc0000003
jb 0x52fcea
lea edi, [ecx*4 + 4]
cmp esi, edi
jb 0x52fcea
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
push 0x14
call fcn.00562f65
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 0x52fd16
push edi
call fcn.00562f65
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 0x52fcdb
mov dword [ecx], 0
add esi, 4
cmp edi, esi
jne 0x52f6b0
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 0x52fc90
mov esi, dword [edi]
mov edi, dword [edi + 4]
sub edi, esi
sar edi, 2
cmp edi, ecx
jbe 0x52fccc
mov dword [esi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
mov edi, dword [ebp - 0x40]
jne 0x52f6f0
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x50], eax
je 0x52fd1e
js 0x52fd25
mov edi, eax
mov ebx, ecx
shr ebx, 2
mov esi, ecx
and esi, 3
jne 0x52fbe5
mov esi, edi
sub esi, edx
cmp esi, 0xfffffffc
ja 0x52f7b2
nop word cs:[eax + eax]
movzx esi, bl
movzx edi, byte [eax]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x62fe80]
movzx esi, bl
movzx edi, byte [eax + 1]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x62fe80]
movzx esi, bl
movzx edi, byte [eax + 2]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x62fe80]
movzx esi, bl
movzx edi, byte [eax + 3]
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x62fe80]
add eax, 4
cmp eax, edx
jne 0x52f760
mov edi, dword [ebp - 0x40]
mov dword [edi + 0xc], ebx
cmp ebx, dword [ebp - 0x6c]
jne 0x52fc90
test edi, edi
je 0x52fd28
sar ecx, 2
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
jne 0x52fc9b
cmp edx, 1
jbe 0x52fcf8
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x50]
cmp dword [esi + 4], eax
jne 0x52fc9b
lea eax, [ecx - 1]
cmp edx, eax
jbe 0x52fcf8
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
cmp dword [edx + ecx*4 - 4], eax
jne 0x52fc9b
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x52fa78
mov dword [ebp - 0x50], 0
push edi
call fcn.00531530
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 0x52fcab
lea edi, [edx*8]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0x48], edi
jne 0x52fb2f
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 + 0x64c810]
bt ecx, eax
jb 0x52fa25
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654810], 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 + 0x64c810]
bt eax, esi
jb 0x52fd53
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654810], 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 + 0x64c810]
bt ecx, eax
jb 0x52fa36
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654810], 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 + 0x64c810]
bt eax, esi
jb 0x52fd64
mov esi, dword [ebp - 0x40]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], esi
lea ecx, [ebx + 0x60]
xor edi, edi
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x52fa90
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.0052fda0
add esp, 0x1c
mov esi, dword [esi]
test esi, esi
mov ebx, dword [ebp - 0x50]
je 0x52f978
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 + 0x64c810]
bt edx, ecx
jb 0x52fd37
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 + 0x64c810]
bt edx, ecx
jae 0x52f9c5
push eax
call fcn.004ff910
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 + 0x64c810]
bt edx, ecx
jb 0x52fd45
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 + 0x64c810]
bt edx, ecx
jae 0x52fa0b
push eax
call fcn.004ff910
add esp, 4
test ebx, ebx
jne 0x52fa4a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 8
push esi
call fcn.004ff7e0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x52f88d
push edi
mov dword [ebp - 0x44], edx
call fcn.004ff7e0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x52f8fc
mov eax, dword [ebx]
test eax, eax
je 0x52fa6d
mov ecx, dword [ebx + 4]
cmp ecx, eax
je 0x52fa61
add ecx, 0xfffffffc
jne 0x52fa53
jmp 0x52fd07
mov dword [ebx + 4], eax
push eax
call fcn.00562f60
add esp, 4
push ebx
call fcn.00562f60
add esp, 4
jmp 0x52fa0f
push edi
call fcn.0053ecf0
xor ecx, ecx
mov dword [ebp - 0x4c], eax
cmp eax, edi
cmovne ecx, edi
mov dword [ebp - 0x50], ecx
jmp 0x52f831
cmp eax, 1
mov dword [ebp - 0x40], ecx
jne 0x52fadf
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x20
call fcn.00562f65
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.00533b30
mov dword [esi], 0x622404
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x14], eax
jmp 0x52f968
cmp eax, 2
jne 0x52fc4e
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x20
call fcn.00562f65
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.00533b30
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], 0x622464
jmp 0x52f968
xor edx, edx
cmp eax, 0x40
jb 0x52fbbe
mov ecx, eax
and ecx, 7
jne 0x52fcc5
mov edx, eax
add edx, 0x10
jb 0x52fcc5
mov ecx, dword [esi + 0xc]
cmp edx, ecx
ja 0x52fd32
mov edx, dword [esi + 4]
mov edi, dword [edx + eax + 4]
cmp edi, 0xc8799269
jne 0x52fd32
add edx, eax
mov edi, dword [edx]
cmp edi, 0x10
jb 0x52fd32
mov edi, dword [edx]
add edi, eax
setb bl
test edx, edx
je 0x52fd2f
test bl, bl
jne 0x52fd2f
cmp edi, ecx
mov ebx, dword [ebp + 0xc]
ja 0x52fd32
mov edx, dword [edx]
cmp edx, 0x11
mov edi, dword [ebp - 0x48]
jb 0x52fcbc
add eax, edx
jb 0x52fcbc
cmp eax, ecx
ja 0x52fcbc
add edx, 0xfffffff0
cmp edx, edi
mov edx, dword [ebp - 0x44]
jb 0x52fcab
mov eax, dword [ebp - 0x54]
mov esi, dword [eax + 4]
jmp 0x52f861
mov ecx, dword [ebp - 0x40]
push 1
call fcn.005908a0
xor esi, esi
jmp 0x52f639
mov dword [ebp - 0x60], esi
movzx esi, bl
mov dword [ebp - 0x5c], esi
movzx esi, byte [eax]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x5c]
xor dword [ebp - 0x58], esi
shr ebx, 8
mov esi, dword [ebp - 0x58]
xor ebx, dword [esi*4 + 0x62fe80]
mov esi, dword [ebp - 0x60]
inc eax
dec esi
jne 0x52fbe5
jmp 0x52f749
lea edi, [edx + 0x40]
lea ebx, [edx + 0x20]
lea eax, [edx + 0x60]
mov dword [ebp - 0x40], eax
push 0x1c
call fcn.00562f65
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.0040dc50
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
lock or dword [esi + 8], eax
jmp 0x52fa0f
cmp eax, 3
jne 0x52fd75
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x14
call fcn.00562f65
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.00533b30
mov dword [esi], 0x6224c4
jmp 0x52f968
xor ebx, ebx
test edi, edi
je 0x52fc9d
jmp 0x52fd7d
mov ebx, edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x52fa0b
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ebx, dword [ebp - 0x50]
jmp 0x52fa0b
mov ecx, esi
push 1
call fcn.005908a0
xor edx, edx
jmp 0x52fbbe
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x622e92
call fcn.00590170
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x622e92
call fcn.00590170
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x52fa0f
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x622e92
call fcn.00590170
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x622e92
call fcn.00590170
mov ecx, dword [ebp - 0x40]
call fcn.00590170
xor ebx, ebx
jmp 0x52f7b2
int3
xor ebx, ebx
jmp 0x52fc9d
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x48]
jmp 0x52fcc5
push eax
call fcn.004ff910
add esp, 4
jmp 0x52f99c
push eax
call fcn.004ff910
add esp, 4
jmp 0x52f9e2
push edi
call fcn.004ff7e0
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x52f8ca
mov esi, dword [ebp - 0x40]
push esi
call fcn.004ff7e0
add esp, 4
jmp 0x52f92e
mov ebx, dword [ebp - 0x50]
jmp 0x52f978
mov esi, dword [ebp - 0x40]
mov ecx, esi
call fcn.0055af10
push esi
call fcn.00562f60
add esp, 4
jmp 0x52fc9d