Function at 0x420b50
Capabilities:
Check for unmoving mouse cursor
Create thread
Power down monitor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48ea40]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov esi, ecx
push str.._vncdesktopthread.cpp_:_Hook_changed_1_n
xor ebx, ebx
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.._vncdesktopthread.cpp_:_Hook_changed_2_n
mov ebp, eax
push ebx
push 0x490660
mov dword [esp + 0x108], ebp
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
call fcn.0041b7e0
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push ebx
push ebx
push ebx
push 0x11
call edi
push ebx
push 2
push ebx
push 0x11
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x10a18]
call fcn.0041e6b0
test eax, eax
jne 0x420c15
push ebp
call fcn.00447b80
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add esp, 4
push ebx
mov ecx, esi
call edx
jmp 0x422bf3
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov edi, 1
push edi
mov ecx, esi
call edx
mov ecx, dword [esi + 0x10a18]
call fcn.0041e650
mov eax, dword [esi + 0x10a18]
push ebx
lea ecx, [esp + 0xc8]
mov dword [eax + 0xdbc4], edi
call fcn.00407e40
mov eax, dword [esi + 0x10a18]
add eax, 0xa8
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x21c], ebx
call fcn.00407370
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x220], 1
call fcn.0041fe70
lea ecx, [esp + 0x88]
mov byte [esp + 0x218], 3
call fcn.004070e0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 1
call fcn.00407090
mov eax, dword [esi + 0x10a18]
add eax, 0xa8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x21c], 4
call fcn.00407370
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 5
call fcn.00407390
lea ecx, [esp + 0x2c]
mov byte [esp + 0x218], 4
call fcn.004070e0
mov eax, dword [esi + 0x10a18]
mov ebp, dword [eax + 0xe1d4]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push ebp
mov ebp, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push ebp
push eax
call edx
mov ecx, dword [esi + 0x10a18]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.0041cf00
test eax, eax
je 0x420d4b
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebx
je 0x420d4b
push 4
lea ecx, [eax + 4]
call fcn.0040ee30
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe0a0], ebx
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe0a8], ebx
mov edx, dword [esi + 0x10a18]
mov dword [edx + 0xe0a4], ebx
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe0f0], edi
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe070], ebx
mov edx, dword [esi + 0x10a18]
mov dword [edx + 0xe0ec], ebx
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe0f4], ebx
mov ecx, dword [esi + 0x10a18]
mov ecx, dword [ecx + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x210]
call eax
test eax, eax
setne al
test al, al
mov byte [esi + 0x10a50], al
jne 0x420dd9
mov ecx, dword [esi + 0x10a18]
mov ecx, dword [ecx + 0xe0b8]
cmp ecx, ebx
je 0x420dd9
call fcn.0040cf20
cmp byte [esi + 0x10a50], 0
je 0x420e10
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xe0b8]
cmp ecx, ebx
je 0x420df7
call fcn.0040cf70
cmp byte [esi + 0x10a50], 0
je 0x420e10
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x284]
call edx
push edi
push ebx
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x10a58], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov byte [0x490aa0], 0
push 1
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x42286c
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x10a58]
mov edx, eax
sub edx, ecx
cmp edx, 0x21
mov dword [esi + 0x10a54], eax
jae 0x420e7a
sub ecx, eax
add ecx, 0x21
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x420e34
mov ecx, dword [esi + 0x10a18]
mov dword [esi + 0x10a58], eax
call fcn.0041cf00
test eax, eax
je 0x420eb0
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebx
je 0x420eb0
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe074], ebx
mov byte [0x490add], 0
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xdbbc], ebx
jne 0x420eef
mov ecx, dword [eax + 0xdbb8]
push ebx
push 0x64
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0x10a18]
mov dword [edx + 0xdbbc], eax
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0f0], ebx
je 0x420f4a
cmp dword [eax + 0xe0ec], ebx
jne 0x420f4a
push str.._vncdesktopthread.cpp_:_Hook_changed__n
push ebx
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
mov eax, dword [ecx + 0xe0e8]
add esp, 0xc
push eax
call fcn.0041d390
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0e8], ebx
je 0x420f3e
mov dword [eax + 0xe058], ebx
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe0f0], ebx
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x220]
call eax
test al, al
jne 0x421956
mov ecx, dword [esi + 0x10a18]
xor ebx, ebx
cmp dword [ecx + 0xe070], ebx
jne 0x420fab
call fcn.00447d60
test eax, eax
je 0x420fab
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0a8], ebx
jne 0x420fab
cmp dword [eax + 0xe0ec], ebx
jne 0x420fab
lea ecx, [eax + 4]
call fcn.0040f2e0
mov edx, dword [esi + 0x10a18]
cmp dword [edx + 0xe1dc], eax
je 0x421956
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x88]
call edx
test eax, eax
jne 0x420fda
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.._vncdesktopthread.cpp_:_Wait_for_viewer_init__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe070], ebx
je 0x420ffb
push str.._vncdesktopthread.cpp_:_Screensize_changed__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
mov ecx, dword [esi + 0x10a18]
cmp dword [ecx + 0xe0a8], ebx
je 0x42101c
push str.._vncdesktopthread.cpp_:_m_SWtoDesktop__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
mov edx, dword [esi + 0x10a18]
cmp dword [edx + 0xe0ec], ebx
je 0x42103d
push str.._vncdesktopthread.cpp_:_m_hookswitch__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
mov edi, dword [esi + 0x10a18]
mov ecx, edi
add ecx, 4
call fcn.0040f2e0
cmp dword [edi + 0xe1dc], eax
je 0x42107e
lea ecx, [edi + 4]
call fcn.0040f2e0
push eax
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1dc]
push ecx
push str.._vncdesktopthread.cpp_:_desktop_switch__i__i__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0x14
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x220]
call eax
test al, al
jne 0x4210ae
call fcn.00447d60
test eax, eax
jne 0x4210ae
push str.._vncdesktopthread.cpp_:_InputDesktopSelected__n
push ebx
push 0x490660
call fcn.00401810
add esp, 0xc
cmp byte [esi + 0x10a50], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
je 0x4210cf
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x284]
call eax
mov ebp, dword [esi + 0x10a18]
add ebp, 0xdbd4
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x280]
mov byte [esp + 0x218], 6
call eax
lea ecx, [esp + 0x18]
call fcn.004070f0
lea ecx, [esp + 0xc8]
call fcn.004070f0
lea ecx, [esp + 0xd0]
call fcn.004070f0
lea ecx, [esp + 0xcc]
call fcn.004070f0
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe060], ebx
mov edx, dword [esi + 0x10a18]
mov dword [edx + 0xe064], ebx
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe068], ebx
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe06c], ebx
mov eax, dword [esi + 0x10a18]
mov edx, dword [eax + 0xe02c]
mov ecx, dword [eax + 0xe030]
mov edi, dword [esi + 0x10a18]
mov dword [esp + 0x128], edx
mov edx, dword [eax + 0xe034]
mov dword [esp + 0x12c], ecx
mov ecx, dword [eax + 0xe038]
mov dword [esp + 0x130], edx
mov edx, dword [eax + 0xe03c]
mov eax, dword [eax + 0xe040]
mov dword [esp + 0x134], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], eax
call fcn.0040f2e0
cmp dword [edi + 0xe1dc], eax
je 0x421277
mov ecx, edi
call fcn.00439bf0
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f2e0
mov ecx, dword [esi + 0x10a18]
mov dword [ecx + 0xe1dc], eax
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe1d8]
mov ebx, 1
mov dword [eax + 0xe1d8], ebx
mov eax, dword [esi + 0x10a18]
mov ecx, 2
cmp dword [eax + 0xe1dc], ecx
jne 0x421222
cmp dword [eax + 0xe1d4], ebx
jle 0x421222
mov dword [eax + 0xe1d8], ecx
mov eax, dword [esi + 0x10a18]
mov ecx, 3
cmp dword [eax + 0xe1dc], ecx
jne 0x421243
cmp dword [eax + 0xe1d4], ebx
jle 0x421243
mov dword [eax + 0xe1d8], ecx
mov edx, dword [esi + 0x10a18]
mov eax, dword [edx + 0xe1d8]
push eax
push edi
push str.._vncdesktopthread.cpp_:_OLd_Current_mon__i__i__n
push 0
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0x14
cmp edi, dword [ecx + 0xe1d8]
je 0x421277
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x220]
call eax
test al, al
jne 0x4213db
mov ecx, dword [esi + 0x10a18]
xor ebx, ebx
cmp dword [ecx + 0xe070], ebx
jne 0x4212cc
call fcn.00447d60
test eax, eax
je 0x4212cc
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0ec], ebx
jne 0x4212cc
cmp dword [esp + 0x1c], ebx
je 0x4213db
cmp dword [eax + 0xe0b8], ebx
jne 0x4213db
push str.._vncdesktopthread.cpp_:_m_desktop__Shutdown
push ebx
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
mov dword [esp + 0x1c], ebx
call fcn.0041d630
test eax, eax
je 0x422a94
mov edx, dword [esi + 0x10a18]
cmp dword [edx + 0xa0], 0
push str.._vncdesktopthread.cpp_:_m_desktop__Startup
push 0
push 0x490660
setne bl
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
call fcn.0041e6b0
test eax, eax
je 0x422ac5
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe0b8]
test ecx, ecx
je 0x421352
cmp byte [esi + 0x10a50], 0
jne 0x42134d
call fcn.0040cf20
jmp 0x421352
call fcn.0040cf70
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe1d4]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push edi
mov edi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push edi
push eax
call edx
test bl, bl
je 0x4213ad
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0b8], 0
jne 0x4213ad
push str.._vncdesktopthread.cpp_:_m_videodriver__NULL__n
push 0
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
push 0
push 1
call fcn.0041e400
mov edi, dword [esp + 0x30]
test edi, edi
mov byte [0x490aa0], 1
je 0x4213db
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x490aa0], 0
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x10a18]
movzx ecx, word [eax + 0xe02c]
cmp cx, word [esp + 0x128]
jne 0x42140c
mov dx, word [eax + 0xe02e]
cmp dx, word [esp + 0x12a]
jne 0x42140c
cmp dword [eax + 0xe0a8], 1
jne 0x42143c
movzx edx, byte [eax + 0xe030]
movzx eax, word [eax + 0xe02e]
push edx
push eax
movzx ecx, cx
push ecx
push str.._vncdesktopthread.cpp_:_SCR:_new_screen_format__dx_dx_d_n
push 9
push 0x490660
mov dword [esp + 0x3c], 1
call fcn.00401810
add esp, 0x18
mov edx, dword [esi + 0x10a18]
xor edi, edi
cmp dword [esp + 0x24], edi
mov dword [edx + 0xe070], edi
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe0ec], edi
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe0e8]
mov dword [eax + 0xe0f0], ecx
mov edx, dword [esi + 0x10a18]
mov dword [edx + 0xe0a8], edi
je 0x42156b
push str.._vncdesktopthread.cpp_:_Size_changed_n
push edi
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
call fcn.0041fbd0
mov ecx, dword [esi + 0x10a18]
lea eax, [esp + 0x1bc]
push eax
call fcn.0041fcd0
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x10a18]
mov ecx, dword [esp + 0x50]
sub ecx, dword [eax + 0x6c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
sub edx, dword [eax + 0x70]
push 0xe
mov dword [esp + 0x58], edx
mov dword [eax + 0xe060], ecx
mov dword [eax + 0xe064], edx
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xd
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov eax, dword [esi + 0x10a18]
mov dword [eax + 0xe068], edi
add ebx, ebp
mov dword [eax + 0xe06c], ebx
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe0b0]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0ac]
mov edx, dword [edx + 0x80]
push edi
push eax
call edx
mov eax, dword [esi + 0x10a18]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00407370
lea ecx, [esp + 0x44]
call fcn.0041ff30
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f040
mov ebp, dword [esp + 0x20]
xor edi, edi
cmp dword [esp + 0x1c], edi
je 0x421762
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe130]
sub edx, dword [eax + 0xe1cc]
mov dword [eax + 0xe0ac], edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe134]
sub edx, dword [eax + 0xe1d0]
mov dword [eax + 0xe0b0], edx
mov eax, dword [esi + 0x10a18]
mov ebx, dword [eax + 0xe0b0]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0ac]
mov edx, dword [edx + 0x80]
push ebx
push eax
call edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe130]
sub edx, dword [eax + 0xe1cc]
mov dword [eax + 0xa8], edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe134]
sub edx, dword [eax + 0xe1d0]
mov dword [eax + 0xac], edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe130]
sub edx, dword [eax + 0xe1cc]
add ecx, eax
add edx, dword [ecx + 0xe104]
mov dword [eax + 0xb0], edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1d8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe134]
sub edx, dword [eax + 0xe1d0]
add ecx, eax
add edx, dword [ecx + 0xe108]
mov dword [eax + 0xb4], edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb0]
push ecx
mov ecx, dword [eax + 0xac]
push edx
mov edx, dword [eax + 0xa8]
push ecx
mov ecx, dword [eax + 0xe0b0]
push edx
mov edx, dword [eax + 0xe0ac]
push ecx
push edx
push str.._vncdesktopthread.cpp_:___i__i__i__i__i__i_n
push edi
push 0x490660
call fcn.00401810
mov eax, dword [esi + 0x10a18]
add esp, 0x24
add eax, 0xa8
push eax
lea ecx, [esp + 0xf0]
call fcn.00407370
push eax
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 7
call fcn.00407200
mov byte [esp + 0x218], 8
push eax
lea ecx, [esp + 0x1c]
call fcn.00407390
lea ecx, [esp + 0x114]
mov byte [esp + 0x218], 7
call fcn.004070e0
lea ecx, [esp + 0xec]
mov byte [esp + 0x218], 6
call fcn.004070e0
mov edx, dword [esi + 0x10a18]
push ecx
add edx, 0xa8
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00407370
lea ecx, [esp + 0x44]
call fcn.0041ff30
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f040
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f180
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f040
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f180
push 1
push edi
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x10a18]
add eax, 0xa8
push eax
lea ecx, [esp + 0x120]
call fcn.00407370
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 9
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0xa
call fcn.00407390
lea ecx, [esp + 0x104]
mov byte [esp + 0x218], 9
call fcn.004070e0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x218], 6
call fcn.004070e0
push ebp
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10a18]
mov ecx, 0x10
lea edx, [esp + 0x12c]
add eax, 0xe030
lea ebx, [ebx]
mov ebx, dword [eax]
cmp ebx, dword [edx]
jne 0x421838
sub ecx, 4
add edx, 4
add eax, 4
cmp ecx, 4
jae 0x421820
cmp ecx, edi
je 0x421895
movzx ebx, byte [edx]
movzx edi, byte [eax]
sub edi, ebx
jne 0x421887
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x421895
movzx ebx, byte [edx]
movzx edi, byte [eax]
sub edi, ebx
jne 0x421887
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x421895
movzx ebx, byte [edx]
movzx edi, byte [eax]
sub edi, ebx
jne 0x421887
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x421895
movzx edx, byte [edx]
movzx edi, byte [eax]
sub edi, edx
je 0x421895
test edi, edi
mov eax, 1
jg 0x421897
or eax, 0xffffffff
jmp 0x421897
xor eax, eax
test eax, eax
je 0x4218cf
push str.._vncdesktopthread.cpp_:_Format_changed_n
push 0
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa0]
add esp, 0xc
call edx
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa4]
call edx
cmp dword [esp + 0x24], 0
je 0x421920
mov eax, dword [esi + 0x10a18]
movzx edi, word [eax + 0xe02e]
mov ecx, dword [esi + 0x10a1c]
movzx eax, word [eax + 0xe02c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push 0
push edi
push eax
call edx
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe1d4]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push edi
mov edi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push edi
push eax
call edx
cmp dword [esp + 0x1c], 0
je 0x421956
mov eax, dword [esi + 0x10a18]
mov edx, dword [eax + 0xe1d8]
mov ecx, dword [esi + 0x10a1c]
imul edx, edx, 0x34
mov edi, dword [eax + edx + 0xe108]
add eax, edx
mov edx, dword [ecx]
mov eax, dword [eax + 0xe104]
mov edx, dword [edx + 0x7c]
push 1
push edi
push eax
call edx
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x68]
xor bl, bl
call edx
test eax, eax
je 0x421bba
mov edi, dword [esi + 0x10a18]
add edi, 0xdbd4
push edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x10a18]
lea eax, [esp + 0x1fc]
push eax
mov byte [esp + 0x21c], 0xb
call fcn.0041fcd0
mov eax, dword [esi + 0x10a18]
mov ebp, dword [eax + 0xe0b0]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0ac]
mov edx, dword [edx + 0x80]
push ebp
push eax
call edx
mov eax, dword [esi + 0x10a18]
xor ebp, ebp
cmp dword [eax + 0xe0a0], ebp
je 0x421ac2
mov dword [eax + 0xe0a0], ebp
mov ecx, dword [esi + 0x10a18]
lea eax, [esp + 0x1ec]
push eax
mov bl, 1
call fcn.0041fcd0
mov ecx, dword [esi + 0x10a18]
add ecx, 0xa8
push ecx
lea ecx, [esp + 0xe8]
call fcn.00407370
push eax
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0xc
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0xd
call fcn.00407390
lea ecx, [esp + 0x110]
mov byte [esp + 0x218], 0xc
call fcn.004070e0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x218], 0xb
call fcn.004070e0
mov eax, dword [esi + 0x10a18]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00407370
lea ecx, [esp + 0x44]
call fcn.0041ff30
mov eax, dword [esi + 0x10a18]
mov ebp, dword [eax + 0xe0b0]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0ac]
mov edx, dword [edx + 0x80]
push ebp
push eax
call edx
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f040
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f180
xor ebp, ebp
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xe0a4], ebp
je 0x421ba9
mov dword [eax + 0xe0a4], ebp
mov eax, dword [esi + 0x10a18]
push ecx
add eax, 0xa8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00407370
lea ecx, [esp + 0x44]
call fcn.0041ff30
mov eax, dword [esi + 0x10a18]
mov ebp, dword [eax + 0xe0b0]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0ac]
mov edx, dword [edx + 0x80]
push ebp
push eax
call edx
mov eax, dword [esi + 0x10a18]
add eax, 0xa8
push eax
lea ecx, [esp + 0xf4]
call fcn.00407370
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0xe
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0xf
call fcn.00407390
lea ecx, [esp + 0xe8]
mov byte [esp + 0x218], 0xe
call fcn.004070e0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x218], 0xb
call fcn.004070e0
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f040
mov ecx, dword [esi + 0x10a18]
add ecx, 4
call fcn.0040f180
xor ebp, ebp
push edi
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x421bbc
xor ebp, ebp
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
test eax, eax
je 0x421c18
test bl, bl
je 0x421c18
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe098]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe09c]
mov edx, dword [edx + 0x7c]
push ebp
push edi
push eax
call edx
mov eax, dword [esi + 0x10a18]
mov edi, dword [eax + 0xe1d4]
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push edi
mov edi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push edi
push eax
call edx
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x21c]
call eax
mov ecx, dword [esi + 0x10a18]
mov byte [ecx + 0xa4], al
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xdbb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
call edx
test eax, eax
je 0x422827
lea eax, [esp + 0x120]
push eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x421ce4
mov eax, dword [esp + 0x120]
cmp eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x124]
jne 0x421c89
cmp ecx, dword [esp + 0xa0]
je 0x421ce4
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 0x10a18]
mov ecx, dword [ecx + 0xdbb0]
mov edx, dword [ecx]
mov dword [esp + 0x9c], eax
mov eax, dword [edx + 0x98]
mov ebx, 1
call eax
mov eax, dword [esi + 0x10a4c]
cmp eax, ebp
je 0x421ce4
lea ecx, [esp + 0x148]
push ecx
mov dword [esp + 0x14c], 0x14
call eax
mov edx, dword [esp + 0x150]
mov ecx, dword [esi + 0x10a18]
push edx
call fcn.0041c2a0
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebp
jne 0x4220ce
cmp dword [eax + 0xe10c], ebp
je 0x421d41
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.00405f10
test eax, eax
je 0x421d41
cmp dword [esp + 0x30], ebp
jne 0x421d2d
lea eax, [esp + 0x15c]
push eax
push ebp
push esi
push 0x40dea0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00405f10
push eax
mov ecx, esi
call fcn.0040df00
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp ebx, ebp
mov edi, eax
je 0x421d53
mov dword [esi + 0x10a60], edi
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xdbb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x224]
call edx
mov ecx, dword [esi + 0x10a18]
neg eax
sbb eax, eax
and eax, 4
add eax, 4
push eax
add ecx, 4
call fcn.0040ee30
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb8]
call eax
test eax, eax
je 0x421e70
mov eax, edi
sub eax, dword [esi + 0x10a60]
cmp eax, 0x64
jbe 0x421e70
cmp eax, 0x96
mov dword [esi + 0x10a5c], edi
jbe 0x421e70
mov edi, dword [esp + 0x3c]
push 1
push ebp
lea ecx, [esp + 0x1d4]
push ecx
mov ecx, dword [esi + 0x10a18]
add edi, 1
mov dword [esp + 0x48], edi
call fcn.0041fc20
mov ecx, dword [esi + 0x10a18]
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0041f410
cmp edi, 0x14
jle 0x421e70
mov eax, dword [esi + 0x10a18]
add eax, 0xa8
push eax
lea ecx, [esp + 0x90]
call fcn.00407370
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x10
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x11
call fcn.00407390
lea ecx, [esp + 0xf8]
mov byte [esp + 0x218], 0x10
call fcn.004070e0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x218], 4
call fcn.004070e0
mov dword [esp + 0x3c], ebp
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb0]
call eax
test eax, eax
je 0x421ea1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebp
je 0x421ea1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004205c0
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xdbb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
test eax, eax
je 0x421ef4
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x421ef4
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x140]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, ebp
je 0x421ef4
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004205c0
cmp ebx, ebp
je 0x422057
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebp
jne 0x422057
mov ecx, dword [eax + 0xe060]
cmp ecx, dword [eax + 0xe068]
jge 0x422057
mov edx, dword [eax + 0xe064]
cmp edx, dword [eax + 0xe06c]
jge 0x422057
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov edx, dword [eax + 0xe068]
mov edi, dword [eax + 0xdbf8]
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xe064]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xe06c]
sub edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0xdbf0]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xdbec]
mov eax, dword [eax + 0xdbf4]
sub edi, ecx
push edi
sub eax, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0041ffb0
add esp, 0x20
test al, al
je 0x422057
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0xbc], edx
lea edx, [esp + 0xb4]
mov dword [esp + 0xc0], ecx
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0xbc], eax
call fcn.00407370
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x12
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x13
call fcn.00407390
lea ecx, [esp + 0x100]
mov byte [esp + 0x218], 0x12
call fcn.004070e0
lea ecx, [esp + 0x90]
mov byte [esp + 0x218], 4
call fcn.004070e0
mov edi, dword [esi + 0x10a18]
add edi, 0xdbd4
push edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x10a18]
cmp dword [edx + 0xa0], ebp
mov byte [esp + 0x218], 0x14
jne 0x4220a5
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x68]
call edx
test eax, eax
jne 0x4220a5
mov ecx, dword [esi + 0x10a18]
lea eax, [esp + 0x40]
push eax
call fcn.0041c490
mov ecx, dword [esi + 0x10a18]
call fcn.0041cf00
test eax, eax
je 0x422119
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebp
je 0x422119
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [eax + 4]
jmp 0x422128
mov eax, dword [eax + 0xdbb0]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x224]
call eax
cmp ebx, ebp
mov ecx, dword [esi + 0x10a18]
je 0x422101
neg eax
sbb eax, eax
neg eax
add eax, 1
push eax
add ecx, 4
call fcn.0040ee30
jmp 0x421ef4
neg eax
sbb eax, eax
and eax, 2
add eax, 2
push eax
add ecx, 4
call fcn.0040ee30
jmp 0x422057
mov ecx, dword [esi + 0x10a18]
push ebp
lea edx, [esp + 0x1c]
push edx
add ecx, 4
call fcn.004105c0
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x210]
call eax
xor ecx, ecx
cmp byte [esi + 0x10a50], cl
sete cl
cmp ecx, eax
jne 0x422193
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xdbb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x210]
call edx
mov ecx, dword [esi + 0x10a18]
test eax, eax
setne al
mov byte [esi + 0x10a50], al
mov ecx, dword [ecx + 0xe0b8]
cmp ecx, ebp
je 0x422193
test al, al
jne 0x42218e
call fcn.0040cf20
jmp 0x422193
call fcn.0040cf70
mov edx, dword [esi + 0x10a18]
mov ecx, dword [edx + 0xdbb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x210]
call edx
test eax, eax
je 0x42236d
mov eax, dword [esi + 0x10a18]
cmp byte [eax + 0xa4], 0
jne 0x42236d
mov ecx, dword [eax + 0xe054]
cmp ecx, dword [eax + 0xe058]
jne 0x4221e2
lea ecx, [eax + 4]
call fcn.0040f290
test eax, eax
je 0x422540
mov eax, dword [esi + 0x10a18]
mov edx, dword [eax + 0xe054]
mov dword [eax + 0xe058], edx
mov eax, dword [esi + 0x10a18]
add eax, 4
mov dword [eax + 0x40], 1
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebp
jne 0x42221a
lea ecx, [eax + 4]
call fcn.00410530
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
call eax
mov eax, dword [esi + 0x10a18]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov ecx, dword [eax + 0xe060]
mov edx, dword [eax + 0xe068]
mov ebx, dword [eax + 0xdbf8]
sub edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xe064]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xe06c]
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xdbf0]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xdbec]
mov eax, dword [eax + 0xdbf4]
sub ebx, ecx
push ebx
sub eax, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041ffb0
add esp, 0x20
test al, al
je 0x422358
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0xac], edx
lea edx, [esp + 0xa4]
mov dword [esp + 0xb0], ecx
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xac], eax
call fcn.00407370
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x15
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x16
call fcn.00407390
lea ecx, [esp + 0xe0]
mov byte [esp + 0x218], 0x15
call fcn.004070e0
lea ecx, [esp + 0x78]
mov byte [esp + 0x218], 0x14
call fcn.004070e0
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x284]
call eax
jmp 0x422540
mov eax, dword [esi + 0x10a18]
cmp dword [eax + 0xa0], ebp
jne 0x422540
lea ecx, [eax + 4]
call fcn.00410530
cmp ebx, ebp
je 0x422540
mov ecx, dword [esi + 0x10a18]
mov ecx, dword [ecx + 0xdbb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
call eax
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe060]
cmp ecx, dword [eax + 0xe068]
jge 0x422540
mov edx, dword [eax + 0xe064]
cmp edx, dword [eax + 0xe06c]
jge 0x422540
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov edx, dword [eax + 0xe068]
mov ebx, dword [eax + 0xdbf8]
sub edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xe064]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xe06c]
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xdbf0]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xdbec]
mov eax, dword [eax + 0xdbf4]
sub ebx, ecx
push ebx
sub eax, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041ffb0
add esp, 0x20
test al, al
je 0x422540
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x70], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x74], ecx
push edx
lea ecx, [esp + 0x98]
mov dword [esp + 0x70], eax
call fcn.00407370
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x17
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x18
call fcn.00407390
lea ecx, [esp + 0x118]
mov byte [esp + 0x218], 0x17
call fcn.004070e0
lea ecx, [esp + 0x94]
mov byte [esp + 0x218], 0x14
call fcn.004070e0
mov eax, dword [esi + 0x10a18]
mov edx, dword [eax + 0xe064]
mov ecx, dword [eax + 0xe060]
push edx
mov edx, dword [eax + 0xe06c]
mov eax, dword [eax + 0xe068]
push ecx
push edx
push eax
push str.._vncdesktopthread.cpp_:_8__i__i__i__i__n
push 9
push 0x490660
call fcn.00401810
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
push str.._vncdesktopthread.cpp_:_8__i__i__i__i__n
push 9
push 0x490660
call fcn.00401810
add esp, 0x38
lea ecx, [esp + 0x34]
call fcn.00407090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x218], 0x19
call fcn.00407090
lea ecx, [esp + 0x4c]
mov byte [esp + 0x218], 0x1a
call fcn.00407090
lea ecx, [esp + 0xd0]
mov byte [esp + 0x218], 0x1b
call fcn.00407260
test al, al
jne 0x42268c
lea ecx, [esp + 0x17c]
call fcn.0041a1e0
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x21c], 0x1c
call fcn.00408900
mov ecx, dword [esp + 0x190]
cmp ecx, ebp
je 0x422678
mov eax, dword [esp + 0x194]
mov edx, eax
sub edx, ecx
sar edx, 4
je 0x422678
cmp ecx, eax
mov ebx, ecx
jbe 0x4225eb
call fcn.0045cf74
mov eax, dword [esp + 0x194]
mov ecx, dword [esp + 0x190]
lea edx, [esp + 0x18c]
mov edi, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebx
nop
cmp ecx, eax
mov ebx, eax
jbe 0x42260b
call fcn.0045cf74
cmp edi, ebp
je 0x42261a
lea eax, [esp + 0x18c]
cmp edi, eax
je 0x42261f
call fcn.0045cf74
cmp dword [esp + 0x80], ebx
je 0x422674
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0x80]
call fcn.004072e0
mov ecx, dword [esi + 0x10a18]
push eax
add ecx, 4
call fcn.0040f610
push ebp
lea edx, [esp + 0x1b8]
push edx
lea ecx, [esp + 0x84]
call fcn.004073d0
mov eax, dword [esp + 0x194]
mov ecx, dword [esp + 0x190]
mov edi, dword [esp + 0x7c]
jmp 0x422600
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x17c]
mov byte [esp + 0x218], 0x1b
call fcn.00415e20
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x20]
call fcn.00407230
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x21c], 0x1d
call fcn.00407390
lea ecx, [esp + 0x10c]
mov byte [esp + 0x218], 0x1b
call fcn.004070e0
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407390
lea ecx, [esp + 0x34]
call fcn.00407260
test al, al
jne 0x422706
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x10a18]
lea edx, [esp + 0x34]
push edx
add ecx, 4
call fcn.00410940
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.00407c20
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00407c90
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
call eax
push eax
lea ecx, [esp + 0xc8]
call fcn.00408260
lea ecx, [esp + 0x4c]
mov byte [esp + 0x218], 0x1a
call fcn.004070e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x218], 0x19
call fcn.004070e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x218], 0x14
call fcn.004070e0
push edi
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0xc8]
call fcn.004070f0
lea ecx, [esp + 0xd0]
call fcn.004070f0
lea ecx, [esp + 0xcc]
call fcn.004070f0
mov ecx, dword [esi + 0x10a18]
cmp dword [ecx + 0xe0dc], ebp
je 0x42280b
mov ecx, dword [esi + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x27c]
call eax
test eax, eax
je 0x4227d6
mov ecx, dword [esi + 0x10a18]
call fcn.0041cf00
test eax, eax
je 0x42280b
call fcn.0043c700
cmp eax, 2
je 0x42280b
push ebp
push ebp
push 1
push 0x56
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [esi + 0x10a18]
mov edx, dword [ecx + 0xdbb8]
push 2
push 0xf170
push 0x112
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x10a18]
mov ecx, dword [eax + 0xe1e4]
cmp ecx, ebp
je 0x422827
mov eax, dword [eax + 0xe078]
push eax
call fcn.00401740
mov ecx, dword [0x490ae0]
cmp ecx, dword [0x490ab0]
je 0x420e34
call dword [sym.imp.USER32.dll_WaitMessage]
test eax, eax
je 0x422af7
push str.._vncdesktopthread.cpp_:_WaitMessage___n
push 0
push 0x490660
call fcn.00401810
mov edx, dword [0x490ab0]
add esp, 0xc
mov dword [0x490ae0], edx
jmp 0x420e34
mov eax, dword [esp + 0x164]
cmp eax, dword [0x490acc]
jne 0x422988
mov eax, dword [esp + 0x168]
mov ecx, eax
shr ecx, 0x10
movsx edi, cx
movsx ecx, ax
mov eax, dword [esp + 0x16c]
mov edx, eax
shr edx, 0x10
movsx ebx, dx
movsx edx, ax
mov eax, dword [esi + 0x10a18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
sub ecx, dword [eax + 0x6c]
add eax, 0xa8
mov dword [esp + 0x58], ecx
sub edx, dword [eax - 0x3c]
push eax
mov dword [esp + 0x64], edx
sub edi, dword [eax - 0x38]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edi
sub ebx, dword [eax - 0x38]
lea eax, [esp + 0x1e0]
push eax
mov dword [esp + 0x6c], ebx
call fcn.0040de40
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edi, dword [eax + 4]
mov dword [esp + 0x5c], edi
mov edx, dword [eax + 8]
cmp ecx, edx
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
jge 0x420e34
cmp edi, eax
jge 0x420e34
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x9c]
call fcn.00407370
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x1e
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x1f
call fcn.00407390
lea ecx, [esp + 0xf4]
mov byte [esp + 0x218], 0x1e
call fcn.004070e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x218], 4
call fcn.004070e0
jmp 0x420e34
cmp eax, dword [0x490ad0]
jne 0x4229a8
mov ecx, dword [esp + 0x168]
push ecx
mov ecx, dword [esi + 0x10a18]
call fcn.0041c2a0
jmp 0x420e34
cmp eax, 0x12
je 0x422b0d
cmp eax, 0x400
jne 0x4229f3
mov eax, dword [esi + 0x10a4c]
cmp eax, ebx
je 0x420e34
lea edx, [esp + 0x148]
push edx
mov dword [esp + 0x14c], 0x14
call eax
mov eax, dword [esp + 0x150]
mov ecx, dword [esi + 0x10a18]
push eax
call fcn.0041c2a0
jmp 0x420e34
cmp eax, 0x402
jne 0x422a73
mov ecx, dword [esi + 0x10a18]
add ecx, 0xa8
push ecx
lea ecx, [esp + 0x88]
call fcn.00407370
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x20
call fcn.00407200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 0x21
call fcn.00407390
lea ecx, [esp + 0x108]
mov byte [esp + 0x218], 0x20
call fcn.004070e0
lea ecx, [esp + 0x84]
mov byte [esp + 0x218], 4
call fcn.004070e0
jmp 0x420e34
lea ecx, [esp + 0x160]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x420e34
push str.._vncdesktopthread.cpp_:_Shutdown_KillAuthClients_n
push ebx
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 0xc
call edx
push ebp
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422b0d
push str.._vncdesktopthread.cpp_:_Startup_KillAuthClients_n
push 0
push 0x490660
call fcn.00401810
mov ecx, dword [esi + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 0xc
call edx
push ebp
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422b0b
push str.._vncdesktopthread.cpp_:_WaitMessage___failed_n
push 0
push 0x490660
call fcn.00401810
add esp, 0xc
xor ebx, ebx
mov edi, dword [esp + 0x30]
cmp edi, ebx
mov byte [0x490aa0], 1
je 0x422b2c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10a18]
push str.._vncdesktopthread.cpp_:_quitting_desktop_server_thread_n
push 9
push 0x490660
mov dword [eax + 0xdbc4], ebx
call fcn.00401810
mov ecx, dword [esi + 0x10a18]
add esp, 0xc
push ebx
call fcn.0041e680
mov ecx, dword [esi + 0x10a18]
call fcn.0041d630
mov esi, dword [esi + 0x10a1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push ebx
mov ecx, esi
call edx
call fcn.00434d20
mov eax, dword [esp + 0xfc]
push eax
call fcn.00447b80
add esp, 4
push ebx
push str.blackscreen
mov byte [0x490adc], 0
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x422baa
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 3
call fcn.004070e0
mov dword [esp + 0x40], vtable.rfb::ClippedUpdateTracker.0
lea ecx, [esp + 0x48]
mov byte [esp + 0x218], 0x22
call fcn.004070e0
lea ecx, [esp + 0xc4]
mov dword [esp + 0x40], vtable.rfb::UpdateTracker.0
mov dword [esp + 0x218], 0xffffffff
call fcn.00407f70
xor eax, eax
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4