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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6a62
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ea5e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
cmp byte [ebx + 0x88], 0x20
mov esi, dword [ebp + 8]
je 0x41a108
cmp esi, 0xa
jne 0x41a108
mov esi, 0x10
cmp dword [ebp + 0xc], 0
je 0x41a128
mov eax, dword [ebx + 0x80]
mov esi, dword [ebx + 0x9c]
call fcn.004184a0
test eax, eax
jne 0x41a12e
jmp 0x41a686
mov dword [ebx + 0x9c], esi
mov ecx, dword [ebx + 0x20]
mov edi, 1
test ecx, ecx
je 0x41a187
cmp byte [ebx + 0x28], 0
je 0x41a145
mov dword [ebx + 0x2c], ecx
jmp 0x41a180
cmp byte [ebx + 0x30], 0
je 0x41a150
mov dword [ebx + 0x34], ecx
jmp 0x41a180
cmp byte [ebx + 0xa0], 0
je 0x41a15e
mov dword [ebx + 0x38], ecx
jmp 0x41a180
cmp byte [ebx + 0x3c], 0
je 0x41a169
mov dword [ebx + 0x40], ecx
jmp 0x41a180
cmp byte [ebx + 0x44], 0
je 0x41a174
mov dword [ebx + 0x48], ecx
jmp 0x41a180
cmp ecx, dword [ebx + 0x24]
je 0x41a180
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
call edx
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.0x41a1a7.1
jmp dword [esi*4 + 0x41a6a0]
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_raw_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
push 0x78
call fcn.004a90a2
add esp, 4
test eax, eax
je 0x41a1e0
call fcn.00435410
mov dword [ebx + 0x20], eax
jmp 0x41a587
xor eax, eax
mov dword [ebx + 0x20], eax
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_RRE_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
push 0x80
call fcn.004a90a2
add esp, 4
test eax, eax
je 0x41a1e0
call fcn.00436470
mov dword [ebx + 0x20], eax
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_CoRRE_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
push 0xa4
call fcn.004a90a2
add esp, 4
test eax, eax
je 0x41a1e0
mov esi, eax
call fcn.004335e0
mov dword [ebx + 0x20], eax
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Hextile_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
push 0x78
call fcn.004a90a2
add esp, 4
test eax, eax
je 0x41a1e0
call fcn.00434330
mov dword [ebx + 0x20], eax
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov eax, dword [ebx + 0x34]
xor esi, esi
add esp, 4
cmp eax, esi
jne 0x41a2d7
push 0xb0
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
cmp eax, esi
je 0x41a2cd
push eax
call fcn.0043acc0
jmp 0x41a2cf
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x20], eax
cmp eax, esi
je 0x41a686
mov ecx, dword [ebx + 0x70]
mov byte [ebx + 0x30], 1
mov dword [eax + 0xa4], ecx
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x58], esi
cmp eax, esi
je 0x41a2fc
mov dword [eax + 0x70], esi
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x5c], esi
cmp eax, esi
je 0x41a30c
mov dword [eax + 0x74], esi
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x74], esi
mov dword [eax + 8], esi
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Ultra_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
cmp byte [ebx + 0x88], 0x20
je 0x41a34f
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_jpeg_encoder_is_only_supported_on_32bit_color_display_n
mov eax, 9
jmp 0x41a679
mov eax, dword [ebx + 0x38]
xor esi, esi
cmp eax, esi
jne 0x41a372
push 0x8c
call fcn.004a90a2
add esp, 4
cmp eax, esi
je 0x41a370
call fcn.0043b6e0
jmp 0x41a372
xor eax, eax
mov dword [ebx + 0x20], eax
cmp eax, esi
je 0x41a686
mov byte [ebx + 0xa0], 1
mov dword [ebx + 0x58], esi
mov dword [eax + 0x70], esi
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x5c], esi
cmp eax, esi
je 0x41a30c
mov dword [eax + 0x74], esi
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x74], esi
mov dword [eax + 8], esi
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZRLE_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x41a3fd
push 0x88
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
test eax, eax
je 0x41a3f0
push eax
call fcn.00445f90
jmp 0x41a3f2
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x78], 0
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZYWRLE_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x41a45e
push 0x88
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 2
test eax, eax
je 0x41a451
push eax
call fcn.00445f90
jmp 0x41a453
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x78], edi
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Zlib_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov eax, dword [ebx + 0x2c]
add esp, 4
test eax, eax
jne 0x41a4b9
push 0xf4
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 3
test eax, eax
je 0x41a4af
push eax
call fcn.0043bec0
jmp 0x41a4b1
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x41a686
mov byte [ebx + 0x28], 1
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_ZlibHex_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov eax, dword [ebx + 0x40]
add esp, 4
test eax, eax
jne 0x41a51a
push 0xfc
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 4
test eax, eax
je 0x41a510
push eax
call fcn.0043d330
jmp 0x41a512
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x41a686
mov byte [ebx + 0x3c], 1
jmp 0x41a587
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_Tight_encoder_requested_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov eax, dword [ebx + 0x48]
add esp, 4
test eax, eax
jne 0x41a578
push 0x1994
call fcn.004a90a2
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 5
test eax, eax
je 0x41a56e
push eax
call fcn.00436ef0
jmp 0x41a570
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x41a686
mov byte [ebx + 0x44], 1
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41a5e6
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
movzx edx, word [ebx + 0x86]
movzx edi, word [ebx + 0x84]
mov ecx, dword [ebx + 0x20]
push edx
lea esi, [ebx + 0x88]
call fcn.00435b90
cmp dword [ebx + 0x18], 0
je 0x41a5e6
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x20], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x24], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x28], ecx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x2c], edx
call fcn.004358f0
test eax, eax
jne 0x41a5e6
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_client_pixel_format_is_not_supported_n
jmp 0x41a677
cmp dword [ebp + 0xc], 0
je 0x41a62f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41a62f
mov ecx, dword [ebx + 0x58]
mov dword [eax + 0x70], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x5c]
mov dword [eax + 0x74], edx
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x20]
cmp eax, 9
jbe 0x41a612
mov eax, 6
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x20]
cmp eax, 9
jbe 0x41a623
or eax, 0xffffffff
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x54]
mov dword [eax + 0x6c], ecx
mov ebx, dword [ebx + 0x80]
call fcn.00419bf0
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x80]
call fcn.00419d00
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x78]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], ecx
call fcn.00419fb0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.l:ultravnc_installer_otherultravncultravnc_project_rootultravncwinvncwinvnc_vncencodemgr.h_:_unknown_encoder_requested_n
xor eax, eax
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8