Function at 0x14000cdd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rbp + 0x138], rax
xor r15d, r15d
mov rsi, qword [0x140077ea8]
lea rdx, str._D3D__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140016960
mov rdx, qword [0x140077eb8]
add rdx, 0x70
mov r10, rdx
mov r11, qword [rdx + 0x18]
cmp r11, 8
jb 0x14000ce41
mov r10, qword [rdx]
mov r8, qword [rdx + 0x10]
cmp r8, 0x12
jne 0x14000cea7
mov r9, r8
lea rcx, str.AndroidProcess.exe
sub r10, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r10 + rcx], ax
jne 0x14000cea7
add rcx, 2
sub r9, 1
jne 0x14000ce60
xor edx, edx
lea rcx, str.TitanMainWindowClass0
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor edx, edx
lea rcx, str.TitanRenderWindowClass
call qword [sym.imp.USER32.dll_FindWindowW]
xor r9d, r9d
lea r8, str.TitanOpenglWindowClass
jmp 0x14000cef5
cmp r11, 8
jb 0x14000ceb0
mov rdx, qword [rdx]
cmp r8, 0xb
jne 0x14000cf0e
lea rcx, str.aow_exe.exe
sub rdx, rcx
movzx eax, word [rcx]
cmp word [rdx + rcx], ax
jne 0x14000cf0e
add rcx, 2
sub r8, 1
jne 0x14000cec0
lea rdx, str.Gameloop
lea rcx, str.TXGuiFoundation
call qword [sym.imp.USER32.dll_FindWindowW]
lea r9, str.AEngineRenderWindow
lea r8, str.AEngineRenderWindowClass
mov qword [rsi + 0x15c0], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [rsi + 0x15c0], rax
mov rbx, qword [rsi + 0x15c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rbx, rbx
je 0x14000d7bf
lea rdx, str.Emulator_HWND:
call fcn.140016960
mov rcx, rax
lea rdx, [0x140018e80]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, rbx
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___void_const____ptr64____ptr64]
mov rcx, rax
call fcn.140016b70
lea rdx, [rsi + 0x15f0]
mov rcx, qword [rsi + 0x15c0]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsi + 0x15f8]
sub eax, dword [rsi + 0x15f0]
mov dword [rsi + 0x15d0], eax
mov eax, dword [rsi + 0x15fc]
sub eax, dword [rsi + 0x15f4]
mov dword [rsi + 0x15d4], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov edx, 8
lea rcx, [rbp + 0xb0]
call fcn.1400219b0
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rbx, qword [rbp + 0xb0]
mov edi, 8
movabs r12, 0x842108421084211
nop word [rax + rax]
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [0x140069cb8]
movups xmmword [rbp + 0xf8], xmm1
movups xmm0, xmmword [0x140069cc8]
movups xmmword [rbp + 0x108], xmm0
movsd xmm1, qword [0x140069cd8]
movsd qword [rbp + 0x118], xmm1
mov eax, dword [0x140069ce0]
mov dword [rbp + 0x120], eax
movzx eax, word [0x140069ce4]
mov word [rbp + 0x124], ax
movzx eax, byte [0x140069ce6]
mov byte [rbp + 0x126], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, byte [rbp + rcx + 0xe8]
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000cfe0
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r10, qword [rbp + 0xc0]
add r10, rdx
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
cmp rdx, r10
jne 0x14000d0eb
movdqa xmm0, xmmword [0x140069f10]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], r15w
jmp 0x14000d101
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0x88]
call fcn.140017e30
nop
lea rdi, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rdi, qword [rbp + 0x88]
mov qword [rsi + 0x28], r15
mov qword [rsi + 0x30], r15
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], r15
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], r15
mov qword [rsi + 0x58], r15
mov qword [rsi + 0x60], r15
mov dword [rsi + 0x18], 0x50
mov dword [rsi + 0x1c], 3
lea rax, [0x14000cb10]
mov qword [rsi + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsi + 0x30], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x40], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsi + 0x38], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], rdi
mov qword [rsi + 0x58], rdi
lea rcx, [rsi + 0x18]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov eax, dword [rsi + 0x15d4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 0x15d0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsi + 0x15f4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0x15f0]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
mov r8, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov qword [rsi + 0x15c8], rax
lea rdx, str.Overlay_HWND:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140016960
mov rcx, rax
mov rdx, rbx
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140016b30]
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]
mov rcx, rsi
call fcn.14000cb90
mov r9d, 2
mov r8b, 1
xor edx, edx
mov rcx, qword [rsi + 0x15c8]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x15c8]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14006a300]
movdqu xmmword [rbp + 0xd8], xmm0
lea rdx, [rbp + 0xd8]
mov rcx, qword [rsi + 0x15c8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [rsi + 0x15c8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x15c8]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x14000d2f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d2f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d360
movdqa xmm0, xmmword [0x140069f10]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], r15w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14000d355
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d360
movdqa xmm0, xmmword [0x140069f20]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rax, qword [0x140076dd0]
test rax, rax
je 0x14000d37e
inc dword [rax + 0x3b0]
mov ecx, 0x3f48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0xd8], rax
test rax, rax
je 0x14000d3b7
xor edx, edx
mov rcx, rax
call fcn.1400220a0
mov rcx, rax
jmp 0x14000d3ba
mov rcx, r15
mov rax, qword [0x140076dd0]
test rax, rax
cmove rax, rcx
mov qword [0x140076dd0], rax
call fcn.140028080
mov rdx, qword [0x140076dd0]
add rdx, 8
lea rcx, [rsi + 0x70]
call fcn.14000d800
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
call fcn.140015860
nop
mov r8d, 1
lea rdx, str.msyhl.ttf
lea rcx, [rbp - 0x80]
call fcn.140015ff0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
je 0x14000d43e
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14000d44c
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
je 0x14000d4ba
lea rdx, str.____Cant_find_font_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140016960
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.1400157f0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000d7cb
movss xmm2, dword [0x140069e10]
mov rcx, qword [rsi + 0x110]
call fcn.140042710
movss xmm2, dword [0x140069e1c]
mov rcx, qword [rsi + 0x110]
call fcn.140042710
mov qword [rsi + 0x15d8], rax
mov rbx, qword [0x140076dd0]
movaps xmm0, xmmword [0x14006a120]
movups xmmword [rbx + 0x1640], xmm0
mov r14, qword [rsi + 0x15c8]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000d6fd
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000d6fd
mov rax, qword [0x140076dd0]
test rax, rax
je 0x14000d541
inc dword [rax + 0x3b0]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14000d56e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x14000d571
mov rdi, r15
mov qword [rbx + 0xe8], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xd8], rax
or dword [rbx + 0xc], 6
mov qword [rdi], r14
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0xd0]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov qword [rbx + 0x120], r14
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], 0x20
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0xd
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x88], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x90], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x98], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0xa0], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0xa8], rax
mov rbx, r15
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x14000d6d1
inc rbx
cmp rbx, 5
jl 0x14000d6b0
jmp 0x14000d6fd
mov qword [rdi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [rsi + 0x15e8]
mov rbx, qword [0x140076dd0]
test rbx, rbx
je 0x14000d716
inc dword [rbx + 0x3b0]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd8], rax
test rax, rax
je 0x14000d74d
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14000d750
mov rax, r15
mov qword [rbx + 0xf0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe0], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.1400157f0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, 1
jmp 0x14000d7cd
lea rdx, str.____Invalid_HWND._Cant_find_emulator_window_n
call fcn.140016960
xor al, al
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.14005d020
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret