Function at 0x41c6b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x218]
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
je 0x41d209
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], eax
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str._listen
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call fcn.00431670
add esp, 8
test eax, eax
jne 0x41c72a
lea edx, [esp + 0x20]
push 0x4444d4
push edx
call fcn.00431670
add esp, 8
test eax, eax
je 0x41c745
mov ecx, dword [esp + 0x18]
push str.SoftwareORLVNCviewerHistory
push str..listen
call fcn.0041f790
mov dword [esp + 0x14], 1
inc ebp
push ebp
call fcn.0043060b
mov ebp, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x20
mov eax, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x28], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
call fcn.00430cc0
add esp, 0xc
test eax, eax
je 0x41c793
inc esi
inc eax
push 0x20
push eax
call fcn.00430cc0
add esp, 8
test eax, eax
jne 0x41c782
lea ecx, [esi*4 + 4]
push ecx
call fcn.0043060b
mov ebx, eax
add esp, 4
xor edi, edi
xor cl, cl
mov dword [ebx], ebp
mov dl, byte [ebp]
test dl, dl
mov eax, ebp
je 0x41c7e8
mov esi, ebx
cmp byte [eax], 0x20
jne 0x41c7ca
test cl, cl
jne 0x41c7ca
inc edi
add esi, 4
lea edx, [eax + 1]
mov byte [eax], cl
mov dword [esi], edx
cmp byte [eax], 0x22
jne 0x41c7e0
test cl, cl
jne 0x41c7d8
inc eax
mov dword [esi], eax
jmp 0x41c7db
mov byte [eax], 0
test cl, cl
sete cl
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x41c7b6
inc edi
test edi, edi
mov dword [esp + 0x10], edi
jle 0x41c84b
mov ebp, dword [esp + 0x18]
mov esi, ebx
mov ecx, dword [esi]
lea eax, [ebp + 0x36c]
push eax
lea eax, [esp + 0x124]
push 0xff
push eax
push ecx
call fcn.004206e0
add esp, 0x10
test al, al
je 0x41c845
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41c845
mov edx, dword [esi]
push 0x443c94
push edx
call fcn.00431670
add esp, 8
test eax, eax
jne 0x41c845
mov eax, dword [esi]
push str.SoftwareORLVNCviewerHistory
push eax
mov ecx, ebp
call fcn.0041f790
add esi, 4
dec edi
jne 0x41c7f7
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jle 0x41d1c6
mov ecx, dword [ebx + ebp*4]
push str.help
push ecx
call fcn.0041d240
add esp, 8
test al, al
jne 0x41d222
mov edx, dword [ebx + ebp*4]
push 0x4444c8
push edx
call fcn.0041d240
add esp, 8
test al, al
jne 0x41d222
mov eax, dword [ebx + ebp*4]
push 0x4444c4
push eax
call fcn.0041d240
add esp, 8
test al, al
jne 0x41d222
mov ecx, dword [ebx + ebp*4]
push str.listen
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41c917
mov eax, dword [esp + 0x10]
lea edi, [ebp + 1]
cmp edi, eax
mov byte [esi + 4], 1
jge 0x41d1b9
mov eax, dword [ebx + edi*4]
mov cl, byte [eax]
cmp cl, 0x30
jl 0x41d1b9
cmp cl, 0x39
jg 0x41d1b9
lea edx, [esi + 8]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41c910
push str.Invalid_listen_port_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ebp, edi
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.restricted
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41c938
mov byte [esi + 0x21a], 1
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.viewonly
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41c959
mov byte [esi + 0x21b], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.fullscreen
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41c97a
mov byte [esi + 0x21c], 1
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.notoolbar
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41c99b
mov byte [esi + 0x10c], 0
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.8bit
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41c9bc
mov byte [esi + 0x21d], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.shared
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41c9dd
mov byte [esi + 0x230], 1
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.noshared
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41c9fe
mov byte [esi + 0x230], 0
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.swapmouse
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41ca1f
mov byte [esi + 0x224], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.nocursor
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41ca43
mov dword [esi + 0x234], 0
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.dotcursor
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41ca67
mov dword [esi + 0x234], 1
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.smalldotcursor
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41ca8b
mov dword [esi + 0x234], 3
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.normalcursor
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41caaf
mov dword [esi + 0x234], 2
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.belldeiconify
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41cad0
mov byte [esi + 0x231], 1
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.emulate3
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41caf1
mov byte [esi + 0x225], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.noemulate3
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cb12
mov byte [esi + 0x225], 0
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.nojpeg
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41cb33
mov byte [esi + 0x24c], 0
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.nocursorshape
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cb54
mov byte [esi + 0x254], 0
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.noremotecursor
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cb7c
mov byte [esi + 0x254], 1
mov byte [esi + 0x255], 1
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.fitwindow
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41cb9d
mov byte [esi + 0x239], 1
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.scale
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cc0b
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cbcd
push str.No_scaling_factor_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
lea edx, [esi + 0x23c]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
jge 0x41cbfc
push str.Invalid_scaling_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov dword [esi + 0x240], 0x64
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.emulate3timeout
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cc6e
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cc3b
push str.No_timeout_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
lea edx, [esi + 0x228]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_timeout_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.emulate3fuzz
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41ccd1
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cc9e
push str.No_fuzz_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
lea edx, [esi + 0x22c]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_fuzz_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.disableclipboard
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41ccf2
mov byte [esi + 0x232], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.delay
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cd55
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cd22
push str.No_delay_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
lea eax, [esi + 0x47c]
push eax
push 0x442a7c
push ecx
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_delay_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.loglevel
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cdb8
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cd85
push str.No_loglevel_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
lea eax, [esi + 0x370]
push eax
push 0x442a7c
push ecx
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_loglevel_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.console
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41cdd9
mov byte [esi + 0x375], 1
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.logfile
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41ce44
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41ce09
push str.No_logfile_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
lea ecx, [esi + 0x376]
push ecx
push 0x44423c
push edx
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41ce38
push str.Invalid_logfile_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov byte [esi + 0x374], 1
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.config
push eax
call fcn.0041d240
add esp, 8
test al, al
je 0x41cebe
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41ce74
push str.No_config_file_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
lea edi, [esi + 0x116]
push 0x104
push ecx
push edi
call fcn.004315c6
push 4
push edi
call fcn.00431580
add esp, 0x14
test eax, eax
je 0x41ceaa
push str.Cant_open_specified_config_file_for_reading.
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
push edi
mov ecx, esi
call fcn.0041d4f0
mov byte [esi + 0x115], 1
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.encoding
push edx
call fcn.0041d240
add esp, 8
test al, al
je 0x41d03a
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41cef2
push str.No_encoding_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push 0x4441a4
push eax
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cf1a
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push 0x4441a0
push ecx
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cf47
mov eax, 2
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.corre
push edx
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cf74
mov eax, 4
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.hextile
push eax
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cfa1
mov eax, 5
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.zlib
push ecx
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cfce
mov eax, 6
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov edx, dword [ebx + ebp*4]
push str.tight
push edx
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41cffb
mov eax, 7
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
push str.zlibhex
push eax
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x41d028
mov eax, 8
mov byte [eax + esi + 0x260], 1
mov dword [esi + 0x220], eax
jmp 0x41d1b9
push str.Invalid_encoding_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.compresslevel
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41d0a4
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41d06a
push str.No_compression_level_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
lea edx, [esi + 0x248]
mov byte [esi + 0x244], 1
mov eax, dword [ebx + ebp*4]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_compression_level_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.quality
push ecx
call fcn.0041d240
add esp, 8
test al, al
je 0x41d107
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne 0x41d0d4
push str.No_image_quality_level_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov eax, dword [ebx + ebp*4]
lea edx, [esi + 0x250]
push edx
push 0x442a7c
push eax
call fcn.00430b3e
add esp, 0xc
cmp eax, 1
je 0x41d1b9
push str.Invalid_image_quality_level_specified
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
mov ecx, dword [ebx + ebp*4]
push str.register
push ecx
call fcn.0041d240
add esp, 8
test al, al
jne 0x41d216
mov ecx, dword [ebx + ebp*4]
lea edx, [esi + 0x36c]
push edx
lea eax, [esp + 0x124]
push 0xff
push eax
push ecx
call fcn.004206e0
add esp, 0x10
test al, al
jne 0x41d153
push str.Invalid_VNC_server_specified.
call fcn.0041d270
add esp, 4
jmp 0x41d1b9
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x269]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + ebp*4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0xc]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx + 0x114], 1
mov esi, edx
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x41c85d
mov ecx, esi
call fcn.0041c630
mov ecx, dword [esi + 0x23c]
mov eax, 1
cmp ecx, eax
jne 0x41d1f0
cmp dword [esi + 0x240], eax
jne 0x41d1f0
mov cl, byte [esi + 0x239]
test cl, cl
jne 0x41d1f0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x238], al
push ecx
call fcn.004304d0
push ebx
call fcn.004304d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
call fcn.0041d7b0
push 1
call fcn.004313b8
push str.TightVNC_Usage_Help
call fcn.004010a0
add esp, 4
push 1
call fcn.004313b8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop