Function at 0x140008c20
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x448]
sub rsp, 0x548
mov r12, qword [rcx + 0x88]
mov rdi, rcx
xor edx, edx
add rcx, 0x818
mov r8d, 0x4478
call sym.VBoxNetNAT.exe_nocrt_memset
mov rax, qword [rdi + 0x20]
mov r11, qword [rdi + 0x18]
mov qword [rdi + 0x820], rax
mov rax, qword [rdi + 0x28]
mov qword [rdi + 0x818], r11
mov qword [rdi + 0x828], rax
mov qword [rdi + 0x830], 2
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [0x1400c6a00]
mov rsi, r12
sub rsi, qword [rcx + 0x10]
mov rcx, qword [rdi]
lea r8, [rdi + 0x818]
add rsi, rax
lea rax, [rsp + 0x60]
mov r9d, 0x4478
mov rdx, rsi
mov qword [rsp + 0x20], rax
xor r13d, r13d
call qword [0x1400c4390]
test eax, eax
jns 0x140008ced
mov dword [rsp + 0x28], eax
lea r9, str.NtWriteVirtualMemory___p___failed_writing_child_process_parameters:__x_n
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.140003f40
int3
lea rdx, [rbp + 0x498]
lea rcx, [0x14007a2c8]
xor r8d, r8d
call fcn.140018850
test eax, eax
jns 0x140008d25
lea r9, str.supHardNtLdrCacheOpen_failed_on_NTDLL:__Rrc_n
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov r8, qword [rdi + 0x28]
mov rcx, qword [rbp + 0x498]
lea rdx, [rbp + 0x490]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.140018450
test eax, eax
jns 0x140008d6b
lea r9, str.supHardNtLdrCacheEntryGetBits_failed_on_NTDLL:__Rrc_n
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov rcx, qword [rbp + 0x498]
mov r8, qword [rdi + 0x28]
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x48]
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea rax, str.LdrInitializeThunk
mov qword [rsp + 0x20], rax
call fcn.1400137f0
test eax, eax
jns 0x140008dc2
lea r9, str.Error_locating_LdrInitializeThunk_in_NTDLL:__Rrc
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov rsi, qword [rsp + 0x48]
lea rcx, str.supR3HardenedWinSetupChildInit:_uLdrInitThunk_p_n
mov rdx, rsi
call fcn.14000a700
mov r11, qword gs:[0x30]
mov rdx, qword [rsp + 0x48]
mov rax, qword [r11 + 0x60]
sub rdx, qword [rdi + 0x28]
mov rbx, r12
sub rbx, qword [rax + 0x10]
add rdx, qword [rbp + 0x490]
lea rax, [0x14000bd90]
lea rcx, [rsp + 0x50]
mov r8d, 0x10
add rbx, rax
call sym.VBoxNetNAT.exe_nocrt_memcpy
mov rcx, qword [rdi]
lea rax, [rbp + 0x480]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov word [rsp + 0x50], 0x25ff
mov dword [rsp + 0x52], r13d
mov qword [rsp + 0x56], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 0x10
call qword [0x1400c4150]
test eax, eax
jns 0x140008e7a
lea r9, str.NtProtectVirtualMemory_LdrInitializeThunk_failed:__x
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov rcx, qword [rdi]
lea rax, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov r9d, 0x10
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [0x1400c4390]
test eax, eax
jns 0x140008ebd
lea r9, str.NtWriteVirtualMemory_LdrInitializeThunk_failed:__x
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov r9d, dword [rbp + 0x480]
mov rcx, qword [rdi]
lea rax, [rbp + 0x480]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 0x10
call qword [0x1400c4150]
test eax, eax
jns 0x140008f13
lea r9, str.NtProtectVirtualMemory_LdrInitializeThunk_restore__failed:__x
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x4d0
call sym.VBoxNetNAT.exe_nocrt_memset
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x70]
mov dword [rbp - 0x60], 0x10001b
call qword [0x1400c40b0]
test eax, eax
js 0x1400092a1
lea rdx, str.supR3HardenedWinSetupChildInit:_Initial_context:
lea rcx, [rsp + 0x70]
call fcn.140002a30
mov r11, qword gs:[0x30]
mov rcx, qword [rbp + 0x498]
mov rax, qword [r11 + 0x60]
mov r8, qword [rdi + 0x28]
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rcx + 8]
lea rbx, [entry0]
or r9d, 0xffffffff
sub rbx, qword [rax + 0x10]
lea rax, [rbp + 0x488]
mov qword [rsp + 0x28], rax
lea rax, str.RtlUserThreadStart
add rbx, r12
mov qword [rsp + 0x20], rax
call fcn.1400137f0
mov rcx, qword [rbp + 0x488]
test eax, eax
lea rdx, [rsp + 0x30]
cmovs rcx, r13
xor r8d, r8d
mov qword [rbp + 0x488], rcx
lea rcx, [0x14007a2e8]
call fcn.140018850
test eax, eax
jns 0x140008ff0
lea r9, str.supHardNtLdrCacheOpen_failed_on_KERNEL32:__Rrc_n
lea rdx, str.supR3HardenedWinSetupChildInit
mov r8d, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140003f40
int3
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call fcn.140013740
mov r8, qword [rbp + 0x488]
mov rsi, rax
test r8, r8
jne 0x14000905d
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x490]
mov r8, qword [r8 + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rbp + 0x488]
mov qword [rsp + 0x28], rax
lea rax, str.BaseProcessStart
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
call fcn.1400137f0
mov r8, qword [rbp + 0x488]
test eax, eax
cmovs r8, r13
mov qword [rbp + 0x488], r8
xor r12b, r12b
test r8, r8
je 0x140009074
mov rdx, qword [rbp + 0x68]
mov eax, r13d
cmp rdx, r8
sete al
jmp 0x1400090aa
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
cmp rax, 0xffffffffffffffff
jne 0x140009097
lea rcx, str.kernel32.dll
call qword [0x1400c4530]
mov r8, qword [rbp + 0x488]
mov rdx, qword [rbp + 0x68]
mov rcx, rdx
sub rcx, rax
mov eax, r13d
cmp rcx, rsi
setbe al
test eax, eax
jne 0x1400090f8
cmp rdx, rbx
je 0x1400090f8
mov r9, qword [rsp + 0x30]
lea rcx, str.Warning__Bogus_RIP:__p__uSystemThreadStart_p__kernel32__p_LB__p__uChildMain_p__n
mov qword [rsp + 0x28], rbx
mov r9, qword [r9 + 0x30]
mov qword [rsp + 0x20], rsi
call fcn.14000a700
mov rdx, qword [rbp + 0x488]
test rdx, rdx
je 0x1400090f8
lea rcx, str.Correcting_RIP_from_to__p_hoping_that_it_might_work..._n
call fcn.14000a700
mov r11, qword [rbp + 0x488]
mov r12b, 1
mov qword [rbp + 0x68], r11
cmp dword [0x1400cae78], 0xa0000000
jb 0x140009164
movzx eax, word [rbp - 0x56]
test ax, ax
je 0x14000911c
lea rcx, str.Warning__Bogus_DS:__04x__expected_zero_n
movzx edx, ax
call fcn.14000a700
movzx eax, word [rbp - 0x54]
test ax, ax
je 0x140009134
lea rcx, str.Warning__Bogus_ES:__04x__expected_zero_n
movzx edx, ax
call fcn.14000a700
movzx eax, word [rbp - 0x52]
test ax, ax
je 0x14000914c
lea rcx, str.Warning__Bogus_FS:__04x__expected_zero_n
movzx edx, ax
call fcn.14000a700
movzx eax, word [rbp - 0x50]
test ax, ax
je 0x140009164
lea rcx, str.Warning__Bogus_GS:__04x__expected_zero_n
movzx edx, ax
call fcn.14000a700
mov rdx, qword [rbp - 0x10]
cmp rdx, rbx
je 0x14000917c
lea rcx, str.Warning__Bogus_RCX:__016RX64__expected__016RX64_n
mov r8, rbx
call fcn.14000a700
mov rdx, qword [rbp - 8]
test rdx, 0xfff
je 0x140009195
lea rcx, str.Warning__Bogus_RDX:__016RX64__expected_page_aligned_n
call fcn.14000a700
movzx eax, byte [rbp + 8]
and al, 0xf
cmp al, 8
je 0x1400091af
mov rdx, qword [rbp + 8]
lea rcx, str.Warning__Misaligned_RSP:__016RX64_n
call fcn.14000a700
call sym.VBoxNetNAT.exe_ASMGetCS
cmp word [rbp - 0x58], ax
je 0x1400091d3
call sym.VBoxNetNAT.exe_ASMGetCS
movzx edx, word [rbp - 0x58]
lea rcx, str.Warning__Bogus_CS:__04x__expected__04x_n
movzx r8d, ax
call fcn.14000a700
call sym.VBoxNetNAT.exe_ASMGetSS
cmp word [rbp - 0x4e], ax
je 0x1400091f7
call sym.VBoxNetNAT.exe_ASMGetSS
movzx edx, word [rbp - 0x4e]
lea rcx, str.Warning__Bogus_SS:__04x__expected__04x_n
movzx r8d, ax
call fcn.14000a700
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x14000920c
lea rcx, str.Warning__Bogus_DR0:__016RX64__expected_zero_n
call fcn.14000a700
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140009221
lea rcx, str.Warning__Bogus_DR1:__016RX64__expected_zero_n
call fcn.14000a700
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140009236
lea rcx, str.Warning__Bogus_DR2:__016RX64__expected_zero_n
call fcn.14000a700
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14000924b
lea rcx, str.Warning__Bogus_DR3:__016RX64__expected_zero_n
call fcn.14000a700
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140009260
lea rcx, str.Warning__Bogus_DR6:__016RX64__expected_zero_n
call fcn.14000a700
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000927b
lea rcx, str.Warning__Bogus_DR7:__016RX64__expected_zero_n
call fcn.14000a700
mov qword [rbp - 0x20], r13
jmp 0x140009280
test r12b, r12b
je 0x1400092a1
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x70]
call qword [0x1400c4290]
test eax, eax
jns 0x1400092a1
lea rcx, str.Error__NtSetContextThread_failed:__x_n
mov edx, eax
call fcn.14000a700
lea rcx, str.supR3HardenedWinSetupChildInit:_Start_child._n
call fcn.14000a700
add rsp, 0x548
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret