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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x602c60]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], eax
mov edi, edx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x42d862
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x60]
or edx, dword [ebx + 0x64]
je 0x42d84b
cmp dword [ebx + 0xe0], 0
je 0x42d87c
push ebx
call fcn.0042e040
add esp, 4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, ebx
call fcn.0042d5a0
add esp, 0xc
test eax, eax
je 0x42d8b0
mov eax, 0xffffff99
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
push 0xd0
call fcn.004fc6d6
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x42d909
push 0x4000
call fcn.004fc6d6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], ecx
xor ecx, ecx
mov dword [esi + 0x54], edx
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0xc8], edx
cmp eax, ecx
jne 0x42d920
push esi
call fcn.004fc2ea
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x48], ecx
cmp eax, ecx
je 0x42d936
mov edx, dword [ebx + 0x8c]
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
cmp edi, ecx
je 0x42d96e
mov dword [edi], 6
mov eax, dword [ebx + 0x88]
and eax, 6
sub eax, 2
je 0x42d968
sub eax, 2
je 0x42d960
sub eax, 2
jne 0x42d96e
mov dword [edi], 1
jmp 0x42d96e
mov dword [edi], 2
jmp 0x42d96e
mov dword [edi], 9
mov eax, dword [ebx + 0x94]
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov ecx, dword [ebx + 0x8c]
mov dword [esi + 0xb8], ecx
mov eax, dword [ebx + 0x30]
mov dword [esi + 0xb4], eax
lea edi, [esi + 0x88]
mov ecx, 0xb
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x48]
mov edi, dword [esp + 0x18]
mov dword [edi + 0xc0], ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0xc4], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov ecx, dword [ebx + 0x8c]
cmp ecx, 0xc
jne 0x42db1e
cmp edx, eax
jne 0x42db1e
mov dword [edi + 0xc8], 1
mov ecx, dword [ebx + 0x98]
mov dword [edi + 0x78], ecx
mov edx, dword [ebx + 0x9c]
mov dword [edi + 0x7c], edx
mov ecx, dword [ebx + 0xa0]
mov dword [edi + 0x80], ecx
mov edx, dword [ebx + 0xa4]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x84], edx
xor edx, edx
add ecx, dword [ebx + 0xd8]
adc edx, dword [ebx + 0xdc]
add ecx, 0x1e
adc edx, eax
mov dword [edi + 0x44], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0x40], ecx
mov dword [edi + 8], eax
mov dword [ebx + 0xe0], edi
mov dword [ebx + 0xe4], eax
cmp edx, eax
je 0x42db0a
push 0x5c89c0
lea ecx, [ebx + 0xec]
push edx
mov dword [ebx + 0xf8], 0x5c89c0
call fcn.0042b960
mov eax, dword [ebx + 0xe0]
mov ecx, dword [eax + 0xc0]
add ecx, dword [eax + 0x40]
mov edx, dword [eax + 0xc4]
adc edx, dword [eax + 0x44]
mov esi, dword [ebx + 0x30]
push edx
push ecx
xor edx, edx
mov eax, ebx
call fcn.00404a60
add esp, 0x10
test eax, eax
jne 0x42d909
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x1c]
push 0xc
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x42d909
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
lea eax, [ebx + 0xec]
lea edx, [esp + edx + 0x28]
call fcn.0042b900
movsx ecx, byte [edx]
mov edi, dword [ebx + 0xf8]
xor eax, ecx
mov byte [edx], al
movsx eax, al
lea esi, [ebx + 0xec]
call fcn.0042b920
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xc
jl 0x42dab6
mov eax, dword [ebx + 0xe0]
add dword [eax + 0x40], 0xc
adc dword [eax + 0x44], 0
mov dword [ebx + 0xe4], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
cmp ecx, 8
jne 0x42d9e0
cmp edx, eax
jne 0x42d9e0
lea esi, [edi + 4]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [esi], eax
mov dword [edi + 8], eax
push 0x38
push 0xfffffffffffffff1
mov eax, str.1.2.5
call fcn.0042ea30
mov esi, eax
add esp, 8
test esi, esi
jne 0x42db63
mov dword [edi + 0x48], 8
jmp 0x42d9e0
push edi
call fcn.004fc2ea
mov ecx, dword [esp + 0x38]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret