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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], 0
push esi
push edi
xorps xmm0, xmm0
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x27c]
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x18], edi
nop dword [eax + eax]
mov esi, dword [ebx + 0x268]
mov ecx, str.0.0.0.0
mov dword [ebx + 0x278], 0
mov dword [edi], 0
mov byte [esp + 0x28], 0
lea eax, [esi + 0x388]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442596
test dl, dl
je 0x442592
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442596
add eax, 2
add ecx, 2
test dl, dl
jne 0x442576
xor eax, eax
jmp 0x44259b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4426d5
push 8
push 3
push str.RFB__03d._03d_n
mov dword [esp + 0x40], eax
xorps xmm0, xmm0
mov byte [esp + 0x44], al
lea eax, [esp + 0x38]
push 0xd
push eax
movq qword [esp + 0x40], xmm0
call fcn.0043f000
add esp, 0x14
xor ebx, ebx
push str.vncClientThread::InitVersion_:_Send_protocolMsg_n
push 0
push 0x5c3db0
call fcn.0041dde0
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov esi, dword [esi + 0x260]
cmp dword [esi + 8], 0xffffffff
je 0x44268c
cmp byte [esi + 0x18], 0
mov edi, 0xc
je 0x44264d
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44264d
cmp byte [esi + 0x68], 0
je 0x44262c
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [esp + 0x2c]
movq qword [ecx], xmm0
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], edi
jmp 0x44268c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0xc
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.0048f190
mov edi, dword [esp + 0x14]
jmp 0x442651
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, esi
call fcn.0048eb60
cmp eax, edi
jne 0x44268c
push str.vncClientThread::InitVersion_:_Send_OK_n
push 0
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
lea eax, [esp + 0x1c]
push 0xc
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x260]
call fcn.0048ef70
test eax, eax
jne 0x4426ef
push str.vncClientThread::InitVersion_:__Send_OK___Recv_OK_n
push 0
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
mov ecx, 0x7530
cmp ebx, 0x7530
mov eax, ebx
cmovg eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x442806
add ebx, 0x3e8
jmp 0x4425ce
movq xmm0, qword [esi + 0x388]
movq qword [esp + 0x1c], xmm0
mov eax, dword [esi + 0x390]
mov dword [esp + 0x24], eax
jmp 0x4426f7
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push 3
lea eax, [esp + 0x20]
push 0x5ad6c4
push eax
call fcn.00534300
add esp, 0xc
test eax, eax
jne 0x442727
push str.vncClientThread::InitVersion_:_Keepalive_received_n
push eax
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x442550
push 3
lea eax, [esp + 0x20]
push 0x5ad6fc
push eax
call fcn.00534300
add esp, 0xc
test eax, eax
jne 0x442806
push edi
lea eax, [ebx + 0x278]
push eax
lea eax, [esp + 0x24]
push str.RFB__03d._03d_n
push eax
call fcn.0043f050
add esp, 0x10
cmp dword [ebx + 0x278], 3
jne 0x442806
mov eax, dword [0x5d1914]
mov edx, str.false
mov ecx, str.true
mov eax, dword [eax + 0x7a4]
test eax, eax
mov dword [ebx + 0x274], eax
cmove ecx, edx
push ecx
push str.vncClientThread::InitVersion_:_m_ms_logon_set_to__s
push 9
push 0x5c3db0
call fcn.0041dde0
mov ecx, dword [ebx + 0x268]
add esp, 0x10
mov eax, dword [ecx]
push 0
call dword [eax + 0x78]
cmp dword [ebx + 0x27c], 7
jl 0x4427ef
mov eax, dword [ebx + 0x260]
cmp byte [eax + 0x18], 0
je 0x4427ef
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0x108]
cmp byte [eax + 0x21], 0
je 0x4427ef
mov eax, dword [ebx + 0x260]
cmp dword [eax + 4], 0
je 0x4427ef
mov byte [eax + 0x19], 1
mov eax, dword [ebx + 0x260]
mov byte [eax + 0x1a], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret