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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x44d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x824], eax
mov dword [0x44d988], 0
mov eax, dword [edi]
mov byte [0x44d96d], 0
mov dword [0x44d98c], 0
cmp eax, 0x3a4d454d
je 0x401493
cmp eax, 0x3a6d656d
je 0x401493
mov eax, dword [0x44d8d0]
xor esi, esi
mov dword [ebp - 0x828], eax
mov eax, dword [esi*4 + 0x44d8d4]
test eax, eax
je 0x401240
push edi
push eax
mov dword [0x44d8d0], esi
call fcn.00401bb0
mov ebx, eax
test ebx, ebx
jne 0x401286
inc esi
cmp esi, 0x10
jl 0x401222
mov eax, dword [ebp - 0x828]
push 0x4432fc
push edi
mov dword [0x44d8d0], eax
mov dword [0x44d988], 0
call fcn.0041c471
mov esi, eax
add esp, 8
test esi, esi
jne 0x401468
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419170
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x824]
test ecx, ecx
js 0x4014cb
mov eax, dword [0x44d8d0]
cmp eax, 0xf
ja 0x4012a7
mov esi, dword [eax*4 + 0x44d8d4]
jmp 0x4012a9
xor esi, esi
mov esi, dword [esi + 0xc]
add esi, dword [ebx + 0x10]
add esi, ecx
cmp eax, dword [0x44d980]
jne 0x4012cb
add esi, dword [0x44d984]
mov dword [0x44d988], 1
jmp 0x4012d5
mov dword [0x44d988], 2
mov eax, dword [eax*4 + 0x44d914]
mov ecx, 0x442e2a
mov dword [ebp - 0x82c], eax
push 0x4432fc
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0041c471
add esp, 8
mov dword [ebp - 0x828], eax
test eax, eax
je 0x4014cb
test esi, esi
jle 0x40131a
push 0
push esi
push eax
call fcn.004201f0
add esp, 0xc
mov eax, dword [ebx + 0x1c]
mov dword [0x44d98c], eax
cmp dword [ebx + 0x1c], 0
je 0x40144f
mov esi, dword [0x44d8d0]
cmp esi, 0xf
ja 0x401340
mov eax, dword [esi*4 + 0x44d8d4]
jmp 0x401342
xor eax, eax
mov edx, dword [ebx + 0x18]
test edx, edx
jne 0x401350
mov ecx, 0x442e2a
jmp 0x40135f
test eax, eax
jne 0x401358
xor ecx, ecx
jmp 0x40135f
mov ecx, dword [eax + 8]
add ecx, edx
add ecx, eax
lea edx, [ebp - 0x820]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x401367
cmp esi, 0xf
ja 0x40138e
mov eax, dword [esi*4 + 0x44d8d4]
test eax, eax
je 0x40138e
mov edx, dword [eax + 8]
add edx, dword [ebx + 4]
add edx, eax
jmp 0x401390
xor edx, edx
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x401392
lea edi, [ebp - 0x820]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4013a2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x820]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4013c1
sub edx, ecx
xor esi, esi
or ecx, 0xffffffff
test edx, edx
jle 0x4013ef
movsx eax, byte [ebp + esi - 0x820]
inc esi
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x442eb0]
cmp esi, edx
jl 0x4013d3
not ecx
mov edx, 1
imul eax, ecx, 0x41c64e6d
mov ecx, dword [ebp - 0x82c]
add eax, 0x3039
mov dword [ecx + 0x128], eax
mov esi, dword [ebx + 8]
shr eax, 0x10
and eax, 0x7fff
add eax, dword [ecx + 0x14]
cmove eax, edx
mov edx, dword [ebx + 0x1c]
cmp eax, edx
jne 0x4014cb
push dword [ebp - 0x824]
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x18], edx
call fcn.00408b10
mov eax, dword [ebp - 0x828]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419170
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x824]
test eax, eax
jle 0x40147e
push 0
push eax
push esi
call fcn.004201f0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419170
mov esp, ebp
pop ebp
ret 8
cmp byte [0x44d96c], 0
je 0x4014cb
cmp dword [0x44d960], 0
je 0x4014cb
mov eax, edi
mov byte [0x44d96d], 1
pop edi
pop esi
mov dword [0x44d988], 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419170
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419170
mov esp, ebp
pop ebp
ret 8