Function at 0x1801d5c80
Capabilities:
Execute anti-debugging instructions

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, 0x70
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov rdi, rcx
test r9b, 1
je 0x1801d5e23
rdtsc
mov rcx, qword [rcx + 0x119718]
shl rdx, 0x20
or rax, rdx
mov rdx, r12
mov rbx, rax
mov rax, qword [0x180598598]
call qword [case.0x180097796.0]
mov esi, eax
rdtsc
mov rcx, qword [rdi + 0x119778]
shl rdx, 0x20
or rdx, rax
sub rdx, rbx
add rcx, rdx
mov qword [rdi + 0x119778], rcx
mov rcx, qword [rdi + 0x119770]
inc rcx
mov qword [rdi + 0x119770], rcx
mov rcx, qword [rdi + 0x119780]
cmp rcx, rdx
jae 0x1801d5d18
mov qword [rdi + 0x119780], rdx
mov rax, qword [rdi + 0x119788]
cmp rax, rdx
jbe 0x1801d5d2b
mov qword [rdi + 0x119788], rdx
test esi, esi
jns 0x1801d5e23
mov rbp, qword [rsp + 0xc8]
mov ecx, 0x1550010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rbp, rbp
je 0x1801d5dae
test rax, rax
je 0x1801d5e34
mov rcx, qword gs:[0x30]
lea r9, str.NEMR3NotifyPhysMmioExMapEarly:_GCPhys_RGp_LB__RGp_fFlags_x:_Unmap____hrc_Rhrc___x__Last_x__u__ignored__n
mov rdx, qword gs:[0x30]
mov r8d, 0x155
mov ecx, dword [rcx + 0x68]
mov dword [rsp + 0x50], ecx
mov ecx, dword [rdx + 0x1250]
mov edx, 0x10
mov dword [rsp + 0x48], ecx
mov rcx, rax
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
jmp 0x1801d5e34
test rax, rax
je 0x1801d5e08
mov rcx, qword gs:[0x30]
lea r9, str.NEMR3NotifyPhysMmioExMapEarly:_GCPhys_RGp_LB__RGp_fFlags_x:_Unmap____hrc_Rhrc___x__Last_x__u_n
mov rdx, qword gs:[0x30]
mov r8d, 0x155
mov ecx, dword [rcx + 0x68]
mov dword [rsp + 0x50], ecx
mov ecx, dword [rdx + 0x1250]
mov edx, 0x10
mov dword [rsp + 0x48], ecx
mov rcx, rax
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rax, qword [rdi + 0x119748]
inc rax
mov qword [rdi + 0x119748], rax
mov eax, 0xffffe569
jmp 0x1801d5f75
mov rbp, qword [rsp + 0xc8]
test rbp, rbp
je 0x1801d5f67
mov esi, 7
test r14b, 4
je 0x1801d5e4f
cmp qword [0x1805985a8], 0
mov eax, 0xf
cmovne esi, eax
rdtsc
mov rcx, qword [rdi + 0x119718]
mov r9, r15
shl rdx, 0x20
mov r8, r12
or rax, rdx
mov dword [rsp + 0x20], esi
mov rbx, rax
mov rdx, rbp
mov rax, qword [0x180598590]
call qword [case.0x180097796.0]
mov r13d, eax
rdtsc
mov rcx, qword [rdi + 0x119758]
shl rdx, 0x20
or rdx, rax
sub rdx, rbx
add rcx, rdx
mov qword [rdi + 0x119758], rcx
mov rcx, qword [rdi + 0x119750]
inc rcx
mov qword [rdi + 0x119750], rcx
mov rcx, qword [rdi + 0x119760]
cmp rcx, rdx
jae 0x1801d5ec0
mov qword [rdi + 0x119760], rdx
mov rax, qword [rdi + 0x119768]
cmp rax, rdx
jbe 0x1801d5ed3
mov qword [rdi + 0x119768], rdx
test r13d, r13d
js 0x1801d5edf
mov cl, 3
jmp 0x1801d5f69
mov ecx, 0x1550010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1801d5f4f
mov rcx, qword gs:[0x30]
lea r9, str.NEMR3NotifyPhysMmioExMapEarly:_GCPhys_RGp_LB__RGp_fFlags_x_pvMmio2_p_fWHvFlags_x:_Map____hrc_Rhrc___x__Last_x__u_n
mov rdx, qword gs:[0x30]
mov r8d, 0x155
mov ecx, dword [rcx + 0x68]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rdx + 0x1250]
mov edx, 0x10
mov dword [rsp + 0x58], ecx
mov rcx, rax
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rax, qword [rdi + 0x119740]
inc rax
mov qword [rdi + 0x119740], rax
mov eax, 0xffffe56a
jmp 0x1801d5f75
mov cl, 1
mov rax, qword [rsp + 0xd0]
mov byte [rax], cl
xor eax, eax
lea r11, [rsp + 0x70]
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