Function at 0x140042580
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 - 0x4a8]
sub rsp, 0x5a0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor edi, edi
call fcn.140038790
mov dword [0x14005862c], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1400583e0], rax
mov edx, dword [0x14005862c]
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140042639
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140042639
nop dword [rax]
nop word [rax + rax]
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 0x140042975
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140042610
mov rax, qword [rbp + 0x210]
mov qword [0x140057d28], rax
lea rdx, str.Scanning_for_VM...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140043bb0
mov rax, qword [0x140057d28]
mov qword [rbp + 0x240], rax
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x248], rax
mov rax, qword [0x1400583e0]
mov qword [rbp + 0x250], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
mov qword [rbp + 0x200], rdi
lea rcx, [rbp + 0x1f0]
call fcn.1400447b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], rdi
mov qword [rbp + 0x238], rdi
mov r8d, 0x2d
lea rdx, str.48_8B_0D_________45_33_C0_E8_________48_8B_F0
lea rcx, [rbp + 0x220]
call fcn.1400394b0
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x240]
call fcn.140044ff0
mov rbx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 7
mov r8, qword [rbp + 0x1f0]
mov rdx, rax
mov rcx, qword [0x1400583e0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp + 0x1f0]
movzx edx, byte [rcx + 6]
shl rdx, 8
movzx eax, byte [rcx + 5]
or rdx, rax
shl rdx, 8
movzx eax, byte [rcx + 4]
or rdx, rax
shl rdx, 8
movzx eax, byte [rcx + 3]
or rdx, rax
sub rdx, qword [0x140057d28]
add rdx, 7
add rdx, rbx
lea rcx, str._nUnEncrypted_VM:_0x_llX
call fcn.140038350
mov rcx, qword [rbp + 0x1f0]
movzx edx, byte [rcx + 6]
shl rdx, 8
movzx eax, byte [rcx + 5]
or rdx, rax
shl rdx, 8
movzx eax, byte [rcx + 4]
or rdx, rax
shl rdx, 8
movzx eax, byte [rcx + 3]
or rdx, rax
sub rdx, qword [0x140057d28]
lea rax, [rbx + 7]
add rax, rdx
mov qword [0x1400583e8], 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 0x140042cec
lea rdx, [0x1400595e0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400595e8], rax
mov qword [0x1400595f0], rbx
lea rdx, [rbp + 0x240]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rbp + 0x248]
mov eax, r9d
mov edx, dword [rbp + 0x240]
sub eax, edx
mov dword [0x140059600], eax
mov r8d, dword [rbp + 0x24c]
mov eax, r8d
mov ecx, dword [rbp + 0x244]
sub eax, ecx
mov dword [0x140059604], eax
mov dword [0x140059608], edx
mov dword [0x14005960c], r9d
mov dword [0x140059610], ecx
mov dword [0x140059614], r8d
mov r8d, 0x104
lea rdx, [rbp + 0x260]
mov rcx, qword [0x1400595f0]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rbp + 0x260]
mov qword [0x140059618], rax
mov r8d, 0x104
lea rdx, [rbp + 0x370]
mov rcx, qword [0x1400595f0]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rbp + 0x370]
mov qword [0x140059620], rax
mov r9d, 0x104
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [0x1400595e8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rbp - 0x50]
mov qword [0x140059628], rax
call qword [sym.imp.interception.dll_interception_create_context]
mov qword [0x140058618], 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 [0x140058618]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140058620], eax
mov rcx, qword [0x140058618]
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140058620], eax
mov r9d, 1
lea r8, [0x1400583f8]
mov edx, eax
mov rcx, qword [0x140058618]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jle 0x14004299d
nop dword [rax]
mov ecx, dword [0x140058620]
call qword [sym.imp.interception.dll_interception_is_mouse]
mov rcx, qword [0x140058618]
test eax, eax
jne 0x140042984
call qword [sym.imp.interception.dll_interception_wait]
mov dword [0x140058620], eax
mov r9d, 1
lea r8, [0x1400583f8]
mov edx, eax
mov rcx, qword [0x140058618]
call qword [sym.imp.interception.dll_interception_receive]
test eax, eax
jg 0x140042930
jmp 0x14004299d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x38]
jmp 0x140042640
mov r9d, 1
lea r8, [0x1400583f8]
mov edx, dword [0x140058620]
call qword [sym.imp.interception.dll_interception_send]
mov ecx, 8
call fcn.140046ca0
lea rcx, [0x1400395d0]
mov qword [rax], rcx
mov qword [rbp + 0x210], rax
lea rcx, [rbp + 0x228]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140044cc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x220], rax
test rax, rax
je 0x140042cda
cmp dword [rbp + 0x228], 0
je 0x140042cce
movaps xmm0, xmmword [rbp + 0x220]
movdqa xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140042cce
cmp byte [0x1400580bf], al
jne 0x140042a38
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140042aa1
lea rdx, str.Welcome.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140043bb0
lea rdx, [0x140043d80]
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.Loading...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140043bb0
lea rdx, [0x140043d80]
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.Finish.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140043bb0
lea rdx, [0x140043d80]
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 + 0x240]
call fcn.14003a300
cmp qword [rax + 0x18], 0xf
jbe 0x140042ab7
mov rax, qword [rax]
mov qword [0x1400580a8], rax
mov rdx, qword [rbp + 0x258]
cmp rdx, 0xf
jbe 0x140042b02
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042afd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042afd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046780
mov qword [rsp + 0x60], 0x50
lea rax, [0x1400422d0]
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 [0x1400580a8]
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 [0x140058050], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [0x140058060], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [0x140058070], xmm0
movaps xmmword [0x140058080], xmm6
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [0x140058090], xmm0
lea rcx, [0x140058050]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x1400595f0]
test rcx, rcx
je 0x140042c03
lea rdx, [0x1400599f8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [0x140059a18]
mov rcx, qword [0x1400595f0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140059a18]
mov dword [0x1400599f8], eax
mov eax, dword [0x140059a1c]
mov dword [0x1400599fc], eax
mov eax, dword [0x140059a00]
mov dword [0x140059600], eax
mov ecx, dword [0x140059a04]
mov dword [0x140059604], ecx
jmp 0x140042c0f
mov ecx, dword [0x140059604]
mov eax, dword [0x140059600]
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 [0x140059610]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140059608]
mov dword [rsp + 0x20], eax
mov r9d, 0x90000000
mov rdx, qword [0x1400580a8]
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400580a0], rax
lea rdx, [0x140057180]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140041ef0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140042460]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140041950
jmp 0x140042cc7
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x228], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x1f0]
test rcx, rcx
je 0x140042d2f
mov rdx, qword [rbp + 0x200]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042d2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042d2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046780
xor eax, eax
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140046690
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret