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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x438
mov eax, dword [0x4ba700]
xor eax, esp
mov dword [esp + 0x434], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
push edi
lea edi, [eax + 0x1c]
mov byte [esp + 0x24], 0
mov ecx, str.0.0.0.0
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415b40
test dl, dl
je 0x415b3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415b40
add eax, 2
add ecx, 2
test dl, dl
jne 0x415b20
xor eax, eax
jmp 0x415b45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415bf8
mov ecx, dword [esi + 0x68]
cmp dword [0x4f37b4], eax
je 0x415b7b
mov eax, dword [ecx]
mov edx, dword [eax + 0x208]
call edx
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x10
push eax
push 3
push str.RFB__03d._03d_n
lea eax, [esp + 0x34]
push eax
jmp 0x415b9c
mov edx, dword [ecx]
mov eax, dword [edx + 0x208]
call eax
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 6
push eax
push 3
push str.RFB__03d._03d_n
lea ecx, [esp + 0x34]
push ecx
call fcn.0047c59e
add esp, 0x10
cmp dword [0x4f37b4], 0
je 0x415bb7
mov edi, dword [esi + 0x64]
push 0
call fcn.004537b0
mov edi, dword [esi + 0x64]
mov ecx, 0xc
lea eax, [esp + 0x28]
call fcn.00453a00
test eax, eax
je 0x415be2
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x64]
mov ecx, 0xc
call fcn.00453b00
test eax, eax
jne 0x415c0c
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0047c3ff
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x20], edx
push 3
lea eax, [esp + 0x1c]
push 0x4ab128
push eax
call fcn.0047e22e
add esp, 0xc
test eax, eax
jne 0x415be2
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push str.RFB__03d._03d_n
push eax
call fcn.0047e20c
add esp, 0x10
cmp dword [esp + 0x14], 3
jne 0x415be2
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x208]
call eax
mov dword [esi + 0x78], eax
test eax, eax
mov eax, str.true
jne 0x415c65
mov eax, str.false
push eax
push str.._vncclient.cpp_:_m_ms_logon_set_to__s
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 4
je 0x415d49
cmp eax, 6
je 0x415d49
cmp eax, 0xe
je 0x415ca1
cmp eax, 0x10
jne 0x415d45
cmp dword [0x4f37b4], 0
je 0x415d45
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
push 1
call eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004041f0
lea eax, [esp + 0x3c]
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415cd0
mov edi, dword [esi + 0x64]
sub eax, edx
mov dword [esp + 8], eax
mov ecx, 4
lea eax, [esp + 8]
call fcn.00453a00
test eax, eax
je 0x415be2
mov ecx, dword [esp + 8]
mov edi, dword [esi + 0x64]
lea eax, [esp + 0x38]
call fcn.00453a00
test eax, eax
je 0x415be2
lea edx, [esp + 0xc]
push edx
mov edx, dword [esi + 0x64]
mov ecx, 4
call fcn.00453b00
test eax, eax
je 0x415be2
cmp dword [esp + 0xc], 0
jne 0x415d55
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0047c3ff
mov esp, ebp
pop ebp
ret
push 0
jmp 0x415d4b
push 1
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0047c3ff
mov esp, ebp
pop ebp
ret