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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.14002a590
cmp eax, dword [rbp - 0x60]
jne 0x14002c845
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140078118], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [0x140078108], rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x60]
mov r8d, 0x104
mov ecx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x68]
sub eax, edx
mov dword [0x140078110], edx
mov dword [0x1400780f8], eax
lea rdx, [rbp - 0x50]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [0x140078100], ecx
mov rcx, qword [0x140078108]
mov dword [0x1400780fc], eax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x140078108]
lea rdx, [rbp + 0xc0]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [0x140078118]
lea r8, [rbp + 0x1d0]
mov r9d, 0x104
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rcx, [rsp + 0x60]
call fcn.14002a640
cmp qword [rax + 0x18], 0xf
jbe 0x14002c91d
mov rax, qword [rax]
mov rdx, qword [rsp + 0x78]
mov qword [0x140078098], rax
cmp rdx, 0xf
jbe 0x14002c961
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c95c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cc27
call fcn.14002f760
mov edx, 0x7f00
xor ecx, ecx
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 [0x140078098]
mov edx, 0x7f00
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [0x14002c670]
mov qword [0x1400780a0], 0x50
mov qword [0x1400780a8], rcx
xor r14d, r14d
xorps xmm0, xmm0
mov qword [0x1400780b0], r14
lea rcx, [0x1400780a0]
mov qword [0x1400780b8], r14
mov qword [0x1400780c0], rsi
mov qword [0x1400780c8], rbx
movdqa xmmword [0x1400780d0], xmm0
mov qword [0x1400780e0], rdi
mov qword [0x1400780e8], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140078108]
test rcx, rcx
je 0x14002ca52
lea rdx, [0x140078230]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140078108]
lea rdx, [0x140078250]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140078250]
mov ecx, dword [0x14007823c]
mov dword [0x140078230], eax
mov eax, dword [0x140078254]
mov dword [0x140078234], eax
mov eax, dword [0x140078238]
mov dword [0x1400780f8], eax
mov dword [0x1400780fc], ecx
jmp 0x14002ca5e
mov eax, dword [0x1400780f8]
mov ecx, dword [0x1400780fc]
mov rdx, qword [0x140078098]
mov r9d, 0x90000000
mov qword [rsp + 0x58], r14
mov r8, rdx
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x140078100]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140078110]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x1400780f0], rax
lea rdx, [0x140075d00]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400780f0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400780f0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400780f0]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [0x140078050]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x14002cbf7
mov eax, dword [0x1400780f8]
lea rdx, [0x140078058]
mov rcx, qword [0x140078050]
mov r8d, 1
mov r9, qword [0x1400780f0]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov eax, dword [0x1400780fc]
mov qword [rsp + 0x6c], r14
mov qword [rsp + 0x78], 1
mov qword [rbp - 0x70], 0x50
mov dword [rbp - 0x78], 1
mov qword [rbp - 0x80], r9
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x68], 0x15
mov dword [rsp + 0x64], eax
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x68], r14d
mov rax, qword [rcx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
js 0x14002cbea
call fcn.140004a10
mov rax, qword [0x140077fc0]
or dword [rax + 8], 1
call fcn.140024d20
mov rcx, qword [0x140078058]
lea rdx, str.imgui_impl_dx9
mov rax, qword [0x140077fc0]
mov qword [0x1400781e0], rcx
or dword [rax + 0xc], 8
mov qword [rax + 0xe0], rdx
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x140078050]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x28], r14
lea r8, [0x14002c7e0]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140078060], rax
nop dword [rax]
call fcn.14002c330
jmp 0x14002cc20
call fcn.14004214c
int3