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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
cmp esi, edi
jne 0x41b4f8
pop edi
mov eax, 0xffffff9a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], edi
je 0x41b4e3
cmp dword [esi + 0x9c], edi
je 0x41b50e
push esi
call fcn.0041b9d0
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
mov eax, esi
call fcn.0041b2e0
add esp, 0xc
test eax, eax
je 0x41b53d
pop edi
mov eax, 0xffffff99
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
push ebx
push 0x90
call fcn.004981df
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x41b582
push 0x4000
call fcn.004981df
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x8c], edi
cmp eax, edi
jne 0x41b598
push ebx
call fcn.00496008
add esp, 4
pop ebx
pop edi
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x40], edi
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], eax
mov ecx, dword [esi + 0x54]
mov dword [ebx + 0x84], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x80], edx
lea edi, [ebx + 0x60]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
xor edi, edi
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x18], edi
cmp dword [esi + 0x54], 8
jne 0x41b5ff
lea eax, [ebx + 4]
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [eax], edi
mov dword [ebx + 8], edi
call fcn.00421a00
mov dword [ebp - 0x18], eax
cmp eax, edi
jne 0x41b710
mov dword [ebx + 0x40], 1
mov ecx, dword [esi + 0x60]
mov dword [ebx + 0x58], ecx
mov edx, dword [esi + 0x64]
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x5c], edx
mov eax, dword [esi + 0x98]
lea edx, [eax + ecx + 0x1e]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x3c], edx
mov dword [ebx + 8], edi
mov dword [esi + 0x9c], ebx
cmp eax, edi
je 0x41b6fd
mov ebx, 0x602e08
mov dword [esi + 0xb0], ebx
add esi, 0xa4
push eax
mov ecx, esi
call fcn.004189a0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push 0
push ecx
mov ecx, dword [ebx + 0x10]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x41b582
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
push 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
call edx
add esp, 0x10
cmp eax, 0xc
jne 0x41b582
mov dword [ebp - 0x14], edi
jmp 0x41b6a0
mov ecx, dword [ebx + 0xac]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xb0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
movsx ecx, byte [ebp + edx - 0x10]
lea edx, [ebp + edx - 0x10]
shr eax, 8
and eax, 0xff
xor eax, ecx
mov byte [edx], al
movsx eax, al
call fcn.0041a6c0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0xc
jl 0x41b6a0
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00496008
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00493f9c
mov esp, ebp
pop ebp
ret