Function at 0x140046950
Capabilities:
Check for foreground window switch
Create thread
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r12d, r9d
mov r13, rcx
call fcn.1400466e0
mov rsi, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140051f70]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0x148
call fcn.140048474
xor edx, edx
mov r8d, 0x148
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140003d70
xor r15d, r15d
mov qword [0x1400607f0], rax
mov ecx, 0x50
mov qword [rbp + 0xf0], r15
call fcn.140048474
movups xmm0, xmmword [str.C:WindowsSystem32SB_SMBUS_SDK.dll]
lea rcx, [rbp + 0xe8]
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf8], 0x24
mov qword [rbp + 0x100], 0x27
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140051f90]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140051fa0]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x140051fb0]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x140051fc0]
movsd qword [rax + 0x40], xmm0
mov word [rax + 0x48], r15w
call fcn.140043220
mov rbx, qword [0x1400607f0]
lea rcx, [0x14004baa8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, 0x12c
mov qword [0x14005c0d0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x14005c0d0], r15
jne 0x140046a9a
lea rcx, str.Failed_to_found_module_sdk.dll_n
call fcn.1400011d0
cmp qword [0x1400607b0], r15
jne 0x140046adf
mov edx, 0x20
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [0x1400607b0], rax
test rax, rax
je 0x140046adf
movdqa xmm1, xmmword [0x140052330]
lea rdx, [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movdqu xmmword [rbp + 0x50], xmm1
call fcn.140003b10
cmp qword [rbx + 0x10], 0xffffffffffffffff
jne 0x140046b17
mov qword [rsp + 0x30], r15
lea rcx, str..EneTechIo
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x10], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov dl, 1
mov ecx, 0xd
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test eax, eax
jne 0x140047c26
lea r9, [rbp + 0x48]
xor r8d, r8d
mov dl, 1
mov ecx, 0x14
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test eax, eax
jne 0x140047c26
cmp qword [0x14005c0d0], 0xffffffffffffffff
je 0x140047c26
cmp qword [0x1400607b0], r15
je 0x140047c26
cmp qword [rbx + 0x10], 0xffffffffffffffff
je 0x140047c26
lea rdx, str.System
call fcn.140004840
test al, al
je 0x140047c00
mov qword [rsp + 0x288], rdi
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x240], r14
call fcn.140043140
mov rdx, qword [0x1400607f0]
lea rcx, str.attached_to__s_in__dms_n
mov rdx, qword [rdx + 0xb8]
call fcn.1400011d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.system_cr3:
call fcn.140047d30
lea rdx, [0x140043120]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [0x1400607f0]
mov rdx, qword [rcx + 0xc0]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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 ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x1400607f0]
cmp qword [rbx + 0xc0], r15
jne 0x140046ce5
cmp byte [rbx + 0x18], r15b
je 0x140046c97
mov rdx, qword [rbx + 0xd0]
test rdx, rdx
je 0x140046c3f
mov rcx, rbx
call fcn.1400043c0
mov dword [rbp + 0x80], r15d
movups xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 0x90], r15
movups xmm1, xmmword [rbp + 0x90]
mov qword [rbp + 0xa8], r15
movups xmmword [rbx + 0xb0], xmm0
mov qword [rbp + 0xb8], r15
movups xmm0, xmmword [rbp + 0xa0]
mov byte [rbx + 0x18], r15b
movups xmmword [rbx + 0xc0], xmm1
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbx + 0xd0], xmm0
movups xmmword [rbx + 0xe0], xmm1
lea rdx, str.System
call fcn.140004840
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Whating_sustem_cr3
call fcn.140047d30
lea rdx, [0x140047f10]
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]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x1400607f0]
cmp qword [rbx + 0xc0], r15
je 0x140046c25
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.system_cr3:
call fcn.140047d30
lea rdx, [0x140043120]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [0x1400607f0]
mov rdx, qword [rcx + 0xc0]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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, [rbp + 0x80]
call fcn.140004bd0
mov ebx, dword [rbp + 0x80]
test ebx, ebx
jne 0x140046dbf
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Whating_Game
movaps xmmword [rsp + 0x230], xmm6
call fcn.140047d30
lea rdx, [0x140047f10]
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, [rbp + 0xe8]
call fcn.140004bd0
mov ecx, 0xc8
movups xmm0, xmmword [rax + 0x10]
movups xmm1, xmmword [rax + 0x20]
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
movd ebx, xmm6
test ebx, ebx
je 0x140046d74
movaps xmm6, xmmword [rsp + 0x230]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Pid_
call fcn.140047d30
mov edx, ebx
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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 rbx, qword [0x1400607f0]
cmp byte [rbx + 0x18], r15b
je 0x140046e66
mov rdx, qword [rbx + 0xd0]
test rdx, rdx
je 0x140046e0e
mov rcx, rbx
call fcn.1400043c0
mov dword [rbp + 0x80], r15d
movups xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 0x90], r15
movups xmm1, xmmword [rbp + 0x90]
mov qword [rbp + 0xa8], r15
movups xmmword [rbx + 0xb0], xmm0
mov qword [rbp + 0xb8], r15
movups xmm0, xmmword [rbp + 0xa0]
mov byte [rbx + 0x18], r15b
movups xmmword [rbx + 0xc0], xmm1
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbx + 0xd0], xmm0
movups xmmword [rbx + 0xe0], xmm1
lea rdx, str.r5apex.exe
call fcn.140004840
mov r14, qword [0x1400607f0]
lea r8, [rbp + 0x48]
mov rcx, r14
mov word [rbp + 0x48], r15w
mov rax, qword [r14 + 0xc0]
mov rdx, qword [r14 + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.140003660
mov eax, 0x5a4d
cmp word [rbp + 0x48], ax
jne 0x140046ebb
mov rax, qword [0x1400607f0]
mov rdi, qword [rax + 0xc0]
jmp 0x140046fcd
mov rcx, r14
call fcn.140004580
movsxd r15, eax
lea rcx, str.self_ref_entry___d_n
mov edx, r15d
call fcn.1400011d0
cmp r15d, 0xffffffff
jne 0x140046ee3
xor r15d, r15d
jmp 0x140046fca
mov esi, 0x1000
nop dword [rax + rax]
mov rdi, rsi
shl rdi, 0xc
test rsi, 0xffffff
jne 0x140046f0f
mov rdx, rdi
lea rcx, str.reached_dtb:_0x_llx_n
call fcn.1400011d0
mov rax, qword [0x1400607f0]
mov rcx, qword [rax + 0xa8]
test rcx, rcx
je 0x140046f2f
mov rax, rdi
and eax, 0xfffff
cmp rcx, rax
jne 0x140046fa4
lea rdx, [rdi + r15*8]
mov r8d, 8
mov rcx, r14
call fcn.140004150
test rax, rax
je 0x140046fa4
mov rbx, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.1400043c0
test bl, 1
je 0x140046fa4
shr rbx, 0xc
movabs rax, 0xfffffffff
and rbx, rax
shl rbx, 0xc
cmp rbx, rdi
jne 0x140046fa4
mov rcx, qword [0x1400607f0]
lea r8, [rbp + 0x40]
xor eax, eax
mov qword [rsp + 0x20], rdi
mov word [rbp + 0x40], ax
mov rdx, qword [rcx + 0xe0]
call fcn.140003660
mov eax, 0x5a4d
cmp word [rbp + 0x40], ax
je 0x1400470ad
inc rsi
cmp rsi, 0x1100000
jne 0x140046ef0
mov rax, qword [0x1400607f0]
xor r15d, r15d
mov rsi, qword [rsp + 0x60]
mov qword [rax + 0xa8], r15
mov rdi, r15
mov rax, qword [0x1400607f0]
lea rdx, str.Apexcr3__0x
mov qword [0x1400607d8], rdi
mov qword [rax + 0xc0], rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047d30
lea rdx, [0x140043120]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x1400607d8]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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 rax, qword [0x1400607f0]
lea rdx, str.Base_address_
mov rcx, qword [rax + 0xe0]
mov qword [0x1400607e8], rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047d30
mov rdx, qword [0x1400607e8]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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 rdx, qword [0x1400607e8]
movabs rdi, 0xffffffffffffff
add rdx, 0x24342b8
cmp rdx, rdi
ja 0x1400470d7
mov rcx, qword [0x1400607f0]
lea r8, [rsp + 0x60]
mov r9d, 8
mov qword [rsp + 0x60], r15
call fcn.1400032a0
mov rbx, qword [rsp + 0x60]
jmp 0x1400470da
mov rcx, qword [0x1400607f0]
mov rax, rdi
mov rsi, qword [rsp + 0x60]
and eax, 0xfffff
xor r15d, r15d
mov qword [rcx + 0xc0], rdi
mov qword [rcx + 0xa8], rax
jmp 0x140046fcd
mov rbx, r15
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.local_player_
call fcn.140047d30
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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]
test rbx, rbx
jne 0x140047149
nop
mov rdx, qword [0x1400607e8]
add rdx, 0x24342b8
cmp rdx, rdi
ja 0x140047110
mov rcx, qword [0x1400607f0]
lea r8, [rsp + 0x60]
mov r9d, 8
mov qword [rsp + 0x60], r15
call fcn.1400032a0
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140047110
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.local_player_
call fcn.140047d30
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140047f10]
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]
xor r9d, r9d
mov qword [rsp + 0x28], r15
lea r8, [0x140045f90]
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
mov qword [rbp], r15
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm0
lea rax, [0x1400468f0]
movdqu xmmword [rbp + 0x20], xmm1
lea rcx, [rbp - 0x10]
mov qword [rbp - 8], rax
mov qword [rbp + 0x38], r15
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 3
mov qword [rbp + 8], r13
mov qword [rbp + 0x30], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rdx, str.Apex_Legends
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov r13, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbp + 8]
mov r9d, 0x80000000
mov edx, dword [rbp + 0xdc]
mov r8d, dword [rbp + 0xd8]
sub edx, dword [rbp + 0xd4]
sub r8d, dword [rbp + 0xd0]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rcx
mov ecx, 0x80028
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], edx
mov rdx, qword [rbp + 0x30]
mov dword [rsp + 0x30], r8d
mov r8, rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov rsi, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
lea rdx, [rbp + 0x50]
mov rcx, rsi
movups xmmword [rbp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
lea rdx, [rbp + 0xc0]
mov rcx, rsi
movups xmmword [rbp + 0xc0], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x40], r15
mov rcx, rsi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x40]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov dword [rbp + 0x68], eax
mov rcx, rsi
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x6c], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea rax, [rsp + 0x68]
mov qword [rbp - 0x60], r15
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x70]
mov qword [rbp - 0x4c], r15
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [rsp + 0x78]
mov qword [rbp - 0x44], 1
mov qword [rsp + 0x48], rax
mov edx, 1
lea rax, [rsp + 0x70]
mov qword [rbp - 0x38], 2
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], 2
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x58], 0x3c
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x50], 0x1c
mov dword [rbp - 0x3c], 0x20
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 1
mov dword [rbp + 0xe0], 0xb000
mov dword [rbp + 0xe4], 0xa000
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov dword [rbp + 0x70], r15d
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x78]
mov qword [rbp - 0x78], r15
lea r8, [0x140051ee0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140047bf9
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, r12d
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400607c8]
test rbx, rbx
je 0x14004741c
inc dword [rbx + 0xf4]
mov ecx, 0x5df8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140047438
xor edx, edx
mov rcx, rax
call fcn.140009c00
jmp 0x14004743b
mov rax, r15
mov qword [0x1400607c8], rax
call fcn.14000d760
test rbx, rbx
je 0x140047453
mov qword [0x1400607c8], rbx
xor ecx, ecx
call fcn.14002a230
mov rbx, qword [0x1400607c8]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400475ad
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400475ad
mov rax, qword [0x1400607c8]
test rax, rax
je 0x140047497
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400474c4
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 0x1400474c7
mov rdi, r15
or dword [rbx + 0xc], 6
lea rax, [0x140051cb8]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x98], rdi
mov rbx, r15
mov qword [rdi], rsi
mov rax, qword [rbp + 0x40]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rdi + 0x18], rax
mov rax, qword [0x1400607c8]
mov dword [rdi + 0x28], 9
mov rcx, qword [rax + 0x4890]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rbp + 0xe8], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0xf0], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0xf8], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x100], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x108], rax
mov byte [rdi + 0x2d], 1
nop dword [rax]
mov rcx, qword [rbp + rbx*8 + 0xe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140047581
inc rbx
cmp rbx, 5
jl 0x140047560
jmp 0x1400475ad
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x30], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, r14
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x1400607c8]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
test rdi, rdi
je 0x1400475c9
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r12d, r12d
mov rbx, rax
test rax, rax
je 0x14004760d
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140047610
mov rbx, r12
or dword [rdi + 0xc], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
lea r8, [rbp - 0x70]
mov qword [rdi + 0xa0], rbx
lea rdx, [0x140051c88]
mov rax, qword [r14]
mov rcx, r14
mov qword [rbp - 0x70], r12
mov qword [rsp + 0x60], r12
mov qword [rbp + 0xc0], r12
call qword [rax]
test eax, eax
jne 0x140047699
mov rcx, qword [rbp - 0x70]
lea r8, [rsp + 0x60]
lea rdx, [0x140051c98]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140047699
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 0xc0]
lea rdx, [0x140051ca8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140047699
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0xc0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400476a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400476b8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov dil, 1
lea r14, str._.1f
lea r15, [0x14004ccfc]
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140047757
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x88], 0x12
lea rcx, [rbp + 0x80]
movzx edi, dil
cmove edi, r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movzx ebx, dil
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140047701
test bl, bl
je 0x140047a69
lea rdx, [rbp + 0x50]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x5c]
mov rcx, rsi
mov r8d, dword [rbp + 0x54]
sub eax, r8d
mov r9d, dword [rbp + 0x58]
mov edx, dword [rbp + 0x50]
sub r9d, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [0x1400607c8]
test rax, rax
je 0x1400477a2
mov rax, qword [rax + 0xa0]
jmp 0x1400477a5
mov rax, r12
cmp qword [rax + 0x48], 0
jne 0x1400477b1
call fcn.1400331c0
call fcn.140033ff0
mov rax, qword [0x1400607c8]
mov dword [rax + 0x37f0], 0x41400000
call fcn.14000fa70
mov rax, qword [0x1400607c8]
or dword [rax + 0x4790], 2
mov dword [rax + 0x47b0], 0x43c80000
mov dword [rax + 0x47b4], 0x43c80000
mov dword [rax + 0x4798], 1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp r13, rax
je 0x140047812
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rsi, rax
jne 0x1400479b3
cmp byte [0x1400607c1], 0
mov edx, 0xffffffec
mov rcx, rsi
je 0x14004795d
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd r8, eax
mov edx, 0xffffffec
btr r8, 0x13
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor edx, edx
lea rcx, str.MEMEZ
mov r8d, 0x122
call fcn.140014dc0
lea rdx, [0x14006086c]
lea rcx, str.EspBox
call fcn.140038060
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [0x14005c0d8]
mov dword [rbp + 0x40], 0x461c4000
mov edx, 8
mov dword [rbp + 0x48], 0x459c4000
lea rcx, str.Rander_radius
call fcn.140038f70
lea rdx, [0x14006086b]
lea rcx, str.Skeleton
call fcn.140038060
lea rdx, [0x140060868]
lea rcx, str.Aimbot
call fcn.140038060
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [0x14005c0dc]
mov dword [rbp + 0x40], 0x14
mov edx, 4
mov dword [rbp + 0x48], r12d
lea rcx, str.Smooth_Factor
call fcn.140038f70
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [0x14005c0e0]
mov dword [rbp + 0x40], 0x43480000
mov edx, 8
mov dword [rbp + 0x48], 0
lea rcx, [0x1400520f0]
call fcn.140038f70
lea rdx, [0x140060869]
lea rcx, str.DrawFov
call fcn.140038060
lea rdx, [0x14006086a]
lea rcx, str.Stream_Bypass
call fcn.140038060
jmp 0x140047979
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd r8, eax
mov edx, 0xffffffec
bts r8, 0x13
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
lea rcx, [rbp + 0x60]
call fcn.140043140
mov rbx, qword [rbp + 0x60]
mov rax, rbx
sub rax, qword [0x1400607e0]
cmp rax, 0x1dcd6500
jl 0x1400479a4
call fcn.140044090
mov qword [0x1400607e0], rbx
call fcn.140045a30
call fcn.1400443f0
call fcn.140046020
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400479d0
cmp byte [0x1400607c1], 0
sete byte [0x1400607c1]
cmp byte [0x14006086a], 0
mov rcx, rsi
je 0x1400479e3
mov edx, 0x11
jmp 0x1400479e5
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call fcn.140011b00
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0xe8], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0xe8]
mov rdx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400607c8]
mov rcx, qword [rax + 0x4890]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0x48
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140032750
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x1400476e0
mov rdi, qword [0x1400607c8]
test rdi, rdi
je 0x140047a7e
mov rbx, qword [rdi + 0xa0]
jmp 0x140047a81
mov rbx, r12
call fcn.140033700
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140047a95
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140047aa3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140047ab2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400607c8]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
test rax, rax
je 0x140047ad2
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400607c8]
test rax, rax
je 0x140047af0
mov rbx, qword [rax + 0x98]
jmp 0x140047af3
mov rbx, r12
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140047b0d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400607c8]
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x90], r12
test rax, rax
je 0x140047b26
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400607c8]
mov qword [0x1400607c8], rbx
call fcn.14000db40
mov qword [0x1400607c8], r12
test rbx, rbx
je 0x140047b71
mov rcx, rbx
call fcn.1400227b0
mov rax, qword [0x1400607c8]
test rax, rax
je 0x140047b68
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140047b81
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140047b91
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140047ba1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140047bb0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rdi, qword [rsp + 0x288]
mov r14, qword [rsp + 0x240]
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140048370
add rsp, 0x248
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
mov eax, 1
jmp 0x140047bc9
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.not_attached_n
call fcn.1400011d0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x140047bd9
lea rcx, str.driver_init_failed_n
call fcn.1400011d0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x140047bd9