Function at 0x412790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472459
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push esi
push edi
mov eax, dword [0x48a348]
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, 0x48c4e8
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.d:dataultravncultravnc_project_rootultravncwinvncwinvnc_vncPasswd.h_:_PASSWD_:_ToText_called_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
push 9
call fcn.0045edb3
add esp, 4
mov edi, eax
push 1
mov ecx, 0x48ba6c
mov dword [esp + 0x2c], edi
call fcn.004016d0
add esp, 4
mov esi, edi
lea eax, [esp + 0x54]
call fcn.00401c90
mov byte [edi + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x420], 0
cmp dword [ebx + 0x6c], 0
je 0x41285d
xor esi, esi
jmp 0x41287c
mov ecx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x64]
mov edi, dword [esi]
push ecx
call fcn.0044b1d0
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.00449210
test eax, eax
jne 0x4128ba
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412895
sub eax, edx
push eax
push 0
push edi
call fcn.00463710
add esp, 0xc
push edi
call fcn.0045ecd6
add esp, 4
xor eax, eax
jmp 0x4133a0
mov ecx, 0x47b37f
lea eax, [esp + 0x304]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4128e6
test dl, dl
je 0x4128e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4128e6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4128c6
xor eax, eax
jmp 0x4128eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x412904
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a0]
call edx
test eax, eax
je 0x412b07
cmp esi, 1
jne 0x412b07
push 0x1c
call fcn.0045dd59
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x420], 1
test esi, esi
je 0x412981
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
push eax
call fcn.0044b1d0
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.0045f17a
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 0x412983
xor esi, esi
mov byte [esp + 0x420], 0
test esi, esi
jne 0x412ab5
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x190]
call eax
cmp eax, 1
jne 0x412b10
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4129b0
sub eax, edx
jne 0x412be9
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x16c]
call eax
test eax, eax
je 0x412be9
push str.._vncclient.cpp_:_no_password_specified_for_server___client_rejected_n
xor ecx, ecx
mov eax, 0x48c4e8
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 0x4129f8
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 0x412a10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412a10
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 0x412a23
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 0x412a36
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.0044b4f0
test eax, eax
je 0x412bd9
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044b4f0
test eax, eax
je 0x412bd9
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 0x412aa0
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 0x412bd1
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.0040dcd0
test eax, eax
jne 0x412aed
mov dword [esp + 0x24], 2
push edi
call dword [sym.imp.USER32.dll_CloseDesktop]
push ebx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp esi, 2
jne 0x4129a9
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 0x412b20
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 0x412b33
sub eax, edx
mov ecx, eax
mov eax, str.Your_connection_has_been_rejected.
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412b46
sub eax, esi
mov esi, eax
mov eax, str.Your_connection_has_been_rejected.
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412b60
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.0044b4f0
test eax, eax
je 0x412bd9
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov eax, str.Your_connection_has_been_rejected.
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412bc1
sub eax, edx
mov ecx, eax
mov eax, str.Your_connection_has_been_rejected.
mov edi, dword [esi + 0x60]
call fcn.0044b4f0
lea edi, [esp + 0x10]
call fcn.004111b0
xor eax, eax
jmp 0x4133a0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1a8]
call eax
test eax, eax
jne 0x412d65
mov ecx, dword [ebx + 0x60]
push ecx
call fcn.0044b230
push eax
call fcn.0045f17a
mov edx, dword [ebx + 0x60]
add esp, 4
push edx
mov edi, eax
call fcn.0044b1d0
push eax
call fcn.0045f17a
add esp, 4
mov ebx, eax
test edi, edi
je 0x412e06
test ebx, ebx
je 0x412e06
mov ecx, ebx
mov eax, edi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412c60
test dl, dl
je 0x412c5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412c60
add eax, 2
add ecx, 2
test dl, dl
jne 0x412c40
xor eax, eax
jmp 0x412c65
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
push edi
mov esi, ecx
call fcn.0045ecd6
add esp, 4
push ebx
call fcn.0045ecd6
add esp, 4
test esi, esi
jne 0x412e06
push str.._vncclient.cpp_:_loopback_connection_attempted___client_rejected_n
xor ecx, ecx
mov eax, 0x48c4e8
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 0x412ca8
sub eax, edx
mov edi, eax
mov eax, str.Local_loop_back_connections_are_disabled.
lea edx, [eax + 1]
jmp 0x412cc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412cc0
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 0x412cd3
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 0x412ce6
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.0044b4f0
test eax, eax
je 0x412bd9
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x18]
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov eax, str.Local_loop_back_connections_are_disabled.
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412d50
sub eax, edx
mov ecx, eax
mov eax, str.Local_loop_back_connections_are_disabled.
jmp 0x412bd1
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x60]
push edx
call fcn.0044b230
push eax
call fcn.0045f17a
mov edi, eax
mov eax, dword [esi + 0x60]
add esp, 4
push eax
call fcn.0044b1d0
push eax
call fcn.0045f17a
add esp, 4
mov ebx, eax
test edi, edi
je 0x412e06
test ebx, ebx
je 0x412e06
mov ecx, ebx
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412dc0
test dl, dl
je 0x412dbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412dc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x412da0
xor eax, eax
jmp 0x412dc5
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
push edi
mov esi, ecx
call fcn.0045ecd6
add esp, 4
push ebx
call fcn.0045ecd6
add esp, 4
test esi, esi
jne 0x412e06
push str.._vncclient.cpp_:_loopback_connection_attempted___client_accepted_n
xor ecx, ecx
mov eax, 0x48c4e8
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 0x41328a
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
jmp 0x412e20
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412e20
sub eax, edx
je 0x41328a
cmp dword [esi + 0x74], 0
je 0x412e56
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x4132ab
lea edi, [esp + 0x10]
call fcn.004111b0
xor eax, eax
jmp 0x4133a0
mov edi, dword [esi + 0x60]
mov ecx, 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x2000000
call fcn.0044b4f0
test eax, eax
je 0x412bd9
lea ebx, [esp + 0x34]
mov dword [esp + 0x24], 1
call fcn.0040e090
lea ebx, [esp + 0x7c]
call fcn.0040e0f0
cmp dword [esi + 0x74], 0
mov ecx, 9
mov eax, 0x48c4e8
je 0x413172
push str.MS_Logon_authentication
call fcn.00401000
mov edi, dword [esi + 0x60]
add esp, 4
mov ecx, 0x40
mov eax, ebx
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov edi, dword [esi + 0x60]
mov ecx, 0x10
lea eax, [esp + 0x34]
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x204]
push ecx
push edx
mov ecx, pe_nt_image_headers32
call fcn.0044b5d0
test eax, eax
je 0x412bd9
mov ecx, dword [esi + 0x60]
lea eax, [esp + 0xfc]
push eax
push ecx
mov ecx, pe_nt_image_headers32
call fcn.0044b5d0
test eax, eax
je 0x412bd9
mov eax, dword [esi + 0x60]
lea edx, [esp + 0xbc]
push edx
push eax
mov ecx, 0x40
call fcn.0044b5d0
test eax, eax
je 0x412bd9
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, 0x10
call fcn.0044b5d0
test eax, eax
je 0x412bd9
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 0x412f60
lea eax, [esp + 0x5c]
push eax
call fcn.0040e030
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 0x412fc3
sub eax, edx
jne 0x413018
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1e4]
call eax
test eax, eax
jne 0x413018
lea ecx, [eax + 9]
push str.No_user_specified__mslogon_not_required
mov eax, 0x48c4e8
call fcn.00401000
mov ecx, dword [esp + 0x2c]
add esp, 4
lea ebx, [esp + 0x34]
call fcn.0040e150
xor eax, eax
mov cl, byte [esp + eax + 0x34]
cmp cl, byte [esp + eax + 0x44]
jne 0x41306b
inc eax
cmp eax, 0x10
jb 0x413003
jmp 0x413092
push str.User_specified_or_mslogon_required
mov ecx, 9
mov eax, 0x48c4e8
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.0043b0d0
mov edi, eax
add esp, 4
push edi
push str.CheckUserGroupPasswordUni_result_i
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
add esp, 8
test edi, edi
jne 0x413075
mov dword [esp + 0x24], 0
jmp 0x413092
cmp edi, 2
jne 0x413092
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 0x4130a3
push eax
call fcn.0045ecd6
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x4131d6
push str.._vncclient.cpp_:_authentication_failed_n
xor ecx, ecx
mov eax, 0x48c4e8
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 0x413123
lea eax, [esp + 0xfc]
push 0x5c
push eax
call fcn.0045f99f
mov byte [eax], 0
lea eax, [esp + 0x104]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4130f8
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47cd3c]
mov dword [eax], ecx
mov ecx, dword [0x47cd40]
mov dword [eax + 4], edx
mov dl, byte [0x47cd44]
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 0x41315c
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 0x412bd1
push str.password_authentication
call fcn.00401000
mov edi, dword [esi + 0x60]
add esp, 4
mov ecx, 0x10
lea eax, [esp + 0x34]
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, 0x10
call fcn.0044b5d0
test eax, eax
je 0x412bd9
mov ecx, dword [esp + 0x28]
lea ebx, [esp + 0x34]
call fcn.0040e150
xor eax, eax
mov cl, byte [esp + eax + 0x34]
cmp cl, byte [esp + eax + 0x44]
jne 0x4130ae
inc eax
cmp eax, 0x10
jb 0x4131c2
cmp dword [esi + 0x74], 0
mov dword [esp + 0x18], 0
jne 0x413284
push 0x104
lea ecx, [esp + 0x100]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41324b
lea edx, [esp + 0xfc]
push 0x5c
push edx
call fcn.0045f99f
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 0x413220
mov ecx, dword [str.logging.dll]
mov edx, dword [0x47cd3c]
mov dword [eax], ecx
mov ecx, dword [0x47cd40]
mov dword [eax + 4], edx
mov dl, byte [0x47cd44]
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 0x413284
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 0x413296
mov dword [esp + 0x2c], 0x1000000
lea eax, [esp + 0x2c]
mov edi, dword [esi + 0x60]
mov ecx, 4
call fcn.0044b4f0
test eax, eax
je 0x412bd9
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x23]
push ecx
push edx
mov ecx, 1
call fcn.0044b5d0
test eax, eax
je 0x412bd9
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 3
jne 0x413313
cmp dword [esi + 0x70], 0
jne 0x413313
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
jbe 0x413313
push str.._vncclient.cpp_:_connections_already_exist___client_rejected_n
mov ecx, 1
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
lea edi, [esp + 0x10]
call fcn.004111b0
xor eax, eax
jmp 0x4133a0
cmp byte [esp + 0x23], 0
jne 0x413379
cmp dword [esi + 0x70], 0
jne 0x413379
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 1
jae 0x413355
push str.._vncclient.cpp_:_non_shared_connection___disconnecting_old_clients_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
add esp, 4
call edx
jmp 0x413379
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
cmp eax, 1
jbe 0x413379
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
ja 0x4132ec
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.004111b0
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.0045dc1f
mov esp, ebp
pop ebp
ret