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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp ebx, edi
jne 0x45f3bf
push 0xffffffffffffff9a
pop eax
jmp 0x45f5c1
cmp dword [ebx + 0x38], edi
je 0x45f3b7
cmp dword [ebx + 0x9c], edi
je 0x45f3d2
push ebx
call fcn.0045f7f9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.0045f1d1
add esp, 0xc
test eax, eax
je 0x45f3f0
push 0xffffffffffffff99
jmp 0x45f3b9
push esi
push 0x90
call fcn.004f63f3
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x45f558
push 0x4000
call fcn.004f63f3
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x8c], edi
cmp eax, edi
jne 0x45f440
push 0xffffffffffffff98
pop edi
push esi
call fcn.004f6134
pop ecx
mov eax, edi
jmp 0x45f5c0
mov dword [esi + 0x40], edi
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x60]
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], ecx
cmp dword [ebx + 0x54], 8
jne 0x45f4a6
lea esi, [edi + 4]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [esi], ecx
mov dword [edi + 8], ecx
call fcn.004610b6
test eax, eax
jne 0x45f55d
mov dword [edi + 0x40], 1
xor ecx, ecx
mov eax, dword [ebx + 0x60]
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x98]
lea eax, [eax + edx + 0x1e]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
mov dword [ebx + 0x9c], edi
cmp eax, ecx
je 0x45f5be
lea esi, [ebx + 0xa4]
mov edi, 0x54dd38
mov dword [ebx + 0xb0], edi
mov dword [ebp - 0x14], eax
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
mov al, byte [eax]
test al, al
je 0x45f520
movsx eax, al
push eax
mov ecx, esi
call fcn.0045e8e5
add esp, 4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
jne 0x45f504
xor ecx, ecx
mov eax, dword [ebx + 0x9c]
push ecx
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
push ecx
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x10
test eax, eax
jne 0x45f558
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 4]
add esp, 0x10
cmp eax, 0xc
jae 0x45f567
push 0xffffffffffffff98
pop eax
jmp 0x45f5c0
mov esi, dword [ebp - 0x14]
mov edi, eax
jmp 0x45f432
and dword [ebp - 0x14], 0
mov eax, dword [ebx + 0xac]
mov edi, dword [ebp - 0x14]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
lea edi, [ebp + edi - 0x10]
shr ecx, 8
xor byte [edi], cl
movsx eax, byte [edi]
mov edi, dword [ebx + 0xb0]
push eax
mov ecx, esi
call fcn.0045e8e5
add esp, 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jl 0x45f56b
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004f2b62
leave
ret 4