Function at 0x140045460
Capabilities:
Create thread
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x490
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r14d, r14d
lea r15, str.Overwatch.exe
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xd
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14003e650
mov dword [0x140067b80], eax
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xd
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14003e650
mov dword [0x140066e1c], eax
mov r8d, dword [0x140067b80]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1400671c8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x140066e1c]
mov dword [rsp + 0x78], eax
mov word [rsp + 0x7c], 0x100
mov byte [rbp - 0x70], r14b
mov word [rbp - 0x6e], r14w
mov byte [rbp - 0x6c], r14b
mov qword [rbp - 0x68], r15
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtFlipObjectQueryEndpointConnected
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x60]
call rax
call fcn.14003d900
mov qword [0x140066e38], rax
lea rdx, str._n_t_t_t_t_tPLEASE_HAVE_OVERWATCH_OPEN..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
cmp dword [0x140066e1c], r14d
je 0x14004559f
mov byte [0x1400676cd], r14b
jmp 0x14004568f
mov byte [0x1400676cd], 1
lea rdx, [0x14004cc38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_tOVERWATCH.EXE_NOT_DETECTED...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_tRESTART_PROCESS___YES__NO_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_t
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r14b
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140047040
lea rcx, [rbp - 0x30]
mov rdi, qword [rbp - 0x18]
cmp rdi, 0x10
setae sil
mov rbx, qword [rbp - 0x30]
cmovae rcx, rbx
mov r8, qword [rbp - 0x20]
cmp r8, 3
jne 0x140045e25
lea rdx, [0x140051b7c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140045e25
mov byte [0x1400676cd], al
test sil, sil
je 0x14004568f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140045687
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e50
mov rcx, rbx
call fcn.140049c20
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xd
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14003e650
mov dword [0x140067b80], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1400671c8], rax
call fcn.14003d900
mov qword [0x140066e38], rax
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xd
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14003e650
mov dword [0x140066e1c], eax
test eax, eax
jne 0x140045707
mov byte [0x1400676cd], 1
jmp 0x140045714
cmp byte [0x1400676cd], 0
je 0x140045737
test eax, eax
jne 0x140045737
lea rdx, str._n_t_t_t_t_tPLEASE_OPEN_AFTER_OVERWATCH_IS_OPEN..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140045e5f
lea rdx, str._n_t_t_t_t_t_DEBUG__ProcessID__________kernel_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
mov edx, dword [0x140067b80]
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, str._n_t_t_t_t_t_DEBUG__ModuleBaseAddress__kernel_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
mov rdx, qword [0x140066e38]
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]
mov rcx, rax
lea rdx, [0x14004cc38]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_t_DEBUG__WELCOME_TO_ENOHOOK
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_tMANUAL_MAPPING_INTO_OVERWATCH.EXE..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, str._n_t_t_t_t_t_Phase_one_finished_...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
movaps xmm0, xmmword [0x1400524e0]
movups xmmword [0x140066dd0], xmm0
movaps xmm1, xmm0
movups xmmword [0x140066df0], xmm0
movups xmmword [0x140066de0], xmm0
movups xmmword [0x140066e00], xmm0
movups xmmword [0x140066dc0], xmm0
movaps xmm1, xmmword [0x1400524d0]
movups xmmword [0x140066db0], xmm1
lea rdx, str._n_t_t_t_t_t_Phase_two_finished_...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
mov rax, qword [0x140066e38]
mov qword [rbp - 0x10], rax
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 8], rax
mov rax, qword [0x1400671c8]
mov qword [rbp], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x20]
call fcn.140047ea0
lea rdx, str._n_t_t_t_t_t_Phase_three_finished_...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov r8d, 0x2d
lea rdx, str.48_8B_0D_________45_33_C0_E8_________48_8B_F0
lea rcx, [rbp - 0x30]
call fcn.140047400
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.140048670
mov rbx, rax
mov qword [rsp + 0x20], r14
mov r9d, 7
mov rdi, qword [rbp + 0x20]
mov r8, rdi
mov rdx, rax
mov rcx, qword [0x1400671c8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, str._n_t_t_t_t_t_Phase_four_finished_...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
movzx ecx, byte [rdi + 6]
shl rcx, 8
movzx eax, byte [rdi + 5]
or rcx, rax
shl rcx, 8
movzx eax, byte [rdi + 4]
or rcx, rax
shl rcx, 8
movzx eax, byte [rdi + 3]
or rcx, rax
sub rcx, qword [0x140066e38]
lea rdx, [rbx + 7]
add rdx, rcx
lea rcx, str._n_t_t_t_t_tFOUND_OVERWATCH:_0x_llX
call fcn.14003d620
movzx ecx, byte [rdi + 6]
shl rcx, 8
movzx eax, byte [rdi + 5]
or rcx, rax
shl rcx, 8
movzx eax, byte [rdi + 4]
or rcx, rax
shl rcx, 8
movzx eax, byte [rdi + 3]
or rcx, rax
sub rcx, qword [0x140066e38]
lea rax, [rbx + 7]
add rax, rcx
mov qword [0x1400674f0], rax
xor edx, edx
lea rcx, str.TankWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
je 0x140045dec
lea rdx, [0x140068680]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140068688], rax
mov qword [0x140068690], rbx
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rbp - 0x28]
mov eax, r9d
mov edx, dword [rbp - 0x30]
sub eax, edx
mov dword [0x1400686a0], eax
mov r8d, dword [rbp - 0x24]
mov eax, r8d
mov ecx, dword [rbp - 0x2c]
sub eax, ecx
mov dword [0x1400686a4], eax
mov dword [0x1400686a8], edx
mov dword [0x1400686ac], r9d
mov dword [0x1400686b0], ecx
mov dword [0x1400686b4], r8d
mov r8d, 0x104
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140068690]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rbp + 0x40]
mov qword [0x1400686b8], rax
mov r8d, 0x104
lea rdx, [rbp + 0x150]
mov rcx, qword [0x140068690]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rbp + 0x150]
mov qword [0x1400686c0], rax
mov r9d, 0x104
lea r8, [rbp + 0x260]
xor edx, edx
mov rcx, qword [0x140068688]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rbp + 0x260]
mov qword [0x1400686c8], rax
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x1400676b8], rax
mov r8d, 0x1000
mov rdx, qword [sym.imp.interception.dll_interception_is_mouse]
mov rcx, rax
call qword [sym.imp.interception.dll_interception_set_filter]
mov rcx, qword [0x1400676b8]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400676c0], eax
mov rcx, qword [0x1400676b8]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400676c0], eax
mov r9d, 1
lea r8, [0x1400674f8]
mov edx, eax
mov rcx, qword [0x1400676b8]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jle 0x140045b0e
nop dword [rax + rax]
mov ecx, dword [0x1400676c0]
call qword [sym.imp.interception.dll_interception_is_mouse]
mov rcx, qword [0x1400676b8]
test eax, eax
jne 0x140045af5
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400676c0], eax
mov r9d, 1
lea r8, [0x1400674f8]
mov edx, eax
mov rcx, qword [0x1400676b8]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jg 0x140045ab0
jmp 0x140045b0e
mov r9d, 1
lea r8, [0x1400674f8]
mov edx, dword [0x1400676c0]
call qword [sym.imp.interception.dll_interception_send]
mov ecx, 8
call fcn.14004a2d4
lea rcx, [0x14003e760]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140048340]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140045ddc
cmp dword [rbp - 8], 0
je 0x140045dd0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140045dc7
lea rdx, str._n_t_t_t_t_tFINISHED__ENJOY_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046e70
lea rdx, [0x140047220]
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 - 0x30]
call fcn.14003f3a0
cmp qword [rax + 0x18], 0x10
jb 0x140045bb0
mov rax, qword [rax]
mov qword [0x1400671b8], rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140045bf5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045bf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049c20
mov qword [rsp + 0x60], 0x50
lea rax, [0x140045190]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
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 [0x1400671b8]
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 [0x140067160], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x140067170], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x140067180], xmm0
movaps xmmword [0x140067190], xmm6
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [0x1400671a0], xmm0
lea rcx, [0x140067160]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140068690]
test rcx, rcx
je 0x140045cf6
lea rdx, [0x140068a88]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x140068ac0]
mov rcx, qword [0x140068690]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140068ac0]
mov dword [0x140068a88], eax
mov eax, dword [0x140068ac4]
mov dword [0x140068a8c], eax
mov eax, dword [0x140068a90]
mov dword [0x1400686a0], eax
mov ecx, dword [0x140068a94]
mov dword [0x1400686a4], ecx
jmp 0x140045d02
mov ecx, dword [0x1400686a4]
mov eax, dword [0x1400686a0]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x1400686b0]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1400686a8]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
mov rdx, qword [0x1400671b8]
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400671b0], rax
lea rdx, [0x1400661d0]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140044db0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140045320]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
call fcn.140044800
jmp 0x140045dc0
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
test rdi, rdi
je 0x140045e5f
mov rdx, qword [rbp + 0x30]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140045e20
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
jmp 0x140045e5a
cmp rdi, 0x10
jb 0x140045e5f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140045e57
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045e57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140049c20
xor eax, eax
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140049b30
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret