Function at 0x140044c40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14021b0e0]
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.140018d00
mov rdi, qword [rbx + 0x880]
xor esi, esi
test rdi, rdi
je 0x140044cef
mov byte [rdi + 0x20], sil
cmp qword [rdi + 0x68], 0xffffffffffffffff
je 0x140044cd2
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 0x140044ce8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x880], rsi
mov rcx, qword [rbx + 0x680]
test rcx, rcx
je 0x140044d05
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbx + 0x4f8]
test rcx, rcx
je 0x140044d1d
call fcn.14014e740
mov qword [rbx + 0x4f8], rsi
mov rcx, qword [rbx + 0x4e8]
test rcx, rcx
je 0x140044d35
call fcn.14014e740
mov qword [rbx + 0x4e8], rsi
mov rcx, qword [rbx + 0x4f0]
test rcx, rcx
je 0x140044d4d
call fcn.14014e740
mov qword [rbx + 0x4f0], rsi
cmp qword [rbx + 0x3b0], rsi
je 0x140044d8b
lea r8, str.vncClient::vncClient_:_deleting_socket_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov rcx, qword [rbx + 0x3b0]
test rcx, rcx
je 0x140044d84
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x3b0], rsi
mov rcx, qword [rbx + 0x870]
test rcx, rcx
je 0x140044da3
call fcn.140147b10
mov qword [rbx + 0x870], rsi
mov rcx, qword [rbx + 0x860]
test rcx, rcx
je 0x140044dbb
call fcn.140147b10
mov qword [rbx + 0x860], rsi
mov rcx, qword [rbx + 0x830]
test rcx, rcx
je 0x140044dcc
call fcn.140147b10
mov rcx, qword [rbx + 0x7e0]
test rcx, rcx
je 0x140044ddd
call fcn.140147b10
mov rcx, qword [rbx + 0x7e8]
test rcx, rcx
je 0x140044dee
call fcn.140147b10
mov rax, qword [0x14022a710]
cmp byte [rax + 0xe2c], sil
jne 0x140044e0a
cmp dword [rax + 0xe24], esi
je 0x140044ea1
cmp byte [0x14021fa63], sil
jne 0x140044ea1
mov rcx, qword [rbx + 0x4e0]
test rcx, rcx
je 0x140044e3e
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
jne 0x140044ea1
mov rcx, qword [rbx + 0x4e0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x140044ea1
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 0x140044e7e
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 0x140044e41
jmp 0x140044e8a
mov rdi, qword [0x14021f110]
test rdi, rdi
je 0x140044ea1
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x800f
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x508]
test rcx, rcx
je 0x140044eb2
call fcn.14014e740
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x140044ec3
call fcn.14014e740
mov rax, qword [rbx + 0x590]
test rax, rax
je 0x140044eec
mov rcx, rax
call fcn.14003a260
xor edx, edx
mov rcx, qword [rbx + 0x590]
call fcn.1400b2390
mov rax, qword [rbx + 0x590]
mov edi, esi
test rax, rax
je 0x140044f2a
lea rdx, str._m_updatethread___NULL__n
lea rcx, [rsp + 0x30]
call fcn.140035a90
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 0x140044f2a
cmp qword [rbx + 0x590], rsi
jne 0x140044ef3
mov rcx, qword [rbx + 0x260]
test rcx, rcx
je 0x140044f4e
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 0x140044f5f
call fcn.1400450d0
mov rdi, qword [rbx + 0x368]
test rdi, rdi
je 0x140044f95
mov rcx, qword [rdi]
test rcx, rcx
je 0x140044f79
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140044f88
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.140147b54
mov qword [rbx + 0x368], rsi
mov rdx, qword [rbx + 0x9c0]
cmp rdx, 0x10
jb 0x140044fdd
mov rcx, qword [rbx + 0x9a8]
inc rdx
cmp rdx, 0x1000
jb 0x140044fd8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400450c7
mov rcx, r8
call fcn.140147b54
mov qword [rbx + 0x9b8], rsi
mov qword [rbx + 0x9c0], 0xf
mov byte [rbx + 0x9a8], sil
mov rcx, qword [rbx + 0x9a0]
test rcx, rcx
je 0x140045009
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbx + 0x5b0]
call fcn.140044ba0
mov rcx, qword [rbx + 0x598]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x5a0]
call fcn.14014e740
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.14014e740
mov rcx, qword [rbx + 0x558]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x560]
call fcn.14014e740
mov rcx, qword [rbx + 0x548]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbx + 0x550]
call fcn.14014e740
lea rax, vtable.rfb::UpdateTracker.0
mov qword [rbx + 0x540], rax
lea rcx, [rbx + 0x3e0]
call fcn.140038110
nop
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140147af0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14014e6c8
int3