Function at 0x42db50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4f5568]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
push ecx
xor esi, esi
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], esi
call fcn.00420a80
push str.vncclient.cpp_:_starting_update_thread_n
mov dword [esp + 0x194], esi
push 9
push 0x4f6c50
mov byte [esp + 0xb4], 1
mov dword [0x4f911c], esi
call fcn.00414f90
add esp, 0xc
mov dword [esp + 0x38], esi
cmp byte [0x4f9123], 0
je 0x42eae1
mov eax, dword [edi + 0x60]
cmp byte [eax + 4], 0
je 0x42eae1
cmp byte [eax + 0x569], 0
jne 0x42dc22
mov esi, dword [esp + 0x38]
lea esp, [esp]
push 0x32
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x64
jg 0x42dc1a
mov eax, dword [edi + 0x60]
cmp byte [eax + 0x569], 0
je 0x42dc00
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x52
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x190], 1
cmp dword [0x4f911c], 1
jae 0x42de24
cmp dword [edi + 0x6c], 0
je 0x42dd6c
cmp dword [edi + 0x70], 0
je 0x42dd65
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x120]
mov byte [esp + 0x190], 2
push ecx
push dword [eax]
or esi, 1
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42dd6c
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x140]
mov dword [esp + 0x190], 3
push ecx
push dword [eax]
or esi, 2
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42dd6c
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x160]
mov dword [esp + 0x190], 4
push ecx
push dword [eax]
or esi, 4
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42dd6c
mov eax, dword [edi + 0x60]
cmp byte [eax + 0x1cc], 0
jne 0x42dd6c
cmp byte [eax + 0x1cd], 0
jne 0x42dd6c
cmp dword [eax + 0x20c], 0
jne 0x42dd6c
mov byte [esp + 0xf], 1
jmp 0x42dd71
mov byte [esp + 0xf], 0
mov dword [esp + 0x190], 3
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test al, 4
je 0x42dda7
push dword [esp + 0x5c]
and eax, 0xfffffffb
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x60]
call fcn.004ae337
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x190], 2
test al, 2
je 0x42ddd6
push dword [esp + 0x7c]
and eax, 0xfffffffd
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x80]
call fcn.004ae337
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x190], 1
test al, 1
je 0x42ddfe
push dword [esp + 0x6c]
and eax, 0xfffffffe
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x70]
call fcn.004ae337
add esp, 4
cmp byte [esp + 0xf], 0
je 0x42e160
mov ecx, dword [edi + 0x68]
call fcn.004a6880
mov ecx, dword [edi + 0x64]
push 0xffffffffffffffff
call fcn.004a6720
mov esi, dword [esp + 0x10]
jmp 0x42dc54
cmp dword [edi + 0x6c], 0
je 0x42df61
cmp dword [edi + 0x70], 0
je 0x42df5a
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x130]
mov byte [esp + 0x190], 5
push ecx
push dword [eax]
or esi, 8
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42df61
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x150]
mov dword [esp + 0x190], 6
push ecx
push dword [eax]
or esi, 0x10
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42df61
mov eax, dword [edi + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
call fcn.004201f0
lea ecx, [esp + 0x170]
mov dword [esp + 0x190], 7
push ecx
push dword [eax]
or esi, 0x20
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetRgnBox]
cmp eax, 1
jne 0x42df61
mov ecx, dword [edi + 0x60]
cmp dword [ecx + 0xbc], 0
jne 0x42df2d
cmp dword [ecx + 0xc0], 0
je 0x42df39
mov eax, dword [ecx + 0xe4]
cmp dword [eax + 0x28], 0
jne 0x42df61
cmp byte [ecx + 0x1cc], 0
jne 0x42df61
cmp byte [ecx + 0x1cd], 0
jne 0x42df61
cmp dword [ecx + 0x2c], 0
jne 0x42df61
cmp dword [ecx + 0x20c], 0
jne 0x42df61
mov byte [esp + 0xf], 1
jmp 0x42df66
mov byte [esp + 0xf], 0
mov dword [esp + 0x190], 6
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test al, 0x20
je 0x42df9c
push dword [esp + 0x54]
and eax, 0xffffffdf
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x58]
call fcn.004ae337
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x190], 5
test al, 0x10
je 0x42dfc8
push dword [esp + 0x64]
and eax, 0xffffffef
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x68]
call fcn.004ae337
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x190], 1
test al, 8
je 0x42dff0
push dword [esp + 0x74]
and eax, 0xfffffff7
mov dword [esp + 0x14], eax
call esi
push dword [esp + 0x78]
call fcn.004ae337
add esp, 4
cmp byte [esp + 0xf], 0
je 0x42e160
mov ecx, dword [edi + 0x68]
call fcn.004a6880
mov ecx, dword [edi + 0x64]
push 0xfa0
call fcn.004a6720
mov esi, dword [esp + 0x10]
test al, al
jne 0x42de24
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0xe4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0xe0a8], 0
jne 0x42e04e
mov dword [eax + 0xe0a8], 1
push dword [eax + 0xdb94]
mov byte [0x4f9122], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [edi + 0x60]
cmp dword [edi + 0x170], 0
jne 0x42e0e3
push 0x74
call fcn.004ad3ab
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x190], 8
test esi, esi
je 0x42e0bc
lea eax, [esi + 4]
mov dword [esi], vtable.omni_thread.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
sub esp, 8
mov ecx, esi
call fcn.004a6b70
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esp + 0x190], 9
mov dword [esi], vtable.vncClientUpdateThread.0
mov byte [esp + 0x190], 8
jmp 0x42e0be
xor esi, esi
mov byte [esp + 0x190], 1
mov dword [edi + 0x170], esi
test esi, esi
je 0x42e0dc
push edi
mov ecx, esi
call fcn.0042d870
test eax, eax
jne 0x42e0e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edi, dword [edi + 0x170]
test edi, edi
je 0x42e146
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x124], 0
jne 0x42e146
mov edi, dword [edi + 0x64]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x42e13f
mov ecx, dword [eax + 0x54]
mov dword [edi + 0x1c], ecx
test ecx, ecx
jne 0x42e11c
mov dword [edi + 0x20], ecx
jmp 0x42e123
mov dword [ecx + 0x58], 0
push 0
push 1
push dword [eax + 0x50]
mov dword [eax + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x42eaaa
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x4f9123], 0
mov edi, dword [esp + 0x1c]
jne 0x42e003
mov esi, dword [esp + 0x10]
jmp 0x42de24
cmp dword [edi + 0x6c], 0
je 0x42eacf
mov esi, dword [edi + 0x60]
cmp byte [esi + 0x520], 0
je 0x42e463
mov esi, dword [esi + 0xe4]
lea eax, [esp + 0xd4]
push eax
mov ecx, dword [esi + 0x54]
call fcn.00441320
mov ecx, dword [esi + 0x18]
xor edx, edx
movdqu xmm1, xmmword [eax]
movdqa xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 0xc
movd eax, xmm0
div ecx
xor edx, edx
mov esi, eax
movd eax, xmm1
div ecx
mov edx, dword [edi + 0x60]
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp byte [edx + 0x521], 0
je 0x42e330
mov ecx, dword [edx + 0xe4]
lea eax, [esp + 0xc4]
push eax
call fcn.0042a6c0
mov eax, dword [esp + 0xcc]
mov ecx, eax
shl eax, 8
sar ecx, 8
and ecx, 0xff
mov byte [esp + 0x114], 0xf
or ecx, eax
mov eax, dword [esp + 0xd0]
mov word [esp + 0x116], cx
mov ecx, eax
shl eax, 8
sar ecx, 8
and ecx, 0xff
or ecx, eax
mov word [esp + 0x118], cx
mov ecx, dword [esp + 0x18]
mov eax, ecx
sar eax, 8
and eax, 0xff
shl ecx, 8
or eax, ecx
mov word [esp + 0x11a], ax
mov eax, esi
sar eax, 8
and eax, 0xff
shl esi, 8
or eax, esi
mov word [esp + 0x11c], ax
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x42e441
mov al, byte [esi + 0x1a]
test al, al
jne 0x42e2aa
cmp byte [esi + 0x18], al
je 0x42e2aa
mov eax, dword [esi + 0x10]
mov al, byte [eax + 0x21]
test al, al
je 0x42e2aa
push 1
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0xf
push eax
mov ecx, esi
call fcn.00472ec0
push 0xc
lea eax, [esp + 0x118]
mov ecx, esi
push eax
call fcn.00472ec0
jmp 0x42e441
cmp byte [esi + 0x18], 0
mov ecx, 0xc
je 0x42e31b
mov eax, dword [esi + 0x10]
mov al, byte [eax + 0x21]
test al, al
je 0x42e31b
cmp byte [esi + 0x68], 0
je 0x42e2eb
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [esp + 0x114]
movq qword [ecx], xmm0
mov eax, dword [esp + 0x11c]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x42e441
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push 0xc
lea eax, [esp + 0x11c]
mov ecx, esi
push eax
call fcn.00473380
mov ecx, dword [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00472c20
jmp 0x42e441
push ecx
lea eax, [esp + 0x118]
mov ecx, esi
push eax
call fcn.00472c20
jmp 0x42e441
mov eax, ecx
mov byte [esp + 0x24], 4
sar eax, 8
and eax, 0xff
shl ecx, 8
or eax, ecx
mov word [esp + 0x26], ax
mov eax, esi
sar eax, 8
shl esi, 8
and eax, 0xff
or eax, esi
mov word [esp + 0x28], ax
mov esi, dword [edx + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x42e40a
mov al, byte [esi + 0x1a]
test al, al
jne 0x42e3a6
cmp byte [esi + 0x18], al
je 0x42e3a6
mov eax, dword [esi + 0x10]
mov al, byte [eax + 0x21]
test al, al
je 0x42e3a6
push 1
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 4
push eax
mov ecx, esi
call fcn.00472ec0
push 6
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00472ec0
jmp 0x42e40a
cmp byte [esi + 0x18], 0
mov ecx, 6
je 0x42e3fd
mov eax, dword [esi + 0x10]
mov al, byte [eax + 0x21]
test al, al
je 0x42e3fd
cmp byte [esi + 0x68], 0
je 0x42e3dc
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov ax, word [esp + 0x28]
mov word [ecx + 4], ax
add dword [esi + 0x6c], 6
jmp 0x42e40a
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
push 6
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00473380
mov ecx, dword [esp + 0x34]
jmp 0x42e401
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00472c20
mov ecx, dword [edi + 0x60]
lea eax, [esp + 0xe4]
push eax
mov ecx, dword [ecx + 0xe4]
call fcn.0042a7d0
mov ecx, dword [edi + 0x60]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 0x508], xmm0
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx + 0xe4]
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x518], eax
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0xe4]
call fcn.0042c0b0
mov eax, dword [edi + 0x60]
mov byte [eax + 0x520], 0
mov eax, dword [edi + 0x60]
mov byte [eax + 0x521], 0
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0x17c]
mov dword [eax + 0x17c], 0
mov eax, dword [edi + 0x60]
mov edx, dword [eax + 0x144]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x88]
push eax
call dword [edx + 0x14]
mov edx, dword [0x4f911c]
cmp edx, 1
jbe 0x42e4c1
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0xe4]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x28], 0
mov eax, dword [edi + 0x60]
mov dword [eax + 0x204], ecx
mov ecx, dword [edi + 0x60]
inc edx
mov dword [0x4f911c], edx
cmp dword [ecx + 0x208], 0
jne 0x42e69e
cmp dword [ecx + 0x204], 0
jne 0x42e69e
cmp dword [ecx + 0x138], 0
je 0x42e69e
lea eax, [ecx + 0x508]
add ecx, 0x128
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00429460
mov ecx, dword [edi + 0x60]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 0x128], xmm0
mov esi, dword [edi + 0x60]
mov eax, dword [esi + 0x128]
cmp eax, dword [esi + 0x130]
jge 0x42e5b1
mov eax, dword [esi + 0x12c]
cmp eax, dword [esi + 0x134]
jge 0x42e5b1
push 0x4d9f42
call fcn.004aec27
add esp, 4
mov edi, eax
mov dword [esp + 0xc0], edi
push dword [esi + 0x134]
push dword [esi + 0x130]
push dword [esi + 0x12c]
push dword [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov dword [esp + 0xbc], esi
push 2
push esi
mov byte [esp + 0x198], 0xa
mov ecx, dword [esp + 0x90]
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
mov byte [esp + 0x194], 1
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.004ae337
mov edi, dword [esp + 0x20]
add esp, 4
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx + 0xe4]
mov eax, dword [eax + 0x54]
movdqu xmm0, xmmword [eax + 0xdbc0]
movdqu xmmword [ecx + 0x128], xmm0
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 0x508]
add ecx, 0x128
push eax
lea eax, [esp + 0x108]
push eax
call fcn.00429460
mov ecx, dword [edi + 0x60]
add ecx, 0x128
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
mov esi, dword [edi + 0x60]
mov eax, dword [esi + 0x128]
cmp eax, dword [esi + 0x130]
jge 0x42e691
mov eax, dword [esi + 0x12c]
cmp eax, dword [esi + 0x134]
jge 0x42e691
push 0x4d9f42
call fcn.004aec27
add esp, 4
mov edi, eax
mov dword [esp + 0xb8], edi
push dword [esi + 0x134]
push dword [esi + 0x130]
push dword [esi + 0x12c]
push dword [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov dword [esp + 0xb4], esi
push 2
push esi
mov byte [esp + 0x198], 0xb
mov ecx, dword [esp + 0x90]
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
mov byte [esp + 0x194], 1
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.004ae337
mov edi, dword [esp + 0x20]
add esp, 4
mov eax, dword [edi + 0x60]
mov dword [eax + 0x138], 0
mov eax, dword [edi + 0x60]
cmp byte [eax + 0x39e], 0
jne 0x42ea03
cmp byte [eax + 0x1cc], 0
mov byte [esp + 0xf], 0
je 0x42e8e2
mov byte [eax + 0x1cc], 0
mov ecx, dword [edi + 0x60]
cmp byte [ecx + 0x184], 0
je 0x42e77a
mov esi, dword [ecx + 0x1dc]
xorps xmm0, xmm0
sub esi, dword [ecx + 0x1e0]
neg esi
movq qword [esp + 0x3c], xmm0
mov edx, esi
mov byte [esp + 0x3c], 3
shl edx, 0x10
mov eax, esi
and eax, 0xff00
mov byte [esp + 0xf], 1
or edx, eax
mov eax, esi
sar eax, 8
shl edx, 8
and eax, 0xff00
or edx, eax
shr esi, 0x18
push 8
lea eax, [esp + 0x40]
or edx, esi
push eax
push 3
mov dword [esp + 0x4c], edx
call fcn.00437010
test eax, eax
jne 0x42e73e
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx + 0x1dc]
sub eax, dword [ecx + 0x1e0]
push eax
push dword [ecx + 0x1e0]
mov ecx, dword [ecx + 0x10c]
call fcn.00472f50
test eax, eax
jne 0x42e8d4
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
jmp 0x42e8d4
cmp dword [ecx + 0x1c8], 0x10
lea eax, [ecx + 0x1b4]
mov dword [esp + 0x14], eax
jb 0x42e793
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x1c4]
inc eax
push eax
call fcn.004aca50
mov ecx, dword [esp + 0x18]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
xor esi, esi
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e7b6
sub ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
jle 0x42e7f1
mov edi, dword [esp + 0x14]
jmp 0x42e7d0
mov dl, byte [eax + edi]
cmp dl, 0xd
je 0x42e7e4
mov edi, dword [esp + 0x18]
mov byte [esi + edi], dl
inc esi
mov edi, dword [esp + 0x14]
inc eax
cmp eax, ecx
jl 0x42e7d0
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, edx
mov byte [esi + edx], 0
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e800
sub ecx, esi
mov dword [esp + 0x14], ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42e810
sub edx, ecx
mov ecx, dword [esp + 0x18]
mov esi, ecx
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x42e826
sub esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e838
sub ecx, dword [esp + 0x20]
and edx, 0xff0000
mov eax, dword [esp + 0x14]
and esi, 0xff00
shl ecx, 0x10
shr eax, 0x10
or ecx, esi
or edx, eax
shl ecx, 8
shr edx, 8
lea eax, [esp + 0xac]
push 8
or ecx, edx
mov byte [esp + 0x13], 1
push eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [edi + 0x60]
push 3
call fcn.00437010
test eax, eax
jne 0x42e897
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
mov esi, dword [esp + 0x18]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e8a0
sub ecx, edx
push ecx
mov ecx, dword [edi + 0x60]
push esi
mov ecx, dword [ecx + 0x10c]
call fcn.00472f50
test eax, eax
jne 0x42e8cb
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
push esi
call fcn.004ad334
add esp, 4
mov ecx, dword [edi + 0x60]
add ecx, 0x1d4
call fcn.00412f70
mov eax, dword [edi + 0x60]
cmp byte [eax + 0x1cd], 0
je 0x42e9b1
mov byte [eax + 0x1cd], 0
mov ecx, dword [edi + 0x60]
cmp byte [ecx + 0x184], 0
je 0x42e9a3
mov esi, dword [ecx + 0x1ec]
xorps xmm0, xmm0
sub esi, dword [ecx + 0x1f0]
neg esi
movq qword [esp + 0x44], xmm0
mov edx, esi
mov byte [esp + 0x44], 3
shl edx, 0x10
mov eax, esi
and eax, 0xff00
mov byte [esp + 0xf], 1
or edx, eax
mov eax, esi
sar eax, 8
shl edx, 8
and eax, 0xff00
or edx, eax
shr esi, 0x18
push 8
lea eax, [esp + 0x48]
or edx, esi
push eax
push 3
mov dword [esp + 0x54], edx
call fcn.00437010
test eax, eax
jne 0x42e970
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx + 0x1ec]
sub eax, dword [ecx + 0x1f0]
push eax
push dword [ecx + 0x1f0]
mov ecx, dword [ecx + 0x10c]
call fcn.00472ec0
test eax, eax
jne 0x42e9a3
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 0x10c]
call fcn.004726a0
mov ecx, dword [edi + 0x60]
add ecx, 0x1e4
call fcn.00412f70
cmp byte [esp + 0xf], 0
je 0x42ea03
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x42ea03
cmp dword [esi + 0x239c], 0
je 0x42e9fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push dword [esi + 0x239c]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x74]
mov dword [esi + 0xc], eax
call fcn.004735c0
add esp, 8
test al, al
je 0x42ea03
mov dword [esi + 0x239c], 0
mov ecx, esi
call fcn.004736d0
cmp dword [esp + 0x2c], 0
je 0x42ea12
mov ecx, dword [edi + 0x60]
call fcn.00437bf0
mov ecx, dword [edi + 0x60]
mov edx, dword [ecx + 0xe4]
mov ax, word [ecx + 0xea]
cmp ax, word [edx + 0x2e]
jne 0x42ea6a
mov ax, word [ecx + 0xe8]
cmp ax, word [edx + 0x2c]
jne 0x42ea6a
mov al, byte [ecx + 0xec]
cmp al, byte [edx + 0x30]
jne 0x42ea6a
lea eax, [esp + 0x84]
push eax
call fcn.00437090
test eax, eax
je 0x42ea7e
mov eax, dword [edi + 0x60]
inc dword [0x4f911c]
push 0
push 0
push 0
push 0
push dword [eax + 0x174]
jmp 0x42ea78
push 0
push 0
push 0
push 0
push dword [ecx + 0x174]
call dword [sym.imp.GDI32.dll_SetRectRgn]
mov byte [esp + 0x190], 0
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4f9123], 0
je 0x42eae1
mov esi, dword [esp + 0x10]
jmp 0x42dbe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [edi + 4]
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4f1d54
lea eax, [esp + 0x30]
mov dword [esp + 0x30], esi
push eax
call fcn.004b6aeb
mov byte [esp + 0x190], 0
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.vncclient.cpp_:_stopping_update_thread_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push dword [0x4f911c]
push str.client_sent__lu_updates_n
push 0
push 0x4f6c50
call fcn.00414f90
add esp, 0x10
mov dword [esp + 0x190], 0xffffffff
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x84], vtable.rfb::SimpleUpdateTracker.0
push dword [esp + 0x98]
call esi
push dword [esp + 0x9c]
call fcn.004ae337
add esp, 4
push dword [esp + 0x90]
call esi
push dword [esp + 0x94]
call fcn.004ae337
add esp, 4
push dword [esp + 0x88]
call esi
push dword [esp + 0x8c]
call fcn.004ae337
add esp, 4
mov dword [esp + 0x84], vtable.rfb::UpdateTracker.0
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.004aca59
mov esp, ebp
pop ebp
ret 4