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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
mov dword [esp + 0x10], edi
movlpd qword [esp + 0x2c], xmm0
lea ebx, [edi + 0x284]
mov esi, dword [edi + 0x274]
lea ecx, [edi + 0x288]
mov dword [ecx], 0
mov ecx, str.0.0.0.0
mov dword [ebx], 0
mov byte [esp + 0x38], 0
lea eax, [esi + 0x388]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43bde0
test dl, dl
je 0x43bddc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43bde0
add eax, 2
add ecx, 2
test dl, dl
jne 0x43bdc0
xor eax, eax
jmp 0x43bde5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43bfed
push 8
push 3
push str.RFB__03d._03d_n
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov byte [esp + 0x34], al
lea eax, [esp + 0x28]
push 0xd
push eax
movq qword [esp + 0x30], xmm0
call fcn.00438a50
add esp, 0x14
xor ebx, ebx
nop dword [eax + eax]
push str.vncClientThread::InitVersion_:_Send_protocolMsg_n
push 0
push 0x5b0d48
call fcn.0041cc90
mov esi, dword [edi + 0x26c]
add esp, 0xc
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
je 0x43bf71
cmp byte [esi + 0x1c], 0
mov edi, 0xc
je 0x43bf5c
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x21], 0
je 0x43bf5c
cmp byte [esi + 0x6c], 0
je 0x43be87
mov ecx, dword [esi + 0x68]
add ecx, dword [esi + 0x70]
movq xmm0, qword [esp + 0x1c]
movq qword [ecx], xmm0
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], eax
add dword [esi + 0x70], edi
or eax, 0xffffffff
jmp 0x43bec7
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0xc
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00484f40
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
cmp ecx, 0xffffffff
jne 0x43bf60
mov ecx, dword [esi + 0xc]
cmp ecx, 0xffffffff
jne 0x43bf60
xor ecx, ecx
xor eax, eax
cmp ecx, edi
sete al
cmp eax, 1
jne 0x43bf0f
push str.vncClientThread::InitVersion_:_Send_OK_n
push 0
push 0x5b0d48
call fcn.0041cc90
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edi + 0x26c]
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
jne 0x43befa
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x43bf0f
push eax
push 0xc
lea eax, [esp + 0x34]
push eax
call fcn.00484d00
test eax, eax
jne 0x43c007
push str.vncClientThread::InitVersion_:__Send_OK___Recv_OK_n
push 0
push 0x5b0d48
call fcn.0041cc90
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 0x43c114
mov edi, dword [esp + 0x10]
add ebx, 0x3e8
jmp 0x43be20
lea eax, [esp + 0x1c]
push ecx
push edi
push eax
mov ecx, esi
call fcn.00484730
mov ecx, eax
jmp 0x43bec0
cmp dword [esi + 0xc], 0xffffffff
je 0x43bf0f
cmp byte [esi + 0x1c], 0
mov edi, 0xc
je 0x43bfcc
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x21], 0
je 0x43bfcc
cmp byte [esi + 0x6c], 0
jne 0x43be68
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push edi
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00484f40
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x43bfd0
push ecx
push edi
push eax
mov ecx, esi
call fcn.00484730
mov ecx, eax
jmp 0x43bec0
lea eax, [esp + 0x1c]
mov ecx, dword [esi + 0xc]
cmp ecx, 0xffffffff
je 0x43bebe
push ecx
push edi
push eax
mov ecx, esi
call fcn.00484730
mov ecx, eax
jmp 0x43bec0
movq xmm0, qword [esi + 0x388]
movq qword [esp + 0x2c], xmm0
mov eax, dword [esi + 0x390]
mov dword [esp + 0x34], eax
jmp 0x43c00d
lea ebx, [edi + 0x284]
push 3
lea eax, [esp + 0x30]
push 0x59cc74
push eax
call fcn.005274a0
add esp, 0xc
test eax, eax
jne 0x43c03d
push str.vncClientThread::InitVersion_:_Keepalive_received_n
push eax
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
jmp 0x43bd94
push 3
lea eax, [esp + 0x30]
push 0x59ccac
push eax
call fcn.005274a0
add esp, 0xc
test eax, eax
jne 0x43c114
lea esi, [edi + 0x288]
push esi
push ebx
lea eax, [esp + 0x34]
push str.RFB__03d._03d_n
push eax
call fcn.0041f940
add esp, 0x10
cmp dword [ebx], 3
jne 0x43c114
mov eax, dword [0x5be08c]
mov edx, str.false
mov ecx, str.true
mov eax, dword [eax + 0x7a4]
test eax, eax
mov dword [edi + 0x280], eax
cmove ecx, edx
push ecx
push str.vncClientThread::InitVersion_:_m_ms_logon_set_to__s
push 9
push 0x5b0d48
call fcn.0041cc90
mov ecx, dword [edi + 0x274]
add esp, 0x10
mov eax, dword [ecx]
push 0
call dword [eax + 0x78]
cmp dword [esi], 7
jl 0x43c0fd
mov eax, dword [edi + 0x26c]
cmp byte [eax + 0x1c], 0
je 0x43c0fd
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
call dword [eax + 0x108]
cmp byte [eax + 0x21], 0
je 0x43c0fd
mov eax, dword [edi + 0x26c]
cmp dword [eax + 4], 0
je 0x43c0fd
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x26c]
mov byte [eax + 0x1e], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00519459
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.00519459
mov esp, ebp
pop ebp
ret