Function at 0x44ea70
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3bc
mov eax, dword [0x5d7008]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow_called_n
push 0
push 0x5d7d48
mov esi, ecx
call fcn.0041c960
add esp, 0xc
push 0x400001cf
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov ebx, eax
mov ecx, str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow:OpenInputdesktop_Error__n
mov eax, str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow:OpenInputdesktop_OK_n
mov dword [esp + 0x5c], ebx
test ebx, ebx
cmovne ecx, eax
push ecx
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov edi, eax
lea eax, [esp + 0x90]
push eax
push 0x100
lea eax, [esp + 0x2c8]
mov dword [esp + 0x5c], edi
push eax
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
jne 0x44eb1f
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow:_GetUserObjectInformation__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push edi
push ebx
lea eax, [esp + 0x2c8]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow:SelectHDESK_to__s___x__from__x_n
push 0
push 0x5d7d48
call fcn.0041c960
mov eax, dword [sym.imp.USER32.dll_SetThreadDesktop]
add esp, 0x18
mov dword [esp + 0x58], eax
push ebx
call eax
test eax, eax
jne 0x44eb60
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_InitWindow:SelectHDESK:_SetThreadDesktop__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ChangeWindowMessageFilter
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x44ebac
push 1
push dword [0x5e8cf4]
call ebx
push 1
push dword [0x5e8cec]
call ebx
push 1
push dword [0x5e8cf0]
call ebx
push 1
push 0x12
call ebx
push 1
push 0x8008
call ebx
cmp word [0x5d9e84], 0
jne 0x44ec7b
mov eax, dword [0x5e7ca0]
push 0
mov dword [esp + 0x64], 0x30
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x44de50
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x585b10
mov dword [esp + 0x90], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov word [0x5d9e84], ax
test ax, ax
jne 0x44ec7b
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_failed_to_register_window_class_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push dword [esi + 0xe394]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push 0
push dword [0x5e7ca0]
push 0
push 0
push 0xc8
push 0x190
push bind
push bind
push 0xcf0000
push 0x5bf9fc
push 0x585b10
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xe400], eax
test eax, eax
jne 0x44ecc3
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_failed_to_create_hook_window_n
jmp 0x44ec49
push 0
push 0x3e8
push 0x3e9
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push esi
push 0xffffffffffffffeb
push dword [esi + 0xe400]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [esi + 0xe400]
mov byte [esi + 0xe408], 1
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_load_hookdlls_n
push 0
push 0x5d7d48
mov dword [esi + 0xe404], eax
mov byte [esi + 0xe408], 0
call fcn.0041c960
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0xbc]
add esp, 0xc
mov dword [esi + 0xe900], 0
push 0x104
push eax
push 0
call ebx
test eax, eax
je 0x44ed75
lea eax, [esp + 0xb0]
push 0x5c
push eax
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x44ec64
push str._vnchooks.dll
mov byte [eax], 0
lea eax, [esp + 0xb4]
push 0x104
push eax
call fcn.0054184f
add esp, 0xc
push 0x104
lea eax, [esp + 0x1bc]
mov dword [esi + 0xe904], 0
push eax
push 0
call ebx
test eax, eax
je 0x44edcb
lea eax, [esp + 0x1b8]
push 0x5c
push eax
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x44ec64
push str._schook_legacy.dll
mov byte [eax], 0
lea eax, [esp + 0x1bc]
push 0x104
push eax
call fcn.0054184f
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0xb0]
push eax
mov dword [esi + 0xe90c], 0
mov dword [esi + 0xe91c], 0
mov dword [esi + 0xe918], 0
mov dword [esi + 0xe924], 0
mov dword [esi + 0xe920], 0
mov dword [esi + 0xe908], 0
mov dword [esi + 0xe914], 0
mov dword [esi + 0xe910], 0
call ebx
mov dword [esi + 0xe900], eax
lea eax, [esp + 0x1b8]
push eax
call ebx
mov dword [esi + 0xe904], eax
mov eax, dword [esi + 0xe900]
test eax, eax
je 0x44ee92
push str.UnSetHooks
push eax
call edi
push str.SetMouseFilterHook
push dword [esi + 0xe900]
mov dword [esi + 0xe90c], eax
call edi
push str.SetKeyboardFilterHook
push dword [esi + 0xe900]
mov dword [esi + 0xe91c], eax
call edi
push str.SetHooks
push dword [esi + 0xe900]
mov dword [esi + 0xe918], eax
call edi
mov dword [esi + 0xe908], eax
mov eax, dword [esi + 0xe904]
test eax, eax
je 0x44eee3
push str.UnSetHook
push eax
call edi
push str.SetHook
push dword [esi + 0xe904]
mov dword [esi + 0xe914], eax
call edi
push str.SetMouseFilterHook
push dword [esi + 0xe904]
mov dword [esi + 0xe910], eax
call edi
push str.SetKeyboardFilterHook
push dword [esi + 0xe904]
mov dword [esi + 0xe924], eax
call edi
mov dword [esi + 0xe920], eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_start_dispatch_n
push 0
push 0x5d7d48
call fcn.0041c960
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
add esp, 0xc
mov dword [esp + 0x18], ebx
push dword [esi + 0xe394]
call ebx
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_WaitMessage]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x4c], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], eax
jmp 0x44ef5d
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push 1
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call ecx
test eax, eax
je 0x44f1c2
mov eax, dword [esp + 0x98]
cmp eax, 0x12
je 0x44f1ef
cmp byte [0x5d9e87], 0
jne 0x44f1ef
cmp eax, 0x8008
je 0x44f1cd
cmp eax, dword [0x5e8cf4]
jne 0x44f123
push str.vnchook
push 0x10
push 0x5da288
call fcn.005417f5
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp byte [esi + 0xe938], 0
je 0x44ef5d
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_RFB_SCREEN_UPDATE___n
push 0
push 0x5d7d48
call fcn.0041c960
mov eax, dword [esp + 0xa8]
add esp, 0xc
movsx edi, ax
shr eax, 0x10
movsx ebx, ax
mov eax, dword [esp + 0xa0]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi + 0x858]
sub ecx, eax
sub edi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x85c]
sub ebx, eax
sub edx, eax
mov dword [esp + 0x28], edi
push edx
push ebx
push ecx
push edi
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_REct3__i__i__i__i___n
push 0
push 0x5d7d48
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
call fcn.0041c960
lea edx, [esi + 0x894]
add esp, 0x1c
cmp edi, dword [edx]
lea eax, [esp + 0x28]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
cmovl eax, edx
cmp ebx, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [edx + 4]
cmovl ecx, eax
cmp dword [edx + 8], edi
lea eax, [edx + 8]
mov ebx, dword [ecx]
lea ecx, [esp + 0x30]
cmovl ecx, eax
mov dword [esp + 0x3c], ebx
mov eax, dword [ecx]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
lea eax, [edx + 0xc]
mov edx, dword [esp + 0x38]
cmp dword [eax], edx
cmovl ecx, eax
mov eax, dword [esp + 0x14]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jge 0x44ef55
cmp ebx, edi
mov ebx, dword [esp + 0x18]
jge 0x44ef59
cmp byte [esi + 0xe3a4], 0
je 0x44f0cf
nop dword [eax]
push 5
call dword [esp + 0x28]
cmp byte [esi + 0xe3a4], 0
jne 0x44f0c0
push 0x584fd8
call fcn.0054cea1
add esp, 4
mov ebx, eax
push edi
push dword [esp + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call dword [esp + 0x50]
mov ecx, dword [esi + 0xe39c]
mov edi, eax
push 2
push edi
push ecx
push ecx
call dword [esp + 0x54]
push edi
call dword [esp + 0x4c]
push ebx
call fcn.005417da
mov ebx, dword [esp + 0x1c]
add esp, 4
push dword [esi + 0xe370]
call ebx
mov ecx, dword [esp + 0x10]
jmp 0x44ef59
cmp eax, dword [0x5e8cf0]
jne 0x44f186
cmp byte [esi + 0xe938], 0
mov ecx, dword [esp + 0x10]
je 0x44ef5d
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_RFB_MOUSE_UPDATE___n
push 0
push 0x5d7d48
call fcn.0041c960
mov ecx, dword [esp + 0xa8]
add esp, 0xc
test ecx, ecx
jne 0x44f163
mov ecx, dword [esi + 0xe88c]
jmp 0x44f16f
mov eax, dword [esi + 0xe884]
mov dword [esi + 0xe888], eax
mov dword [esi + 0xe884], ecx
push dword [esi + 0xe374]
call ebx
mov ecx, dword [esp + 0x10]
jmp 0x44ef5d
cmp eax, 0x403
jne 0x44f1a1
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_called_wm_user3_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x50]
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
jmp 0x44ef5d
call edi
mov ecx, dword [esp + 0x10]
jmp 0x44ef5d
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_called_wm_user4_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push dword [esi + 0xe400]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x44f217
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_called_wm_quit_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push dword [esi + 0xe400]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esi + 0xe380]
call ebx
cmp dword [0x5d9e64], 0
je 0x44f231
mov ebx, dword [esp + 0x24]
push 0x64
call ebx
cmp dword [0x5d9e64], 0
jne 0x44f224
push 0x3e9
push dword [esi + 0xe400]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0xe900]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x44f255
push eax
call edi
mov eax, dword [esi + 0xe904]
test eax, eax
je 0x44f262
push eax
call edi
push dword [esp + 0x54]
call dword [esp + 0x5c]
push dword [esp + 0x5c]
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktopsink.cpp_:_OOOOOOOOOOOO_end_dispatch_n
push 0
push 0x5d7d48
call fcn.0041c960
mov ecx, dword [esp + 0x3d0]
add esp, 0xc
mov dword [esi + 0xe400], 0
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret