Function at 0x18000c070
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x18003e048]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, 0xffffffffffffffff
mov r12, rcx
mov rbx, rdi
inc rbx
cmp byte [rcx + rbx], 0
jne 0x18000c0a5
add rbx, 4
mov rcx, rbx
call fcn.180010d2c
mov r13, rax
test rax, rax
je 0x18000c3fd
mov qword [rsp + 0x318], rsi
lea r8, str.log
mov qword [rsp + 0x320], r14
mov r9, rdi
mov rdx, rbx
mov qword [rsp + 0x328], r15
mov rcx, rax
call fcn.1800114ec
mov r9, rdi
mov r8, r12
mov rdx, rbx
mov rcx, r13
call fcn.1800113fc
mov eax, 0xc9435052
mov dword [rsp + 0x40], 0x1e
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.18002a760
test byte [rsp + 0x42], 1
je 0x18000c38c
movzx esi, word [rsp + 0x4a]
mov rbx, rdi
mov r14d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x58]
nop dword [rax]
inc rbx
cmp byte [rbx + r13], 0
jne 0x18000c140
nop word [rax + rax]
mov eax, 0x1e
mov dword [rsp + 0x40], 0x1001e
lea rcx, [rsp + 0x30]
mov word [rsp + 0x4a], si
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x38], rbx
call fcn.18002a760
movzx eax, byte [rsp + 0x42]
test al, 1
je 0x18000c1c0
test al, al
jns 0x18000c1c0
mov rax, r15
mov dword [rsp + 0x68], 0x10000
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov word [rsp + 0x7a], si
mov dword [rbp - 0x70], r14d
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], r13
call fcn.18002a7e0
movzx eax, byte [rsp + 0x6a]
test al, 1
jne 0x18000c1d2
test al, 0x10
jne 0x18000c150
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_on_send.__s_n
jmp 0x18000c393
je 0x18000c37c
mov eax, 0x1e
mov dword [rsp + 0x40], 0x3001e
lea rcx, [rsp + 0x30]
mov word [rsp + 0x4a], si
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x58], r15d
call fcn.18002a760
movzx eax, byte [rsp + 0x42]
test al, 1
je 0x18000c37c
test al, al
jns 0x18000c37c
test al, 2
je 0x18000c2c4
mov edi, dword [rsp + 0x38]
mov rax, 0xffffffffffffffff
mov ecx, edi
add rcx, 1
cmovb rcx, rax
call fcn.180010d2c
mov rbx, rax
test rax, rax
je 0x18000c37c
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], 0x10000
mov word [rsp + 0x7a], si
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x70], r15d
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x78], rax
call fcn.18002a7a0
test byte [rsp + 0x6a], 1
jne 0x18000c27c
mov rcx, rbx
call fcn.180010d18
test byte [rsp + 0x6a], 0x10
jmp 0x18000c1cc
mov byte [rbx + rdi], 0
lea rcx, [rsp + 0x30]
mov eax, 1
mov dword [rsp + 0x40], 0x5001e
mov qword [rsp + 0x38], rax
mov word [rsp + 0x4a], si
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x58], r15d
call fcn.18002a760
test byte [rsp + 0x42], 1
jne 0x18000c2ca
mov rcx, rbx
call fcn.180010d18
test byte [rsp + 0x42], 0x10
jmp 0x18000c1cc
xor eax, eax
mov edi, eax
mov ebx, eax
lea rcx, [rbp - 0x68]
mov dword [rbp - 0x58], 0x6001e
mov word [rbp - 0x4e], si
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x40], r15d
call fcn.18002a760
test byte [rbp - 0x56], 1
je 0x18000c33b
cmp rdi, 2
jb 0x18000c42f
mov r8d, 2
lea rdx, [0x18003072c]
mov rcx, rbx
call fcn.18001bac0
test eax, eax
je 0x18000c32c
mov r8d, 2
lea rdx, [0x180030730]
mov rcx, rbx
call fcn.18001bac0
test eax, eax
jne 0x18000c42f
lea rax, [rdi - 2]
test rax, rax
jne 0x18000c417
jmp 0x18000c372
lea rax, str.SimpleGuestRPC_Log
mov qword [rsp + 0x28], r12
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_on_close.__s_n
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp - 0x30]
mov r8, 0xffffffffffffffff
call fcn.18000b0a0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.180010d18
jmp 0x18000c3bf
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_on_receive.__s_n
mov r8, 0xffffffffffffffff
jmp 0x18000c396
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_at_open.__s_n
mov r8, rdi
lea rax, str.SimpleGuestRPC_Log
mov qword [rsp + 0x28], r12
mov edx, 0x200
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x30]
call fcn.18000b0a0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, r13
call fcn.180010d18
mov r14, qword [rsp + 0x320]
mov rsi, qword [rsp + 0x318]
mov r15, qword [rsp + 0x328]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.18000cd80
add rsp, 0x2e0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov r8d, 0xe2
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srclibumlib_simpleguestrpc.c
lea rcx, str.VERIFY__s:_d_n
call fcn.18000c450
int3
lea r8, [rbx + 2]
lea rdx, str.SimpleGuestRPC_Log
lea rcx, str._s:_Unexpected_reply_when_logging:__s_n
call fcn.18000c450
int3
lea rdx, str.SimpleGuestRPC_Log
lea rcx, str._s:_Unexpected_error_when_logging_to_backdoor._n
call fcn.18000c450
int3