Function at 0x445520
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549810
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.vncClient::vncClient_:_vncClient___executing..._n
push 9
push 0x5b0d48
mov dword [esi], vtable.vncClient.0
mov byte [esi + 0x110], 0
call fcn.0041cc90
mov edi, dword [esi + 0x774]
add esp, 0xc
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x4455c5
cmp dword [edi + 0x34], 0xffffffff
mov byte [edi + 0x10], 0
je 0x4455ab
push 0
push 2
push 0x111
push dword [edi + 0xc]
call ebx
push 0xffffffffffffffff
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0x774]
test ecx, ecx
je 0x4455bb
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x774], 0
mov ecx, dword [esi + 0x5a4]
test ecx, ecx
je 0x4455d5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x488]
test eax, eax
je 0x4455f2
push eax
call fcn.0051d799
add esp, 4
mov dword [esi + 0x488], 0
mov eax, dword [esi + 0x480]
test eax, eax
je 0x44560f
push eax
call fcn.0051d799
add esp, 4
mov dword [esi + 0x480], 0
mov eax, dword [esi + 0x484]
test eax, eax
je 0x44562c
push eax
call fcn.0051d799
add esp, 4
mov dword [esi + 0x484], 0
cmp dword [esi + 0x3a0], 0
je 0x445663
push str.vncClient::vncClient_:_deleting_socket_n
push 9
push 0x5b0d48
call fcn.0041cc90
mov ecx, dword [esi + 0x3a0]
add esp, 0xc
test ecx, ecx
je 0x445659
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x3a0], 0
mov eax, dword [esi + 0x76c]
test eax, eax
je 0x445680
push eax
call fcn.00519467
add esp, 4
mov dword [esi + 0x76c], 0
mov eax, dword [esi + 0x764]
test eax, eax
je 0x44569d
push eax
call fcn.00519467
add esp, 4
mov dword [esi + 0x764], 0
mov eax, dword [esi + 0x73c]
test eax, eax
je 0x4456b0
push eax
call fcn.00519467
add esp, 4
mov eax, dword [esi + 0x700]
test eax, eax
je 0x4456c3
push eax
call fcn.00519467
add esp, 4
mov eax, dword [esi + 0x704]
test eax, eax
je 0x4456d6
push eax
call fcn.00519467
add esp, 4
mov eax, dword [0x5be08c]
cmp byte [eax + 0xe2c], 0
jne 0x4456ed
cmp dword [eax + 0xe24], 0
je 0x445732
cmp byte [0x5b31af], 0
jne 0x445732
mov ecx, dword [esi + 0x47c]
test ecx, ecx
je 0x445718
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jne 0x445732
mov ecx, dword [esi + 0x47c]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x445732
mov cl, 1
call fcn.00425820
test eax, eax
je 0x445732
push 0
push 0x9c42
push 0x111
push eax
call ebx
mov eax, dword [esi + 0x490]
test eax, eax
je 0x445745
push eax
call fcn.0051d799
add esp, 4
mov eax, dword [esi + 0x494]
test eax, eax
je 0x445758
push eax
call fcn.0051d799
add esp, 4
mov eax, dword [esi + 0x4e8]
test eax, eax
je 0x44577c
mov ecx, eax
call fcn.0043a8b0
mov ecx, dword [esi + 0x4e8]
push 0
call fcn.004c04f0
mov eax, dword [esi + 0x4e8]
xor edi, edi
test eax, eax
je 0x4457c4
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop dword [eax + eax]
lea eax, [ebp - 0x110]
push str._m_updatethread___NULL__n
push eax
call fcn.004232c0
add esp, 8
lea eax, [ebp - 0x110]
push eax
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
je 0x4457c4
cmp dword [esi + 0x4e8], 0
jne 0x445790
mov eax, dword [esi + 0x258]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4457e5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x258]
call ebx
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x4457f5
push ecx
call fcn.00445950
mov edi, dword [esi + 0x35c]
test edi, edi
je 0x44581d
mov eax, dword [edi]
test eax, eax
je 0x445808
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x445812
push eax
call ebx
push 8
push edi
call fcn.0051949c
add esp, 8
mov dword [esi + 0x35c], 0
mov ecx, dword [esi + 0x8a4]
cmp ecx, 0x10
jb 0x445861
mov eax, dword [esi + 0x890]
inc ecx
cmp ecx, 0x1000
jb 0x445857
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445938
mov eax, edx
push ecx
push eax
call fcn.0051949c
add esp, 8
mov dword [esi + 0x8a0], 0
mov dword [esi + 0x8a4], 0xf
mov byte [esi + 0x890], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x88c]
test eax, eax
je 0x445894
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esi + 0x4fc]
call fcn.00445470
push dword [esi + 0x4ec]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esi + 0x4f0]
call fcn.0051d799
add esp, 4
mov dword [esi + 0x4bc], 0x59b048
push dword [esi + 0x4d0]
call edi
push dword [esi + 0x4d4]
call fcn.0051d799
add esp, 4
push dword [esi + 0x4c8]
call edi
push dword [esi + 0x4cc]
call fcn.0051d799
add esp, 4
push dword [esi + 0x4c0]
call edi
push dword [esi + 0x4c4]
call fcn.0051d799
add esp, 4
mov dword [esi + 0x4bc], 0x59b034
lea ecx, [esi + 0x3c0]
call fcn.00438ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
call fcn.0051d748
int3