Function at 0x140001e10
Capabilities:
Enumerate process modules
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rbp + 0x510], rax
lea rcx, str.Bodycam_External___Made_by_boggy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rdx, str.Bodycam
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x140034a10]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x140034a10]
test r8d, r8d
je 0x140002350
xor edx, edx
mov qword [rsp + 0x630], rdi
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [0x140034a10]
xor esi, esi
mov ecx, 0x18
mov qword [0x140034a00], rax
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001f4a
xor edx, edx
lea rcx, [rbp - 0x3c]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x438
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140001f41
nop
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x410]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x10]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, str.Bodycam_Win64_Shipping.exe
lea rcx, [rbp + 0x410]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001f2f
mov rbx, qword [rbp - 0x28]
jmp 0x140001f3c
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test rbx, rbx
je 0x140001ee0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x630]
mov qword [0x140034a08], rbx
test rbx, rbx
je 0x140002350
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Found_bodycam
call fcn.140002380
lea rdx, [0x140002560]
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 rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0x50
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rbx, str.Bodycam_External
mov edx, 0x7f00
mov qword [rbp - 0x68], rax
xor ecx, ecx
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x78]
lea r8, str.Made_by_boggy
mov qword [rsp + 0x58], rsi
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x140034918], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
movdqa xmm0, xmmword [0x14002e800]
lea rdx, [rbp + 0x400]
mov rcx, qword [0x140034918]
movdqu xmmword [rbp + 0x400], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140034918]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140034918]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140034918]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x140034918]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Overlay_created
call fcn.140002380
lea rdx, [0x140002560]
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, [0x140034920]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14000213c
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400340c8]
lea rdx, [0x140034970]
mov rcx, qword [0x140034920]
mov r8d, 1
mov r9, qword [0x140034918]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140034930]
mov dword [0x140034930], eax
mov eax, dword [0x1400340c4]
mov qword [0x14003493c], rsi
mov qword [0x140034948], 1
mov qword [0x140034964], rsi
mov dword [0x140034958], 1
mov qword [0x140034950], r9
mov dword [0x140034944], esi
mov dword [0x140034938], 0x15
mov dword [0x140034934], eax
mov dword [0x14003495c], 1
mov dword [0x140034960], 0x50
mov dword [0x14003496c], 0x80000000
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14000220d
mov rcx, qword [0x140034920]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400094f0
mov rbx, qword [0x140034918]
lea rcx, [0x1400349f8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000230b
lea rcx, [0x1400349f0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000230b
mov rax, qword [0x140034988]
lea rcx, str.imgui_impl_win32
mov qword [0x1400349e8], rbx
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x140002312
mov rax, qword [0x140034988]
cmp byte [0x1400340c1], sil
mov rcx, qword [0x140034970]
je 0x140002329
mov byte [0x1400340c1], sil
lea rdx, str.imgui_impl_dx9
mov qword [0x1400349d8], rcx
mov qword [rax + 0xe0], rdx
mov rcx, qword [0x140034920]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140001690
xor eax, eax
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140027800
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret