Function at 0x140001720
Capabilities:
Enumerate processes
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x280], rax
lea rcx, str.By_Leonard_Pro
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x20
call fcn.1400036e0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x48], 0xf
movups xmm0, xmmword [str.EmoQ.exe]
movups xmmword [rax], xmm0
mov word [rax + 0x10], si
mov dword [rbp + 0x40], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x44]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001814
nop dword [rax]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400018ab
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.NO:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002c70
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.1400032d0
lea rdx, [0x140002e50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001f26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0x48]
test r8d, r8d
je 0x14000181d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001ef9
lea rdx, str.HOOK_BY_LEONARD
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002c70
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.1400032d0
lea rdx, [0x140002e50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov ecx, 0x50
call fcn.1400036e0
mov rdx, rax
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [0x140005890]
movdqu xmmword [rbp + 0x28], xmm0
movaps xmm0, xmmword [str.63_6D_30_31_38_34_37_77_73_30_30_33_33_6E_73_30_31_77_63_74_62_6C_36_73_76]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005610]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005620]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005630]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x140005640]
movsd qword [rax + 0x40], xmm0
movzx eax, word [0x140005648]
mov word [rdx + 0x48], ax
mov byte [rdx + 0x4a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov ecx, 0x50
call fcn.1400036e0
mov rcx, rax
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x140005890]
movdqu xmmword [rbp + 8], xmm0
movaps xmm0, xmmword [str.63_6D_31_6D_32_77_64_79_37_30_30_30_73_6E_73_30_31_73_32_30_36_7A_73_6B_63]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005660]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005670]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005680]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x140005690]
movsd qword [rax + 0x40], xmm0
movzx eax, word [0x140005698]
mov word [rcx + 0x48], ax
mov byte [rcx + 0x4a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, 0x70
call fcn.1400036e0
mov rdx, rax
mov qword [rbp - 0x28], rax
movdqa xmm0, xmmword [0x1400058a0]
movdqu xmmword [rbp - 0x18], xmm0
movaps xmm0, xmmword [str.73_75_70_65_72_78_20_7C_20_61_6E_69_6D_61_74_69_6F_6E_20_65_6D_6F_71_20_6E_6F_20_61_63_74_69_6F_6E]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400056b0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400056c0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400056d0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400056e0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400056f0]
movups xmmword [rax + 0x50], xmm1
movzx eax, word [0x140005700]
mov word [rdx + 0x60], ax
mov byte [rdx + 0x62], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov ecx, 0x70
call fcn.1400036e0
mov rcx, rax
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [0x1400058a0]
movdqu xmmword [rbp - 0x38], xmm0
movaps xmm0, xmmword [str.6C_65_6F_70_72_6F_20_7C_20_61_6E_69_6D_61_74_69_6F_6E_20_65_6D_6F_71_20_6E_6F_20_61_63_74_69_6F_6E]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005720]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005730]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005740]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140005750]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140005760]
movups xmmword [rax + 0x50], xmm1
movzx eax, word [0x140005770]
mov word [rcx + 0x60], ax
mov byte [rcx + 0x62], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call fcn.140001400
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x70]
call fcn.140001400
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x78]
call fcn.140001400
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.140001400
nop
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140001290
mov rdi, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
je 0x140001bea
lea rdx, str.FO1:
call fcn.140002e90
mov rcx, rax
mov rdx, rdi
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, [0x140003070]
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 r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
sub r9, r8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001bda
mov rax, qword [rsp + 0x78]
sub rax, qword [rsp + 0x70]
cmp qword [rsp + 0x50], rax
jne 0x140001bda
lea rdx, [0x14000577c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001bf1
lea rdx, str.NOW1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001bf1
lea rdx, str.NOA1
call fcn.140002e90
lea rdx, [0x140003070]
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]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140001290
mov rdi, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
je 0x140001ca5
lea rdx, str.FO:
call fcn.140002e90
mov rcx, rax
mov rdx, rdi
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, [0x140003070]
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 r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
sub r9, r8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001c95
mov rax, qword [rsp + 0x60]
sub rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jne 0x140001c95
lea rdx, [0x140005798]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001cac
lea rdx, str.NWO2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001cac
lea rdx, str.NOAO2
call fcn.140002e90
lea rdx, [0x140003070]
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]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140001d18
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140001d61
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140001dac
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140001df5
mov rdx, qword [rbp - 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001de4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001de4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
mov qword [rbp - 0x60], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140001e34
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140001e73
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140001eb2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001eac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000185f
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001eef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000371c
jmp 0x14000185f
lea rdx, str.NOOP
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002e90
mov rcx, rax
lea rdx, [0x140003070]
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 0x14000185f
call fcn.14000371c
xor eax, eax
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400036c0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret