Function at 0x140051f80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x1a0
mov rax, qword [0x1403ca010]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Load_Driver__nInput:1_Load__0_Do_not__nInput:
call fcn.140052b40
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
cmp dword [rsp + 0x58], 0
je 0x140051fd0
call fcn.140051a20
mov rcx, qword [0x1403cac08]
test rcx, rcx
jne 0x140052020
nop dword [rax]
lea rdx, str.Apex_Legends
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0x3e8
mov qword [0x1403cac08], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__Finding_apex..._n
call fcn.140052b40
mov rcx, qword [0x1403cac08]
test rcx, rcx
je 0x140051fe0
lea rdx, [0x1403cabf8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1403cac08]
lea rdx, [0x1403cac20]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x1403cac20]
lea rbp, str.r5apex.exe
mov dword [0x1403cabf8], eax
xor esi, esi
mov eax, dword [0x1403cac24]
mov dword [0x1403cabfc], eax
mov eax, dword [0x1403cac00]
mov dword [0x1403ca060], eax
mov eax, dword [0x1403cac04]
mov dword [0x1403ca054], eax
mov eax, dword [0x1403cabf0]
test eax, eax
jne 0x140052182
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rdi
nop dword [rax + rax]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400520bc
mov rcx, rax
jmp 0x14005213f
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140052137
nop word [rax + rax]
lea rax, [rsp + 0x8c]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], sil
jne 0x1400520f0
mov r8d, 0xa
lea rdx, [rsp + 0x8c]
cmp rdi, r8
mov rcx, rbp
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140052124
cmp rdi, 0xa
je 0x140052225
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1400520e0
test rbx, rbx
je 0x140052145
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
lea rcx, str.___Status_Apex:Found_n
mov dword [0x1403cabf0], edi
call fcn.140044440
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1403cabf0]
test eax, eax
je 0x1400520a0
mov rdi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1b0]
cmp qword [0x1403cac10], rsi
jne 0x140052240
nop
vpxor xmm0, xmm0, xmm0
lea rcx, str.win32u.dll
mov qword [rsp + 0x20], rsi
vmovdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x3f], rsi
mov byte [rsp + 0x47], sil
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x38], eax
mov word [rsp + 0x3d], 0x100
mov byte [rsp + 0x3c], sil
mov qword [rsp + 0x48], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [rsp + 0x50]
lea rdx, str.Driver_May_Failed...Still_Checking..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [0x1403cac10], rax
call fcn.140052b40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x1403cac10], rsi
jne 0x140052240
mov eax, dword [0x1403cabf0]
jmp 0x140052190
mov edi, dword [rsp + 0x68]
test rbx, rbx
je 0x140052147
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140052147
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__Driver_Loaded_n__Rigel_Launched
call fcn.140052b40
xor r8d, r8d
lea rcx, [0x14004a190]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea rcx, [0x1400490e0]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
xor r8d, r8d
lea rcx, [0x14004d090]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea rcx, [0x140048c20]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140055620
mov rbp, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rsi
ret