Function at 0x1400014c0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rbx, rdx
mov dword [rbp + 0xa0], r8d
lea r14, [0x1400014b0]
movsxd r8, r8d
lea r12, [0x140001220]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
sub r14, r12
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x98], rax
test rax, rax
je 0x14000195c
movsxd r9, dword [rbp + 0xa0]
xor r15d, r15d
mov r8, rbx
mov qword [rsp + 0x20], r15
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001556
lea rdx, str.Couldnt_write_memory_
jmp 0x140001963
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.GetModuleHandleA
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140024690]
mov rcx, rbx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Sleep
mov rcx, rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm0, xmmword [str.Py_AddPendingCall]
mov qword [rsp + 0x50], rax
movzx eax, word [0x1400246b8]
movsd xmm1, qword [0x1400246d0]
mov word [rsp + 0x70], ax
mov eax, dword [0x1400246d8]
mov dword [rbp - 0x68], eax
movzx eax, word [0x1400246dc]
mov word [rbp - 0x64], ax
movzx eax, byte [0x1400246de]
mov byte [rbp - 0x62], al
movzx eax, word [0x140024700]
mov word [rbp - 0x30], ax
movzx eax, byte [0x140024702]
mov byte [rbp - 0x2e], al
mov eax, dword [0x140024718]
mov dword [rbp - 0x10], eax
movzx eax, byte [0x14002471c]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.PyMarshal_ReadObjectFromString]
mov byte [rbp - 0xc], al
movzx eax, word [0x140024728]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [str.PyEval_EvalCode]
mov word [rbp + 8], ax
mov eax, dword [0x140024738]
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp + 0x20], eax
movzx eax, word [0x14002473c]
movups xmm0, xmmword [str.PyDict_SetItemString]
mov word [rbp + 0x24], ax
movzx eax, byte [0x14002473e]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [str.Py_DecRef]
movsd qword [rbp], xmm0
movsd xmm0, qword [str.PyErr_Occurred]
mov byte [rbp + 0x26], al
mov eax, dword [0x140024748]
movsd qword [rbp + 0x18], xmm0
movsd xmm0, qword [str.PyErr_Print]
mov dword [rbp + 0x38], eax
movzx eax, word [0x140024760]
movsd qword [rbp + 0x30], xmm0
movups xmm0, xmmword [str.PyImport_AddModule]
mov word [rbp + 0x58], ax
movzx eax, byte [0x140024762]
movups xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x5a], al
movzx eax, byte [0x140024778]
movups xmm0, xmmword [str.PyModule_GetDict]
mov byte [rbp + 0x78], al
movzx eax, byte [0x140024788]
movups xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x81], al
movsd xmm0, qword [str.python27]
movzx eax, byte [0x140024798]
movsd qword [rbp + 0x79], xmm0
movsd xmm0, qword [str.__main__]
movsd qword [rbp - 0x70], xmm1
movups xmm1, xmmword [str.PyEval_GetBuiltins]
mov byte [rbp + 0x8a], al
mov eax, dword [0x1400247a8]
movsd qword [rbp + 0x82], xmm0
movsd xmm0, qword [str.__builtins__]
mov dword [rbp + 0x93], eax
movaps xmmword [rbp - 0x40], xmm1
movsd qword [rbp + 0x8b], xmm0
movzx eax, byte [0x1400247ac]
mov r9d, 0x1000
mov r8, r14
mov byte [rbp + 0x97], al
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14000195c
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x178
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x140001798
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Couldnt_allocate_memory_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000192b
lea rax, [0x1400013d0]
mov qword [rsp + 0x20], r15
sub rax, r12
mov r9, r14
add rax, rdi
mov r8, r12
mov rdx, rdi
mov qword [rbp + 0xa8], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400017e6
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Couldnt_write_memory_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000192b
mov r9d, 0x178
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001825
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Couldnt_write_memory_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000192b
mov qword [rsp + 0x30], r15
mov r9, rdi
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x14000186c
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Couldnt_create_remote_thread_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000192b
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [rbp + 0x100]
sub eax, 1
je 0x140001906
sub eax, 1
je 0x1400018fd
sub eax, 1
je 0x1400018f4
cmp eax, 1
je 0x1400018eb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 1
jmp 0x14000197a
lea rdx, str.Error_evaluating_code.
jmp 0x14000190d
lea rdx, str.Py_AddPendingCall_failed.
jmp 0x14000190d
lea rdx, str.missing_export_s_.
jmp 0x14000190d
lea rdx, str.python27.dll_was_null__you_tried_to_inject_too_early.
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test rbx, rbx
je 0x140001978
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001978
lea rdx, str.Couldnt_allocate_memory_
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret