Function at 0x4eed50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4eed58
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404740
xor eax, eax
push ebp
push 0x4ef0d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00435b78
mov eax, dword [ebp - 0x28]
mov edx, 0x4ef0e8
call fcn.0040469c
je 0x4eeda8
lea eax, [ebp - 4]
mov edx, 0x4ef0e8
call fcn.00404558
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.00404b54
push dword [ebp - 0x30]
push dword [ebx + 0x388]
push 0x4ef0f0
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404c44
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404518
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
call fcn.0050eb34
push dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
mov eax, dword [ebx + 0x37c]
mov edx, 2
call fcn.0050eeb0
push dword [ebp - 0x38]
mov eax, dword [0x51721c]
push dword [eax]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404610
push dword [ebp - 0x10]
lea edx, [ebp - 0x40]
mov eax, dword [0x5173fc]
mov eax, dword [eax]
call fcn.0050eca8
mov eax, dword [ebp - 0x40]
call fcn.00404550
lea ecx, [ebp - 0x3c]
mov edx, 2
call fcn.0050eeb0
push dword [ebp - 0x3c]
lea edx, [ebp - 0x44]
mov eax, dword [0x5173fc]
mov eax, dword [eax]
call fcn.0050eca8
push dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404610
push dword [ebp - 0x10]
lea edx, [ebp - 0x4c]
mov eax, dword [0x5173d8]
mov eax, dword [eax]
call fcn.0050eca8
mov eax, dword [ebp - 0x4c]
call fcn.00404550
lea ecx, [ebp - 0x48]
mov edx, 2
call fcn.0050eeb0
push dword [ebp - 0x48]
lea edx, [ebp - 0x50]
mov eax, dword [0x5173d8]
mov eax, dword [eax]
call fcn.0050eca8
push dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404610
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.0050f59c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x10]
call fcn.0040430c
mov eax, dword [ebp - 0x10]
call fcn.00404550
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4eed30]
call fcn.004059b4
add esp, 4
lea eax, [ebp - 0x10]
call fcn.004047a8
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.004029b4
mov edx, dword [ebp - 0x1c]
dec edx
test edx, edx
jl 0x4eef1b
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor byte [ecx + eax], 0xbb
inc eax
dec edx
jne 0x4eef10
mov edx, dword [0x5179bc]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x4ef104
call fcn.0040459c
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0041e830
mov eax, esi
call fcn.00403464
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, dword [ebp - 0x14]
call fcn.0041e7f8
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.0041e7f8
mov eax, dword [ebx + 0x394]
call fcn.004057f8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
dec edx
test edx, edx
jl 0x4eefac
inc edx
xor eax, eax
mov ecx, eax
add cl, 0xbb
mov esi, dword [ebx + 0x394]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4eef9a
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0041e7f8
mov edx, dword [ebx + 0x394]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.0041e7f8
mov edx, dword [ebp - 0x20]
dec edx
test edx, edx
jl 0x4eefea
inc edx
xor eax, eax
mov ecx, eax
add cl, 0xbb
mov esi, dword [ebx + 0x394]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4eefd8
mov edx, dword [0x5179bc]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x4ef118
call fcn.0040459c
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0041e7f8
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0041e830
mov eax, esi
call fcn.00403464
lea edx, [ebp - 0x24]
mov ecx, 4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00403464
push 0x4ef12c
push dword [ebp - 8]
push 0x4ef15c
push 0x4ef15c
push 0x4ef168
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.00404610
mov eax, dword [ebp - 0x58]
call fcn.0050d834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef0da
lea eax, [ebp - 0x58]
mov edx, 0xa
call fcn.00404298
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004049b4
lea eax, [ebp - 0x28]
call fcn.00404274
lea eax, [ebp - 0x18]
mov edx, dword [0x4eed30]
call fcn.004059c0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404298
ret