Function at 0x41ccc0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20c
push ebp
push esi
mov esi, dword [esp + 0x218]
mov ebp, ecx
mov eax, esi
push edi
mov dword [esp + 0xc], ebp
lea edx, [eax + 1]
jmp 0x41cce0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cce0
sub eax, edx
mov edi, eax
je 0x41d89c
push ebx
lea edx, [esp + 0x11c]
xor ebx, ebx
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cd00
lea eax, [esp + 0x11c]
push str._listen
push eax
call fcn.0042e9f0
add esp, 8
test eax, eax
jne 0x41cd3c
lea ecx, [esp + 0x11c]
push 0x43cd04
push ecx
call fcn.0042e9f0
add esp, 8
test eax, eax
je 0x41cd52
push str.SoftwareORLVNCviewerHistory
push str..listen
mov ecx, ebp
call fcn.0041c2d0
mov ebx, 1
inc edi
push edi
call fcn.0042d009
mov ebp, eax
mov edx, ebp
add esp, 4
mov dword [esp + 0x18], ebp
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cd68
push 0x20
push ebp
xor esi, esi
call fcn.0042dcd0
add esp, 8
test eax, eax
je 0x41cd94
inc esi
inc eax
push 0x20
push eax
call fcn.0042dcd0
add esp, 8
test eax, eax
jne 0x41cd83
lea edx, [esi*4 + 4]
push edx
call fcn.0042d009
mov edi, eax
xor cl, cl
add esp, 4
xor edx, edx
mov dword [edi], ebp
cmp byte [ebp], cl
mov eax, ebp
je 0x41cde2
cmp byte [eax], 0x20
jne 0x41cdc5
test cl, cl
jne 0x41cdc5
inc edx
lea esi, [eax + 1]
mov byte [eax], cl
mov dword [edi + edx*4], esi
cmp byte [eax], 0x22
jne 0x41cddc
test cl, cl
jne 0x41cdd4
inc eax
mov dword [edi + edx*4], eax
jmp 0x41cdd7
mov byte [eax], 0
test cl, cl
sete cl
inc eax
cmp byte [eax], 0
jne 0x41cdb3
inc edx
xor esi, esi
test edx, edx
mov dword [esp + 0x14], edx
jle 0x41ce46
mov ebp, dword [esp + 0x10]
add ebp, 0x36c
mov ecx, dword [edi + esi*4]
push ebp
push 0xff
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0041ddf0
add esp, 0x10
test al, al
je 0x41ce3d
test ebx, ebx
jne 0x41ce3d
mov edx, dword [edi + esi*4]
push 0x43cd00
push edx
call fcn.0042e9f0
add esp, 8
test eax, eax
jne 0x41ce3d
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x10]
push str.SoftwareORLVNCviewerHistory
push eax
call fcn.0041c2d0
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x41cdf7
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x41d854
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41ce61
cmp al, 0x2f
jne 0x41ce78
inc ecx
push str.help
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
je 0x41d8b4
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41ce85
cmp al, 0x2f
jne 0x41ce9c
inc ecx
push 0x43ccf4
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
je 0x41d8b4
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cea9
cmp al, 0x2f
jne 0x41cec0
inc ecx
push 0x43ccf0
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
je 0x41d8b4
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cecd
cmp al, 0x2f
jne 0x41cf4b
inc ecx
push str.listen
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41cf4b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ebp, [esi + 1]
cmp ebp, eax
mov byte [edx + 4], 1
jge 0x41d847
mov eax, dword [edi + esi*4 + 4]
mov cl, byte [eax]
cmp cl, 0x30
jl 0x41d847
cmp cl, 0x39
jg 0x41d847
add edx, 8
push edx
push 0x43b924
push eax
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41cf44
mov ecx, dword [0x443c18]
push 0x40010
push ecx
push str.Invalid_listen_port_specified
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41d847
mov esi, ebp
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cf58
cmp al, 0x2f
jne 0x41cf7b
inc ecx
push str.restricted
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41cf7b
mov edx, dword [esp + 0x10]
mov byte [edx + 0x21a], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cf88
cmp al, 0x2f
jne 0x41cfab
inc ecx
push str.viewonly
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41cfab
mov eax, dword [esp + 0x10]
mov byte [eax + 0x21b], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cfb8
cmp al, 0x2f
jne 0x41cfdb
inc ecx
push str.fullscreen
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41cfdb
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x21c], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41cfe8
cmp al, 0x2f
jne 0x41d00a
inc ecx
push str.notoolbar
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d00a
mov edx, dword [esp + 0x10]
mov byte [edx + 0x10c], al
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41d017
cmp al, 0x2f
jne 0x41d03a
inc ecx
push str.8bit
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d03a
mov eax, dword [esp + 0x10]
mov byte [eax + 0x21d], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x41d047
cmp al, 0x2f
jne 0x41d06a
inc ecx
push str.shared
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d06a
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x230], 1
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.noshared
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d08f
mov eax, dword [esp + 0x10]
mov byte [eax + 0x230], 0
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.swapmouse
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d0b4
mov edx, dword [esp + 0x10]
mov byte [edx + 0x224], 1
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.nocursor
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d0dc
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x234], 0
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.dotcursor
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d104
mov eax, dword [esp + 0x10]
mov dword [eax + 0x234], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.smalldotcursor
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d12c
mov edx, dword [esp + 0x10]
mov dword [edx + 0x234], 3
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.normalcursor
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d154
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x234], 2
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.belldeiconify
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d179
mov eax, dword [esp + 0x10]
mov byte [eax + 0x231], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.emulate3
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d19e
mov edx, dword [esp + 0x10]
mov byte [edx + 0x225], 1
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.noemulate3
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d1c3
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x225], 0
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.nojpeg
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d1e8
mov eax, dword [esp + 0x10]
mov byte [eax + 0x24c], 0
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.nocursorshape
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d20d
mov edx, dword [esp + 0x10]
mov byte [edx + 0x254], 0
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.noremotecursor
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d239
mov eax, dword [esp + 0x10]
mov byte [eax + 0x254], 1
mov byte [eax + 0x255], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.fitwindow
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d25e
mov edx, dword [esp + 0x10]
mov byte [edx + 0x239], 1
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.scale
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d2ca
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d28b
mov ecx, str.No_scaling_factor_specified
call fcn.00419970
jmp 0x41d847
mov ebx, dword [esp + 0x10]
mov edx, dword [edi + esi*4]
lea ecx, [ebx + 0x23c]
push ecx
push 0x43b924
push edx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
jge 0x41d2bb
mov ecx, str.Invalid_scaling_specified
call fcn.00419970
jmp 0x41d847
mov dword [ebx + 0x240], 0x64
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.emulate3timeout
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d32b
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d2f7
mov ecx, str.No_timeout_specified
call fcn.00419970
jmp 0x41d847
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + esi*4]
add ecx, 0x228
push ecx
push 0x43b924
push edx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_timeout_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.emulate3fuzz
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d38c
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d358
mov ecx, str.No_fuzz_specified
call fcn.00419970
jmp 0x41d847
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + esi*4]
add ecx, 0x22c
push ecx
push 0x43b924
push edx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_fuzz_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.disableclipboard
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d3b1
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x232], 1
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.delay
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d411
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d3de
mov ecx, str.No_delay_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + esi*4]
add eax, 0x57c
push eax
push 0x43b924
push ecx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_delay_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.loglevel
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d471
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d43e
mov ecx, str.No_loglevel_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + esi*4]
add eax, 0x470
push eax
push 0x43b924
push ecx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_loglevel_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.console
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d496
mov eax, dword [esp + 0x10]
mov byte [eax + 0x475], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.logfile
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d4ff
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d4c3
mov ecx, str.No_logfile_specified
call fcn.00419970
jmp 0x41d847
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + esi*4]
lea edx, [ebx + 0x476]
push edx
push 0x43cb14
push eax
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d4f3
mov ecx, str.Invalid_logfile_specified
call fcn.00419970
jmp 0x41d847
mov byte [ebx + 0x474], 1
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.config
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d577
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d52c
mov ecx, str.No_config_file_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
mov ebx, dword [esp + 0x10]
push 0x104
push edx
lea ebp, [ebx + 0x116]
push ebp
call fcn.0042e93b
push 4
push ebp
call fcn.0042e8f5
add esp, 0x14
test eax, eax
je 0x41d563
mov ecx, str.Cant_open_specified_config_file_for_reading.
call fcn.00419970
jmp 0x41d847
push ebp
mov ecx, ebx
call fcn.00419e50
mov byte [ebx + 0x115], 1
jmp 0x41d847
mov eax, dword [edi + esi*4]
push 0x43caa0
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d5ef
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d5a4
mov ecx, str.Host_name_not_specified_with__via_option
call fcn.00419970
jmp 0x41d847
mov ecx, dword [edi + esi*4]
mov eax, ecx
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41d5b0
sub eax, ebp
cmp eax, 0x100
jb 0x41d5cf
mov ecx, str.Host_name_at__via_option_is_too_long
call fcn.00419970
jmp 0x41d847
mov edx, dword [esp + 0x10]
add edx, 0x370
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41d5e0
jmp 0x41d847
mov ecx, dword [edi + esi*4]
push str.encoding
push ecx
call fcn.00419940
add esp, 8
test al, al
je 0x41d708
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d620
mov ecx, str.No_encoding_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
push 0x43ca24
push edx
call fcn.0042e6c5
add esp, 8
test eax, eax
je 0x41d6e2
mov eax, dword [edi + esi*4]
push 0x43ca20
push eax
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d658
mov eax, 2
jmp 0x41d6e2
mov ecx, dword [edi + esi*4]
push str.corre
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d674
mov eax, 4
jmp 0x41d6e2
mov edx, dword [edi + esi*4]
push str.hextile
push edx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d690
mov eax, 5
jmp 0x41d6e2
mov eax, dword [edi + esi*4]
push str.zlib
push eax
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d6ac
mov eax, 6
jmp 0x41d6e2
mov ecx, dword [edi + esi*4]
push str.tight
push ecx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d6c8
mov eax, 7
jmp 0x41d6e2
mov edx, dword [edi + esi*4]
push str.zlibhex
push edx
call fcn.0042e6c5
add esp, 8
test eax, eax
jne 0x41d6f9
mov eax, 8
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x260], 1
mov dword [ecx + 0x220], eax
jmp 0x41d847
mov ecx, str.Invalid_encoding_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [edi + esi*4]
push str.compresslevel
push eax
call fcn.00419940
add esp, 8
test al, al
je 0x41d76f
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d735
mov ecx, str.No_compression_level_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [esp + 0x10]
mov byte [eax + 0x244], 1
mov ecx, dword [edi + esi*4]
add eax, 0x248
push eax
push 0x43b924
push ecx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_compression_level_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.quality
push edx
call fcn.00419940
add esp, 8
test al, al
je 0x41d7cc
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jne 0x41d79c
mov ecx, str.No_image_quality_level_specified
call fcn.00419970
jmp 0x41d847
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + esi*4]
add eax, 0x250
push eax
push 0x43b924
push ecx
call fcn.0042da8e
add esp, 0xc
cmp eax, 1
je 0x41d847
mov ecx, str.Invalid_image_quality_level_specified
call fcn.00419970
jmp 0x41d847
mov edx, dword [edi + esi*4]
push str.register
push edx
call fcn.00419940
add esp, 8
test al, al
jne 0x41d8a8
mov ebx, dword [esp + 0x10]
mov edx, dword [edi + esi*4]
lea eax, [ebx + 0x36c]
push eax
push 0xff
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0041ddf0
add esp, 0x10
test al, al
jne 0x41d816
mov ecx, str.Invalid_VNC_server_specified.
call fcn.00419970
jmp 0x41d847
lea eax, [esp + 0x1c]
mov edx, eax
mov ecx, ebx
sub ecx, edx
lea edx, [ecx + 0x269]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41d826
mov ecx, dword [edi + esi*4]
lea edx, [ebx + 0xc]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41d836
mov byte [ebx + 0x114], 1
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x41ce54
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004199c0
mov ecx, dword [esi + 0x23c]
mov eax, 1
cmp ecx, eax
jne 0x41d882
cmp dword [esi + 0x240], eax
jne 0x41d882
mov cl, byte [esi + 0x239]
test cl, cl
jne 0x41d882
xor eax, eax
mov byte [esi + 0x238], al
mov eax, dword [esp + 0x18]
push eax
call fcn.0042da31
push edi
call fcn.0042da31
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret 4
call fcn.0041a140
push 1
call fcn.0042e8b5
push str.TightVNC_Usage_Help
call fcn.00401170
add esp, 4
push 1
call fcn.0042e8b5
int3