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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [ebp - 0x50], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x543267
mov eax, dword [ecx]
cmp eax, 4
je 0x54318d
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x64], ecx
xor ebx, ebx
cmp eax, 0x40
mov dword [ebp - 0x44], edx
jb 0x543186
mov ecx, eax
mov esi, 0
and ecx, 7
jne 0x542bec
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
mov edx, eax
add edx, 0x14
jb 0x542b6b
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + 0xc]
cmp edx, edi
ja 0x542b6b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
cmp ecx, 0xc8799269
jne 0x542b6b
add edx, eax
mov ecx, dword [edx]
cmp ecx, 0x14
jb 0x542b6b
mov ebx, dword [edx]
add ebx, eax
jb 0x542b6b
cmp ebx, edi
ja 0x542b6b
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 0x543183
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
ja 0x543183
mov esi, dword [edx + 4]
mov edx, dword [esi + eax + 4]
cmp edx, 0xc8799269
jne 0x543183
add esi, eax
mov edx, dword [esi]
cmp edx, 0x10
jb 0x543183
mov edi, dword [esi]
add edi, eax
setb dl
test esi, esi
je 0x543183
test dl, dl
jne 0x543183
cmp edi, ecx
mov edx, dword [ebp - 0x44]
ja 0x543186
mov esi, dword [esi]
cmp esi, 0x11
jb 0x543179
add eax, esi
jb 0x543179
cmp eax, ecx
ja 0x543179
add esi, 0xfffffff0
test ebx, ebx
je 0x543264
cmp edx, 2
jb 0x543264
cmp edx, 0x3ffffffe
ja 0x543264
lea edi, [edx*4 + 4]
cmp esi, edi
jb 0x543264
lea eax, [edx + 1]
mov dword [ebp - 0x48], eax
push 0x14
call fcn.0057dc30
add esp, 4
mov esi, eax
push edi
call fcn.0057dc30
add esp, 4
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x48]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x40], esi
mov dword [esi + 8], eax
mov esi, eax
xor edx, edx
nop word [eax + eax]
mov eax, ecx
add eax, edx
je 0x543255
mov dword [eax], 0
add edx, 4
cmp edi, edx
jne 0x542c50
mov edx, dword [ebp - 0x40]
mov dword [edx + 4], esi
xor eax, eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
cmp dword [ebp - 0x48], 0
je 0x543246
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
neg eax
xor ecx, ecx
inc ecx
nop dword [eax + eax]
mov edx, dword [ebx + ecx*4]
cmp edx, dword [ebx + ecx*4 - 4]
jle 0x54320a
mov esi, dword [ebp - 0x40]
mov edi, dword [esi]
mov esi, dword [esi + 4]
sub esi, edi
sar esi, 2
cmp esi, ecx
jbe 0x543246
mov dword [edi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
jne 0x542c90
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, edx
sub ecx, esi
mov dword [ebp - 0x4c], esi
je 0x543290
js 0x543297
mov ebx, ecx
shr ebx, 2
mov edi, ecx
and edi, 3
jne 0x543155
mov eax, esi
sub esi, edx
cmp esi, 0xfffffffc
ja 0x542d52
nop word cs:[eax + eax]
movzx esi, byte [eax]
movzx edi, bl
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x636878]
movzx esi, byte [eax + 1]
movzx edi, bl
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x636878]
movzx esi, byte [eax + 2]
movzx edi, bl
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x636878]
movzx esi, byte [eax + 3]
movzx edi, bl
xor edi, esi
shr ebx, 8
xor ebx, dword [edi*4 + 0x636878]
add eax, 4
cmp eax, edx
jne 0x542d00
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc], ebx
cmp ebx, dword [ebp - 0x64]
jne 0x54320a
cmp dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x4c]
je 0x54329a
sar ecx, 2
cmp ecx, dword [ebp - 0x48]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
jne 0x543217
test ecx, ecx
je 0x543272
mov eax, dword [ebp - 0x68]
cmp dword [edx + 4], eax
jne 0x543217
lea eax, [ecx - 1]
cmp dword [ebp - 0x48], eax
jbe 0x543272
mov eax, dword [ebp - 0x54]
cmp dword [edx + ecx*4 - 4], eax
jne 0x543217
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x543042
mov dword [ebp - 0x48], 0
push dword [ebp - 0x40]
call fcn.0050d310
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 0x543228
lea edi, [edx*8]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0x40], edi
jne 0x5430b0
add ebx, 0x1c
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x542fc1
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0x53215531
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov esi, ebx
shr esi, 0xe
mov edi, ebx
shr edi, 0x13
mov eax, dword [edi*4 + 0x6527ec]
bt eax, esi
jb 0x5432bd
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x14], ebx
shl edx, 2
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 4]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x542fd2
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x53215531
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [edi*4 + 0x6527ec]
bt eax, esi
jb 0x5432ce
mov esi, dword [ebp - 0x54]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], esi
lea ecx, [ebx + 0x60]
xor edi, edi
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x542fe6
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.00543310
add esp, 0x1c
mov esi, dword [esi]
test esi, esi
mov ebx, dword [ebp - 0x48]
je 0x542f14
mov eax, dword [ebp - 0x60]
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 + 0x6527ec]
bt edx, ecx
jb 0x5432a1
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 + 0x6527ec]
bt edx, ecx
jae 0x542f61
push eax
call fcn.00506f30
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 + 0x6527ec]
bt edx, ecx
jb 0x5432af
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 + 0x6527ec]
bt edx, ecx
jae 0x542fa7
push eax
call fcn.00506f30
add esp, 4
test ebx, ebx
jne 0x543011
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 8
push esi
call fcn.00506e00
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x542e29
push ebx
mov dword [ebp - 0x44], edx
call fcn.00506e00
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x542e98
cmp eax, 1
jne 0x54305d
lea eax, [ebx + 0x40]
add ebx, 0x20
mov edi, ecx
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x24]
lea esi, [ebp - 0x3c]
push eax
push ebx
push ecx
push edx
push dword [ebp - 0x4c]
push edi
xor edi, edi
push esi
call fcn.00510400
jmp 0x542eff
mov eax, dword [ebx]
test eax, eax
je 0x543034
mov ecx, dword [ebx + 4]
cmp ecx, eax
je 0x543028
add ecx, 0xfffffffc
jne 0x54301a
jmp 0x543281
mov dword [ebx + 4], eax
push eax
call fcn.0057dc2b
add esp, 4
push ebx
call fcn.0057dc2b
add esp, 4
jmp 0x542fab
mov esi, dword [ebp - 0x40]
push esi
call fcn.00550200
xor ecx, ecx
mov dword [ebp - 0x4c], eax
cmp eax, esi
cmovne ecx, esi
mov dword [ebp - 0x48], ecx
jmp 0x542dd0
cmp eax, 2
mov dword [ebp - 0x40], ecx
jne 0x5431c8
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x20
call fcn.0057dc30
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.0040a1f0
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], 0x6295b4
jmp 0x542f04
xor edx, edx
cmp eax, 0x40
jb 0x54313f
mov ecx, eax
and ecx, 7
jne 0x54323f
mov edx, eax
add edx, 0x10
jb 0x54323f
mov ecx, dword [esi + 0xc]
cmp edx, ecx
ja 0x54323c
mov edx, dword [esi + 4]
mov edi, dword [edx + eax + 4]
cmp edi, 0xc8799269
jne 0x54323c
add edx, eax
mov edi, dword [edx]
cmp edi, 0x10
jb 0x54323c
mov edi, dword [edx]
add edi, eax
setb bl
test edx, edx
je 0x543239
test bl, bl
jne 0x543239
cmp edi, ecx
mov ebx, dword [ebp + 0xc]
ja 0x54323c
mov edx, dword [edx]
cmp edx, 0x11
mov edi, dword [ebp - 0x40]
jb 0x5432df
add eax, edx
jb 0x5432df
cmp eax, ecx
ja 0x5432df
add edx, 0xfffffff0
cmp edx, edi
mov edx, dword [ebp - 0x44]
jb 0x543228
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 4]
jmp 0x542e00
mov eax, esi
movzx esi, byte [eax]
mov dword [ebp - 0x58], esi
movzx esi, bl
xor esi, dword [ebp - 0x58]
shr ebx, 8
xor ebx, dword [esi*4 + 0x636878]
mov esi, dword [ebp - 0x4c]
inc eax
dec edi
jne 0x543157
jmp 0x542cec
mov ecx, dword [ebp - 0x40]
push 1
call fcn.005abbd0
mov edx, dword [ebp - 0x44]
xor esi, esi
jmp 0x542bec
lea edi, [ecx + 0x40]
lea ebx, [ecx + 0x20]
lea eax, [ecx + 0x60]
mov dword [ebp - 0x40], eax
push 0x1c
call fcn.0057dc30
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 - 0x50]
call fcn.004103b0
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
lock or dword [esi + 8], eax
jmp 0x542fab
cmp eax, 3
jne 0x5432ed
lea eax, [ebx + 0x40]
mov dword [ebp - 0x44], eax
add ebx, 0x20
push 0x14
call fcn.0057dc30
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.0040a1f0
mov dword [esi], 0x629614
jmp 0x542f04
xor ebx, ebx
cmp dword [ebp - 0x40], 0
je 0x54321a
jmp 0x5432f5
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x542fa7
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ebx, dword [ebp - 0x48]
jmp 0x542fa7
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x40]
xor edx, edx
jmp 0x54313f
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x62a183
call fcn.005aacb0
mov edi, dword [ebp + 8]
mov dword [edi], 0
jmp 0x542fab
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x62a183
call fcn.005aacb0
xor ebx, ebx
jmp 0x542d52
int3
xor ebx, ebx
jmp 0x54321a
push eax
call fcn.00506f30
add esp, 4
jmp 0x542f38
push eax
call fcn.00506f30
add esp, 4
jmp 0x542f7e
push ebx
call fcn.00506e00
mov edx, dword [ebp - 0x44]
add esp, 4
jmp 0x542e63
mov esi, dword [ebp - 0x54]
push esi
call fcn.00506e00
add esp, 4
jmp 0x542eca
mov ecx, esi
push 1
call fcn.005abbd0
jmp 0x54323f
mov ebx, dword [ebp - 0x48]
jmp 0x542f14
mov esi, dword [ebp - 0x40]
mov ecx, esi
call fcn.00573990
push esi
call fcn.0057dc2b
add esp, 4
jmp 0x54321a