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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x14], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 8], ebx
push edi
movlpd qword [esp + 0x14], xmm0
lea edi, [ebx + 0x284]
mov esi, dword [ebx + 0x274]
lea ecx, [ebx + 0x288]
mov dword [ecx], 0
mov ecx, str.0.0.0.0
mov dword [edi], 0
mov byte [esp + 0x20], 0
lea eax, [esi + 0x388]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43bc60
test dl, dl
je 0x43bc5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43bc60
add eax, 2
add ecx, 2
test dl, dl
jne 0x43bc40
xor eax, eax
jmp 0x43bc65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43bda7
push 8
push 3
push str.RFB__03d._03d_n
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
mov byte [esp + 0x3c], al
lea eax, [esp + 0x30]
push 0xd
push eax
movq qword [esp + 0x38], xmm0
call fcn.00438960
add esp, 0x14
xor edi, edi
nop dword [eax + eax]
push str.vncClientThread::InitVersion_:_Send_protocolMsg_n
push 0
push 0x5b0d48
call fcn.0041ccb0
mov esi, dword [ebx + 0x26c]
add esp, 0xc
cmp dword [esi + 8], 0xffffffff
je 0x43bd5a
cmp byte [esi + 0x18], 0
mov ebx, 0xc
je 0x43bd1b
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x43bd1b
cmp byte [esi + 0x68], 0
je 0x43bcfa
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [esp + 0x24]
movq qword [ecx], xmm0
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], ebx
jmp 0x43bd5a
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0xc
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00484510
mov ebx, dword [esp + 0x10]
jmp 0x43bd1f
lea eax, [esp + 0x24]
push ebx
push eax
mov ecx, esi
call fcn.00483ee0
cmp eax, ebx
jne 0x43bd5a
push str.vncClientThread::InitVersion_:_Send_OK_n
push 0
push 0x5b0d48
call fcn.0041ccb0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x20]
add esp, 0xc
mov ecx, dword [ebx + 0x26c]
push 0xc
push eax
call fcn.004842f0
test eax, eax
jne 0x43bdc1
push str.vncClientThread::InitVersion_:__Send_OK___Recv_OK_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
mov ecx, 0x7530
cmp edi, 0x7530
mov eax, edi
cmovg eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x43bece
mov ebx, dword [esp + 0xc]
add edi, 0x3e8
jmp 0x43bca0
movq xmm0, qword [esi + 0x388]
movq qword [esp + 0x14], xmm0
mov eax, dword [esi + 0x390]
mov dword [esp + 0x1c], eax
jmp 0x43bdc7
lea edi, [ebx + 0x284]
push 3
lea eax, [esp + 0x18]
push 0x59cbfc
push eax
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x43bdf7
push str.vncClientThread::InitVersion_:_Keepalive_received_n
push eax
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
jmp 0x43bc14
push 3
lea eax, [esp + 0x18]
push 0x59cc34
push eax
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x43bece
lea esi, [ebx + 0x288]
push esi
push edi
lea eax, [esp + 0x1c]
push str.RFB__03d._03d_n
push eax
call fcn.0041f990
add esp, 0x10
cmp dword [edi], 3
jne 0x43bece
mov eax, dword [0x5bdff0]
mov edx, str.false
mov ecx, str.true
mov eax, dword [eax + 0x7a4]
test eax, eax
mov dword [ebx + 0x280], eax
cmove ecx, edx
push ecx
push str.vncClientThread::InitVersion_:_m_ms_logon_set_to__s
push 9
push 0x5b0d48
call fcn.0041ccb0
mov ecx, dword [ebx + 0x274]
add esp, 0x10
mov eax, dword [ecx]
push 0
call dword [eax + 0x78]
cmp dword [esi], 7
jl 0x43beb7
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x18], 0
je 0x43beb7
mov ecx, dword [ebx + 0x270]
mov eax, dword [ecx]
call dword [eax + 0x108]
cmp byte [eax + 0x21], 0
je 0x43beb7
mov eax, dword [ebx + 0x26c]
cmp dword [eax + 4], 0
je 0x43beb7
mov byte [eax + 0x19], 1
mov eax, dword [ebx + 0x26c]
mov byte [eax + 0x1a], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret