Function at 0x140001000
Capabilities:
Create thread
Enumerate processes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [r11 - 0x408]
sub rsp, 0x4f0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
lea rcx, str.ntdll.dll
mov qword [r11 + 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm0, xmmword [str.C:Users_aland_source_reposMalware_Developmentx64ReleaseTestDll.dll]
lea rcx, [rbp + 0x260]
movaps xmm1, xmmword [0x140003330]
xor edx, edx
movaps xmmword [rbp + 0x1d0], xmm0
mov r8d, 0x178
movaps xmm0, xmmword [0x140003340]
mov rdi, rax
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmm0, xmmword [0x140003360]
movaps xmmword [rbp + 0x1e0], xmm1
movaps xmm1, xmmword [0x140003350]
movaps xmmword [rbp + 0x210], xmm0
movaps xmm0, xmmword [0x140003380]
movaps xmmword [rbp + 0x200], xmm1
movaps xmm1, xmmword [0x140003370]
movaps xmmword [rbp + 0x230], xmm0
movaps xmm0, xmmword [0x1400033a0]
movaps xmmword [rbp + 0x220], xmm1
movaps xmm1, xmmword [0x140003390]
movaps xmmword [rbp + 0x250], xmm0
movaps xmmword [rbp + 0x240], xmm1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp - 0x70], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp - 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r15d, r15d
test eax, eax
je 0x1400011b1
xor edx, edx
lea rcx, [rbp - 0x44]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400011b1
lea r14, str.Notepad.exe
nop word [rax + rax]
lea rdx, [rbp - 0x44]
mov rax, r15
nop word [rax + rax]
movzx ecx, word [r14 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x1400011a0
movzx ecx, word [r14 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x1400011a0
add rax, 2
cmp rax, 0xc
jne 0x140001170
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp - 0x68]
jmp 0x1400011bd
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001160
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r15d
mov r14, qword [rsp + 0x510]
lea rdx, str.__
mov eax, ecx
xorps xmm0, xmm0
test ecx, ecx
mov qword [rsp + 0x48], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x68], r15
jne 0x140001229
call fcn.140001440
lea rdx, str.PID_is_NULL_and_getPID_failed
mov rcx, rax
call fcn.140001440
mov rcx, rax
call fcn.140001610
mov eax, 1
jmp 0x14000140c
call fcn.140001440
mov rcx, rax
lea rdx, str.PID_is_OK
call fcn.140001440
mov rcx, rax
call fcn.140001610
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], r15
lea r8, [rsp + 0x58]
mov edx, 0x1fffff
lea rcx, [rsp + 0x40]
call rdi
lea rdx, str.__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp qword [rsp + 0x40], r15
jne 0x140001283
call fcn.140001440
lea rdx, str.hProcess_is_NULL_and_OpenProcess_failed
jmp 0x14000120f
call fcn.140001440
mov rcx, rax
lea rdx, str.hProcess_is_OK
call fcn.140001440
mov rcx, rax
call fcn.140001610
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__
mov rbx, rax
test rax, rax
jne 0x1400012d3
call fcn.140001440
lea rdx, str.hModule_is_NULL_and_GetModuleHandleW_failed
jmp 0x14000120f
call fcn.140001440
mov rcx, rax
lea rdx, str.hModule_is_OK
call fcn.140001440
mov rcx, rax
call fcn.140001610
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__
mov rdi, rax
test rax, rax
jne 0x140001337
call fcn.140001440
lea rdx, str.rBuffer_is_NULL_and_VirtualAllocEx_failed
jmp 0x14000120f
call fcn.140001440
mov rcx, rax
lea rdx, str.rBuffer_is_OK
call fcn.140001440
mov rcx, rax
call fcn.140001610
mov rcx, qword [rsp + 0x40]
lea rax, [rbp - 0x78]
mov r9d, 0x208
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1d0]
mov rdx, rdi
call rsi
lea rdx, str.LoadLibraryW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x38], r15
mov r9, rax
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__
mov rdi, rax
test rax, rax
jne 0x1400013d1
call fcn.140001440
lea rdx, str.hThread_is_NULL_and_CreateRemoteThreadEx_failed
jmp 0x14000120f
call fcn.140001440
mov rcx, rax
lea rdx, str.hThread_is_OK
call fcn.140001440
mov rcx, rax
call fcn.140001610
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140001840
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret