Function at 0x140011b9c
Capabilities:
Allocate or change rwx memory
Create process on windows
Map section object
Resume thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r15, qword [rbp + 0x80]
lea rdi, [rbp - 0x50]
xor r12d, r12d
xor eax, eax
mov rbx, rcx
mov dword [rbp + 0x70], r12d
mov qword [rbp + 0x60], r12
xorps xmm0, xmm0
mov qword [rbp + 0x68], r12
mov r14, r9
lea edx, [rax + 0x68]
mov qword [rsp + 0x70], r12
movsxd rsi, dword [rbx + 0x3c]
mov ecx, edx
rep stosb byte [rdi], al
mov dword [rbp - 0x50], edx
movdqu xmmword [rsp + 0x58], xmm0
mov eax, dword [rsi + rbx + 0x50]
mov qword [rsp + 0x78], rax
mov eax, 0x14c
mov qword [r15], r12
cmp word [rsi + rbx + 4], ax
je 0x140011c28
mov eax, 0x8664
cmp word [rsi + rbx + 4], ax
je 0x140011c28
mov edi, 0xc00000bb
jmp 0x140011d31
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x78]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rbp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov edi, eax
test eax, eax
js 0x140011d02
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov rdx, r14
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x24
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140011cac
mov edi, 0x40000015
jmp 0x140011d12
mov rcx, qword [rsp + 0x58]
lea rax, [rbp + 0x70]
mov r9d, 0x30
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov edi, eax
test eax, eax
js 0x140011d02
mov rdx, qword [rbp - 0x78]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x68]
add rdx, 0x10
mov qword [rsp + 0x20], rax
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140011d45
mov edi, 0xc00000e9
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140011d12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140011d21
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140011d31
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rsi + rbx + 0x50]
lea rcx, [rbp + 0x80]
mov dword [rsp + 0x48], 0x40
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], r12d
xor r9d, r9d
mov dword [rsp + 0x38], 2
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x50], r12
mov eax, dword [rsi + rbx + 0x50]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test eax, eax
js 0x140011d02
mov r9d, dword [rsi + rbx + 0x50]
lea rax, [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140011cfd
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov edi, eax
test eax, eax
js 0x140011d02
mov eax, dword [rsi + rbx + 0x50]
lea rcx, [rbp + 0x80]
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x68]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x80], rax
mov eax, dword [rsi + rbx + 0x50]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test eax, eax
js 0x140011d02
mov edx, dword [rsi + rbx + 0x28]
lea rcx, [0x140043ea0]
movups xmm0, xmmword [rcx]
add rdx, qword [rsp + 0x50]
mov eax, 0x80
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
add rdx, rax
movups xmm0, xmmword [rcx + 0x70]
add rcx, rax
movups xmmword [rdx - 0x10], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x38], eax
movzx eax, word [rcx + 0x3c]
mov word [rdx + 0x3c], ax
mov al, byte [rcx + 0x3e]
mov byte [rdx + 0x3e], al
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x58]
mov qword [r15], rax
jmp 0x140011d12