Function at 0x180035010
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 [0x18007dc58]
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 0x180035045
add rbx, 4
mov rcx, rbx
call fcn.18003ece0
mov r13, rax
test rax, rax
je 0x18003539d
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.1800404a8
mov r9, rdi
mov r8, r12
mov rdx, rbx
mov rcx, r13
call fcn.180044d50
mov eax, 0xc9435052
mov dword [rsp + 0x40], 0x1e
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.180039740
test byte [rsp + 0x42], 1
je 0x18003532c
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 0x1800350e0
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.180039740
movzx eax, byte [rsp + 0x42]
test al, 1
je 0x180035160
test al, al
jns 0x180035160
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.1800397c0
movzx eax, byte [rsp + 0x6a]
test al, 1
jne 0x180035172
test al, 0x10
jne 0x1800350f0
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_on_send.__s_n
jmp 0x180035333
je 0x18003531c
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.180039740
movzx eax, byte [rsp + 0x42]
test al, 1
je 0x18003531c
test al, al
jns 0x18003531c
test al, 2
je 0x180035264
mov edi, dword [rsp + 0x38]
mov rax, 0xffffffffffffffff
mov ecx, edi
add rcx, 1
cmovb rcx, rax
call fcn.18003ece0
mov rbx, rax
test rax, rax
je 0x18003531c
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.180039780
test byte [rsp + 0x6a], 1
jne 0x18003521c
mov rcx, rbx
call fcn.18003ecc4
test byte [rsp + 0x6a], 0x10
jmp 0x18003516c
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.180039740
test byte [rsp + 0x42], 1
jne 0x18003526a
mov rcx, rbx
call fcn.18003ecc4
test byte [rsp + 0x42], 0x10
jmp 0x18003516c
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.180039740
test byte [rbp - 0x56], 1
je 0x1800352db
cmp rdi, 2
jb 0x1800353cf
mov r8d, 2
lea rdx, [0x18006906c]
mov rcx, rbx
call fcn.1800455e0
test eax, eax
je 0x1800352cc
mov r8d, 2
lea rdx, [0x180069070]
mov rcx, rbx
call fcn.1800455e0
test eax, eax
jne 0x1800353cf
lea rax, [rdi - 2]
test rax, rax
jne 0x1800353b7
jmp 0x180035312
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.180033ed0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.18003ecc4
jmp 0x18003535f
lea r9, str._s:_Unexpected_error_when_logging_to_backdoor_on_receive.__s_n
mov r8, 0xffffffffffffffff
jmp 0x180035336
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.180033ed0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, r13
call fcn.18003ecc4
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.18003a580
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.1800335c0
int3
lea r8, [rbx + 2]
lea rdx, str.SimpleGuestRPC_Log
lea rcx, str._s:_Unexpected_reply_when_logging:__s_n
call fcn.1800335c0
int3
lea rdx, str.SimpleGuestRPC_Log
lea rcx, str._s:_Unexpected_error_when_logging_to_backdoor._n
call fcn.1800335c0
int3