Function at 0x140043ce0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rax, vtable.vncClient.0
mov qword [rcx], rax
mov byte [rcx + 0x118], 0
lea r8, str.vncClient::vncClient_:_vncClient___executing..._n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov rdi, qword [rbx + 0x880]
xor esi, esi
test rdi, rdi
je 0x140043d8f
mov byte [rdi + 0x20], sil
cmp qword [rdi + 0x68], 0xffffffffffffffff
je 0x140043d72
xor r9d, r9d
mov edx, 0x111
lea r8d, [rsi + 2]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rbx + 0x880]
test rcx, rcx
je 0x140043d88
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x880], rsi
mov rcx, qword [rbx + 0x680]
test rcx, rcx
je 0x140043da5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbx + 0x4f8]
test rcx, rcx
je 0x140043dbd
call fcn.140139270
mov qword [rbx + 0x4f8], rsi
mov rcx, qword [rbx + 0x4e8]
test rcx, rcx
je 0x140043dd5
call fcn.140139270
mov qword [rbx + 0x4e8], rsi
mov rcx, qword [rbx + 0x4f0]
test rcx, rcx
je 0x140043ded
call fcn.140139270
mov qword [rbx + 0x4f0], rsi
cmp qword [rbx + 0x3b0], rsi
je 0x140043e2b
lea r8, str.vncClient::vncClient_:_deleting_socket_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov rcx, qword [rbx + 0x3b0]
test rcx, rcx
je 0x140043e24
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x3b0], rsi
mov rcx, qword [rbx + 0x870]
test rcx, rcx
je 0x140043e43
call fcn.140132640
mov qword [rbx + 0x870], rsi
mov rcx, qword [rbx + 0x860]
test rcx, rcx
je 0x140043e5b
call fcn.140132640
mov qword [rbx + 0x860], rsi
mov rcx, qword [rbx + 0x830]
test rcx, rcx
je 0x140043e6c
call fcn.140132640
mov rcx, qword [rbx + 0x7e0]
test rcx, rcx
je 0x140043e7d
call fcn.140132640
mov rcx, qword [rbx + 0x7e8]
test rcx, rcx
je 0x140043e8e
call fcn.140132640
mov rax, qword [0x1401fdf80]
cmp byte [rax + 0xe2c], sil
jne 0x140043eaa
cmp dword [rax + 0xe24], esi
je 0x140043f41
cmp byte [0x1401f32e3], sil
jne 0x140043f41
mov rcx, qword [rbx + 0x4e0]
test rcx, rcx
je 0x140043ede
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
jne 0x140043f41
mov rcx, qword [rbx + 0x4e0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x140043f41
mov rdi, rsi
xor r9d, r9d
lea r8, str.WinVNC_Tray_Icon
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
mov rdi, rax
test rax, rax
je 0x140043f1e
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x20], eax
jne 0x140043ee1
jmp 0x140043f2a
mov rdi, qword [0x1401f2990]
test rdi, rdi
je 0x140043f41
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x9c42
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x508]
test rcx, rcx
je 0x140043f52
call fcn.140139270
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x140043f63
call fcn.140139270
mov rax, qword [rbx + 0x590]
test rax, rax
je 0x140043f8c
mov rcx, rax
call fcn.1400394e0
xor edx, edx
mov rcx, qword [rbx + 0x590]
call fcn.140125d20
mov rax, qword [rbx + 0x590]
mov edi, esi
test rax, rax
je 0x140043fca
lea rdx, str._m_updatethread___NULL__n
lea rcx, [rsp + 0x30]
call fcn.140034eb0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, Ordinal_102
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
je 0x140043fca
cmp qword [rbx + 0x590], rsi
jne 0x140043f93
mov rcx, qword [rbx + 0x260]
test rcx, rcx
je 0x140043fee
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x3c0]
test rcx, rcx
je 0x140043fff
call fcn.140044140
mov rdi, qword [rbx + 0x368]
test rdi, rdi
je 0x140044035
mov rcx, qword [rdi]
test rcx, rcx
je 0x140044019
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140044028
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.140132684
mov qword [rbx + 0x368], rsi
lea rcx, [rbx + 0x9a8]
call fcn.140017000
nop
mov rcx, qword [rbx + 0x9a0]
test rcx, rcx
je 0x14004405c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, qword [rbx + 0x640]
call fcn.140132640
mov rcx, qword [rbx + 0x620]
call fcn.140132640
lea rcx, [rbx + 0x5e0]
call fcn.140017000
mov rcx, qword [rbx + 0x598]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x5a0]
call fcn.140139270
lea rax, vtable.rfb::SimpleUpdateTracker.0
mov qword [rbx + 0x540], rax
mov rcx, qword [rbx + 0x568]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x570]
call fcn.140139270
mov rcx, qword [rbx + 0x558]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x560]
call fcn.140139270
mov rcx, qword [rbx + 0x548]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x550]
call fcn.140139270
lea rax, vtable.rfb::UpdateTracker.0
mov qword [rbx + 0x540], rax
lea rcx, [rbx + 0x3e0]
call fcn.140037400
nop
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140132620
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret