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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4e22
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x55800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp byte [edi + 0x9c], 0x20
mov esi, dword [ebx + 8]
je 0x434c47
cmp esi, 0xa
mov eax, 5
cmove esi, eax
mov eax, dword [edi + 0xb0]
cmp esi, eax
jne 0x434c61
cmp dword [edi + 0x20], 0
je 0x434c61
mov eax, 1
jmp 0x4357bb
cmp dword [ebx + 0xc], 0
je 0x434c7d
mov ecx, dword [edi + 0x94]
mov esi, eax
call fcn.00432b20
test eax, eax
jne 0x434c83
jmp 0x4357b9
mov dword [edi + 0xb0], esi
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x434ce1
cmp byte [edi + 0x30], 0
je 0x434c95
mov dword [edi + 0x34], ecx
jmp 0x434cda
cmp byte [edi + 0x38], 0
je 0x434ca0
mov dword [edi + 0x3c], ecx
jmp 0x434cda
cmp byte [edi + 0xb4], 0
je 0x434cae
mov dword [edi + 0x40], ecx
jmp 0x434cda
cmp byte [edi + 0x44], 0
je 0x434cb9
mov dword [edi + 0x48], ecx
jmp 0x434cda
cmp byte [edi + 0x4c], 0
je 0x434cc4
mov dword [edi + 0x50], ecx
jmp 0x434cda
cmp byte [edi + 0x28], 0
je 0x434ccf
mov dword [edi + 0x2c], ecx
jmp 0x434cda
cmp ecx, dword [edi + 0x24]
je 0x434cda
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
mov byte [edi + 0x30], 0
mov byte [edi + 0x38], 0
mov byte [edi + 0xb4], 0
mov byte [edi + 0x44], 0
mov byte [edi + 0x4c], 0
mov byte [edi + 0x28], 0
cmp esi, 0x13
ja case.0x434d05.1
jmp dword [esi*4 + 0x4357d4]
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_raw_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 0x80
call fcn.004cbf3d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004534d0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], eax
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_RRE_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 0x88
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004534d0
mov dword [esi], vtable.vncEncodeRRE.0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], esi
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_CoRRE_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 0xac
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004534d0
push 0
mov dword [esi], vtable.vncEncodeCoRRE.0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0x18
mov dword [esi + 0x8c], 0x18
mov dword [esi + 0xa0], 1
mov dword [esi + 0xa4], 0x32
call fcn.004d02e5
add esp, 4
push eax
call fcn.004d0254
mov dword [esi + 0xa8], 0
add esp, 4
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], esi
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_Hextile_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 0x80
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.004534d0
mov dword [esi], vtable.vncEncodeHexT.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], esi
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov ecx, dword [edi + 0x3c]
add esp, 0xc
test ecx, ecx
jne 0x434fb6
push 0xb8
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.004534d0
mov byte [ebp - 4], 5
push 0x20001
mov dword [esi], vtable.vncEncodeUltra.0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x9c], 0x20000
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0x84], eax
test eax, eax
jne 0x434f59
push str.d:_saasultravncwinvncwinvnc_vncencodeultra.cpp_:_Memory_error
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
mov ecx, dword [esi + 0x9c]
mov eax, 0x51eb851f
imul ecx
add ecx, 8
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
push eax
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0x88], eax
cmp dword [esi + 0x84], 0
jne 0x434fa1
push str.d:_saasultravncwinvncwinvnc_vncencodeultra.cpp_:_Memory_error
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
mov byte [esi + 0xb0], 0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], esi
jmp 0x434fb9
mov dword [edi + 0x20], ecx
test ecx, ecx
je 0x4357b9
mov eax, dword [edi + 0x84]
mov byte [edi + 0x38], 1
mov dword [ecx + 0xac], eax
mov ecx, edi
push 0
call fcn.00435a30
push 0
call fcn.00435a50
mov esi, dword [edi + 0x94]
mov dword [edi + 0x88], 0
lea edi, [esi + 0x48]
mov dword [ebp - 0x1c], edi
push edi
mov dword [ebp - 0x18], 0x29e
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 6
mov dword [esi + 8], 0
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x14]
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
cmp byte [edi + 0x9c], 0x20
je 0x435052
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_jpeg_encoder_is_only_supported_on_32bit_color_display_n
push 9
jmp 0x4357ac
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x435145
push 0x290
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.004534d0
mov byte [ebp - 4], 8
lea eax, [esi + 0x208]
mov dword [esi], vtable.vncEncodeUltra2.0
lea ecx, [esi + 0xa0]
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [eax], 0x4899e0
mov dword [eax + 4], 0x489a70
mov dword [eax + 8], 0x489a10
mov dword [eax + 0xc], 0x489ac0
mov dword [eax + 0x10], 0x489b80
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x70], 0x51a3d0
mov dword [eax + 0x74], 0x7f
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
push ecx
mov dword [ecx], eax
call fcn.004896e0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [edi + 0x20], esi
mov eax, esi
jmp 0x435148
mov dword [edi + 0x20], eax
test eax, eax
je 0x4357b9
push 0
mov ecx, edi
mov byte [edi + 0xb4], 1
call fcn.00435a30
push 0
call fcn.00435a50
mov esi, dword [edi + 0x94]
mov dword [edi + 0x88], 0
lea edi, [esi + 0x48]
mov dword [ebp - 0x1c], edi
push edi
mov dword [ebp - 0x18], 0x29e
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 9
jmp 0x43500c
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_ZRLE_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x24]
add esp, 0xc
test eax, eax
jne 0x4351da
push 0x90
call fcn.004cbf3d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.0046c940
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [eax + 0x80], 0
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_ZYWRLE_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x24]
add esp, 0xc
test eax, eax
jne 0x43522f
push 0x90
call fcn.004cbf3d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.0046c940
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [eax + 0x80], 1
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_XZ_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x2c]
add esp, 0xc
test eax, eax
jne 0x435281
push 0x90
call fcn.004cbf3d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.00460d40
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], eax
mov dword [eax + 0x80], 0
mov byte [edi + 0x28], 1
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_XZYW_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4352d7
push 0x90
call fcn.004cbf3d
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.00460d40
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], eax
mov dword [eax + 0x80], 1
mov byte [edi + 0x28], 1
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_Zlib_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x34]
add esp, 0xc
test eax, eax
jne 0x435418
push 0xfc
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 0xe
call fcn.004534d0
mov byte [ebp - 4], 0xf
push 0x20001
mov dword [esi], vtable.vncEncodeZlib.0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0xd4], 0
mov dword [esi + 0xe4], 0x20000
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0x88], eax
test eax, eax
jne 0x4353c2
push str.d:_saasultravncwinvncwinvnc_vncencodezlib.cpp_:_Memory_error
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
mov ecx, dword [esi + 0xe4]
mov eax, 0x51eb851f
imul ecx
add ecx, 8
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
push eax
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0x8c], eax
cmp dword [esi + 0x88], 0
jne 0x43540a
push str.d:_saasultravncwinvncwinvnc_vncencodezlib.cpp_:_Memory_error
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [edi + 0x20], esi
jmp 0x43541b
mov dword [edi + 0x20], eax
test eax, eax
je 0x4357b9
mov byte [edi + 0x30], 1
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_ZlibHex_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x48]
add esp, 0xc
test eax, eax
jne 0x4354f4
push 0x104
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 0x10
call fcn.004534d0
mov byte [ebp - 4], 0x11
push 0x20001
mov dword [esi], vtable.vncEncodeZlibHex.0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0x20000
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0xc8], 0xffffffff
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0xf8], eax
test eax, eax
jne 0x4354e6
push str.d:_saasultravncwinvncwinvnc_vncencodezlibhex.cpp_:_Memory_error
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [edi + 0x20], esi
jmp 0x4354f7
mov dword [edi + 0x20], eax
test eax, eax
je 0x4357b9
mov byte [edi + 0x44], 1
jmp 0x43559b
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_Tight_encoder_requested_n
push 9
push 0x558c50
call fcn.0041c840
mov eax, dword [edi + 0x50]
add esp, 0xc
test eax, eax
jne 0x43558c
push 0x199c
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 0x12
call fcn.004534d0
mov byte [ebp - 4], 0x13
push 0x414
mov dword [esi], vtable.vncEncodeTight.0
mov dword [esi + 0x198c], 0
mov dword [esi + 0x1990], 0
call fcn.004cbf7b
mov dword [esi + 0x1984], eax
add esp, 4
mov dword [esi + 0x1970], 0
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x20], esi
jmp 0x43558f
mov dword [edi + 0x20], eax
test eax, eax
je 0x4357b9
mov byte [edi + 0x4c], 1
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x435602
mov eax, dword [ecx]
call dword [eax + 4]
movzx edx, word [edi + 0x98]
movzx eax, byte [edi + 0x9c]
mov ecx, dword [edi + 0x20]
movzx esi, word [edi + 0x9a]
imul eax, edx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], esi
shr eax, 3
mov dword [ecx + 0x40], eax
movups xmm0, xmmword [edi + 0x9c]
movups xmmword [ecx + 0x10], xmm0
call fcn.00453a20
cmp dword [edi + 0x18], 0
je 0x435602
mov ecx, dword [edi + 0x20]
movups xmm0, xmmword [edi + 8]
movups xmmword [ecx + 0x20], xmm0
call fcn.00453a20
test eax, eax
jne 0x435602
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_client_pixel_format_is_not_supported_n
jmp 0x4357aa
cmp dword [ebx + 0xc], 0
je 0x435664
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x435664
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x78], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x6c]
mov dword [ecx + 0x7c], eax
mov eax, 6
cmp dword [edi + 0x54], 9
mov edx, dword [edi + 0x20]
cmovbe eax, dword [edi + 0x54]
or esi, 0xffffffff
mov dword [edx + 0x64], eax
mov eax, esi
cmp dword [edi + 0x58], 9
mov edx, dword [edi + 0x20]
cmovbe eax, dword [edi + 0x58]
mov dword [edx + 0x68], eax
mov ecx, dword [edi + 0x20]
cmp dword [edi + 0x5c], 0x64
cmovbe esi, dword [edi + 0x5c]
mov dword [ecx + 0x6c], esi
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x60]
mov dword [ecx + 0x70], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x64]
mov dword [ecx + 0x74], eax
mov ecx, dword [edi + 0x94]
call fcn.004345a0
mov esi, dword [edi + 0x94]
mov dword [ebp - 0x18], esi
cmp dword [esi], 0
je 0x43569a
mov eax, dword [esi + 0x64]
test eax, eax
je 0x43569a
push eax
call fcn.004cbf38
add esp, 4
mov dword [esi + 0x64], 0
mov dword [esi], 0
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0xe0bc]
mov dword [esi + 0x64], eax
test eax, eax
je 0x4356b2
mov dword [esi], 0
jmp 0x435722
mov dword [esi], 1
movzx ecx, byte [edx + 0xe088]
movzx eax, word [edx + 0xe086]
shr ecx, 3
imul ecx, eax
movzx eax, word [edx + 0xe084]
imul ecx, eax
push ecx
call fcn.004cbf7b
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [esi + 0x64], eax
test eax, eax
je 0x435787
mov edx, dword [esi + 0x68]
movzx esi, byte [edx + 0xe088]
movzx ecx, word [edx + 0xe086]
movzx eax, word [edx + 0xe084]
shr esi, 3
imul esi, ecx
imul esi, eax
push esi
push 0
push dword [ebp - 0x14]
call fcn.004cddb0
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [esi + 0x68]
cmp byte [esi + 0x74], 0
je 0x43575d
cmp dword [esi + 0x64], 0
je 0x435764
movzx ecx, byte [edx + 0xe088]
movzx eax, word [edx + 0xe086]
shr ecx, 3
imul ecx, eax
movzx eax, word [edx + 0xe084]
imul ecx, eax
push ecx
push dword [esi + 0x64]
push dword [esi + 0x40]
call fcn.004cd830
add esp, 0xc
jmp 0x435764
mov ecx, esi
call fcn.004346e0
push 1
push 0
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x68]
push dword [eax + 0xdba4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x90]
mov eax, dword [edi + 0x8c]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], edx
mov ecx, edi
call fcn.00434b10
jmp 0x4357bb
push str.d:_saasultravncwinvncwinvnc_vncencodemgr.h_:_unknown_encoder_requested_n
push 0
push 0x558c50
call fcn.0041c840
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8