Function at 0x10031ff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x1006d824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
mov dword [ebp - 0x270], ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032014
sub ecx, edx
lea esi, [ecx + 4]
push esi
call fcn.1003971d
add esp, 4
mov dword [ebp - 0x274], eax
test eax, eax
je 0x100323ca
push 0xffffffffffffffff
push str.log
push esi
push eax
call fcn.1003980e
push 0xffffffffffffffff
push ebx
push esi
mov esi, dword [ebp - 0x274]
push esi
call fcn.1003645e
add esp, 0x20
mov dword [ebp - 0x248], 0x1e
lea eax, [ebp - 0x250]
mov dword [ebp - 0x24c], 0xc9435052
push eax
call fcn.10032410
test byte [ebp - 0x246], 1
je 0x1003237b
mov cx, word [ebp - 0x242]
lea edx, [esi + 1]
mov ebx, dword [ebp - 0x240]
movzx eax, cx
mov dword [ebp - 0x26c], eax
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100320a0
mov edi, dword [ebp - 0x23c]
sub esi, edx
nop
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], 0x1001e
push eax
mov word [ebp - 0x20e], cx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x218], esi
call fcn.10032410
mov al, byte [ebp - 0x212]
test al, 1
je 0x10032369
test al, al
jns 0x10032369
mov ax, word [ebp - 0x242]
mov word [ebp - 0x22a], ax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x234], 0x10000
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x230], esi
call fcn.10032490
mov al, byte [ebp - 0x232]
test al, 1
jne 0x10032161
test al, 0x10
je 0x10032369
mov cx, word [ebp - 0x242]
jmp 0x100320b0
je 0x10032357
mov edi, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x26c]
mov word [ebp - 0x20e], ax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x214], 0x3001e
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], edi
call fcn.10032410
mov al, byte [ebp - 0x212]
test al, 1
je 0x10032357
test al, al
jns 0x10032357
test al, 2
je 0x10032295
mov edi, dword [ebp - 0x218]
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.1003971d
mov esi, eax
add esp, 4
test esi, esi
je 0x10032357
mov eax, dword [ebp - 0x26c]
mov word [ebp - 0x22a], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x234], 0x10000
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x224], esi
call fcn.10032450
test byte [ebp - 0x232], 1
jne 0x10032234
push esi
call fcn.10039702
add esp, 4
test byte [ebp - 0x232], 0x10
jmp 0x10032155
mov eax, dword [ebp - 0x26c]
mov byte [esi + edi], 0
mov word [ebp - 0x20e], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x214], 0x5001e
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], 1
call fcn.10032410
test byte [ebp - 0x212], 1
jne 0x10032299
push esi
call fcn.10039702
add esp, 4
test byte [ebp - 0x212], 0x10
jmp 0x10032155
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0x26c]
mov word [ebp - 0x25a], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x260], 0x6001e
mov dword [ebp - 0x258], ebx
call fcn.10032410
test byte [ebp - 0x25e], 1
je 0x10032319
cmp edi, 2
jb 0x100323f1
push 2
push 0x1005f160
push esi
call fcn.1003ad40
add esp, 0xc
test eax, eax
je 0x1003230c
push 2
push 0x1005f164
push esi
call fcn.1003ad40
add esp, 0xc
test eax, eax
jne 0x100323f1
lea eax, [edi - 2]
test eax, eax
jne 0x100323de
jmp 0x1003234c
push dword [ebp - 0x270]
lea eax, [ebp - 0x204]
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_error_when_logging_to_backdoor_on_close.__s_n
push 0xffffffffffffffff
push 0x200
push eax
call fcn.100311d0
add esp, 0x18
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.10039702
add esp, 4
jmp 0x100323a9
push dword [ebp - 0x270]
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_error_when_logging_to_backdoor_on_receive.__s_n
jmp 0x10032386
push dword [ebp - 0x270]
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_error_when_logging_to_backdoor_on_send.__s_n
jmp 0x10032386
push ebx
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_error_when_logging_to_backdoor_at_open.__s_n
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.100311d0
add esp, 0x18
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x274]
call fcn.10039702
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10034533
mov esp, ebp
pop ebp
ret 4
push 0xe2
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclibumlib_simpleguestrpc.c
push str.VERIFY__s:_d_n
call fcn.10023e80
lea eax, [esi + 2]
push eax
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_reply_when_logging:__s_n
call fcn.10023e80
push str.SimpleGuestRPC_Log
push str._s:_Unexpected_error_when_logging_to_backdoor._n
call fcn.10023e80
int3