Function at 0x482d30
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b690
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5b0008]
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
push str.vncSockConnectThread::run_undetached_:_started_socket_connection_thread_n
push 0
push 0x5b0d48
call fcn.0041cc90
xor esi, esi
add esp, 0xc
cmp dword [edi + 0x60], esi
jne 0x482f99
nop
cmp byte [0x5b31af], 0
jne 0x482f8d
mov ecx, dword [edi + 0x64]
call fcn.00483d30
mov esi, eax
test esi, esi
je 0x482f99
mov ecx, dword [0x5be08c]
mov eax, dword [ecx + 0x730]
cmp eax, dword [ecx + 0x72c]
jne 0x482f3b
mov eax, dword [esi + 8]
mov ebx, dword [edi + 0x68]
cmp eax, 0xffffffff
je 0x482df5
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x110], eax
push ecx
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x21c], 0
jmp 0x482e32
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x482f3b
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], eax
push ecx
mov dword [ebp - 0x218], 1
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x228], 2
mov dword [ebp - 0x224], 0
push 0
push 0
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
setg cl
test ecx, ecx
je 0x482f3b
lea eax, [ebp - 0x290]
mov dword [ebp - method.omni_thread.virtual_0], vtable.omni_thread.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
sub esp, 0xc
lea ecx, [ebp - 0x294]
call fcn.004c0260
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - method.vncHTTPConnectThread.virtual_0], vtable.vncHTTPConnectThread.0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x294]
push esi
mov dword [ebp - 0x230], ebx
call fcn.00472300
cmp dword [esi + 8], 0xffffffff
je 0x482ed3
push str.VSocket::Shutdown4_:_shutdown_socket_n
push 0xa
push 0x5b0d48
call fcn.0041cc90
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
add esp, 0xc
push 2
push dword [esi + 8]
call ebx
jmp 0x482ed9
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
cmp dword [esi + 0xc], 0xffffffff
je 0x482efa
push str.VSocket::Shutdown6_:_shutdown_socket_n
push 0xa
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
push 2
push dword [esi + 0xc]
call ebx
mov ecx, esi
call fcn.00483af0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 0xffffffff
call fcn.004c0320
push str.vncSockConnectThread::run_undetached_:_Woo_hoo__Served_Java_applet_via_RFB_
push 1
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
cmp dword [edi + 0x60], 0
je 0x482d80
jmp 0x482f91
push ecx
mov ecx, esi
call fcn.004840d0
push eax
push str.vncSockConnectThread::run_undetached_:_accepted_connection_from__s_n
push 1
push 0x5b0d48
call fcn.0041cc90
mov eax, dword [edi + 0x60]
add esp, 0x10
test eax, eax
jne 0x482f91
cmp byte [0x5b31af], al
jne 0x482f91
mov ecx, dword [edi + 0x68]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 8]
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x482f91
cmp byte [0x5b31af], al
je 0x482d8d
jmp 0x482f91
test esi, esi
je 0x482f99
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push str.vncSockConnectThread::run_undetached_:_quitting_socket_connection_thread_n
push 0
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
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.00519459
mov esp, ebp
pop ebp
ret 4