Function at 0x180001350
Capabilities:
Create process on windows
Create process suspended
Link many functions at runtime
Resume thread
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x4e8]
sub rsp, 0x5e8
mov rax, qword [0x180017020]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov eax, dword [rbp + 0x540]
mov rbx, rcx
mov rsi, qword [rbp + 0x548]
lea rcx, str.Kernel32.dll
mov qword [rsp + 0x58], r9
mov r13, rdx
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.VirtualAllocEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, 0xffffffffffffffff
mov r12, rax
test rbx, rbx
je 0x180001752
lea rcx, [0x18000d360]
mov qword [rsp + 0x630], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.VirtualProtectEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
mov r14, rax
xor r9d, r9d
xor eax, eax
xor r8d, r8d
mov dword [rbp - 0xc], eax
mov rdx, rbx
mov qword [rbp - 0x80], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000174a
lea rcx, [0x18000d360]
mov qword [rsp + 0x5e0], r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.GetThreadContext
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18000d360]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.VirtualQueryEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [rbp - 0x80]
lea rdx, [rbp]
mov r15, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov dword [rsi], ecx
mov rcx, r15
mov dword [rbp + 0x30], 0x10000b
call rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, qword [rbp + 0x80]
mov edx, 0xffffffff
movsxd r8, dword [rax + 0x3c]
add r8, rax
mov ecx, dword [r8 + 0x28]
lea r9, [r8 + 0x108]
sub rbx, rcx
mov rcx, rax
mov qword [rsp + 0x68], rbx
call fcn.180001780
xor esi, esi
mov r8d, eax
cmp qword [r13 + 0x30], rbx
jne 0x180001530
mov eax, dword [rsp + 0x50]
cmp r8, rax
jb 0x180001530
lea rax, [rsp + 0x60]
mov r9d, 0x40
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rsi, rbx
call r14
jmp 0x180001647
test r12, r12
je 0x180001647
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x1800015b3
lea rdx, str.ZwUnmapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800015aa
mov rdx, rbx
mov ecx, edi
call rax
xor ebx, ebx
mov rcx, r14
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
mov ebx, dword [rsp + 0x50]
je 0x1800015b7
mov rdx, qword [r13 + 0x30]
mov r9d, 0x3000
mov r8d, ebx
mov dword [rsp + 0x20], 0x40
mov ecx, edi
call r12
mov rsi, rax
test rax, rax
jne 0x180001647
jmp 0x1800015b7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [rsp + 0x50]
cmp dword [r13 + 0xb0], 0
je 0x180001647
cmp dword [r13 + 0xb4], 0
je 0x180001647
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, ebx
xor edx, edx
mov ecx, edi
call r12
mov rsi, rax
test rax, rax
je 0x180001647
mov eax, dword [r13 + 0xb0]
add eax, dword [rsp + 0x58]
mov r8d, eax
mov eax, dword [rax + 4]
add eax, dword [r8]
je 0x180001647
nop word [rax + rax]
movsxd rax, r8d
mov edx, 1
mov r8d, dword [r8 + 4]
add rax, 8
sub r8, 8
shr r8, 1
cmp r8, rdx
jb 0x18000163d
nop dword [rax]
inc edx
add rax, 2
mov ecx, edx
cmp rcx, r8
jbe 0x180001630
mov ecx, dword [rax + 4]
mov r8, rax
add ecx, dword [rax]
jne 0x180001610
lea rcx, [0x18000d360]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.WriteProcessMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18000d360]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SetThreadContext
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov r14, rax
test rsi, rsi
je 0x180001721
mov rdx, qword [rbp + 0x88]
lea r8, [r13 + 0x30]
add rdx, 0x10
mov qword [r13 + 0x30], rsi
mov r9d, 8
mov qword [rsp + 0x20], 0
call rbx
mov r9d, dword [rsp + 0x50]
lea rax, [rbp - 0x78]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x18000171e
mov ecx, dword [r13 + 0x28]
mov dword [rbp + 0x30], 0x10000b
cmp rsi, qword [rsp + 0x68]
jne 0x1800016f5
add rcx, qword [r13 + 0x30]
mov qword [rbp + 0x80], rcx
jmp 0x180001700
lea rax, [rcx + rsi]
mov qword [rbp + 0x80], rax
lea rdx, [rbp]
mov rcx, r15
call r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180001742
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, 0xffffffffffffffff
mov r15, qword [rsp + 0x5e0]
mov r14, qword [rsp + 0x630]
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.180001c90
add rsp, 0x5e8
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret