Function at 0x140048c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor esi, esi
lea rdx, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str.Apex_Legends_DMA_Paste
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea r8d, [rsi + 0xa]
lea rdx, str.r5apex.exe
lea rcx, [rsp + 0x50]
call fcn.140001760
lea rdx, [rsp + 0x50]
call fcn.140003d20
test al, al
jne 0x140048da6
lea rdx, str.Failed_to_initilize_DMA
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str.Press_ENTER_to_continue...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
lea rdx, str.DMA_initilized
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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 rcx, qword [0x140062880]
call fcn.140001860
test al, al
jne 0x140048e1d
lea rdx, str.Failed_to_initialize_keyboard_hotkeys_through_kernel.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str.Press_ENTER_to_continue...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
mov ebx, esi
nop
cmp ebx, 0x46
jge 0x140048ee5
mov ecx, 0xd0
call fcn.14004b3d0
mov rdx, rax
mov rcx, qword [0x140062790]
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rsi
xor eax, eax
mov qword [rdx + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x38], xmm0
mov qword [rdx + 0x48], rsi
mov qword [rdx + 0x50], sendto
mov byte [rdx + 0x38], al
mov qword [rdx + 0x6c], rsi
mov qword [rdx + 0x74], rsi
mov qword [rdx + 0x7c], rsi
mov qword [rdx + 0x98], rsi
mov dword [rdx + 0xa4], esi
mov byte [rdx + 0xa8], al
mov dword [rdx + 0xac], esi
mov dword [rdx + 0xb0], 0xa
mov qword [rdx + 0xc8], rsi
mov dword [rdx + 0x10], ebx
mov qword [rdx], rcx
mov rax, qword [0x1400627c8]
mov qword [rdx + 8], rax
mov qword [rsp + 0x70], rdx
mov rcx, qword [0x1400627c0]
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x140048ed1
mov qword [rax], rdx
add qword [rcx + 8], 8
inc ebx
jmp 0x140048e20
lea r8, [rsp + 0x70]
mov rdx, rax
call fcn.140008d50
inc ebx
jmp 0x140048e20
mov ebx, esi
nop word [rax + rax]
cmp ebx, 0x3a98
jge 0x140048fb8
mov ecx, 0xd0
call fcn.14004b3d0
mov rdx, rax
mov rcx, qword [0x140062790]
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rsi
xor eax, eax
mov qword [rdx + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x38], xmm0
mov qword [rdx + 0x48], rsi
mov qword [rdx + 0x50], sendto
mov byte [rdx + 0x38], al
mov qword [rdx + 0x6c], rsi
mov qword [rdx + 0x74], rsi
mov qword [rdx + 0x7c], rsi
mov qword [rdx + 0x98], rsi
mov dword [rdx + 0xa4], esi
mov byte [rdx + 0xa8], al
mov dword [rdx + 0xac], esi
mov dword [rdx + 0xb0], 0xa
mov qword [rdx + 0xc8], rsi
mov dword [rdx + 0x10], ebx
mov qword [rdx], rcx
mov rax, qword [0x1400627c8]
mov qword [rdx + 8], rax
mov qword [rsp + 0x70], rdx
mov rcx, qword [0x140062788]
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x140048fa4
mov qword [rax], rdx
add qword [rcx + 8], 8
inc ebx
jmp 0x140048ef0
lea r8, [rsp + 0x70]
mov rdx, rax
call fcn.140008d50
inc ebx
jmp 0x140048ef0
lea rdx, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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 rcx, [rsp + 0x50]
call fcn.140042260
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const____ptr64_]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004901b
mov rax, qword [rcx]
call qword [rax + recvfrom]
test rax, rax
je 0x14004901b
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140049041
mov rax, qword [rcx]
call qword [rax + recvfrom]
test rax, rax
je 0x140049041
mov rcx, qword [rax]
mov r9, qword [rcx]
mov edx, 1
mov rcx, rax
call r9
call fcn.140046690
mov rbx, rax
mov r15, qword [0x1400627d0]
mov r12, qword [0x1400627a8]
mov r13, qword [0x140062798]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 0xa
lea rdx, str.config.cfg
lea rcx, [rsp + 0x30]
call fcn.140001760
nop
cmp byte [rbx + 0x38], 0
jne 0x14004910f
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x1400490ee
lea r9, [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
cmp rdi, 0xf
cmova r9, qword [rsp + 0x30]
mov rax, qword [rbx + 0x18]
mov rsi, qword [rsp + 0x40]
cmp rsi, rax
ja 0x1400490e3
mov r14, rbx
cmp rax, 0xf
jbe 0x1400490ca
mov r14, qword [rbx]
mov qword [rbx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + r14], 0
jmp 0x1400490f3
mov rdx, rsi
mov rcx, rbx
call fcn.140008450
mov rdi, qword [rsp + 0x48]
mov qword [rbx + 0x20], r13
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r15
mov rcx, rbx
call fcn.140046740
mov byte [rbx + 0x38], 1
xor esi, esi
jmp 0x140049114
mov rdi, qword [rsp + 0x48]
cmp rdi, 0xf
jbe 0x140049150
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004914b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004914b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b654
lea rdx, str.Config_initialized
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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 rax, qword [0x1400627a8]
movss xmm2, dword [rax + 4]
mulss xmm2, dword [0x140056594]
movss xmm1, dword [rax]
mulss xmm1, dword [0x140056594]
movss dword [rax + 8], xmm1
movss dword [rax + 0xc], xmm2
call fcn.1400443d0
lea rdx, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str.Core_initialized
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, str._____________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
lea rdx, [0x140007ab0]
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, 8
call fcn.14004b3d0
lea rcx, [0x1400485f0]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140049580]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400493eb
mov ecx, 0x38
call fcn.14004b3d0
mov r9, rax
mov rax, qword [0x1400627d0]
mov qword [r9], rax
mov rax, qword [0x140062798]
mov qword [r9 + 8], rax
mov rax, qword [0x1400627b8]
mov qword [r9 + 0x10], rax
mov rax, qword [0x1400627a8]
mov qword [r9 + 0x18], rax
mov rax, qword [0x1400627b0]
mov qword [r9 + 0x20], rax
mov rax, qword [0x140062790]
mov qword [r9 + 0x28], rax
lea rax, [0x140049ac0]
mov qword [r9 + 0x30], rax
mov qword [rsp + 0x70], r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r8, [0x1400495b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x1400493d8
cmp dword [rsp + 0x88], 0
jne 0x140049323
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x88], eax
jne 0x14004933d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140049367
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
cmp dword [rsp + 0x98], 0
je 0x140049384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rdx, str.Press_ENTER_to_exit...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400078e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14004b3b0
lea r11, [rsp + 0xb0]
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 r13
ret
mov dword [rsp + 0x98], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x88], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3