Function at 0x412190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470fa9
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x418]
mov dword fs:[0], eax
mov ebx, ecx
push str.Entered_InitAuthenticate
mov ecx, 9
mov eax, 0x48b3f0
mov dword [esp + 0x18], ebx
call fcn.00401000
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
add esp, 4
lea edx, [esp + 0x54]
push edx
call eax
push str.g:_vnc104rc_relultravnc_project_rootultravncwinvncwinvnc_vncPasswd.h_:_PASSWD_:_ToText_called_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
push 9
call fcn.0045d5ee
add esp, 4
mov edi, eax
push 1
mov ecx, 0x48aa6c
mov dword [esp + 0x2c], edi
call fcn.00401630
add esp, 4
mov esi, edi
lea eax, [esp + 0x54]
call fcn.00401bf0
mov byte [edi + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x420], 0
cmp dword [ebx + 0x6c], 0
je 0x41225d
xor esi, esi
jmp 0x41227c
mov ecx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x64]
mov edi, dword [esi]
push ecx
call fcn.00449fe0
mov edx, dword [edi + 0x178]
push eax
mov ecx, esi
call edx
mov edi, dword [esp + 0x28]
mov esi, eax
lea eax, [esp + 0x304]
mov dword [esp + 0x24], esi
call fcn.00448060
test eax, eax
jne 0x4122ba
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412295
sub eax, edx
push eax
push 0
push edi
call fcn.00462100
add esp, 0xc
push edi
call fcn.0045d511
add esp, 4
xor eax, eax
jmp 0x412da0
mov ecx, 0x47a387
lea eax, [esp + 0x304]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4122e6
test dl, dl
je 0x4122e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4122e6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4122c6
xor eax, eax
jmp 0x4122eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x412304
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a0]
call edx
test eax, eax
je 0x41250c
cmp esi, 1
jne 0x41250c
push 0x1c
call fcn.0045c88a
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x420], 1
test esi, esi
je 0x412381
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
push eax
call fcn.00449fe0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x190]
call eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x64]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x198]
call eax
push edi
mov dword [esi], vtable.vncAcceptDialog.0
mov dword [esi + 4], eax
call fcn.0045dae4
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x18], ebx
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
jmp 0x412383
xor esi, esi
mov byte [esp + 0x420], 0
test esi, esi
jne 0x4124b5
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x190]
call eax
cmp eax, 1
jne 0x412515
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4123b0
sub eax, edx
jne 0x4125ec
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x16c]
call eax
test eax, eax
je 0x4125ec
push str.._vncclient.cpp_:_no_password_specified_for_server___client_rejected_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
add esp, 4
mov dword [esp + 0x1c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4123f8
sub eax, edx
mov edi, eax
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
lea edx, [eax + 1]
jmp 0x412410
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412410
sub eax, edx
mov ecx, eax
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412423
sub eax, esi
mov esi, eax
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412436
sub eax, ebx
shl eax, 0x10
and ecx, 0xff0000
and esi, 0xff00
or eax, esi
mov esi, dword [esp + 0x14]
shr edi, 0x10
or ecx, edi
mov edi, dword [esi + 0x60]
shl eax, 8
shr ecx, 8
or eax, ecx
mov dword [esp + 0x18], eax
mov ecx, 4
lea eax, [esp + 0x1c]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4124a0
sub eax, edx
mov ecx, eax
mov eax, str.This_server_does_not_have_a_valid_password_enabled.__Until_a_password_is_set__incoming_connections_cannot_be_accepted.
jmp 0x4125d4
push 0x400001cf
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
call fcn.0040d970
test eax, eax
jne 0x4124ed
mov dword [esp + 0x24], 2
mov esi, dword [sym.imp.USER32.dll_CloseDesktop]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push ebx
call esi
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp esi, 2
jne 0x4123a9
mov eax, str.Your_connection_has_been_rejected.
mov dword [esp + 0x1c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412525
sub eax, edx
mov edi, eax
mov eax, str.Your_connection_has_been_rejected.
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412538
sub eax, edx
mov ecx, eax
mov eax, str.Your_connection_has_been_rejected.
lea esi, [eax + 1]
jmp 0x412550
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412550
sub eax, esi
mov esi, eax
mov eax, str.Your_connection_has_been_rejected.
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412563
sub eax, ebx
shl eax, 0x10
and ecx, 0xff0000
and esi, 0xff00
or eax, esi
mov esi, dword [esp + 0x14]
shr edi, 0x10
or ecx, edi
mov edi, dword [esi + 0x60]
shl eax, 8
shr ecx, 8
or eax, ecx
mov dword [esp + 0x18], eax
mov ecx, 4
lea eax, [esp + 0x1c]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov eax, str.Your_connection_has_been_rejected.
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4125c4
sub eax, edx
mov ecx, eax
mov eax, str.Your_connection_has_been_rejected.
mov edi, dword [esi + 0x60]
call fcn.0044a300
lea edi, [esp + 0x10]
call fcn.00410d80
xor eax, eax
jmp 0x412da0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1a8]
call eax
test eax, eax
jne 0x412765
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.0044a040
push eax
call fcn.0045dae4
mov edx, dword [ebx + 0x60]
add esp, 4
push edx
mov edi, eax
call fcn.00449fe0
push eax
call fcn.0045dae4
add esp, 4
mov ebx, eax
test edi, edi
je 0x412806
test ebx, ebx
je 0x412806
mov ecx, ebx
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412660
test dl, dl
je 0x41265c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412660
add eax, 2
add ecx, 2
test dl, dl
jne 0x412640
xor eax, eax
jmp 0x412665
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
push edi
mov esi, ecx
call fcn.0045d511
add esp, 4
push ebx
call fcn.0045d511
add esp, 4
test esi, esi
jne 0x412806
push str.._vncclient.cpp_:_loopback_connection_attempted___client_rejected_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
mov eax, str.Local_loop_back_connections_are_disabled.
add esp, 4
mov dword [esp + 0x1c], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4126a8
sub eax, edx
mov edi, eax
mov eax, str.Local_loop_back_connections_are_disabled.
lea edx, [eax + 1]
jmp 0x4126c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4126c0
sub eax, edx
mov ecx, eax
mov eax, str.Local_loop_back_connections_are_disabled.
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4126d3
sub eax, esi
mov esi, eax
mov eax, str.Local_loop_back_connections_are_disabled.
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4126e6
sub eax, ebx
shl eax, 0x10
and ecx, 0xff0000
and esi, 0xff00
or eax, esi
mov esi, dword [esp + 0x14]
shr edi, 0x10
or ecx, edi
mov edi, dword [esi + 0x60]
shl eax, 8
shr ecx, 8
or eax, ecx
mov dword [esp + 0x18], eax
mov ecx, 4
lea eax, [esp + 0x1c]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov eax, str.Local_loop_back_connections_are_disabled.
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412750
sub eax, edx
mov ecx, eax
mov eax, str.Local_loop_back_connections_are_disabled.
jmp 0x4125d4
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x60]
push edx
call fcn.0044a040
push eax
call fcn.0045dae4
mov edi, eax
mov eax, dword [esi + 0x60]
add esp, 4
push eax
call fcn.00449fe0
push eax
call fcn.0045dae4
add esp, 4
mov ebx, eax
test edi, edi
je 0x412806
test ebx, ebx
je 0x412806
mov ecx, ebx
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4127c0
test dl, dl
je 0x4127bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4127c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4127a0
xor eax, eax
jmp 0x4127c5
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
push edi
mov esi, ecx
call fcn.0045d511
add esp, 4
push ebx
call fcn.0045d511
add esp, 4
test esi, esi
jne 0x412806
push str.._vncclient.cpp_:_loopback_connection_attempted___client_accepted_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x68]
add esp, 4
mov dword [eax + 0x30], 1
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x6c], 0
jne 0x412c8a
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
jmp 0x412820
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412820
sub eax, edx
je 0x412c8a
cmp dword [esi + 0x74], 0
je 0x412856
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x412cab
lea edi, [esp + 0x10]
call fcn.00410d80
xor eax, eax
jmp 0x412da0
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x2000000
call fcn.0044a300
test eax, eax
je 0x4125dc
lea ebx, [esp + 0x34]
mov dword [esp + 0x24], 1
call fcn.0040dd30
lea ebx, [esp + 0x7c]
call fcn.0040dd90
cmp dword [esi + 0x74], 0
mov ecx, 9
mov eax, 0x48b3f0
je 0x412b72
push str.MS_Logon_authentication
call fcn.00401000
mov edi, dword [esi + 0x60]
add esp, 4
mov ecx, 0x40
mov eax, ebx
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edi, dword [esi + 0x60]
mov ecx, 0x10
lea eax, [esp + 0x34]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x204]
push ecx
push edx
mov ecx, 0x100
call fcn.0044a3e0
test eax, eax
je 0x4125dc
mov ecx, dword [esi + 0x60]
lea eax, [esp + 0xfc]
push eax
push ecx
mov ecx, 0x100
call fcn.0044a3e0
test eax, eax
je 0x4125dc
mov eax, dword [esi + 0x60]
lea edx, [esp + 0xbc]
push edx
push eax
mov ecx, 0x40
call fcn.0044a3e0
test eax, eax
je 0x4125dc
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, 0x10
call fcn.0044a3e0
test eax, eax
je 0x4125dc
xor eax, eax
lea esp, [esp]
movzx ecx, byte [esp + eax + 0xbc]
movzx edx, byte [esp + eax + 0x7d]
xor cl, byte [esp + eax + 0x7c]
xor dl, byte [esp + eax + 0xbd]
mov byte [esp + eax + 0x5c], cl
movzx ecx, byte [esp + eax + 0x7e]
xor cl, byte [esp + eax + 0xbe]
mov byte [esp + eax + 0x5d], dl
movzx edx, byte [esp + eax + 0x7f]
xor dl, byte [esp + eax + 0xbf]
mov byte [esp + eax + 0x5e], cl
mov byte [esp + eax + 0x5f], dl
add eax, 4
cmp eax, 0x20
jl 0x412960
lea eax, [esp + 0x5c]
push eax
call fcn.0040dcd0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x208]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4129c3
sub eax, edx
jne 0x412a18
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1e4]
call eax
test eax, eax
jne 0x412a18
lea ecx, [eax + 9]
push str.No_user_specified__mslogon_not_required
mov eax, 0x48b3f0
call fcn.00401000
mov ecx, dword [esp + 0x2c]
add esp, 4
lea ebx, [esp + 0x34]
call fcn.0040ddf0
xor eax, eax
mov cl, byte [esp + eax + 0x34]
cmp cl, byte [esp + eax + 0x44]
jne 0x412a6b
inc eax
cmp eax, 0x10
jb 0x412a03
jmp 0x412a92
push str.User_specified_or_mslogon_required
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
add esp, 4
call eax
mov ebx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x208]
call fcn.0043a110
mov edi, eax
add esp, 4
push edi
push str.CheckUserGroupPasswordUni_result_i
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
test edi, edi
jne 0x412a75
mov dword [esp + 0x24], 0
jmp 0x412a92
cmp edi, 2
jne 0x412a92
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
call eax
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x412aa3
push eax
call fcn.0045d511
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x412bd6
push str.._vncclient.cpp_:_authentication_failed_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
push 0x104
lea edx, [esp + 0x100]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x412b23
lea eax, [esp + 0xfc]
push 0x5c
push eax
call fcn.0045e2ff
mov byte [eax], 0
lea eax, [esp + 0x104]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x412af8
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47bd8c]
mov dword [eax], ecx
mov ecx, dword [0x47bd90]
mov dword [eax + 4], edx
mov dl, byte [0x47bd94]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412b5c
push str.LOGFAILED
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x3c]
call eax
push eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x18], 0x1000000
mov ecx, 4
lea eax, [esp + 0x18]
jmp 0x4125d4
push str.password_authentication
call fcn.00401000
mov edi, dword [esi + 0x60]
add esp, 4
mov ecx, 0x10
lea eax, [esp + 0x34]
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, 0x10
call fcn.0044a3e0
test eax, eax
je 0x4125dc
mov ecx, dword [esp + 0x28]
lea ebx, [esp + 0x34]
call fcn.0040ddf0
xor eax, eax
mov cl, byte [esp + eax + 0x34]
cmp cl, byte [esp + eax + 0x44]
jne 0x412aae
inc eax
cmp eax, 0x10
jb 0x412bc2
cmp dword [esi + 0x74], 0
mov dword [esp + 0x18], 0
jne 0x412c84
push 0x104
lea ecx, [esp + 0x100]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x412c4b
lea edx, [esp + 0xfc]
push 0x5c
push edx
call fcn.0045e2ff
mov byte [eax], 0
lea eax, [esp + 0x104]
add esp, 8
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x412c20
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47bd8c]
mov dword [eax], ecx
mov ecx, dword [0x47bd90]
mov dword [eax + 4], edx
mov dl, byte [0x47bd94]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412c84
push str.LOGLOGON
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x3c]
call eax
push eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x18]
jmp 0x412c96
mov dword [esp + 0x2c], 0x1000000
lea eax, [esp + 0x2c]
mov edi, dword [esi + 0x60]
mov ecx, 4
call fcn.0044a300
test eax, eax
je 0x4125dc
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x23]
push ecx
push edx
mov ecx, 1
call fcn.0044a3e0
test eax, eax
je 0x4125dc
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 3
jne 0x412d13
cmp dword [esi + 0x70], 0
jne 0x412d13
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
jbe 0x412d13
push str.._vncclient.cpp_:_connections_already_exist___client_rejected_n
mov ecx, 1
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
lea edi, [esp + 0x10]
call fcn.00410d80
xor eax, eax
jmp 0x412da0
cmp byte [esp + 0x23], 0
jne 0x412d79
cmp dword [esi + 0x70], 0
jne 0x412d79
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 1
jae 0x412d55
push str.._vncclient.cpp_:_non_shared_connection___disconnecting_old_clients_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 4
call edx
jmp 0x412d79
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 1
jbe 0x412d79
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
ja 0x412cec
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx]
mov esi, dword [esi + 0x64]
mov edx, dword [eax + 0x40]
mov edi, dword [esi]
call edx
mov edx, dword [edi + 0xc]
movzx eax, ax
push eax
mov ecx, esi
call edx
lea edi, [esp + 0x10]
mov esi, eax
call fcn.00410d80
mov eax, esi
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0045c77f
mov esp, ebp
pop ebp
ret