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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
lea rax, [0x140001af0]
lea rcx, [0x140001540]
sub rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x230]
mov dword [rsp + 0x1e0], eax
movsxd rax, dword [rsp + 0x1e0]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
jne 0x140001bba
lea rax, [0x140025630]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001bba
jmp 0x140002087
movsxd rax, dword [rsp + 0x1e0]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x228]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001c0e
lea rax, [0x140025650]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001c0e
jmp 0x140002087
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x70], rax
lea rdx, str.GetModuleHandleA
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, [0x1400256a0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.Sleep
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xa0]
lea rcx, str.Py_AddPendingCall
mov rdi, rax
mov rsi, rcx
mov ecx, 0x12
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, str.PyMarshal_ReadObjectFromString
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1f
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe8]
lea rcx, str.PyEval_EvalCode
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, str.PyEval_GetBuiltins
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x120]
lea rcx, str.PyDict_SetItemString
mov rdi, rax
mov rsi, rcx
mov ecx, 0x15
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, str.Py_DecRef
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x158]
lea rcx, str.PyErr_Occurred
mov rdi, rax
mov rsi, rcx
mov ecx, 0xf
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, str.PyErr_Print
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x188]
lea rcx, str.PyImport_AddModule
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a8]
lea rcx, str.PyModule_GetDict
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b9]
lea rcx, str.python27
mov rdi, rax
mov rsi, rcx
mov ecx, 9
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c2]
lea rcx, str.__main__
mov rdi, rax
mov rsi, rcx
mov ecx, 9
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1cb]
lea rcx, str.__builtins__
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001e28
lea rax, [0x1400257c0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001e28
jmp 0x140002087
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x178
xor edx, edx
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001e77
lea rax, str.Couldnt_allocate_memory_
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001e77
jmp 0x140002087
lea rax, [0x140001960]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rcx, [0x140001540]
sub rax, rcx
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
lea r8, [0x140001540]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001ee5
lea rax, [0x140025800]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001ee5
jmp 0x140002087
mov qword [rsp + 0x20], 0
mov r9d, 0x178
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001f31
lea rax, str.Couldnt_write_memory_
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001f31
jmp 0x140002087
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140001f8f
lea rax, str.Couldnt_create_remote_thread_
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001f8f
jmp 0x140002087
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x68], 2
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
je 0x140001fdd
cmp dword [rsp + 0x50], 2
je 0x140001ffb
cmp dword [rsp + 0x50], 3
je 0x140002013
cmp dword [rsp + 0x50], 4
je 0x14000202b
jmp 0x140002043
lea rax, str.python27.dll_was_null__you_tried_to_inject_too_early.
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001ffb
jmp 0x140002087
lea rax, str.missing_export_s_.
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140002013
jmp 0x140002087
lea rax, str.Py_AddPendingCall_failed.
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000202b
jmp 0x140002087
lea rax, str.Error_evaluating_code.
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140002043
jmp 0x140002087
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 1
jmp 0x1400020f8
mov r9d, 0x10
lea r8, str.Error
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0x60], 0
je 0x1400020b4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], 0
je 0x1400020d5
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp qword [rsp + 0x58], 0
je 0x1400020f6
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
add rsp, 0x208
pop rdi
pop rsi
ret