Function at 0x4eaf50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f7eb
mov eax, dword fs:[0]
push eax
mov eax, 0x1084
call fcn.00523cc0
mov eax, dword [0x582654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x107c], edx
cmp byte [edx + 0x128], 0
mov edi, dword [ebp + 8]
jne 0x4eaf9d
mov al, 1
jmp 0x4eb730
mov ecx, dword [edx + 0x134]
lea eax, [ecx + 1]
mov dword [edx + 0x134], eax
cmp ecx, dword [edx + 0x130]
jg 0x4eaf96
lea eax, [ebp - 0x1020]
mov byte [ebp - 0x1010], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5628bc
lea ecx, [ebp - 0x1078]
call fcn.004e5860
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [ebp - 0x1012]
push eax
movzx eax, word [ebp - 0x1018]
push ecx
movzx ecx, word [ebp - 0x1014]
push ecx
movzx ecx, word [ebp - 0x1016]
push ecx
push eax
mov ecx, esi
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0041f000
add esp, 0x20
lea ecx, [ebp - 0x1078]
call fcn.004e5a10
push 0x5628e0
lea ecx, [ebp - 0x1030]
call fcn.004e0c60
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004e0ed0
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004d9b50
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1030]
call fcn.004e0df0
lea eax, [ebp - 0x1010]
push eax
call fcn.004d9c20
mov ecx, dword [ebp - 0x107c]
lea edi, [ebp - 0x1010]
mov dword [ebp - 0x108c], eax
add esp, 4
shr eax, 3
mov ebx, edi
mov dword [ebp - 0x1080], edi
mov edx, dword [ecx + 0x138]
mov esi, dword [ecx + 0x13c]
mov dword [ebp - 0x1084], eax
test eax, eax
je 0x4eb3df
nop word [eax + eax]
lea eax, [edx + 1]
movzx edx, al
mov dword [ebp - 0x1088], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1080], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov ecx, dword [ebp - 0x1080]
add eax, ecx
mov edx, dword [ebp - 0x107c]
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx]
mov byte [edi], al
mov eax, dword [ebp - 0x1088]
inc eax
movzx edx, al
mov dword [ebp - 0x1080], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 1]
mov byte [edi + 1], al
mov eax, dword [ebp - 0x1080]
inc eax
movzx edx, al
mov dword [ebp - 0x1080], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 2]
mov byte [edi + 2], al
mov eax, dword [ebp - 0x1080]
inc eax
movzx edx, al
mov dword [ebp - 0x1080], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 3]
mov byte [edi + 3], al
mov eax, dword [ebp - 0x1080]
inc eax
movzx edx, al
mov dword [ebp - 0x1080], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 4]
mov byte [edi + 4], al
mov eax, dword [ebp - 0x1080]
inc eax
movzx edx, al
mov dword [ebp - 0x1080], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 5]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x1080]
inc eax
movzx edx, al
mov dword [ebp - 0x1090], edx
mov ecx, dword [ecx + edx*4 + 0x140]
mov dword [ebp - 0x1088], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x107c]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [ecx + edx*4 + 0x140], eax
mov edx, dword [ebp - 0x107c]
mov ecx, dword [ebp - 0x1088]
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 0x140], ecx
mov ecx, edx
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 6]
mov byte [edi + 6], al
add edi, 7
mov eax, dword [ebp - 0x1090]
inc eax
mov dword [ebp - 0x1080], edi
mov edi, dword [ebp - 0x107c]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
movzx eax, al
mov edi, dword [ebp - 0x1080]
movzx eax, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 7]
add ebx, 8
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
jne 0x4eb0b0
mov eax, dword [ebp - 0x108c]
and eax, 7
mov dword [ebp - 0x1084], eax
je 0x4eb707
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx]
inc ebx
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
nop word [eax + eax]
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 1]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 2]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 3]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 4]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 5]
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
je 0x4eb70d
mov edi, dword [ebp - 0x107c]
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 0x140]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 0x107c]
mov eax, dword [eax + esi*4 + 0x140]
mov dword [edi + edx*4 + 0x140], eax
add eax, ecx
mov dword [edi + esi*4 + 0x140], ecx
mov ecx, edi
mov edi, dword [ebp - 0x1080]
movzx eax, al
mov al, byte [ecx + eax*4 + 0x140]
xor al, byte [ebx + 6]
add ebx, 7
mov byte [edi], al
inc edi
sub dword [ebp - 0x1084], 1
mov dword [ebp - 0x1080], edi
jne 0x4eb460
jmp 0x4eb70d
mov ecx, dword [ebp - 0x107c]
push dword [ebp - 0x108c]
lea eax, [ebp - 0x1010]
mov dword [ecx + 0x138], edx
push eax
mov dword [ecx + 0x13c], esi
call fcn.004ec2b0
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052388c
mov esp, ebp
pop ebp
ret 4