Function at 0x14001d870
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rax, qword [rcx + 0xc010]
xor esi, esi
mov rbp, rcx
mov rdi, qword [rax + 0x48]
mov rax, qword [rcx + 0xc010]
mov r13, qword [rax + 0x50]
mov r12d, dword [rax + 0x44]
mov rbx, qword [rax + 0x58]
add r13, 0x10
sub r12, 0x20
sub rbx, r13
mov rcx, r12
cmp rbx, r12
jae 0x14001d8c3
sub rcx, rbx
jmp 0x14001d8c6
mov rbx, rsi
mov rax, qword [rbp + 0xc010]
mov qword [rax + 0x48], rsi
test rdi, rdi
je 0x14001dabd
mov qword [rsp + 0x40], r14
mov byte [rbx + r13], sil
cmp rdi, r12
jb 0x14001d907
lea r12, [rbx + r13 + 1]
lea rdi, [rcx - 1]
test rcx, rcx
jne 0x14001d8f9
mov rdi, rsi
lea r14, str._nFLUSH_RING_BUF_n
mov esi, 0x12
jmp 0x14001d92d
lea r14, [0x14004b685]
cmp rdi, rbx
ja 0x14001d924
mov r12, rbx
mov rbx, rsi
sub r12, rdi
add r12, r13
mov r13, r14
jmp 0x14001d92d
sub rdi, rbx
sub r12, rdi
add r12, r13
test dword [rbp + 0xc00c], 0x40000000
je 0x14001d969
test rsi, rsi
je 0x14001d949
mov rdx, rsi
mov rcx, r14
call sym.VBoxControl.exe_RTLogWriteUser
test rdi, rdi
je 0x14001d959
mov rdx, rdi
mov rcx, r12
call sym.VBoxControl.exe_RTLogWriteUser
test rbx, rbx
je 0x14001d969
mov rdx, rbx
mov rcx, r13
call sym.VBoxControl.exe_RTLogWriteUser
test byte [rbp + 0xc00c], 8
je 0x14001d9a2
test rsi, rsi
je 0x14001d982
mov rdx, rsi
mov rcx, r14
call sym.VBoxControl.exe_RTLogWriteDebugger
test rdi, rdi
je 0x14001d992
mov rdx, rdi
mov rcx, r12
call sym.VBoxControl.exe_RTLogWriteDebugger
test rbx, rbx
je 0x14001d9a2
mov rdx, rbx
mov rcx, r13
call sym.VBoxControl.exe_RTLogWriteDebugger
test byte [rbp + 0xc00c], 1
je 0x14001da46
mov rax, qword [rbp + 0xc010]
mov rcx, qword [rax + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14001da2b
test rsi, rsi
je 0x14001d9d3
xor r9d, r9d
mov r8, rsi
mov rdx, r14
call sym.VBoxControl.exe_RTFileWrite
test rdi, rdi
je 0x14001d9f1
mov rcx, qword [rbp + 0xc010]
xor r9d, r9d
mov r8, rdi
mov rcx, qword [rcx + 0x68]
mov rdx, r12
call sym.VBoxControl.exe_RTFileWrite
test rbx, rbx
je 0x14001da0f
mov rcx, qword [rbp + 0xc010]
xor r9d, r9d
mov r8, rbx
mov rcx, qword [rcx + 0x68]
mov rdx, r13
call sym.VBoxControl.exe_RTFileWrite
test dword [rbp + 0xc008], 0x200
je 0x14001da2b
mov rcx, qword [rbp + 0xc010]
mov rcx, qword [rcx + 0x68]
call sym.VBoxControl.exe_RTFileFlush
mov rax, qword [rbp + 0xc010]
cmp dword [rax + 0x88], 0
je 0x14001da46
mov rcx, rax
lea rax, [rbx + rdi]
add qword [rcx + 0x78], rax
test byte [rbp + 0xc00c], 2
je 0x14001da7f
test rsi, rsi
je 0x14001da5f
mov rdx, rsi
mov rcx, r14
call sym.VBoxControl.exe_RTLogWriteStdOut
test rdi, rdi
je 0x14001da6f
mov rdx, rdi
mov rcx, r12
call sym.VBoxControl.exe_RTLogWriteStdOut
test rbx, rbx
je 0x14001da7f
mov rdx, rbx
mov rcx, r13
call sym.VBoxControl.exe_RTLogWriteStdOut
test byte [rbp + 0xc00c], 4
je 0x14001dab8
test rsi, rsi
je 0x14001da98
mov rdx, rsi
mov rcx, r14
call sym.VBoxControl.exe_RTLogWriteStdErr
test rdi, rdi
je 0x14001daa8
mov rdx, rdi
mov rcx, r12
call sym.VBoxControl.exe_RTLogWriteStdErr
test rbx, rbx
je 0x14001dab8
mov rdx, rbx
mov rcx, r13
call sym.VBoxControl.exe_RTLogWriteStdErr
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret