Function at 0x4383b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5152
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x278], 0
je 0x4383ed
xor esi, esi
jmp 0x43843b
mov eax, dword [edi + 0x26c]
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x128], 0x10
push ecx
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [ebp - 0x120]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [edi + 0x270]
test eax, eax
mov edx, str._unavailable_
cmovne edx, eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1a8]
mov esi, eax
lea ecx, [ebp - 0x114]
call fcn.00484080
test eax, eax
je 0x438680
mov ecx, 0x518188
lea eax, [ebp - 0x114]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438480
test dl, dl
je 0x43847c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438480
add eax, 2
add ecx, 2
test dl, dl
jne 0x438460
xor eax, eax
jmp 0x438485
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4384aa
cmp dword [0x5674b8], eax
jne 0x4384aa
push 0x101
lea eax, [ebp - 0x114]
push str.Default
push eax
call fcn.004daa40
add esp, 0xc
mov ecx, 0x518188
lea eax, [ebp - 0x114]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4384d5
test dl, dl
je 0x4384d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4384d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4384b5
xor eax, eax
jmp 0x4384da
sbb eax, eax
or eax, 1
test eax, eax
jne 0x438505
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1e0]
cmp eax, vtable.vncServer.0
jne 0x43869e
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x438593
cmp esi, 1
jne 0x438593
call fcn.004843d0
test eax, eax
je 0x4385a6
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1e0]
cmp eax, vtable.vncServer.0
jne 0x4386a5
mov eax, dword [ecx + 0xd4]
test eax, eax
jne 0x4385a6
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x4386ac
cmp dword [ecx + 0xc8], 2
jne 0x438564
mov eax, 1
jmp 0x438682
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c0]
cmp eax, vtable.vncServer.0
jne 0x4386bf
mov eax, dword [ecx + 0xc8]
xor esi, esi
cmp eax, 2
cmovne esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 2
cmp esi, 2
je 0x438680
mov eax, 1
jmp 0x438682
push 0x20
call fcn.004cbf3d
mov esi, eax
add esp, 4
mov dword [ebp - 0x12c], esi
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x270]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1c0]
cmp ecx, vtable.vncServer.0
jne 0x4386c8
mov eax, dword [edx + 0xc8]
xor ebx, ebx
cmp eax, 2
cmovne ebx, eax
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1d0]
cmp ecx, vtable.vncServer.0
jne 0x4386d9
mov eax, dword [edx + 0xcc]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 0x128], eax
call fcn.00485d60
mov ecx, dword [ebp - 0x128]
push eax
mov dword [esi], vtable.vncAcceptDialog.0
mov dword [esi + 8], ecx
call fcn.004dad37
add esp, 4
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x130]
mov dword [esi + 0x10], 0
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
push eax
push 0
push esi
push 0x432170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x12c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x12c], 1
je 0x43859c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
call edx
jmp 0x4384fd
call edx
jmp 0x43853a
call dword [eax + 0x1c8]
test eax, eax
je 0x43859c
jmp 0x438564
call edx
mov esi, eax
jmp 0x43858b
mov ecx, edx
call eax
mov edx, dword [edi + 0x270]
mov ebx, eax
jmp 0x4385e7
mov ecx, edx
call eax
jmp 0x438601