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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x3c0
mov rax, qword [0x140042040]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
call fcn.140035a30
mov r8d, eax
mov dword [0x140042ac0], eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140042ad0], rax
call fcn.140035b50
mov rcx, qword [0x140042ad0]
lea r8, [0x140042ac8]
xor ebp, ebp
mov qword [0x140042ad8], rax
mov qword [rsp + 0x20], rbp
lea rdx, [rax + 0x18ac00]
lea r9d, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Success
call fcn.140003510
mov rcx, rax
lea rdx, [0x1400036e0]
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]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rsp + 0x60]
cmp dword [0x140042ac0], eax
jne 0x1400030b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140042a50], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140042a58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [0x140042a60], rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x70]
mov eax, r9d
sub eax, edx
mov dword [0x140042a78], edx
mov dword [0x140042a70], eax
lea rdx, [rsp + 0x80]
mov eax, r8d
mov dword [0x140042a80], ecx
sub eax, ecx
mov dword [0x140042a84], r8d
mov rcx, qword [0x140042a60]
mov r8d, 0x104
mov dword [0x140042a74], eax
mov dword [0x140042a7c], r9d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x140042a60]
lea rax, [rsp + 0x80]
mov r8d, 0x104
mov qword [0x140042a88], rax
lea rdx, [rsp + 0x190]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [0x140042a58]
lea rax, [rsp + 0x190]
mov r9d, 0x104
mov qword [0x140042a90], rax
lea r8, [rsp + 0x2a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rsp + 0x2a0]
mov edx, 0x7f00
mov qword [0x140042a98], rax
xor ecx, ecx
lea rax, str.Overlay
mov qword [0x140042a38], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rdi, qword [0x140042a38]
mov edx, 0x7f00
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [0x140002e50]
mov qword [0x1400429e0], 0x50
mov qword [0x1400429e8], rcx
xorps xmm0, xmm0
lea rcx, [0x1400429e0]
mov qword [0x1400429f0], rbp
mov qword [0x1400429f8], rbp
mov qword [0x140042a00], rsi
mov qword [0x140042a08], rbx
movdqa xmmword [0x140042a10], xmm0
mov qword [0x140042a20], rdi
mov qword [0x140042a28], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140042a60]
test rcx, rcx
je 0x1400032c2
lea rdx, [0x140042b08]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140042a60]
lea rdx, [0x140042b20]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140042b20]
mov ecx, dword [0x140042b14]
mov dword [0x140042b08], eax
mov eax, dword [0x140042b24]
mov dword [0x140042b0c], eax
mov eax, dword [0x140042b10]
mov dword [0x140042a70], eax
mov dword [0x140042a74], ecx
jmp 0x1400032ce
mov ecx, dword [0x140042a74]
mov eax, dword [0x140042a70]
mov rdx, qword [0x140042a38]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rbp
mov r8, rdx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x140042a80]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140042a78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140042a30], rax
lea rdx, [0x140042140]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140042a30]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140042a30]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140042a30]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140002a70
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x140002fe0]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140002650
jmp 0x140003386