Function at 0x4205c0
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 0x47317d
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a348]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov ebp, ecx
push str.._vncdesktopthread.cpp_:_Hook_changed_1_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
push str.._vncdesktopthread.cpp_:_Hook_changed_2_n
xor ecx, ecx
mov eax, 0x48c4e8
mov dword [esp + 0x108], esi
call fcn.00401000
add esp, 4
call fcn.0041c130
mov edi, dword [sym.imp.USER32.dll_keybd_event]
xor ebx, ebx
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 eax, dword [ebp + 0x10a18]
call fcn.0041bbd0
test eax, eax
jne 0x42067e
call fcn.00449360
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
push ebx
mov ecx, ebp
call edx
jmp 0x422a55
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
push 1
mov ecx, ebp
call edx
mov esi, dword [ebp + 0x10a18]
mov ecx, dword [esi + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
mov edi, ecx
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0xc8]
mov ecx, edi
mov dword [esp + 0x38], eax
call edx
push eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov edx, esi
call fcn.0041e8f0
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xdbe4], 1
mov dword [esp + 0x70], vtable.rfb::SimpleUpdateTracker.0
call fcn.0045bcb0
mov dword [esp + 0x74], eax
call fcn.0045bcb0
mov dword [esp + 0x78], eax
call fcn.0045bcb0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0x218], ebx
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
call fcn.0045bcb0
mov edi, eax
mov dword [edi + 4], ebx
movzx eax, word [esi]
movzx edx, word [esi + 8]
movzx ecx, word [esi + 4]
sub dx, ax
mov word [esp + 0x30], ax
movzx eax, word [esi + 0xc]
sub ax, cx
mov word [esp + 0x32], cx
push edi
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], edi
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], ax
call fcn.0045bd10
add esp, 8
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x220], 1
call fcn.0041f5e0
mov eax, dword [edi + 8]
push eax
call fcn.0045ecd6
add esp, 4
push edi
call fcn.0045ecd6
add esp, 4
mov byte [esp + 0x88], 1
call fcn.0045bcb0
mov dword [esp + 0x14], eax
mov byte [esp + 0x218], 4
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
call fcn.0045bcb0
mov edi, eax
mov dword [edi + 4], ebx
movzx eax, word [esi]
movzx edx, word [esi + 8]
movzx ecx, word [esi + 4]
sub dx, ax
mov word [esp + 0x30], ax
movzx eax, word [esi + 0xc]
sub ax, cx
mov word [esp + 0x32], cx
push edi
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x9c], edi
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], ax
call fcn.0045bd10
mov byte [esp + 0x220], 5
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x164], ebx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x15c], ebx
mov ecx, edi
lea ebx, [esp + 0x15c]
call fcn.0045c7d0
mov byte [esp + 0x220], 4
mov edx, dword [edi + 8]
push edx
call fcn.0045ecd6
add esp, 0xc
push edi
call fcn.0045ecd6
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe1f4]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
add esp, 4
push esi
mov esi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push esi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe0d8]
xor edx, edx
xor esi, esi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
cmp ecx, edx
je 0x4208be
cmp dword [ecx + 8], esi
jne 0x4208ac
mov ecx, 1
mov dword [eax + 0xe10c], ecx
mov dword [eax + 0xe110], ecx
jmp 0x4208be
cmp dword [eax + 0xa0], esi
je 0x4208be
mov dword [eax + 0x3c], 4
mov dword [eax + 0x40], esi
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe0c0], esi
mov ecx, dword [ebp + 0x10a18]
mov dword [ecx + 0xe0c8], esi
mov edx, dword [ebp + 0x10a18]
mov dword [edx + 0xe0c4], esi
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe110], 1
mov ecx, dword [ebp + 0x10a18]
mov dword [ecx + 0xe090], esi
mov edx, dword [ebp + 0x10a18]
mov dword [edx + 0xe10c], esi
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe114], esi
mov ecx, dword [ebp + 0x10a18]
mov ecx, dword [ecx + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x210]
call eax
test eax, eax
setne al
mov byte [ebp + 0x10a50], al
test al, al
jne 0x42094e
mov ecx, dword [ebp + 0x10a18]
cmp dword [ecx + 0xe0d8], esi
je 0x42094e
call fcn.0040d0f0
cmp byte [ebp + 0x10a50], 0
je 0x420983
mov edx, dword [ebp + 0x10a18]
cmp dword [edx + 0xe0d8], esi
je 0x42096a
call fcn.0040d140
cmp byte [ebp + 0x10a50], 0
je 0x420983
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x284]
call edx
push 1
push esi
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp + 0x10a58], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], esi
mov byte [0x4a77cb], 0
mov edi, 1
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x178]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x42253b
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebp + 0x10a58]
mov edx, eax
sub edx, ecx
mov dword [ebp + 0x10a54], eax
cmp edx, 0x21
jae 0x4209f2
sub ecx, eax
add ecx, 0x21
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4209a8
mov dword [ebp + 0x10a58], eax
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe0d8]
cmp ecx, ebx
je 0x420a37
cmp dword [ecx + 8], ebx
jne 0x420a1b
mov dword [eax + 0xe10c], edi
mov dword [eax + 0xe110], edi
jmp 0x420a37
cmp dword [eax + 0xa0], ebx
je 0x420a37
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call eax
mov ecx, dword [ebp + 0x10a18]
mov dword [ecx + 0xe094], ebx
mov eax, dword [ebp + 0x10a18]
mov byte [0x48e046], 0
cmp dword [eax + 0xdbdc], ebx
jne 0x420a75
mov edx, dword [eax + 0xdbd8]
push ebx
push 0x64
push edi
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp + 0x10a18]
mov dword [ecx + 0xdbdc], eax
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe110], ebx
je 0x420ad1
cmp dword [eax + 0xe10c], ebx
jne 0x420ad1
push str.._vncdesktopthread.cpp_:_Hook_changed__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov esi, dword [ebp + 0x10a18]
mov edx, dword [esi + 0xe108]
add esp, 4
push edx
call fcn.0041ece0
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe108], ebx
je 0x420ac5
mov dword [eax + 0xe078], ebx
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe110], ebx
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x220]
call eax
test al, al
jne 0x4214f5
mov ecx, dword [ebp + 0x10a18]
cmp dword [ecx + 0xe090], ebx
jne 0x420b2a
call fcn.00449500
test eax, eax
je 0x420b2a
mov edx, dword [ebp + 0x10a18]
cmp dword [edx + 0xe0c8], ebx
jne 0x420b2a
cmp dword [edx + 0xe10c], ebx
jne 0x420b2a
lea ecx, [edx + 4]
call fcn.00410350
cmp dword [edx + 0xe1fc], eax
je 0x4214f5
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
test eax, eax
jne 0x420b5a
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.._vncdesktopthread.cpp_:_Wait_for_viewer_init__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
mov ecx, dword [ebp + 0x10a18]
cmp dword [ecx + 0xe090], ebx
je 0x420b7c
push str.._vncdesktopthread.cpp_:_Screensize_changed__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
mov edx, dword [ebp + 0x10a18]
cmp dword [edx + 0xe0c8], ebx
je 0x420b9e
push str.._vncdesktopthread.cpp_:_m_SWtoDesktop__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe10c], ebx
je 0x420bc0
push str.._vncdesktopthread.cpp_:_m_hookswitch__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
mov edx, dword [ebp + 0x10a18]
mov eax, dword [edx + 0x28]
lea ecx, [edx + 4]
cmp eax, ebx
jne 0x420bd9
cmp dword [ecx + 0x28], ebx
je 0x420bfc
cmp eax, ebx
je 0x420be2
cmp dword [ecx + 0x28], ebx
je 0x420bfc
cmp eax, ebx
jne 0x420bf2
cmp dword [ecx + 0x28], ebx
je 0x420bee
mov eax, 2
jmp 0x420bfe
cmp eax, ebx
je 0x420bfc
mov eax, 3
cmp dword [ecx + 0x28], ebx
jne 0x420bfe
mov eax, edi
mov edx, dword [edx + 0xe1fc]
cmp edx, eax
je 0x420c23
call fcn.00410350
push eax
push edx
push str.._vncdesktopthread.cpp_:_desktop_switch__i__i__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 0xc
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x220]
call eax
test al, al
jne 0x420c54
call fcn.00449500
test eax, eax
jne 0x420c54
push str.._vncdesktopthread.cpp_:_InputDesktopSelected__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
cmp byte [ebp + 0x10a50], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x420c75
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x284]
call eax
mov edi, dword [ebp + 0x10a18]
add edi, 0xdbf4
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x218], 6
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x280]
call eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0x74]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], ebx
mov edx, dword [ebp + 0x10a18]
mov dword [edx + 0xe080], ebx
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe084], ebx
mov ecx, dword [ebp + 0x10a18]
mov dword [ecx + 0xe088], ebx
mov edx, dword [ebp + 0x10a18]
mov dword [edx + 0xe08c], ebx
mov ecx, dword [ebp + 0x10a18]
mov eax, dword [ecx + 0xe04c]
mov edx, dword [ecx + 0xe050]
mov dword [esp + 0x128], eax
mov eax, dword [ecx + 0xe054]
mov dword [esp + 0x130], eax
mov eax, dword [ecx + 0xe05c]
mov dword [esp + 0x12c], edx
mov edx, dword [ecx + 0xe058]
mov dword [esp + 0x138], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x134], edx
mov edx, dword [ecx + 0xe060]
mov dword [esp + 0x13c], edx
cmp eax, ebx
jne 0x420d54
cmp dword [ecx + 0x2c], ebx
je 0x420d77
cmp eax, ebx
je 0x420d5d
cmp dword [ecx + 0x2c], ebx
je 0x420d77
cmp eax, ebx
jne 0x420d6d
cmp dword [ecx + 0x2c], ebx
je 0x420d69
mov eax, 2
jmp 0x420d7c
cmp eax, ebx
je 0x420d77
mov eax, 3
cmp dword [ecx + 0x2c], ebx
jne 0x420d7c
mov eax, 1
cmp dword [ecx + 0xe1fc], eax
je 0x420e2e
call fcn.0043a080
mov edx, dword [ebp + 0x10a18]
lea ecx, [edx + 4]
call fcn.00410350
mov dword [edx + 0xe1fc], eax
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe1f8]
mov ebx, 1
mov dword [eax + 0xe1f8], ebx
mov eax, dword [ebp + 0x10a18]
mov ecx, 2
cmp dword [eax + 0xe1fc], ecx
jne 0x420dd9
cmp dword [eax + 0xe1f4], ebx
jle 0x420dd9
mov dword [eax + 0xe1f8], ecx
mov eax, dword [ebp + 0x10a18]
mov ecx, 3
cmp dword [eax + 0xe1fc], ecx
jne 0x420dfa
cmp dword [eax + 0xe1f4], ebx
jle 0x420dfa
mov dword [eax + 0xe1f8], ecx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
push ecx
push esi
push str.._vncdesktopthread.cpp_:_OLd_Current_mon__i__i__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov edx, dword [ebp + 0x10a18]
add esp, 0xc
cmp esi, dword [edx + 0xe1f8]
je 0x420e2e
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x220]
call edx
test al, al
jne 0x420f92
mov eax, dword [ebp + 0x10a18]
xor ebx, ebx
cmp dword [eax + 0xe090], ebx
jne 0x420e83
call fcn.00449500
test eax, eax
je 0x420e83
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe10c], ebx
jne 0x420e83
cmp dword [esp + 0x1c], ebx
je 0x420f92
cmp dword [eax + 0xe0d8], ebx
jne 0x420f92
push str.._vncdesktopthread.cpp_:_m_desktop__Shutdown
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov esi, dword [ebp + 0x10a18]
add esp, 4
mov dword [esp + 0x1c], ebx
call fcn.0041beb0
test eax, eax
mov eax, 0x48c4e8
je 0x4227bb
mov ecx, dword [ebp + 0x10a18]
cmp dword [ecx + 0xa0], 0
push str.._vncdesktopthread.cpp_:_m_desktop__Startup
setne bl
xor ecx, ecx
call fcn.00401000
mov eax, dword [ebp + 0x10a18]
add esp, 4
call fcn.0041bbd0
test eax, eax
je 0x4227e8
mov edx, dword [ebp + 0x10a18]
cmp dword [edx + 0xe0d8], 0
je 0x420f09
cmp byte [ebp + 0x10a50], 0
jne 0x420f04
call fcn.0040d0f0
jmp 0x420f09
call fcn.0040d140
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe1f4]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push esi
mov esi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push esi
push eax
call edx
test bl, bl
je 0x420f64
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe0d8], 0
jne 0x420f64
push str.._vncdesktopthread.cpp_:_m_videodriver__NULL__n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov edx, dword [ebp + 0x10a18]
add esp, 4
push 1
xor ecx, ecx
call fcn.0041e8f0
mov esi, dword [esp + 0x40]
mov byte [0x4a77cb], 1
test esi, esi
je 0x420f92
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x4a77cb], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x10a18]
movzx ecx, word [eax + 0xe04c]
cmp cx, word [esp + 0x128]
jne 0x420fc3
mov dx, word [eax + 0xe04e]
cmp dx, word [esp + 0x12a]
jne 0x420fc3
cmp dword [eax + 0xe0c8], 1
jne 0x420ff6
movzx edx, byte [eax + 0xe050]
movzx eax, word [eax + 0xe04e]
push edx
movzx ecx, cx
push eax
push ecx
push str.._vncdesktopthread.cpp_:_SCR:_new_screen_format__dx_dx_d_n
mov ecx, 9
mov eax, 0x48c4e8
mov dword [esp + 0x28], 1
call fcn.00401000
add esp, 0x10
mov edx, dword [ebp + 0x10a18]
xor ecx, ecx
mov dword [edx + 0xe090], ecx
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe10c], ecx
mov eax, dword [ebp + 0x10a18]
mov edx, dword [eax + 0xe108]
mov dword [eax + 0xe110], edx
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe0c8], ecx
cmp dword [esp + 0x18], ecx
je 0x421121
push str.._vncdesktopthread.cpp_:_Size_changed_n
mov eax, 0x48c4e8
call fcn.00401000
mov eax, dword [ebp + 0x10a18]
add esp, 4
call fcn.0041f390
mov eax, dword [ebp + 0x10a18]
lea ebx, [esp + 0x1dc]
call fcn.0041f480
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [esp + 0x68]
sub ecx, dword [eax + 0x6c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x68], ecx
sub edx, dword [eax + 0x70]
push 0xe
mov dword [esp + 0x70], edx
mov dword [eax + 0xe080], ecx
mov dword [eax + 0xe084], edx
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xd
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea edx, [eax + esi]
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xe088], edx
lea ecx, [edi + ebx]
mov dword [eax + 0xe08c], ecx
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe0d0]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0cc]
mov edx, dword [edx + 0x80]
push esi
push eax
call edx
mov esi, dword [ebp + 0x10a18]
push ecx
add esi, 0xa8
mov edi, esp
mov dword [esp + 0x40], esp
call fcn.00406950
lea ecx, [esp + 0x60]
call fcn.0041f690
mov ebx, dword [ebp + 0x10a18]
add ebx, 4
call fcn.004100c0
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
je 0x421332
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe150]
sub edx, dword [eax + 0xe1ec]
mov dword [eax + 0xe0cc], edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe154]
sub edx, dword [eax + 0xe1f0]
mov dword [eax + 0xe0d0], edx
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe0d0]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0cc]
mov edx, dword [edx + 0x80]
push esi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe150]
sub edx, dword [eax + 0xe1ec]
mov dword [eax + 0xa8], edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe154]
sub edx, dword [eax + 0xe1f0]
mov dword [eax + 0xac], edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe150]
sub edx, dword [eax + 0xe1ec]
add ecx, eax
add edx, dword [ecx + 0xe124]
mov dword [eax + 0xb0], edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe1f8]
imul ecx, ecx, 0x34
mov edx, dword [ecx + eax + 0xe154]
sub edx, dword [eax + 0xe1f0]
add ecx, eax
add edx, dword [ecx + 0xe128]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp + 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 + 0xe0d0]
push edx
mov edx, dword [eax + 0xe0cc]
push ecx
push edx
push str.._vncdesktopthread.cpp_:___i__i__i__i__i__i_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov esi, dword [ebp + 0x10a18]
add esp, 0x1c
add esi, 0xa8
lea edi, [esp + 0xe8]
call fcn.00406950
push eax
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 7
call fcn.00406a80
mov byte [esp + 0x218], 8
mov edx, eax
lea esi, [esp + 0x14]
call fcn.004069c0
mov eax, dword [esp + 0x110]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 6
mov eax, dword [esp + 0xec]
mov esi, eax
mov eax, dword [eax + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
mov edi, esp
mov dword [esp + 0x40], esp
call fcn.00406950
lea ecx, [esp + 0x60]
call fcn.0041f690
mov ebx, dword [ebp + 0x10a18]
add ebx, 4
call fcn.004100c0
mov esi, dword [ebp + 0x10a18]
add esi, 4
call fcn.00410200
mov ebx, dword [ebp + 0x10a18]
add ebx, 4
call fcn.004100c0
mov esi, dword [ebp + 0x10a18]
add esi, 4
call fcn.00410200
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
lea edi, [esp + 0x10c]
call fcn.00406950
push eax
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x224], 9
call fcn.00406a80
mov ecx, eax
mov byte [esp + 0x218], 0xa
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x44]
call fcn.0045c7d0
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 8]
push ecx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0x110]
mov edx, dword [eax + 8]
add esp, 4
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 4
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp + 0x10a18]
lea eax, [esp + 0x12c]
mov esi, eax
sub edx, esi
mov ecx, 0x10
add edx, 0xe050
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x421438
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x421424
jmp 0x42146c
push str.._vncdesktopthread.cpp_:_Format_changed_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa0]
add esp, 4
call eax
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa4]
call eax
cmp dword [esp + 0x18], 0
je 0x4214bd
mov eax, dword [ebp + 0x10a18]
movzx esi, word [eax + 0xe04e]
mov ecx, dword [ebp + 0x10a1c]
movzx eax, word [eax + 0xe04c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push 0
push esi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe1f4]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push esi
mov esi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push esi
push eax
call edx
cmp dword [esp + 0x1c], 0
je 0x4214f3
mov eax, dword [ebp + 0x10a18]
mov edx, dword [eax + 0xe1f8]
mov ecx, dword [ebp + 0x10a1c]
imul edx, edx, 0x34
mov esi, dword [eax + edx + 0xe128]
add eax, edx
mov edx, dword [ecx]
mov eax, dword [eax + 0xe124]
mov edx, dword [edx + 0x7c]
push 1
push esi
push eax
call edx
xor ebx, ebx
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x68]
mov byte [esp + 0x2b], 0
call edx
test eax, eax
je 0x4217c6
mov esi, dword [ebp + 0x10a18]
add esi, 0xdbf4
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x218], 0xb
mov eax, dword [ebp + 0x10a18]
lea ebx, [esp + 0x1fc]
call fcn.0041f480
mov eax, dword [ebp + 0x10a18]
mov edi, dword [eax + 0xe0d0]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0cc]
mov edx, dword [edx + 0x80]
push edi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
xor ebx, ebx
cmp dword [eax + 0xe0c0], ebx
je 0x42169d
mov dword [eax + 0xe0c0], ebx
mov eax, dword [ebp + 0x10a18]
lea ebx, [esp + 0x1ec]
mov byte [esp + 0x2b], 1
call fcn.0041f480
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
lea edi, [esp + 0x108]
call fcn.00406950
push eax
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0xc
call fcn.00406a80
mov ecx, eax
mov byte [esp + 0x218], 0xd
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [edx + 4], eax
mov ecx, dword [ecx]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x44]
call fcn.0045c7d0
mov eax, dword [esp + 0x100]
mov esi, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 0xb
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 8]
add esp, 4
push ecx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
mov edi, esp
mov dword [esp + 0x40], esp
call fcn.00406950
lea ecx, [esp + 0x60]
call fcn.0041f690
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe0d0]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0cc]
mov edx, dword [edx + 0x80]
push esi
push eax
call edx
mov ebx, dword [ebp + 0x10a18]
add ebx, 4
call fcn.004100c0
mov esi, dword [ebp + 0x10a18]
add esi, 4
call fcn.00410200
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xe0c4], ebx
je 0x4217b5
mov dword [eax + 0xe0c4], ebx
mov esi, dword [ebp + 0x10a18]
push ecx
add esi, 0xa8
mov edi, esp
mov dword [esp + 0x40], esp
call fcn.00406950
lea ecx, [esp + 0x60]
call fcn.0041f690
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe0d0]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0cc]
mov edx, dword [edx + 0x80]
push esi
push eax
call edx
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
lea edi, [esp + 0xe4]
call fcn.00406950
push eax
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0xe
call fcn.00406a80
mov ecx, eax
mov byte [esp + 0x218], 0xf
mov edx, dword [esp + 0x14]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x44]
call fcn.0045c7d0
mov eax, dword [esp + 0xe0]
mov esi, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 8]
add esp, 4
push ecx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov ebx, dword [ebp + 0x10a18]
add esp, 4
add ebx, 4
call fcn.004100c0
mov esi, dword [ebp + 0x10a18]
add esi, 4
call fcn.00410200
mov esi, dword [esp + 0x18]
push esi
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
test eax, eax
je 0x421825
cmp byte [esp + 0x2b], 0
je 0x421825
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe0b8]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [eax + 0xe0bc]
mov edx, dword [edx + 0x7c]
push ebx
push esi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
mov esi, dword [eax + 0xe1f4]
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push esi
mov esi, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push esi
push eax
call edx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x21c]
call eax
mov ecx, dword [ebp + 0x10a18]
mov byte [ecx + 0xa4], al
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
call edx
test eax, eax
je 0x4224e2
lea eax, [esp + 0x140]
xor edi, edi
push eax
xor ebx, ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x421914
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x144]
cmp eax, dword [esp + 0xa4]
jne 0x4218a0
cmp ecx, dword [esp + 0xa8]
je 0x421914
mov dword [esp + 0xa8], ecx
mov ecx, dword [ebp + 0x10a18]
mov ecx, dword [ecx + 0xdbd0]
mov edx, dword [ecx]
mov dword [esp + 0xa4], eax
mov eax, dword [edx + 0x98]
mov edi, 1
mov dword [esp + 0x1c], edi
call eax
mov eax, dword [ebp + 0x10a4c]
cmp eax, ebx
je 0x421914
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x14
call eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10a18]
cmp ecx, ebx
jne 0x421902
mov edx, dword [eax + 0xe07c]
mov dword [eax + 0xe074], edx
jmp 0x421914
mov edx, dword [eax + 0xe074]
mov dword [eax + 0xe078], edx
mov dword [eax + 0xe074], ecx
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xa0], ebx
jne 0x421d76
cmp dword [eax + 0xe12c], ebx
je 0x421969
cmp dword [ebp + 0x10a14], ebx
je 0x421969
cmp dword [esp + 0x40], ebx
jne 0x421957
lea eax, [esp + 0x150]
push eax
push ebx
push ebp
push 0x40d510
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10a14]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebp
call fcn.0040d5b0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
cmp edi, ebx
je 0x42197b
mov dword [ebp + 0x10a60], esi
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x224]
call edx
mov ecx, dword [ebp + 0x10a18]
neg eax
sbb eax, eax
and eax, 4
add eax, 4
add ecx, 4
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], ebx
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb8]
call eax
test eax, eax
je 0x421a8d
mov eax, esi
sub eax, dword [ebp + 0x10a60]
cmp eax, 0x64
jbe 0x421a8d
mov dword [ebp + 0x10a5c], esi
cmp eax, 0x96
jbe 0x421a8d
mov edi, dword [esp + 0x58]
mov eax, dword [ebp + 0x10a18]
inc edi
lea esi, [esp + 0x154]
mov dword [esp + 0x58], edi
call fcn.0041f3e0
mov edx, dword [ebp + 0x10a18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0041ac30
cmp edi, 0x14
jle 0x421a89
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
lea edi, [esp + 0xa0]
call fcn.00406950
mov eax, edi
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x224], 0x10
call fcn.00406a80
mov edx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x218], 0x11
call fcn.004069c0
lea eax, [esp + 0xec]
call fcn.004069a0
mov eax, edi
mov byte [esp + 0x218], 4
call fcn.004069a0
mov dword [esp + 0x58], 0
xor ebx, ebx
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb0]
call eax
test eax, eax
je 0x421abf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
je 0x421abf
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
mov ecx, ebp
call fcn.004203b0
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
test eax, eax
je 0x421b13
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x421b13
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x148]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, ebx
je 0x421b13
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
mov ecx, ebp
call fcn.004203b0
cmp edi, ebx
je 0x421c85
mov ecx, dword [ebp + 0x10a18]
cmp dword [ecx + 0xa0], 0
jne 0x421c85
mov edx, dword [ecx + 0xe080]
cmp edx, dword [ecx + 0xe088]
jge 0x421c85
mov eax, dword [ecx + 0xe084]
cmp eax, dword [ecx + 0xe08c]
jge 0x421c85
mov esi, dword [ecx + 0xdc18]
xor eax, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov eax, edx
mov edx, dword [ecx + 0xe088]
sub edx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0xe08c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xe084]
sub edx, eax
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0xdc10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
sub esi, edx
sub ecx, eax
push esi
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esp + 0x30]
lea edi, [esp + 0x3c]
call fcn.0041f750
add esp, 0x10
test al, al
je 0x421c85
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x24]
add ecx, eax
lea esi, [esp + 0xcc]
lea edi, [esp + 0x98]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], ecx
call fcn.00406950
mov edx, edi
push edx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0x12
call fcn.00406a80
mov edx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x218], 0x13
call fcn.004069c0
mov eax, dword [esp + 0xf4]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov esi, dword [esp + 0x9c]
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
add esp, 4
mov eax, dword [ebp + 0x10a18]
add eax, 0xdbf4
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x218], 0x14
mov ecx, dword [ebp + 0x10a18]
xor ebx, ebx
cmp dword [ecx + 0xa0], ebx
jne 0x421cd4
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
test eax, eax
jne 0x421cd4
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x10a18]
call fcn.0041d850
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe0d8]
cmp ecx, ebx
je 0x421cfe
cmp dword [ecx + 8], ebx
jne 0x421dbd
mov ecx, 1
mov dword [eax + 0xe10c], ecx
mov dword [eax + 0xe110], ecx
mov ecx, dword [ebp + 0x10a18]
push ebx
lea eax, [esp + 0x18]
push eax
add ecx, 4
push ecx
call fcn.0040f1d0
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x210]
call edx
xor ecx, ecx
cmp byte [ebp + 0x10a50], cl
sete cl
cmp ecx, eax
jne 0x421dde
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x210]
call edx
mov ecx, dword [ebp + 0x10a18]
test eax, eax
setne al
mov byte [ebp + 0x10a50], al
cmp dword [ecx + 0xe0d8], ebx
je 0x421dde
test al, al
jne 0x421dd9
call fcn.0040d0f0
jmp 0x421dde
mov ecx, dword [eax + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x224]
call eax
mov ecx, dword [ebp + 0x10a18]
cmp edi, ebx
je 0x421da5
neg eax
sbb eax, eax
neg eax
inc eax
add ecx, 4
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], ebx
jmp 0x421b13
neg eax
sbb eax, eax
and eax, 2
add eax, 2
add ecx, 4
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], ebx
jmp 0x421c85
cmp dword [eax + 0xa0], ebx
je 0x421cfe
push 1
lea edx, [esp + 0x18]
push edx
add eax, 4
push eax
jmp 0x421d0e
call fcn.0040d140
mov edx, dword [ebp + 0x10a18]
mov ecx, dword [edx + 0xdbd0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x210]
call edx
test eax, eax
je 0x421fd1
mov eax, dword [ebp + 0x10a18]
cmp byte [eax + 0xa4], 0
jne 0x421fd1
mov ecx, dword [eax + 0xe074]
cmp ecx, dword [eax + 0xe078]
jne 0x421e2b
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x5c], ebx
cmp ecx, ebx
je 0x4221ce
mov eax, dword [ebp + 0x10a18]
mov edx, dword [eax + 0xe074]
mov dword [eax + 0xe078], edx
mov eax, dword [ebp + 0x10a18]
add eax, 4
mov dword [eax + 0x40], 1
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xa0], ebx
jne 0x421e63
lea edi, [eax + 4]
call fcn.00410250
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
call eax
mov ecx, dword [ebp + 0x10a18]
mov eax, dword [ecx + 0xe080]
mov edx, dword [ecx + 0xe088]
mov esi, dword [ecx + 0xdc18]
sub edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0xe08c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xe084]
sub edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0xdc10]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
sub esi, edx
sub ecx, eax
push esi
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
push ecx
lea ebx, [esp + 0x28]
lea edi, [esp + 0x34]
call fcn.0041f750
add esp, 0x10
test al, al
je 0x421fbc
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x2c]
add ecx, eax
lea esi, [esp + 0xbc]
lea edi, [esp + 0x90]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], ecx
call fcn.00406950
mov edx, edi
push edx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0x15
call fcn.00406a80
mov edx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x218], 0x16
call fcn.004069c0
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 0x14
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
add esp, 4
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x284]
call eax
jmp 0x4221cc
mov eax, dword [ebp + 0x10a18]
cmp dword [eax + 0xa0], ebx
jne 0x4221ce
lea edi, [eax + 4]
call fcn.00410250
cmp dword [esp + 0x1c], ebx
je 0x4221ce
mov ecx, dword [ebp + 0x10a18]
mov ecx, dword [ecx + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x98]
call eax
mov ecx, dword [ebp + 0x10a18]
mov edx, dword [ecx + 0xe080]
cmp edx, dword [ecx + 0xe088]
jge 0x4221ce
mov eax, dword [ecx + 0xe084]
cmp eax, dword [ecx + 0xe08c]
jge 0x4221ce
mov esi, dword [ecx + 0xdc18]
mov eax, edx
mov edx, dword [ecx + 0xe088]
sub edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0xe08c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xe084]
sub edx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0xdc10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xdc0c]
mov ecx, dword [ecx + 0xdc14]
sub esi, edx
sub ecx, eax
push esi
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
push ecx
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x34]
call fcn.0041f750
add esp, 0x10
test al, al
je 0x4221cc
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add edx, ebx
add ecx, eax
lea esi, [esp + 0xac]
lea edi, [esp + 0x8c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], ecx
call fcn.00406950
mov edx, edi
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0x17
call fcn.00406a80
mov edx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x218], 0x18
call fcn.004069c0
mov eax, dword [esp + 0xdc]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov esi, dword [esp + 0x90]
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe084]
mov edx, dword [eax + 0xe080]
add esp, 4
push ecx
mov ecx, dword [eax + 0xe08c]
push edx
mov edx, dword [eax + 0xe088]
push ecx
push edx
push str.._vncdesktopthread.cpp_:_8__i__i__i__i__n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
add esp, 0x14
push eax
push ebx
push ecx
push edx
push str.._vncdesktopthread.cpp_:_8__i__i__i__i__n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
add esp, 0x14
xor ebx, ebx
call fcn.0045bcb0
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.0045bcb0
mov dword [esp + 0x1c], eax
call fcn.0045bcb0
mov dword [esp + 0x18], eax
mov byte [esp + 0x218], 0x1b
mov eax, dword [esp + 0x7c]
cmp dword [eax + 4], ebx
je 0x4222f4
lea ecx, [esp + 0x184]
push ecx
call fcn.00418220
lea edx, [esp + 0x184]
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x21c], 0x1c
call fcn.00408130
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1a8]
mov edx, eax
sub edx, ecx
test edx, 0xfffffff0
je 0x4222df
mov dword [esp + 0x24], ecx
cmp ecx, eax
jbe 0x42225f
call fcn.0045e4f1
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1a8]
mov edi, dword [esp + 0x19c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
cmp ecx, eax
jbe 0x42227f
call fcn.0045e4f1
cmp edi, ebx
je 0x42228c
cmp edi, dword [esp + 0x19c]
je 0x422291
call fcn.0045e4f1
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x34], eax
je 0x4222df
lea esi, [esp + 0x30]
call fcn.00406d20
mov edi, dword [ebp + 0x10a18]
add edi, 4
lea ecx, [esp + 0x1b4]
call fcn.0040ff60
lea edi, [esp + 0x1d4]
call fcn.00406d50
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1a8]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
xor ebx, ebx
jmp 0x422272
lea ecx, [esp + 0x184]
push ecx
mov byte [esp + 0x21c], 0x1b
call fcn.00418290
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00406b10
mov ecx, eax
mov byte [esp + 0x218], 0x1d
mov dword [esi + 4], ebx
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov eax, esi
lea ebx, [esp + 0x44]
call fcn.0045c7d0
mov byte [esp + 0x218], 0x1b
mov eax, dword [esp + 0xf8]
mov edx, dword [eax + 8]
push edx
mov edi, eax
call fcn.0045ecd6
add esp, 4
push edi
call fcn.0045ecd6
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add esp, 4
lea ebx, [esp + 0x44]
call fcn.0045c7d0
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x4223a5
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebp + 0x10a18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
add edx, 4
push edx
call fcn.0040f740
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
call fcn.00407330
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x60]
call fcn.004073b0
mov ecx, dword [ebp + 0x10a1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
call eax
push eax
lea ecx, [esp + 0x74]
call fcn.004082c0
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 8]
push ecx
call fcn.0045ecd6
add esp, 4
push edi
call fcn.0045ecd6
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 8]
add esp, 4
push edx
call fcn.0045ecd6
add esp, 4
push edi
call fcn.0045ecd6
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 4
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x74]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], ebx
mov edx, dword [ebp + 0x10a18]
cmp dword [edx + 0xe0fc], ebx
je 0x4224e2
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x27c]
call edx
test eax, eax
je 0x422498
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xe0d8]
test ecx, ecx
je 0x4224e2
cmp dword [ecx + 8], ebx
jne 0x422498
mov ecx, 1
mov dword [eax + 0xe10c], ecx
mov dword [eax + 0xe110], ecx
jmp 0x4224e2
cmp dword [0x48b140], 2
je 0x4224ce
push 0
push 0
push 1
push 0x56
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp + 0x10a18]
mov ecx, dword [eax + 0xdbd8]
push 2
push 0xf170
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x10a18]
mov eax, dword [edx + 0xe13c]
test eax, eax
je 0x4224e2
push 1
call eax
mov eax, dword [0x48e048]
cmp eax, dword [0x48e040]
je 0x422522
call dword [sym.imp.USER32.dll_WaitMessage]
xor ecx, ecx
test eax, eax
mov eax, 0x48c4e8
je 0x42281a
push str.._vncdesktopthread.cpp_:_WaitMessage___n
call fcn.00401000
mov ecx, dword [0x48e040]
add esp, 4
mov dword [0x48e048], ecx
jmp 0x4209a8
push str.._vncdesktopthread.cpp_:_WaitMessage___skip_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
jmp 0x4209a8
mov eax, dword [esp + 0x16c]
cmp eax, dword [0x4a7840]
jne 0x422684
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov edx, eax
shr edx, 0x10
movsx edi, dx
mov edx, ecx
shr edx, 0x10
movsx edx, dx
cwde
movsx ecx, cx
mov ebx, edx
mov edx, dword [ebp + 0x10a18]
mov esi, dword [edx + 0x6c]
mov dword [esp + 0x118], eax
sub eax, esi
mov dword [esp + 0x120], ecx
sub ecx, esi
mov esi, dword [edx + 0x70]
sub edi, esi
sub ebx, esi
mov esi, dword [edx + 0xa8]
cmp eax, esi
jle 0x4225a0
mov esi, eax
mov eax, dword [edx + 0xac]
cmp edi, eax
jg 0x4225ac
mov edi, eax
mov eax, dword [edx + 0xb0]
cmp ecx, eax
jl 0x4225b8
mov ecx, eax
mov edx, dword [edx + 0xb4]
cmp ebx, edx
jl 0x4225c4
mov ebx, edx
cmp esi, ecx
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], ebx
jge 0x4209a8
cmp edi, ebx
jge 0x4209a8
lea esi, [esp + 0x118]
lea edi, [esp + 0x9c]
call fcn.00406950
mov eax, edi
push eax
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x224], 0x1e
call fcn.00406a80
mov ecx, eax
mov byte [esp + 0x218], 0x1f
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [edx + 4], eax
mov ecx, dword [ecx]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x44]
call fcn.0045c7d0
mov eax, dword [esp + 0xfc]
mov esi, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 4
mov esi, dword [esp + 0xa0]
mov ecx, dword [esi + 8]
add esp, 4
push ecx
jmp 0x422784
cmp eax, dword [0x4a7844]
jne 0x4226c5
mov ecx, dword [esp + 0x170]
mov eax, dword [ebp + 0x10a18]
cmp ecx, ebx
jne 0x4226ae
mov edx, dword [eax + 0xe07c]
mov dword [eax + 0xe074], edx
jmp 0x4209a8
mov edx, dword [eax + 0xe074]
mov dword [eax + 0xe078], edx
mov dword [eax + 0xe074], ecx
jmp 0x4209a8
cmp eax, 0x12
je 0x422829
cmp eax, 0x400
jne 0x422706
mov eax, dword [ebp + 0x10a4c]
cmp eax, ebx
je 0x4209a8
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x14
call eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10a18]
call fcn.0041d690
jmp 0x4209a8
cmp eax, 0x402
jne 0x42279a
mov esi, dword [ebp + 0x10a18]
add esi, 0xa8
lea edi, [esp + 0x38]
call fcn.00406950
mov edx, edi
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x224], 0x20
call fcn.00406a80
mov edx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x218], 0x21
call fcn.004069c0
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 8]
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov byte [esp + 0x21c], 4
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
add esp, 4
jmp 0x4209a8
lea ecx, [esp + 0x168]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x168]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4209a8
push str.._vncdesktopthread.cpp_:_Shutdown_KillAuthClients_n
xor ecx, ecx
call fcn.00401000
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 4
call edx
push edi
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422829
push str.._vncdesktopthread.cpp_:_Startup_KillAuthClients_n
xor ecx, ecx
mov eax, 0x48c4e8
call fcn.00401000
mov ecx, dword [ebp + 0x10a1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 4
call edx
push edi
mov byte [esp + 0x21c], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x422827
push str.._vncdesktopthread.cpp_:_WaitMessage___failed_n
call fcn.00401000
add esp, 4
xor ebx, ebx
mov esi, dword [esp + 0x40]
mov byte [0x4a77cb], 1
cmp esi, ebx
je 0x422848
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10a18]
mov dword [eax + 0xdbe4], 0
push str.._vncdesktopthread.cpp_:_quitting_desktop_server_thread_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
mov edi, dword [ebp + 0x10a18]
add esp, 4
xor bl, bl
mov esi, edi
call fcn.0041e170
push str.enabled
push str.._vncdesktop.cpp_:_SetDisableInput:_inputs__s_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
mov eax, dword [0x48b140]
add esp, 8
cmp eax, 1
je 0x4228c7
cmp eax, 2
je 0x4228c7
mov ecx, dword [edi + 0xdbd0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x11c]
push 0
call eax
mov dword [edi + 0xe108], 1
jmp 0x42290c
mov eax, dword [edi + 0xe13c]
test eax, eax
je 0x42290c
push 0
call eax
test eax, eax
jne 0x4228f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.._vncdesktop.cpp_:_BlockInput_failed:__Last_error__08X_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xe13c]
push 0
call ecx
mov esi, dword [edi + 0xdbd0]
push 1
call fcn.00448890
mov byte [edi + 0xe200], 0
mov esi, dword [ebp + 0x10a18]
call fcn.0041beb0
mov ebp, dword [ebp + 0x10a1c]
mov edx, dword [ebp]
mov eax, dword [edx + 0x6c]
push 0
mov ecx, ebp
call eax
cmp dword [0x4a2188], 2
jne 0x42296d
mov bl, 0xa0
call fcn.00435f40
mov bl, 0xa2
call fcn.00435f40
mov bl, 0xa4
call fcn.00435f40
mov bl, 0xa1
call fcn.00435f40
mov bl, 0xa3
call fcn.00435f40
mov bl, 0xa5
jmp 0x42297d
mov bl, 0x10
call fcn.00435f40
mov bl, 0x11
call fcn.00435f40
mov bl, 0x12
call fcn.00435f40
mov esi, dword [esp + 0x104]
call fcn.00449360
push 0
push str.blackscreen
mov byte [0x48e045], 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4229b3
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], vtable.rfb::ClippedUpdateTracker.0
mov edx, dword [eax + 8]
add esp, 4
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], vtable.rfb::UpdateTracker.0
mov dword [esp + 0x74], vtable.rfb::SimpleUpdateTracker.0
mov esi, eax
mov eax, dword [eax + 8]
add esp, 4
push eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
add esp, 4
push ecx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 8]
add esp, 4
push edx
mov esi, eax
call fcn.0045ecd6
add esp, 4
push esi
call fcn.0045ecd6
add esp, 4
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