Function at 0x180045c90
Capabilities:
Enumerate process modules
Enumerate processes

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 - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1800a6040]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
xor r14d, r14d
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180045cf8
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Please_run_game_first
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x30
call fcn.180064a90
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_obj2_class_pProcess_.0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [0x1800a6338], rcx
mov rbx, qword [0x1800a6340]
mov qword [0x1800a6340], rax
test rbx, rbx
je 0x180045d76
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180045d76
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180045d76
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [0x1800a6338]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp - 0x3c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 0x130
mov esi, r14d
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180045dea
nop dword [rax]
lea rdx, str.GTA5.exe
lea rcx, [rbp - 0x14]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x180045de7
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180045dc0
jmp 0x180045dea
mov esi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rdi], esi
test esi, esi
je 0x180045e53
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 8], rax
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x70]
mov r8d, 0x7f8
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp - 0x40]
mov qword [rdi + 0x10], rdx
mov r9d, 0x18
lea r8, [rsp + 0x78]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp - 0x80]
mov qword [rdi + 0x18], rax
jmp 0x180045e6c
xor r9d, r9d
lea r8, str.Error
lea rdx, str.could_not_find_the_game
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x1800aa270]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, str.process_id____________________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
mov edx, dword [0x1800aa270]
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_int____ptr64]
lea rdx, [0x180001ea0]
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 r8d, dword [0x1800aa270]
xor edx, edx
mov ecx, 0x38
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1800aa298], rax
lea rdx, str.handle________________________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
mov rdx, qword [0x1800aa298]
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___void_const____ptr64____ptr64]
lea rdx, [0x180001ea0]
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
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 8
lea rdx, str.GTA5.exe
lea rcx, [rsp + 0x48]
call fcn.1800017e0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.180045300
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x7d
lea rdx, str.E8_________40_02_FB_40_0A_F0_40_3A_FB_72_E1_40_84_F6_75_72_81_7D___________75_69_81_7D___________75_60_8B_05_________39_45_BC
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
inc rdx
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
add eax, 4
cdqe
add rax, 0x87
add qword [rbx + 0x20], rax
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
add eax, 4
movsxd rcx, eax
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [0x1800aa278], rax
lea rdx, str.ReplayInterfacePointer________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800aa278]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x1c
lea rdx, str.75_17_48_8B_0D_________8B_C3
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 5
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rsp + 0x70]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x1800aa280], rax
lea rdx, str.CPedFactoryPointer____________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800aa280]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x2a
lea rdx, str.48_8B_15_________48_8D_2D_________48_8B_CD
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rsp + 0x70]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x1800aa2a0], rax
lea rdx, str.CViewportGamePointer__________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800aa2a0]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x19
lea rdx, str.F3_0F_10_1D_________8B_0D
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 0xa
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rsp + 0x70]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x1800aa268], rax
lea rdx, str.WindowWidth___________________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800aa268]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x24
lea rdx, str.48_8B_05_________38_98_________8A_C3
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rsp + 0x70]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x1800aa488], rax
lea rdx, str.camGameplayDirectorPointer____:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800aa488]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x2a
lea rdx, str.48_8B_0D_________E8_________48_85_C0_74_37
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rsp + 0x70]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x1800b0210], rax
lea rdx, str.CNetworkPlayerMgrPointer______:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800b0210]
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]
lea rdx, [0x180001ea0]
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 + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x19
lea rdx, str.E8_________B1_01_48_81_C4
lea rcx, [rsp + 0x78]
call fcn.1800017e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180045730
mov rbx, rax
mov rdx, qword [rax + 0x20]
inc rdx
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
add eax, 4
cdqe
add rax, 0x296
add qword [rbx + 0x20], rax
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x70]
add eax, 4
movsxd rcx, eax
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [0x1800d29b8], rax
lea rdx, str.AimCPedPointer________________:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001cc0
lea rdx, [0x180045150]
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 [0x1800d29b8]
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]
lea rdx, [0x180001ea0]
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 rsi, qword [0x1800a6338]
mov dword [rsp + 0x30], 0x58d48
mov dword [rsp + 0x34], 0x48000000
mov dword [rsp + 0x38], 0xc969
mov dword [rsp + 0x3c], 0x3480000
mov word [rsp + 0x40], 0x83c8
mov byte [rsp + 0x42], 0x79
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov ecx, 0x13
call fcn.180064a90
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rbx, [rax + 0x13]
mov qword [rbp - 0x78], rbx
mov r8d, 0x13
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.180047b90
mov rdx, rax
mov rcx, rsi
call fcn.180064730
mov rdi, rax
test rax, rax
jne 0x1800465a6
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18004659f
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004659a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046603
call fcn.180064e44
mov ebx, 0x20
jmp 0x180046612
mov dword [rsp + 0x70], r14d
lea rdx, [rax + 3]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [rsp + 0x70]
add rbx, 0x27
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18004660f
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004660a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004660a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180064e44
add rbx, rdi
mov qword [0x1800aa290], rbx
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], r14
test rcx, rcx
je 0x18004662b
call fcn.180064e44
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180046643
call fcn.180064e44
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.180064a70
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret