Function at 0x140001440
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov ecx, 0x20
call fcn.140001b40
mov rdi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x1d
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.C:WindowsSystem32opus1.dll]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140003540]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x140003548]
mov dword [rdi + 0x18], eax
movzx eax, byte [0x14000354c]
mov byte [rdi + 0x1c], al
mov byte [rdi + 0x1d], 0
cmp dword [0x140005708], 0
jne 0x1400015ec
mov qword [rsp + 0x20], 2
nop
mov dword [rsp + 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001514
lea rdx, str.Failed_to_create_process_snapshot.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001780
mov rcx, rax
lea rdx, [0x140001960]
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]
jmp 0x1400015d5
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400015a9
nop word [rax + rax]
lea rdx, str.avidemux.exe
lea rcx, [rsp + 0x9c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000155d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001530
jmp 0x1400015cc
mov eax, dword [rsp + 0x78]
mov dword [0x140005708], eax
lea rdx, str.Found_process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001780
mov rcx, rax
lea rdx, str.avidemux.exe
call fcn.140001780
mov rcx, rax
lea rdx, str._with_PID:
call fcn.140001780
mov rcx, rax
mov edx, dword [0x140005708]
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___unsigned_long_int____ptr64]
jmp 0x1400015bc
lea rdx, str.Failed_to_enumerate_processes.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001780
lea rdx, [0x140001960]
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]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
call fcn.1400019a0
cmp dword [0x140005708], 0
je 0x1400014d0
mov qword [rsp + 0x20], 5
lea rcx, [rsp + 0x20]
call fcn.1400019a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea ecx, [rax + 0x20]
call fcn.140001b40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x1d
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [rdi + 0x18]
mov dword [rax + 0x18], ecx
movzx r8d, word [rdi + 0x1c]
mov word [rax + 0x1c], r8w
lea rcx, [rsp + 0x28]
call fcn.140001260
test al, al
je 0x140001674
mov qword [rsp + 0x20], 5
lea rcx, [rsp + 0x20]
call fcn.1400019a0
nop
mov edx, 0x20
mov rcx, rdi
call fcn.140001b7c
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140001b20
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret