Function at 0x140039920
Capabilities:
Create thread
Enumerate process modules
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x488]
sub rsp, 0x580
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rbp + 0x460], rax
xor edi, edi
call fcn.140034660
mov dword [0x140049afc], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140049ad0], rax
mov edx, dword [0x140049afc]
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400399d2
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400399d2
lea rdx, str.Overwatch.exe
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
je 0x1400399c6
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x14003999f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x38]
jmp 0x1400399d9
mov rax, qword [rbp + 0x1f0]
mov qword [0x140049a60], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.140034660
cmp eax, dword [rbp + 0x1f0]
jne 0x1400399e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140049b10], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140049b18], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140049b20], rax
lea rdx, [rbp + 0x210]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rbp + 0x218]
mov eax, r9d
mov edx, dword [rbp + 0x210]
sub eax, edx
mov dword [0x140049b30], eax
mov r8d, dword [rbp + 0x21c]
mov eax, r8d
mov ecx, dword [rbp + 0x214]
sub eax, ecx
mov dword [0x140049b34], eax
mov dword [0x140049b38], edx
mov dword [0x140049b3c], r9d
mov dword [0x140049b40], ecx
mov dword [0x140049b44], r8d
mov r8d, 0x104
lea rdx, [rbp + 0x240]
mov rcx, qword [0x140049b20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rbp + 0x240]
mov qword [0x140049b48], rax
mov r8d, 0x104
lea rdx, [rbp + 0x350]
mov rcx, qword [0x140049b20]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rbp + 0x350]
mov qword [0x140049b50], rax
mov r9d, 0x104
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [0x140049b18]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rbp - 0x50]
mov qword [0x140049b58], rax
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x140049af0], rax
mov r8d, 0x1000
mov rdx, qword [0x14003d5f0]
mov rcx, rax
call qword [sym.imp.interception.dll_interception_set_filter]
mov rcx, qword [0x140049af0]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140049af8], eax
mov rcx, qword [0x140049af0]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140049af8], eax
mov r9d, 1
lea r8, [0x140049ad8]
mov edx, eax
mov rcx, qword [0x140049af0]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jle 0x140039bbe
mov ecx, dword [0x140049af8]
call qword [0x14003d5f0]
mov rcx, qword [0x140049af0]
test eax, eax
jne 0x140039ba5
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140049af8], eax
mov r9d, 1
lea r8, [0x140049ad8]
mov edx, eax
mov rcx, qword [0x140049af0]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jg 0x140039b60
jmp 0x140039bbe
mov r9d, 1
lea r8, [0x140049ad8]
mov edx, dword [0x140049af8]
call qword [sym.imp.interception.dll_interception_send]
mov ecx, 8
call fcn.14003b548
lea rcx, [0x140035480]
mov qword [rax], rcx
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0x208]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14003aef0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x200], rax
test rax, rax
je 0x140039f43
cmp dword [rbp + 0x208], 0
je 0x140039f37
movaps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140039f37
cmp byte [0x140049a6a], al
jne 0x140039c5c
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140039d03
lea rdx, str.Current_G_Title__
mov rcx, qword [0x14003d1e0]
call fcn.14003a310
mov rdx, qword [0x140049b48]
mov rcx, rax
call fcn.14003a310
lea rdx, [0x14003a4e0]
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, str.Proc_Id_found_at
mov rcx, qword [0x14003d1e0]
call fcn.14003a310
mov edx, dword [0x140049afc]
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___unsigned_long_int____ptr64]
lea rdx, [0x14003a4e0]
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, str.ModB_found_at
mov rcx, qword [0x14003d1e0]
call fcn.14003a310
lea rdx, [0x140034640]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x140049a60]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x14003a4e0]
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 rcx, [rbp + 0x210]
call fcn.140035990
cmp qword [rax + 0x18], 0x10
jb 0x140039d19
mov rax, qword [rax]
mov qword [0x140049ac8], rax
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x140039d64
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b020
mov qword [rsp + 0x60], 0x50
lea rax, [0x140039670]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x80], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
xorps xmm6, xmm6
mov rax, qword [0x140049ac8]
mov qword [rbp - 0x60], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [0x140049a70], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x140049a80], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x140049a90], xmm0
movaps xmmword [0x140049aa0], xmm6
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [0x140049ab0], xmm0
lea rcx, [0x140049a70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140049b20]
test rcx, rcx
je 0x140039e65
lea rdx, [0x140049bd8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x140049bf0]
mov rcx, qword [0x140049b20]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140049bf0]
mov dword [0x140049bd8], eax
mov eax, dword [0x140049bf4]
mov dword [0x140049bdc], eax
mov eax, dword [0x140049be0]
mov dword [0x140049b30], eax
mov ecx, dword [0x140049be4]
mov dword [0x140049b34], ecx
jmp 0x140039e71
mov ecx, dword [0x140049b34]
mov eax, dword [0x140049b30]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x140049b40]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140049b38]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
mov rdx, qword [0x140049ac8]
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140049ac0], rax
lea rdx, [0x140049100]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140049ac0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140039290
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140039800]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax]
call fcn.140038ee0
jmp 0x140039f30
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x208], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3