Function at 0x4e4d88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040403c
lea eax, [ebp - 0x10]
mov edx, dword [0x4e1c6c]
call fcn.004044a4
lea eax, [ebp - 0x18]
mov edx, dword [0x4e1c6c]
call fcn.004044a4
lea eax, [ebp - 0x20]
mov edx, dword [0x4e1c6c]
call fcn.004044a4
lea eax, [ebp - 0x28]
mov edx, dword [0x4e1c6c]
call fcn.004044a4
xor eax, eax
push ebp
push 0x4e53ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403c0c
lea eax, [ebp - 0x4c]
call fcn.00403c0c
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00408b80
mov eax, dword [ebp - 4]
call fcn.00403e88
cmp eax, 0x100
jl 0x4e536c
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
lea edx, [ebp - 0x264]
mov eax, 0x4e4ae4
call fcn.00405c64
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x44]
call fcn.00403f98
jne 0x4e536c
mov eax, dword [ebp - 0x44]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x2c], 0
je 0x4e536c
mov eax, dword [ebp - 0x2c]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x30], 0
je 0x4e536c
mov eax, dword [ebp - 0x30]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x34], 0
je 0x4e536c
mov eax, dword [ebp - 0x34]
call fcn.00403e88
test eax, eax
je 0x4e536c
mov edx, dword [ebp - 0x34]
mov eax, 0x4e53c4
call fcn.00404170
test eax, eax
je 0x4e536c
mov edx, dword [ebp - 0x34]
mov eax, 0x4e53d0
call fcn.00404170
test eax, eax
je 0x4e536c
mov eax, dword [ebp - 0x34]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x38], 0
je 0x4e536c
mov eax, dword [ebp - 0x38]
call fcn.00403e88
cmp eax, 8
jne 0x4e536c
mov eax, dword [ebp - 0x38]
call fcn.0040404c
push eax
call fcn.004e4af4
test eax, eax
je 0x4e536c
mov eax, dword [ebp - 0x38]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
mov eax, dword [ebp - 0x3c]
call fcn.00403e88
cmp eax, 0xa
jne 0x4e536c
mov eax, dword [ebp - 0x3c]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x44], 0
je 0x4e536c
mov eax, dword [ebp - 0x44]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 0x44]
call fcn.00403e88
cmp eax, 0x2b
jne 0x4e501d
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.00403ca4
jmp 0x4e502a
lea eax, [ebp - 0x40]
mov edx, 0x2b
call fcn.004041b8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x44], 0
je 0x4e536c
mov eax, dword [ebp - 0x44]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 0x44]
call fcn.00403e88
cmp eax, 0x2b
jne 0x4e5073
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.00403e90
jmp 0x4e5080
lea eax, [ebp - 0x40]
mov edx, 0x56
call fcn.004041b8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.004e4b38
cmp dword [ebp - 0x44], 0
je 0x4e536c
mov eax, dword [ebp - 0x44]
call fcn.00403e88
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x48]
mov edx, 1
call fcn.004040cc
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.00403e90
lea edx, [ebp - 0x264]
mov eax, 0x4e4aec
call fcn.00405c64
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x48]
call fcn.00403f98
jne 0x4e536c
lea eax, [ebp - 0x260]
xor ecx, ecx
mov edx, 0x200
call fcn.00402c18
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00403f48
mov eax, dword [ebp - 0x44]
call fcn.00403e88
mov ecx, eax
cmp ecx, 0x1bf
jg 0x4e536c
test ecx, ecx
je 0x4e536c
mov esi, ecx
test esi, esi
jle 0x4e5149
mov eax, 1
lea edx, [ebp - 0x260]
mov ebx, dword [ebp - 0x44]
mov bl, byte [ebx + eax - 1]
mov byte [edx], bl
inc eax
inc edx
dec esi
jne 0x4e513b
push ecx
lea eax, [ebp - 0x260]
push eax
call fcn.004e5814
mov ecx, eax
push ecx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004e5544
mov eax, dword [ebp - 0x44]
call fcn.00403e88
push eax
mov eax, dword [ebp - 0x44]
call fcn.0040404c
push eax
call fcn.004e54f0
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov edx, 8
mov eax, ebx
call fcn.00408f88
mov eax, 5
lea edx, [ebp - 0x60]
xor ebx, dword [edx]
add edx, 4
dec eax
jne 0x4e5199
push dword [ebp - 0x4c]
push 0x4e53dc
lea ecx, [ebp - 0x264]
mov edx, 8
mov eax, ebx
call fcn.00408f88
push dword [ebp - 0x264]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00403f48
lea ecx, [ebp - 0x44]
mov edx, 0x28
mov al, 0x2a
call fcn.0040421c
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x44]
call fcn.0040404c
push eax
call fcn.004e53e0
lea ecx, [ebp - 0x48]
mov edx, 0xe7
mov al, 0x2a
call fcn.0040421c
mov eax, dword [ebp - 0x48]
call fcn.0040404c
push eax
call fcn.004e4bfc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x48]
call fcn.004e23c8
lea ecx, [ebp - 0x48]
mov edx, 5
mov al, 0x2a
call fcn.0040421c
mov eax, dword [ebp - 0x48]
call fcn.0040404c
push eax
call fcn.004e4bcc
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x48]
call fcn.004e23c8
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x40]
call fcn.004e2184
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x48]
call fcn.004e354c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x18]
call fcn.004e3eec
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x4e527f
cmp dword [eax + 8], 0
jne 0x4e527f
call fcn.0040c380
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x20]
call fcn.004e345c
lea eax, [ebp - 0x10]
call fcn.004e2630
lea eax, [ebp - 0x18]
call fcn.004e2630
lea eax, [ebp - 0x20]
call fcn.004e2630
lea eax, [ebp - 0x28]
call fcn.004e2630
mov eax, 0x585f54
mov edx, dword [ebp - 0x48]
call fcn.00403c60
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x28
mov edx, 9
mov eax, dword [ebp - 0x48]
call fcn.0040408c
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.00403f98
jne 0x4e536c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x4c]
call fcn.00403ca4
lea ecx, [ebp - 0x264]
mov edx, 0xa
mov eax, dword [ebp - 0x2c]
call fcn.004e4d10
mov edx, dword [ebp - 0x264]
mov eax, 0x585f58
call fcn.00403c60
lea ecx, [ebp - 0x264]
mov edx, 3
mov eax, dword [ebp - 0x30]
call fcn.004e4d10
mov edx, dword [ebp - 0x264]
mov eax, 0x585f5c
call fcn.00403c60
lea ecx, [ebp - 0x264]
mov edx, 0xa
mov eax, dword [ebp - 0x34]
call fcn.004e4d10
mov edx, dword [ebp - 0x264]
mov eax, 0x585f60
call fcn.00403c60
mov eax, 0x585f64
mov edx, dword [ebp - 0x38]
call fcn.00403c60
mov eax, 0x585f68
mov edx, dword [ebp - 0x3c]
call fcn.00403c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e53b4
lea eax, [ebp - 0x264]
call fcn.00403c0c
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.00403c30
lea eax, [ebp - 0x28]
mov edx, dword [0x4e1c6c]
mov ecx, 4
call fcn.0040459c
lea eax, [ebp - 4]
call fcn.00403c0c
ret