Function at 0x140006c40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x6670]
mov eax, 0x6770
call fcn.140020ad0
sub rsp, rax
mov rax, qword [0x1400bf848]
xor rax, rsp
mov qword [rbp + 0x6660], rax
mov rax, qword gs:[0x30]
mov ebx, ecx
mov rcx, qword [rax + 0x60]
mov eax, dword [0x1400c0838]
mov rdi, qword [rcx + 0x20]
cmp eax, 1
je 0x140006caa
lea r8, str.g_cSuplibHardenedWindowsMainCalls__1
lea rdx, str.supR3HardenedWinDoReSpawn
lea rcx, str._s:__s_n
call fcn.14000ccd0
int3
xor edx, edx
mov qword [rsp + 0x6788], rsi
mov r8d, 0x4c90
lea rcx, [rbp + 0x7f0]
call sym.VBoxHeadless.exe_nocrt_memset
xor esi, esi
mov dword [rbp + 0x828], ebx
xorps xmm0, xmm0
mov qword [rbp + 0x808], rsi
lea r8, [rbp - 0x80]
mov dword [rbp - 0x80], 0x30
mov edx, 0x1f0003
mov qword [rbp - 0x78], rsi
lea r9d, [rsi + 1]
mov dword [rbp - 0x68], 2
lea rcx, [rbp + 0x808]
mov qword [rbp - 0x70], rsi
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rsp + 0x20], sil
call qword [0x1400bf030]
test eax, eax
jns 0x140006d34
mov r9d, eax
lea r8, str.NtCreateEvent_This.hEvtChild__EVENT_ALL_ACCESS__ObjAttrs__SynchronizationEvent__FALSE_
lea rdx, str.supR3HardenedWinDoReSpawn
lea rcx, str._s:__s_____x_n
call fcn.14000ccd0
int3
xorps xmm0, xmm0
mov qword [rbp + 0x810], rsi
mov r9d, 1
mov dword [rbp - 0x80], 0x30
lea r8, [rbp - 0x80]
mov qword [rbp - 0x78], rsi
mov edx, 0x1f0003
mov dword [rbp - 0x68], 2
lea rcx, [rbp + 0x810]
mov qword [rbp - 0x70], rsi
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rsp + 0x20], sil
call qword [0x1400bf030]
test eax, eax
jns 0x140006d9c
mov r9d, eax
lea r8, str.NtCreateEvent_This.hEvtParent__EVENT_ALL_ACCESS__ObjAttrs__SynchronizationEvent__FALSE_
lea rdx, str.supR3HardenedWinDoReSpawn
lea rcx, str._s:__s_____x_n
call fcn.14000ccd0
int3
mov r8b, 1
lea rdx, [rbp + 0x5c20]
lea rcx, [rbp + 0x38]
call fcn.140002ca0
xor r8d, r8d
lea rdx, [rbp + 0x6140]
lea rcx, [rbp + 0x20]
call fcn.140002ca0
xor edx, edx
lea rcx, [rbp - 0x50]
lea r8d, [rdx + 0x70]
call fcn.140016df0
mov ecx, dword [rbp - 0x14]
mov edx, ebx
mov dword [rbp - 0x50], 0x68
mov eax, dword [rdi + 0xa4]
and eax, 1
or ecx, eax
mov dword [rbp - 0x14], ecx
bts ecx, 8
movzx eax, word [rdi + 0xa8]
mov dword [rbp - 0x14], ecx
xor ecx, ecx
mov word [rbp - 0x10], ax
mov rax, qword [rdi + 0x20]
mov qword [rbp], rax
mov rax, qword [rdi + 0x28]
mov qword [rbp + 8], rax
mov rax, qword [rdi + 0x30]
mov qword [rbp + 0x10], rax
call fcn.1400025d0
mov rdi, rax
call fcn.14000a310
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x48], rax
lea r9, [rbp + 0x20]
lea rax, [rbp - 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x38]
mov qword [rsp + 0x38], rsi
lea rcx, [0x1400bfe20]
mov qword [rsp + 0x30], rsi
mov rdx, rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
movdqu xmmword [rsp + 0x68], xmm0
call qword [0x1400bf4f0]
test eax, eax
jne 0x140006ea7
call qword [0x1400bf490]
mov edx, 5
mov qword [rsp + 0x28], rdi
lea r9, str.Error_relaunching_VirtualBox_VM_process:__u_nCommand_line:__ls
mov dword [rsp + 0x20], eax
lea rcx, str.supR3HardenedWinReSpawn
lea r8d, [rdx - 0x6d]
call fcn.14000cd00
int3
call fcn.140006bb0
mov r9d, dword [rsp + 0x7c]
lea rcx, str.supR3HardenedWinDoReSpawn__d_:_New_child__x._x__kernel32_._n
mov r8d, dword [rsp + 0x78]
mov edx, ebx
call fcn.14000cf70
test byte [0x1400c5db0], 3
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], rcx
jne 0x140006f07
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call qword [0x1400bf2e0]
test eax, eax
jns 0x140006f07
mov edx, eax
lea rcx, str.supR3HardenedWinReSpawn:_NtSetInformationThread_ThreadHideFromDebugger_failed:__x__harmless__n
call fcn.14000cf70
lea rcx, [rbp + 0x7f0]
call fcn.140002ad0
lea rcx, [rbp + 0x5480]
mov r8d, 0x7a0
lea rdx, [rbp + 0x868]
call sym.VBoxHeadless.exe_nocrt_memcpy
mov rax, qword [rbp + 0x878]
lea r8, [rbp + 0x5480]
mov r9, qword [rbp + 0x860]
xor rax, 0x5f139000
mov rdx, qword [rbp + 0x838]
movabs rcx, 0x313000000000000
or rax, rcx
mov qword [rsp + 0x58], r9
mov rcx, qword [rbp + 0x7f0]
mov qword [rbp + 0x5490], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [0x1400bf390]
lea rcx, [rbp + 0x7f0]
test eax, eax
jns 0x140006fa4
lea r9, str.NtWriteVirtualMemory_Peb_failed:__x
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardNtChildScrewUpPebForInitialImageEvents
call fcn.140007f30
int3
call fcn.1400036e0
mov rcx, qword [rbp + 0x7f8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], esi
call qword [0x1400bf280]
lea rcx, [rbp + 0x7f0]
test eax, eax
jns 0x140006fe5
lea r9, str.NtResumeThread_failed:__x
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardenedWinDoReSpawn
call fcn.140007f30
int3
lea r9, str.PurifyChildAndCloseHandles
xor edx, edx
mov r8d, 0x7d0
call fcn.140003db0
lea rcx, [rbp + 0x7f0]
call fcn.140003370
lea rcx, [rbp + 0x50]
mov r8d, 0x7a0
lea rdx, [rbp + 0x868]
call sym.VBoxHeadless.exe_nocrt_memcpy
mov r9, qword [rbp + 0x860]
lea rax, [rsp + 0x58]
mov rdx, qword [rbp + 0x838]
lea r8, [rbp + 0x50]
mov rcx, qword [rbp + 0x7f0]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x318], rsi
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], rsi
mov qword [rbp + 0x330], rsi
call qword [0x1400bf390]
test eax, eax
jns 0x14000708b
lea r9, str.NtWriteVirtualMemory_Peb_failed:__x
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardNtChildSanitizePeb
lea rcx, [rbp + 0x7f0]
call fcn.140007f30
int3
mov rcx, qword [rbp + 0x7f8]
call fcn.140001270
test eax, eax
jns 0x1400070bd
lea r9, str.NtClose_hThread__failed:__x
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardenedWinReSpawn
lea rcx, [rbp + 0x7f0]
call fcn.140007f30
int3
cmp dword [0x1400c1908], 0x60000000
lea r9, [rsp + 0x60]
mov rdx, qword [rbp + 0x7f0]
mov eax, 0x101011
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x30], esi
mov ebx, 0x100411
mov dword [rsp + 0x28], esi
cmovae ebx, eax
mov qword [rbp + 0x7f8], rsi
mov rcx, r8
mov dword [rsp + 0x20], ebx
call qword [0x1400bf080]
cmp eax, 0xc0000022
jne 0x140007155
mov dword [rsp + 0x28], 0x100000
lea r8, str.supR3HardenedWinDoReSpawn:_NtDuplicateObject______x________x__retrying_with_only__x..._n
mov r9d, ebx
mov dword [rsp + 0x20], eax
xor edx, edx
mov ecx, eax
call fcn.14000cb10
mov rdx, qword [rbp + 0x7f0]
lea r9, [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x30], esi
mov rcx, r8
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x100000
call qword [0x1400bf080]
test eax, eax
jns 0x14000717b
lea r9, str.NtDuplicateObject_failed_on_child_process_handle:__x_n
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardenedWinReSpawn
lea rcx, [rbp + 0x7f0]
call fcn.140007f30
int3
mov rcx, qword [rbp + 0x7f0]
call fcn.140001270
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0x7f0], rcx
test eax, eax
jns 0x1400071bc
lea r9, str.NtClose_failed_on_child_process_handle:__x_n
mov dword [rsp + 0x20], eax
mov r8d, 0xffffff98
lea rdx, str.supR3HardenedWinReSpawn
lea rcx, [rbp + 0x7f0]
call fcn.140007f30
int3
mov rcx, qword [rbp + 0x808]
xor edx, edx
call qword [0x1400bf2a0]
test eax, eax
jns 0x1400071f4
lea r9, str.NtSetEvent_failed_on_child_process_handle:__x_n
mov dword [rsp + 0x20], eax
mov r8d, 0xffffff98
lea rdx, str.supR3HardenedWinReSpawn
lea rcx, [rbp + 0x7f0]
call fcn.140007f30
int3
call fcn.140020010
call fcn.14000dc90
call fcn.14000a310
lea r9, str.CloseEvents
mov edx, 1
mov r8d, 0xea60
lea rcx, [rbp + 0x7f0]
call fcn.140003db0
mov rcx, qword [rbp + 0x808]
call fcn.140001270
mov rcx, qword [rbp + 0x810]
call fcn.140001270
lea r9, str.the_end
mov qword [rbp + 0x808], rsi
mov edx, 3
mov qword [rbp + 0x810], rsi
mov r8d, 0xffffffff
lea rcx, [rbp + 0x7f0]
call fcn.140003db0
lea rcx, str.supR3HardenedWinDoReSpawn:_supR3HardNtChildWaitFor_unexpectedly_returned__n
call fcn.14000ccd0
int3