Function at 0x140001000
Capabilities:
Access peb ldr_data
Enumerate processes
Link many functions at runtime

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 - 0x14a0]
mov eax, 0x15a0
call fcn.140002a70
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1490], rax
mov rax, qword gs:[0x60]
lea rcx, [rbp + 0xa40]
xor edx, edx
mov r8d, 0x208
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x830]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
cmp rbx, rdi
je 0x140001134
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0xa40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x830]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0xa40]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140003318]
mov edx, 0x104
lea rcx, [rbp + 0x830]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x830]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rbp + 0xa40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x830]
lea rcx, [rbp + 0xa40]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x14000157e
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001090
mov rcx, r13
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, 0x208
mov r12, rax
mov rdi, qword [rcx + 0x18]
lea rcx, [rbp + 0x620]
add rdi, 0x20
mov rbx, qword [rdi]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp rbx, rdi
je 0x140001234
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x620]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0x620]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140003318]
mov edx, 0x104
lea rcx, [rbp + 0x410]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x410]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rbp + 0x620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x410]
lea rcx, [rbp + 0x620]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x140001587
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001190
mov rcx, r13
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, 0x208
mov r14, rax
mov rdi, qword [rcx + 0x18]
lea rcx, [rbp + 0xe60]
add rdi, 0x20
mov rbx, qword [rdi]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xc50]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp rbx, rdi
je 0x140001334
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0xe60]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xc50]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0xe60]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140003318]
mov edx, 0x104
lea rcx, [rbp + 0xc50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0xc50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rbp + 0xe60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0xc50]
lea rcx, [rbp + 0xe60]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x140001590
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001290
mov rcx, r13
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, 0x208
mov r15, rax
mov rdi, qword [rcx + 0x18]
lea rcx, [rbp + 0x1280]
add rdi, 0x20
mov rbx, qword [rdi]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1070]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp rbx, rdi
je 0x140001434
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x1280]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1070]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0x1280]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140003318]
mov edx, 0x104
lea rcx, [rbp + 0x1070]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x1070]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rbp + 0x1280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x1070]
lea rcx, [rbp + 0x1280]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x140001599
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001390
mov rcx, r13
lea rdx, str.NtAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm0, xmmword [str.C:Users_aland_source_reposMalware_Developmentx64ReleaseTestDll.dll]
lea rcx, [rbp + 0x290]
movaps xmm1, xmmword [0x140003380]
xor edx, edx
movaps xmmword [rbp + 0x200], xmm0
mov r8d, 0x178
movaps xmm0, xmmword [0x140003390]
mov rsi, rax
movaps xmmword [rbp + 0x220], xmm0
movaps xmm0, xmmword [0x1400033b0]
movaps xmmword [rbp + 0x210], xmm1
movaps xmm1, xmmword [0x1400033a0]
movaps xmmword [rbp + 0x240], xmm0
movaps xmm0, xmmword [0x1400033d0]
movaps xmmword [rbp + 0x230], xmm1
movaps xmm1, xmmword [0x1400033c0]
movaps xmmword [rbp + 0x260], xmm0
movaps xmm0, xmmword [0x1400033f0]
movaps xmmword [rbp + 0x250], xmm1
movaps xmm1, xmmword [0x1400033e0]
movaps xmmword [rbp + 0x280], xmm0
movaps xmmword [rbp + 0x270], xmm1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp - 0x48], 0x208
mov dword [rbp - 0x40], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp - 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400015b3
xor edx, edx
lea rcx, [rbp - 0x14]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400015b3
lea rdi, str.Notepad.exe
nop word [rax + rax]
lea rdx, [rbp - 0x14]
mov rax, r13
nop word [rax + rax]
movzx ecx, word [rdi + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x1400015a2
movzx ecx, word [rdi + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x1400015a2
add rax, 2
cmp rax, 0xc
jne 0x140001550
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp - 0x38]
jmp 0x1400015bf
mov rcx, qword [rbx + 0x20]
jmp 0x140001137
mov rcx, qword [rbx + 0x20]
jmp 0x140001237
mov rcx, qword [rbx + 0x20]
jmp 0x140001337
mov rcx, qword [rbx + 0x20]
jmp 0x140001437
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001540
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r13d
mov eax, ecx
lea rdx, str.__
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
test ecx, ecx
mov qword [rbp - 0x80], r13
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x78], 0x30
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x60], r13d
mov qword [rbp - 0x68], r13
jne 0x140001608
call fcn.140001960
lea rdx, str.PID_is_NULL_and_getPID_failed
jmp 0x14000175a
call fcn.140001960
mov rcx, rax
lea rdx, str.PID_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
lea r9, [rsp + 0x78]
mov qword [rsp + 0x60], r13
lea r8, [rbp - 0x78]
mov edx, 0x1fffff
lea rcx, [rsp + 0x60]
call r14
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 + 0x60], r13
jne 0x140001665
call fcn.140001960
lea rdx, str.hProcess_is_NULL_and_NtOpenProcess_failed
jmp 0x14000175a
call fcn.140001960
mov rcx, rax
lea rdx, str.hProcess_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140001740
nop
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x620]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0x410]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.Kernel32
mov edx, 0x104
lea rcx, [rbp + 0x620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rbp + 0x410]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x620]
lea rcx, [rbp + 0x410]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x14000179f
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400016a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__
call fcn.140001960
lea rdx, str.hModule_is_NULL_and_GetModuleHandleW_failed
mov rcx, rax
call fcn.140001960
mov rcx, rax
call fcn.140001b30
mov eax, 1
mov rcx, qword [rbp + 0x1490]
xor rcx, rsp
call fcn.140001d60
lea r11, [rsp + 0x15a0]
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
mov rbx, qword [rbx + 0x20]
test rbx, rbx
je 0x140001740
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__
call fcn.140001960
mov rcx, rax
lea rdx, str.hModule_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
mov rcx, qword [rsp + 0x60]
lea r9, [rbp - 0x48]
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x20], 0x3000
call rsi
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 + 0x68], r13
jne 0x140001820
call fcn.140001960
lea rdx, str.rBuffer_is_NULL_and_VirtualAllocEx_failed
jmp 0x14000175a
call fcn.140001960
mov rcx, rax
lea rdx, str.rBuffer_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
mov r9d, dword [rbp - 0x48]
lea rax, [rbp - 0x44]
mov rdx, qword [rsp + 0x68]
lea r8, [rbp + 0x200]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x44], r13d
call r12
lea rdx, str.__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp dword [rbp - 0x44], r13d
jne 0x140001886
call fcn.140001960
lea rdx, str.hThread_is_NULL_and_NtWriteVirtualMemory_failed
jmp 0x14000175a
call fcn.140001960
mov rcx, rax
lea rdx, str.hThread_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
lea rdx, str.LoadLibraryW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov r9, qword [rsp + 0x60]
mov edx, 0x1fffff
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x20], rax
call r15
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 + 0x70], r13
jne 0x14000191a
call fcn.140001960
lea rdx, str.hThread_is_NULL_and_NtCreateThreadEx_failed
jmp 0x14000175a
call fcn.140001960
mov rcx, rax
lea rdx, str.hThread_is_OK
call fcn.140001960
mov rcx, rax
call fcn.140001b30
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
jmp 0x14000176f