Function at 0x1400341a0
Capabilities:
Create thread
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14005e100]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor esi, esi
mov edi, esi
xor edx, edx
lea ecx, [rsi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140034274
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x14003426b
lea rdx, [rbp - 0x24]
lea rcx, str.cs2.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140034268
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x14003426b
nop word [rax + rax]
lea rdx, [rbp - 0x24]
lea rcx, str.cs2.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140034268
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x140034240
jmp 0x14003426b
mov edi, dword [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14005e290], edi
mov edx, edi
lea rcx, [0x14005e2f8]
call fcn.140032900
cmp al, 1
jne 0x140034599
lea rdx, str.Attachment_successful._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030e30
mov rdi, rsi
mov edx, dword [0x14005e290]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140034355
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x14003434c
lea rdx, [rbp - 0x20]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x140034348
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x14003434c
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x20]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x140034348
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
je 0x140034320
jmp 0x14003434c
mov rdi, qword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14005e2a0], rdi
test rdi, rdi
je 0x140034599
lea rdx, str.Client_found._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030e30
lea rdx, str.Enabling_driver._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030e30
mov edx, dword [0x14005e290]
lea rcx, [0x14005e2f8]
call fcn.140032900
mov rax, qword [0x14005e2a0]
add rax, 0x1a1dde0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x28
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rbp - 0x80]
mov edx, 0x222200
mov rcx, qword [0x14005e2f8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [0x14005e2b0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [0x14005e2c0], xmm1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [0x14005e2d0], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x14005e2e0], xmm1
mov ecx, 8
call fcn.140035038
test rax, rax
je 0x140034458
lea rcx, [fcn.140032d70]
mov qword [rax], rcx
jmp 0x14003445b
mov rax, rsi
mov qword [rbp + 0x3f0], rax
lea rcx, [rbp + 0x410]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140031780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x1400345dd
mov ecx, 8
call fcn.140035038
test rax, rax
je 0x1400344b1
lea rcx, [0x140033280]
mov qword [rax], rcx
jmp 0x1400344b4
mov rax, rsi
mov qword [rbp + 0x3f0], rax
lea rcx, [rbp + 0x400]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140031780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x3f8], rax
test rax, rax
je 0x1400345ee
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x418], xmm0
mov qword [rbp + 0x428], rax
lea rax, str.Windowless_Overlay
mov qword [rsp + 0x38], rax
lea rax, str.OverlayClass
mov qword [rsp + 0x30], rax
lea rax, str.Overlay
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov r9d, 0x438
mov r8d, 0x780
lea rdx, [0x140031f50]
lea rcx, [rbp + 0x418]
call fcn.140034600
nop
lea rcx, [rbp + 0x418]
call fcn.1400346e0
nop
lea rcx, [rbp + 0x418]
call fcn.140034660
nop
cmp dword [rbp + 0x400], 0
je 0x140034589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x410], 0
je 0x140034599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [0x14005e2f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140035310
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x410], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x400], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3