Function at 0x447d80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc0d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 0x38]
lea esi, [ebx + 0x38]
mov ecx, esi
call dword [eax + 4]
mov byte [ebx + 0x32], 1
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx + 0x28], 0
jne 0x448040
cmp dword [ebx + 0x2c], 0
jne 0x448040
cmp dword [ebx + 0x18], 0
jne 0x447ed7
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sub eax, ecx
sar eax, 1
add eax, 0xffffffff
je 0x44806b
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x44806b
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00436c20
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.0043a040
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x19]
push eax
lea eax, [ebp - 0x34]
push 0x4b60c4
push eax
call fcn.0043a5e0
movzx eax, word [ebx + 0x14]
push eax
push dword [ebp - 0x30]
push eax
push dword [ebx + 8]
push str.Connecting_to_the_host___s:_hd____s:_hd_...
push dword [ebx + 0x34]
call fcn.00431930
push 0x38
call fcn.0047217f
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00436460
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1c], 1
call fcn.004366a0
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
push 4
push ecx
push 1
push 6
push dword [eax + 0x24]
mov dword [ebp - 0x14], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x44808a
lea ecx, [ebp - 0x34]
call fcn.0043a180
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Initialization_of_socket_stream_and_input_output_gates...
push dword [ebx + 0x34]
call fcn.00431930
push 0xc
call fcn.0047217f
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x18]
push 0x24
mov dword [eax + 4], vtable.OutputStream.0
mov dword [eax], vtable.SocketStream.0
mov dword [eax + 4], vtable.SocketStream.1.0
mov dword [eax + 8], ecx
mov dword [ebx + 0x20], eax
call fcn.0047217f
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 4
mov esi, dword [ebx + 0x20]
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [edi + 0x10]
mov dword [edi], vtable.BufferedInputStream.0
mov dword [edi + 4], 0x989680
mov dword [edi + 8], 0x186a0
push 0x186a0
call fcn.0042a2b0
mov byte [ebp - 4], 6
push 8
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0047217f
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
push 8
mov dword [eax], vtable.DataInputStream.0
mov dword [eax + 4], esi
mov dword [edi + 0xc], eax
mov dword [ebx + 0x24], edi
call fcn.0047217f
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x24]
push 0x28
mov dword [eax + 4], ecx
mov dword [eax], vtable.RfbInputGate.0
mov dword [ebx + 0x28], eax
call fcn.0047217f
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 7
mov edi, dword [edi + 0x20]
mov dword [ebx], vtable.DataOutputStream.0
mov dword [ebx + 4], 0
lea eax, [ebx + 0xc]
mov dword [ebx + 8], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 9
push 0x186ac
mov dword [ebx], vtable.RfbOutputGate.0
mov dword [ebx + 8], vtable.RfbOutputGate.1.0
call fcn.0047217f
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
push 8
mov dword [esi], vtable.BufferedOutputStream.0
mov dword [esi + 0x186a8], 0
call fcn.0047217f
mov dword [ebp - 0x18], eax
add esp, 8
mov dword [eax], vtable.DataOutputStream.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0xffffffff
neg edi
sbb edi, edi
and edi, ecx
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], esi
mov dword [ebx + 4], esi
mov dword [eax + 0x2c], ebx
mov ebx, eax
mov byte [ebx + 0x30], 1
lea esi, [ebx + 0x38]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebx + 0x33], 1
mov dword [ebp - 4], 0xc
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
push str.Connection_parameters__host__port__socket__gates__is_empty.
push eax
call fcn.0043a6d0
add esp, 8
lea eax, [ebp - 0x38]
push 0x4ca0f8
push eax
call fcn.0047354d
lea ecx, [ebp - 0x50]
call fcn.00436db0
push 0x4ca2f4
lea eax, [ebp - 0x50]
push eax
call fcn.0047354d
int3