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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdfd2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x88], 0x20
mov esi, dword [ebp + 8]
je 0x42c62f
cmp esi, 0xa
mov eax, 0x10
cmove esi, eax
cmp dword [ebp + 0xc], 0
je 0x42c64f
mov ecx, dword [ebx + 0x80]
mov esi, dword [ebx + 0x9c]
call fcn.0042a830
test eax, eax
jne 0x42c655
jmp 0x42cbb5
mov dword [ebx + 0x9c], esi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x42c6a8
cmp byte [ebx + 0x28], 0
je 0x42c667
mov dword [ebx + 0x2c], ecx
jmp 0x42c6a1
cmp byte [ebx + 0x30], 0
je 0x42c672
mov dword [ebx + 0x34], ecx
jmp 0x42c6a1
cmp byte [ebx + 0xa0], 0
je 0x42c680
mov dword [ebx + 0x38], ecx
jmp 0x42c6a1
cmp byte [ebx + 0x3c], 0
je 0x42c68b
mov dword [ebx + 0x40], ecx
jmp 0x42c6a1
cmp byte [ebx + 0x44], 0
je 0x42c696
mov dword [ebx + 0x48], ecx
jmp 0x42c6a1
cmp ecx, dword [ebx + 0x24]
je 0x42c6a1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x30], 0
mov byte [ebx + 0xa0], 0
mov byte [ebx + 0x3c], 0
mov byte [ebx + 0x44], 0
cmp esi, 0x11
ja case.0x42c6c8.1
jmp dword [esi*4 + 0x42cbcc]
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_raw_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push 0x78
call fcn.004ad3ab
add esp, 4
test eax, eax
je 0x42c700
mov ecx, eax
call fcn.00447190
mov dword [ebx + 0x20], eax
jmp 0x42caa7
xor eax, eax
mov dword [ebx + 0x20], eax
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_RRE_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push 0x80
call fcn.004ad3ab
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42c752
call fcn.00447190
mov dword [ecx], vtable.vncEncodeRRE.0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ebx + 0x20], ecx
jmp 0x42caa7
xor ecx, ecx
mov dword [ebx + 0x20], ecx
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_CoRRE_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push 0xa4
call fcn.004ad3ab
add esp, 4
test eax, eax
je 0x42c700
mov ecx, eax
call fcn.00445310
mov dword [ebx + 0x20], eax
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Hextile_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
push 0x78
call fcn.004ad3ab
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42c752
call fcn.00447190
mov dword [ecx], vtable.vncEncodeHexT.0
mov dword [ebx + 0x20], ecx
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
mov eax, dword [ebx + 0x34]
add esp, 0xc
test eax, eax
jne 0x42c813
push 0xb0
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42c80a
mov ecx, eax
call fcn.0044cbb0
jmp 0x42c80c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x20], eax
test ecx, ecx
je 0x42cbb5
mov eax, dword [ebx + 0x70]
mov byte [ebx + 0x30], 1
mov dword [ecx + 0xa4], eax
push 0
mov ecx, ebx
call fcn.0042ce40
push 0
mov ecx, ebx
call fcn.0042ce60
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x74], 0
mov dword [eax + 8], 0
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
cmp byte [ebx + 0x88], 0x20
je 0x42c881
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_jpeg_encoder_is_only_supported_on_32bit_color_display_n
push 9
jmp 0x42cba8
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x42c8ca
push 0x8c
call fcn.004ad3ab
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42c8c3
call fcn.00447190
mov dword [ecx], vtable.vncEncodeUltra2.0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x88], 0
mov dword [ebx + 0x20], ecx
jmp 0x42c8cd
xor ecx, ecx
mov dword [ebx + 0x20], ecx
jmp 0x42c8cd
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x20], 0
je 0x42cbb5
mov byte [ebx + 0xa0], 1
jmp 0x42c82d
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZRLE_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x42c92d
push 0x88
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42c921
mov ecx, eax
call fcn.00457e30
jmp 0x42c923
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x78], 0
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZYWRLE_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x42c989
push 0x88
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x42c97d
mov ecx, eax
call fcn.00457e30
jmp 0x42c97f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x78], 1
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Zlib_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
mov eax, dword [ebx + 0x2c]
add esp, 0xc
test eax, eax
jne 0x42c9e3
push 0xf4
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x42c9da
mov ecx, eax
call fcn.0044de20
jmp 0x42c9dc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x42cbb5
mov byte [ebx + 0x28], 1
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZlibHex_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
mov eax, dword [ebx + 0x40]
add esp, 0xc
test eax, eax
jne 0x42ca3f
push 0xfc
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x42ca36
mov ecx, eax
call fcn.0044f260
jmp 0x42ca38
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x42cbb5
mov byte [ebx + 0x3c], 1
jmp 0x42caa7
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Tight_encoder_requested_n
push 9
push 0x4f6c50
call fcn.00414f90
mov eax, dword [ebx + 0x48]
add esp, 0xc
test eax, eax
jne 0x42ca98
push 0x1994
call fcn.004ad3ab
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x42ca8f
mov ecx, eax
call fcn.00448ce0
jmp 0x42ca91
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x42cbb5
mov byte [ebx + 0x44], 1
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x42cb18
mov eax, dword [ecx]
call dword [eax + 4]
movzx esi, word [ebx + 0x84]
movzx eax, byte [ebx + 0x88]
mov ecx, dword [ebx + 0x20]
movzx edi, word [ebx + 0x86]
imul eax, esi
mov dword [ecx + 0x44], esi
mov dword [ecx + 0x48], edi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ecx + 0x40], eax
movdqu xmm0, xmmword [ebx + 0x88]
movdqu xmmword [ecx + 0x10], xmm0
call fcn.00447680
cmp dword [ebx + 0x18], 0
je 0x42cb18
mov ecx, dword [ebx + 0x20]
movdqu xmm0, xmmword [ebx + 8]
movdqu xmmword [ecx + 0x20], xmm0
call fcn.00447680
test eax, eax
jne 0x42cb18
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_client_pixel_format_is_not_supported_n
jmp 0x42cba6
cmp dword [ebp + 0xc], 0
je 0x42cb61
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x42cb61
mov eax, dword [ebx + 0x58]
mov dword [ecx + 0x70], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x74], eax
mov eax, 6
cmp dword [ebx + 0x4c], 9
mov edx, dword [ebx + 0x20]
cmovbe eax, dword [ebx + 0x4c]
mov dword [edx + 0x64], eax
or eax, 0xffffffff
cmp dword [ebx + 0x50], 9
mov edx, dword [ebx + 0x20]
cmovbe eax, dword [ebx + 0x50]
mov dword [edx + 0x68], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x54]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebx + 0x80]
call fcn.0042c0b0
mov ecx, dword [ebx + 0x80]
call fcn.0042c1c0
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], edx
mov ecx, ebx
call fcn.0042c510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.l:ultravnc_install_vs2013ultravnc_test2ultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_unknown_encoder_requested_n
push 0
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8