Function at 0x4dbe80
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x5c4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5cdf08]
mov ecx, 0x70a6a4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x430], eax
call fcn.0056b0a5
mov ecx, dword [ebp - 0x430]
xor eax, eax
mov dword [ebp - 0x428], eax
xor edi, edi
push esi
xor bl, bl
mov dword [ebp - 0x42c], edi
cmp byte [ebp + 0xc], bl
lea eax, [ecx + 0x14]
push 0x5cdf70
cmove eax, ecx
push str._s__s.sav
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x3f0]
push 0x3e8
push eax
call fcn.004dc4f0
add esp, 0x14
lea eax, [ebp - 0x3f0]
push 0x5b1154
push eax
call fcn.00556c35
mov esi, eax
add esp, 8
mov dword [ebp - 0x438], esi
test esi, esi
je 0x4dc1a9
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.004dbdf0
test al, al
je 0x4dc167
push edi
push dword [ebp - 0x3fc]
push esi
call fcn.005575f8
add esp, 0xc
push dword [ebp - 0x3f4]
call fcn.00555564
add esp, 4
mov dword [ebp - 0x428], eax
push esi
push dword [ebp - 0x3f4]
push 1
push eax
call fcn.00557dc6
add esp, 0x10
cmp eax, dword [ebp - 0x3f4]
jne 0x4dc167
push dword [ebp - 0x3f8]
call fcn.00555564
add esp, 4
lea edx, [ebp - 0x424]
mov ecx, eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
push dword [ebp - 0x3f4]
mov dword [ebp - 0x42c], ecx
push eax
call fcn.0054a300
mov esi, dword [ebp - 0x424]
add esp, 8
cmp esi, dword [ebp - 0x3f8]
jne 0x4dc161
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x4dbfd7
push eax
call fcn.005550e4
add esp, 4
mov dword [ebp - 0x428], edi
push 0x14
call fcn.0055144c
mov ebx, dword [ebp - 0x42c]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x434], edi
add esp, 4
xor ecx, ecx
mov dword [edi + 0xc], 0
mov dword [edi], ebx
mov dword [edi + 4], esi
mov byte [edi + 0x10], 0
mov word [edi + 0x12], ax
test esi, esi
je 0x4dc079
cmp esi, 0x40
jb 0x4dc066
movaps xmm2, xmmword [0x5b4910]
mov eax, esi
and eax, 0x3f
mov edx, esi
sub edx, eax
movups xmm0, xmmword [ebx + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebx + ecx], xmm1
movups xmm0, xmmword [ebx + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebx + ecx + 0x10], xmm1
movups xmm0, xmmword [ebx + ecx + 0x20]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [ebx + ecx + 0x20], xmm0
movups xmm0, xmmword [ebx + ecx + 0x30]
pxor xmm1, xmm0
movups xmmword [ebx + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, edx
jb 0x4dc020
cmp ecx, esi
jae 0x4dc079
nop word [eax + eax]
xor byte [ecx + ebx], 0x6a
inc ecx
cmp ecx, esi
jb 0x4dc070
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x430]
call fcn.004db880
mov eax, dword [edi + 4]
mov dword [ebp - 0x434], eax
cmp dword [edi + 0xc], eax
jae 0x4dc15f
nop dword [eax]
mov edx, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x424], 0
xor esi, esi
mov eax, dword [edi + 0xc]
movzx ebx, byte [edx + eax]
inc eax
mov edx, ebx
mov dword [edi + 0xc], eax
and edx, 0x7f
shl edx, cl
or dword [ebp - 0x424], edx
test bl, bl
jns 0x4dc0d7
mov edx, dword [edi]
inc esi
add ecx, 7
cmp esi, 5
jl 0x4dc0b0
mov ecx, dword [ebp - 0x424]
mov esi, dword [edi]
add ecx, eax
mov edx, dword [ebp - 0x434]
mov dword [ebp - 0x424], ecx
mov dword [edi + 8], ecx
mov ecx, eax
lea ebx, [eax + esi]
cmp eax, edx
jae 0x4dc110
nop dword [eax]
cmp byte [eax + esi], 0
je 0x4dc110
inc eax
mov dword [edi + 0xc], eax
mov ecx, eax
cmp eax, edx
jb 0x4dc100
cmp ecx, edx
jae 0x4dc11c
lea eax, [ecx + 1]
mov dword [edi + 0xc], eax
jmp 0x4dc11f
lea ebx, [edi + 0x10]
mov ecx, dword [ebp - 0x43c]
mov edx, ebx
call fcn.004ea670
mov ebx, eax
test ebx, ebx
je 0x4dc140
mov esi, dword [ebx]
cmp esi, vtable.CSounds.0
jne 0x4dc1f2
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x424]
cmp ecx, eax
mov dword [ebp - 0x434], eax
cmovae ecx, eax
mov dword [edi + 0xc], ecx
cmp ecx, eax
jb 0x4dc0a0
mov bl, 1
mov esi, dword [ebp - 0x438]
push esi
call fcn.005572b0
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
je 0x4dc183
push eax
call fcn.005550e4
add esp, 4
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x4dc196
push eax
call fcn.005550e4
add esp, 4
test edi, edi
je 0x4dc1a5
push 0x14
push edi
call fcn.0055143e
add esp, 8
test bl, bl
jne 0x4dc1dd
mov eax, dword [ebp - 0x430]
mov esi, dword [eax + 0x34]
test esi, esi
je 0x4dc1dd
lea eax, [ebp - 0x3f0]
mov ecx, esi
push eax
call dword [0x579378]
call esi
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00551170
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00551170
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi + 0xc]
mov ecx, esi
push edi
call dword [0x579378]
mov ecx, ebx
call esi
jmp 0x4dc140