Function at 0x4e133a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], al
mov byte [ebp - 0x63], al
mov dword [ebp - 0x62], eax
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov dword [ebp - 0x56], eax
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
call fcn.00524a49
test al, al
jne 0x4e139b
push dword [ebp - 0x46]
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x4e]
call fcn.0058f8c9
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x68]
call fcn.0052490d
mov ebx, dword [ebp - 0x46]
movzx edi, byte [ebx + 7]
lea esi, [edi + 0xb]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edi
call fcn.0058f8c4
xor edx, edx
test esi, esi
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, ebx
jbe 0x4e13d0
mov bl, byte [ecx]
inc ecx
mov byte [edx + eax], bl
inc edx
cmp edx, esi
jb 0x4e13c5
mov eax, dword [ecx]
xor esi, esi
add ecx, 4
cmp eax, esi
mov dword [ebp - 8], ecx
mov dword [ebp + 0xc], esi
jbe 0x4e13fe
mov edx, eax
jmp 0x4e13e8
mov ecx, dword [ebp - 8]
dec edx
mov eax, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea ebx, [ebx + eax + 4]
lea eax, [ecx + eax + 4]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
jne 0x4e13e5
mov ecx, dword [ebp + 8]
add ecx, 4
lea eax, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ecx
call fcn.0055a729
cmp dword [ebp - 0x2c], 0
je 0x4e1469
mov eax, dword [ebp - 0x30]
test eax, eax
setne cl
test cl, cl
je 0x4e1469
cmp dword [eax], 0
je 0x4e142d
mov ebx, dword [eax]
jmp 0x4e1432
mov ebx, 0x5b07d8
lea eax, [ebp - 0x30]
call fcn.0055a749
xor ecx, ecx
push eax
push ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
call fcn.00524acb
push dword [ebp - 0x3c]
inc dword [ebp - 4]
lea esi, [esi + eax + 4]
call fcn.0058f8c9
pop ecx
lea edx, [ebp - 0x30]
call fcn.0055a6e1
jmp 0x4e1412
mov eax, dword [ebp + 0xc]
lea edx, [eax + edi + 0x10]
push 0
lea ebx, [esi + edi + 0x10]
push edx
mov dword [ebp - 0xc], ebx
call fcn.00524b8f
push 0
push ebx
mov edx, ebx
mov edi, eax
call fcn.00524b8f
mov ebx, eax
mov eax, dword [ebp - 0x4a]
sub ebx, edi
mov edi, ebx
sub edi, dword [ebp + 0xc]
add edi, esi
add edi, dword [ebp - 0x20]
lea eax, [eax + edi + 0x1b]
push eax
mov dword [ebp + 8], eax
call fcn.0058f8c4
lea esi, [eax + 4]
pop ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x64]
mov byte [esi], al
mov al, byte [ebp - 0x63]
inc esi
mov byte [esi], al
mov eax, dword [ebp - 0x62]
inc esi
mov dword [esi], eax
mov eax, dword [ebp - 0x5e]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x5a]
add esi, 8
mov dword [esi], eax
mov eax, dword [ebp - 0x56]
add esi, 4
mov dword [esi], eax
push ebx
push dword [ebp - 0xc]
add esi, 4
and dword [esi], 0
mov edx, edi
add esi, 4
call fcn.00524b8f
mov byte [esi], al
push eax
mov dword [ebp - 0x14], eax
inc esi
call fcn.0058f8c4
pop ecx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edx, eax
mov eax, edi
call fcn.00524bcf
push dword [ebp - 0x14]
push edx
push esi
call fcn.005987b0
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0058f8c9
mov eax, dword [ebp - 0x18]
add esi, dword [ebp - 0x14]
pop ecx
add eax, 0xb
push eax
push dword [ebp - 0x1c]
push esi
call fcn.005987b0
mov edi, dword [ebp - 0x18]
add esp, 0xc
lea esi, [esi + edi + 0xb]
push dword [ebp - 0x1c]
call fcn.0058f8c9
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
add esi, 4
call fcn.0055a729
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x4e15cc
mov eax, dword [ebp - 0x28]
cmp eax, ebx
setne cl
test cl, cl
je 0x4e15cc
cmp dword [eax], ebx
je 0x4e1577
mov ebx, dword [eax]
jmp 0x4e157c
mov ebx, 0x5b07d8
lea eax, [ebp - 0x28]
call fcn.0055a749
xor ecx, ecx
push eax
push ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
call fcn.00524acb
mov ebx, eax
mov dword [esi], ebx
mov eax, dword [ebp - 0x3c]
add esi, 4
test eax, eax
jne 0x4e15ac
mov eax, 0x5daec0
push ebx
push eax
push esi
call fcn.005987b0
add esp, 0xc
push dword [ebp - 0x3c]
add esi, ebx
call fcn.0058f8c9
pop ecx
lea edx, [ebp - 0x28]
call fcn.0055a6e1
jmp 0x4e155c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 0xc]
sub eax, edi
mov edi, dword [ebp - 0x2c]
mov ecx, edi
sub ecx, esi
add ecx, dword [ebp + 8]
sub eax, 0xf
cmp ecx, eax
je 0x4e1607
xor esi, esi
push edi
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x46]
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x4e]
call fcn.0058f8c9
pop ecx
mov eax, esi
jmp 0x4e1394
push eax
push dword [ebp - 8]
push esi
call fcn.005987b0
add esp, 0xc
xor ecx, ecx
xor eax, eax
cmp dword [ebp + 8], ebx
jbe 0x4e1638
movzx edx, byte [eax + edi]
mov esi, ecx
shr esi, 0x18
xor edx, esi
shl ecx, 8
xor ecx, dword [edx*4 + 0x5b9990]
inc eax
cmp eax, dword [ebp + 8]
jb 0x4e161d
mov esi, ecx
jmp 0x4e15e7