Function at 0x140042200
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 - 0x478]
sub rsp, 0x570
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140054010]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor edi, edi
call fcn.140038200
mov dword [0x1400553e8], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140054e88], rax
mov edx, dword [0x1400553e8]
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400422b2
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400422b2
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 0x1400422a6
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x14004227f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x38]
jmp 0x1400422b9
mov rax, qword [rbp + 0x200]
mov qword [0x140054af8], rax
xor edx, edx
lea rcx, str.C:Windowswin.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
xor edx, edx
lea rcx, str.C:xj.ini
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
xor edx, edx
lea rcx, str.TankWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
je 0x14004280e
lea rdx, [0x1400563a0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400563a8], rax
mov qword [0x1400563b0], rbx
lea rdx, [rbp + 0x210]
mov rcx, rbx
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 [0x1400563c0], eax
mov r8d, dword [rbp + 0x21c]
mov eax, r8d
mov ecx, dword [rbp + 0x214]
sub eax, ecx
mov dword [0x1400563c4], eax
mov dword [0x1400563c8], edx
mov dword [0x1400563cc], r9d
mov dword [0x1400563d0], ecx
mov dword [0x1400563d4], r8d
mov r8d, 0x104
lea rdx, [rbp + 0x230]
mov rcx, qword [0x1400563b0]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rbp + 0x230]
mov qword [0x1400563d8], rax
mov r8d, 0x104
lea rdx, [rbp + 0x340]
mov rcx, qword [0x1400563b0]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rbp + 0x340]
mov qword [0x1400563e0], rax
mov r9d, 0x104
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [0x1400563a8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rbp - 0x50]
mov qword [0x1400563e8], rax
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x1400553d0], rax
mov r8d, 0x1000
mov rdx, qword [0x1400476b8]
mov rcx, rax
call qword [sym.imp.interception.dll_interception_set_filter]
add byte [rax - 0x75], cl
or eax, 0x12fbb
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400553dc], eax
mov rcx, qword [0x1400553d0]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400553dc], eax
mov r9d, 1
lea r8, [0x1400551b8]
mov edx, eax
mov rcx, qword [0x1400553d0]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jle 0x1400424b2
mov ecx, dword [0x1400553dc]
call qword [0x1400476b8]
mov rcx, qword [0x1400553d0]
test eax, eax
jne 0x140042499
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x1400553dc], eax
mov r9d, 1
lea r8, [0x1400551b8]
mov edx, eax
mov rcx, qword [0x1400553d0]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jg 0x140042454
jmp 0x1400424b2
mov r9d, 1
lea r8, [0x1400551b8]
mov edx, dword [0x1400553dc]
call qword [sym.imp.interception.dll_interception_send]
mov ecx, 8
call fcn.140044ef4
lea rcx, [0x140039050]
mov qword [rax], rcx
mov qword [rbp + 0x200], rax
lea rcx, [rbp + 0x1f8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140044710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1f0], rax
test rax, rax
je 0x1400427fc
cmp dword [rbp + 0x1f8], 0
je 0x1400427f0
movaps xmm0, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x200], xmm0
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400427e7
cmp byte [0x14005523f], al
jne 0x14004254d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400425b6
lea rdx, [0x14004c820]
mov rcx, qword [0x140047218]
call fcn.140043780
lea rdx, [0x140043950]
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, [0x14004c838]
mov rcx, qword [0x140047218]
call fcn.140043780
lea rdx, [0x140043950]
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, [0x14004c84c]
mov rcx, qword [0x140047218]
call fcn.140043780
lea rdx, [0x140043950]
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.140039d70
cmp qword [rax + 0x18], 0x10
jb 0x1400425cc
mov rax, qword [rax]
mov qword [0x140054e78], rax
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x140042617
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042612
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044840
mov qword [rsp + 0x60], 0x50
lea rax, [0x140041f50]
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]
add byte [rax - 0x77], cl
cmp byte [r10 + 0x7f00], 0x33
leave
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
xorps xmm6, xmm6
mov rax, qword [0x140054e78]
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 [0x140054e20], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x140054e30], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x140054e40], xmm0
movaps xmmword [0x140054e50], xmm6
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [0x140054e60], xmm0
lea rcx, [0x140054e20]
call qword [sym.imp.USER32.dll_RegisterClassExA]
add byte [rax - 0x75], cl
or eax, 0x13cf0
test rcx, rcx
je 0x140042718
lea rdx, [0x1400567b8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x1400567d8]
mov rcx, qword [0x1400563b0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x1400567d8]
mov dword [0x1400567b8], eax
mov eax, dword [0x1400567dc]
mov dword [0x1400567bc], eax
mov eax, dword [0x1400567c0]
mov dword [0x1400563c0], eax
mov ecx, dword [0x1400567c4]
mov dword [0x1400563c4], ecx
jmp 0x140042724
mov ecx, dword [0x1400563c4]
mov eax, dword [0x1400563c0]
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 [0x1400563d0]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1400563c8]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
mov rdx, qword [0x140054e78]
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140054e70], rax
lea rdx, [0x140054110]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
add byte [rdx - 0x14], bh
mov r8d, 0x800a0
mov rcx, qword [0x140054e70]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x140054e70]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140054e70]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140041b70
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400420e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax]
call fcn.1400415a0
jmp 0x1400427e0
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 + 0x1f8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.140044750
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret