Function at 0x140001000
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x7e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x7d0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.ntdll.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32FirstW
mov rcx, rbx
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32NextW
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Thread32First
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Thread32Next
mov rcx, rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenProcess
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.VirtualAllocEx
mov rcx, rbx
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WriteProcessMemory
mov rcx, rbx
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenThread
mov rcx, rbx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SuspendThread
mov rcx, rbx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetThreadContext
mov rcx, rbx
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetThreadContext
mov rcx, rbx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ResumeThread
mov rcx, rbx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.VirtualFreeEx
mov rcx, rbx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CloseHandle
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ConvertThreadToFiber
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateFiber
mov rcx, rbx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SwitchToFiber
mov rcx, rbx
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DeleteFiber
mov rcx, rbx
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
xor byte [0x140005074], 0xbe
xor edx, edx
mov ecx, 2
mov dword [rsp + 0xc0], 0x238
xor r14d, r14d
call qword [rsp + 0x30]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001456
lea rdx, [rsp + 0xc0]
mov rcx, rax
call rbp
test eax, eax
je 0x140001254
nop dword [rax + rax]
lea rdx, str.explorer.exe
lea rcx, [rsp + 0xec]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000124c
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call rdi
test eax, eax
jne 0x140001220
jmp 0x140001254
mov r14d, dword [rsp + 0xc8]
mov rcx, rbx
call rsi
test r14d, r14d
je 0x140001456
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call r13
mov rdi, rax
test rax, rax
jne 0x140001283
lea rdx, str.Failed_to_open_process
jmp 0x14000145d
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 1
mov rcx, rdi
call qword [rsp + 0x38]
mov rbp, rax
test rax, rax
jne 0x1400012d5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_allocate_memory
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140001690]
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, rdi
call rsi
jmp 0x140001479
mov r9d, 1
mov qword [rsp + 0x20], 0
lea r8, [0x140005074]
mov rdx, rbp
mov rcx, rdi
call qword [rsp + 0x40]
test eax, eax
jne 0x140001338
lea rdx, str.Failed_to_write_memory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140001690]
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 r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call r12
mov rcx, rdi
call rsi
jmp 0x140001479
xor edx, edx
mov dword [rsp + 0x98], 0x1c
mov ecx, 4
call qword [rsp + 0x30]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001391
lea rdx, [rsp + 0x98]
mov rcx, rax
call qword [rsp + 0x48]
nop word [rax + rax]
mov rcx, rbx
cmp dword [rsp + 0xa4], r14d
je 0x14000139d
lea rdx, [rsp + 0x98]
call r15
test eax, eax
jne 0x140001370
mov rcx, rbx
call rsi
lea rdx, str.Failed_to_find_thread
jmp 0x140001300
call rsi
mov r8d, dword [rsp + 0xa0]
test r8d, r8d
je 0x140001391
xor edx, edx
mov ecx, 0x1fffff
call qword [rsp + 0x50]
mov r14, rax
test rax, rax
jne 0x1400013cb
lea rdx, str.Failed_to_open_thread
jmp 0x140001300
mov rcx, r14
call qword [rsp + 0x58]
lea rdx, [rsp + 0x300]
mov dword [rsp + 0x330], 0x10000b
mov rcx, r14
call qword [rsp + 0x60]
lea rdx, [rsp + 0x300]
mov qword [rsp + 0x3f8], rbp
mov rcx, r14
call qword [rsp + 0x68]
mov rcx, r14
call qword [rsp + 0x70]
xor ecx, ecx
call qword [rsp + 0x78]
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
call qword [rsp + 0x80]
mov rcx, rax
mov rbx, rax
call qword [rsp + 0x88]
mov rcx, rbx
call qword [rsp + 0x90]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call r12
mov rcx, r14
call rsi
mov rcx, rdi
call rsi
xor eax, eax
jmp 0x14000147e
lea rdx, str.Failed_to_find_explorer.exe_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014b0
lea rdx, [0x140001690]
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 eax, 1
mov rcx, qword [rsp + 0x7d0]
xor rcx, rsp
call fcn.140001750
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret