Function at 0x140001630
Capabilities:
Enumerate threads
Link many functions at runtime

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebp, ecx
mov rsi, rdx
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.OpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, ebp
xor edx, edx
mov ecx, 0x1fffff
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r12, rax
test rax, rax
jne 0x1400016da
lea rdx, str._t____Get_TargetProcessHandle_Failed_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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]
call fcn.140001230
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._t____Is_This_EXE_Opened__:_
cmp eax, 1
je 0x1400016c0
lea rdx, str._t____Please_Run_This_Under_Administrator_Role_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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]
jmp 0x140001a64
mov qword [rsp + 0xa0], rbx
lea rdx, str._t___Get_OriginalProcessHandle_Successfully_:_
mov qword [rsp + 0x60], r15
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140001710
lea rcx, str.Kernel32.dll
lea ebx, [rbx*2 + 4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.VirtualAllocEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x20
mov r8d, ebx
xor edx, edx
mov rcx, r12
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r15, rax
test rax, rax
jne 0x140001788
lea rdx, str._t____VirtualAlloc_Address_Failed_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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]
jmp 0x140001a57
lea rdx, str._t___VirtualAlloc_Address_Successfully_:_
mov qword [rsp + 0xa8], rdi
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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, str.KernelBase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.WriteProcessMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov r9, rbx
mov r8, rsi
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, r12
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jne 0x14000180a
lea rdx, str._t____Write_CSs_DLL_Into_Memory_Failed_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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]
jmp 0x140001a4f
lea rdx, str._t___Write_CSs_DLL_Into_Memory_Successfully_:_
mov qword [rsp + 0x68], r14
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r14, rax
test rax, rax
jne 0x140001863
lea rdx, str._t____Get_LoadLibrarys_Address_Failed_:_
jmp 0x140001a35
lea rdx, str._t___Get_LoadLibrarys_Address_Successfully_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.CreateToolhelp32Snapshot
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 4]
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400018bf
lea rdx, str._t____Taking_Thread_Snap_Shot_Failed_:_
jmp 0x140001a35
lea rdx, str._t___Taking_Thread_Snap_Shot_Successfully_:_
call fcn.1400023e0
mov rcx, rax
lea rdx, [0x1400025b0]
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
mov qword [rsp + 0x44], rdi
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rsi
movdqu xmmword [rsp + 0x34], xmm0
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140001a4a
cmp dword [rsp + 0x3c], ebp
jne 0x140001974
mov ebx, dword [rsp + 0x38]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.OpenThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call rax
mov rbx, rax
test rax, rax
je 0x140001974
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.QueueUserAPC
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, r15
mov rdx, rbx
mov rcx, r14
call rax
mov ecx, 1
cmp eax, ecx
cmove edi, ecx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x140001a02
cmp dword [rsp + 0x3c], ebp
jne 0x1400019f0
mov ebx, dword [rsp + 0x38]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.OpenThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call rax
mov rbx, rax
test rax, rax
je 0x1400019f0
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.QueueUserAPC
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, r15
mov rdx, rbx
mov rcx, r14
call rax
cmp eax, 1
jne 0x1400019f0
inc edi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140001986
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._t____APC_Injct_Failed_:_
test edi, edi
je 0x140001a35
lea rdx, str._t___APC_Injct_Successfully____Enj0y_Hacking_Time_:___
call fcn.1400023e0
lea rdx, [0x1400025b0]
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 r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002670
add rsp, 0x70
pop r12
pop rsi
pop rbp
ret