Function at 0x447e30
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc9d
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 0x4480f0
cmp dword [ebx + 0x2c], 0
jne 0x4480f0
cmp dword [ebx + 0x18], 0
jne 0x447f87
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sub eax, ecx
sar eax, 1
add eax, 0xffffffff
je 0x44811b
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x44811b
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00436ca0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.0043a0d0
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 str._d._d._d._d
push eax
call fcn.0043a670
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.004319b0
push 0x38
call fcn.00471fe1
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004364e0
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.00436720
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 0x44813a
lea ecx, [ebp - 0x34]
call fcn.0043a210
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.004319b0
push 0xc
call fcn.00471fe1
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.00471fe1
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.0042a330
mov byte [ebp - 4], 6
push 8
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00471fe1
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.00471fe1
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.00471fe1
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.00471fe1
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.00471fe1
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.0043a760
add esp, 8
lea eax, [ebp - 0x38]
push 0x4ca0b8
push eax
call fcn.004735ed
lea ecx, [ebp - 0x50]
call fcn.00436e30
push 0x4ca2b4
lea eax, [ebp - 0x50]
push eax
call fcn.004735ed
int3