Function at 0x432e60
Capabilities:
Get socket status
Resolve dns
Set socket configuration

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0xdc
mov edx, dword [0x47d8d4]
mov ebx, dword [0x48092c]
mov dword [0x47dde8], 1
mov dword [esp + 0x38], 1
mov dword [esp + eax + 0x50], 0
add eax, 4
cmp eax, 0x20
jb 0x432e8a
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], 0x45dd10
mov dword [esp + 4], 0xa
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 1
mov dword [esp + 0x50], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
lea eax, [esp + 0x3c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call sub.cygwin1.dll_getaddrinfo
test eax, eax
jne 0x433415
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
je 0x432f1a
mov esi, esi
lea edi, [edi]
mov eax, dword [eax + 0x1c]
add ebx, 1
test eax, eax
jne 0x432f10
lea eax, [ebx + 1]
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.0041a790
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov esi, eax
mov dword [esp], ebx
call fcn.0041a790
test eax, eax
mov dword [esp + 0x24], eax
je 0x433490
test esi, esi
je 0x433490
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x433455
xor eax, eax
mov dword [esp + 0x20], esi
xor edi, edi
mov esi, eax
jmp 0x432ff8
lea eax, [esp + 0x38]
mov dword [esp + 0x10], 4
mov dword [esp + 8], 4
mov dword [esp + 4], 0xffff
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_setsockopt
mov edx, dword [0x47d898]
test edx, edx
je 0x433230
cmp byte [edx], 0
jne 0x433250
cmp dword [ebx + 4], 0x17
je 0x4331e0
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.cygwin1.dll_bind
test eax, eax
js 0x433260
mov eax, dword [esp + 0x20]
mov dword [eax + edi*4], ebp
add edi, 1
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x43306f
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.cygwin1.dll_socket
cmp eax, 0xffffffff
mov ebp, eax
jne 0x432f80
call sub.cygwin1.dll___errno
mov eax, dword [eax]
lea ebp, [esi + 1]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], str.socket__d__d__d__failed:__s_n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
lea eax, [eax + esi*4]
mov dword [esp], eax
call sub.cygwin1.dll_asprintf
test eax, eax
js 0x433490
mov ebx, dword [ebx + 0x1c]
mov esi, ebp
test ebx, ebx
jne 0x432ff8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
test eax, eax
mov dword [esi + edi*4], 0xffffffff
je 0x43308e
mov dword [esp], eax
call sub.cygwin1.dll_freeaddrinfo
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4330f0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], esi
xor ebx, ebx
mov esi, ebp
test edi, edi
je 0x4330b0
cmp word [0x480944], 0
jle 0x4330d6
mov ebp, dword [esi]
mov dword [esp], ebp
call sub.cygwin1.dll_strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], 6
call fcn.0041fce0
mov eax, dword [esi]
add ebx, 1
add esi, 4
mov dword [esp], eax
call fcn.0044e534
cmp ebx, dword [esp + 0x28]
jne 0x4330a2
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0044e534
test edi, edi
lea eax, [esp + 0x3c]
je 0x433467
nop
lea esi, [esi]
lea edi, [esp + 0x44]
add eax, 1
mov byte [eax - 1], 0
cmp eax, edi
jne 0x433110
mov edx, dword [esi]
test edx, edx
js 0x4332b9
xor ebx, ebx
mov ebp, 0xffffffff
mov edi, 1
jmp 0x433163
mov ecx, dword [esi + ebx*4]
mov edx, edi
mov eax, ecx
shl edx, cl
shr eax, 5
or dword [esp + eax*4 + 0x3c], edx
cmp ebp, ecx
cmovl ebp, ecx
add ebx, 1
mov eax, dword [esi + ebx*4]
test eax, eax
js 0x4332bc
call fcn.00439340
mov dword [esp + 4], eax
mov eax, dword [esi + ebx*4]
mov dword [esp], eax
call sub.cygwin1.dll_listen
test eax, eax
jns 0x433140
call sub.cygwin1.dll___errno
mov dword [esp + 8], str.listen___on_socket_failed
mov eax, dword [eax]
mov dword [esp], 3
mov dword [esp + 4], eax
call fcn.0041f9e0
call sub.cygwin1.dll___errno
cmp dword [eax], 0x70
jne 0x4331bc
test ebx, ebx
je 0x4331bc
mov dword [esp + 4], str.Try_using___ipv4_or___ipv6_to_avoid_this_listen___error._n
mov dword [esp], 2
call fcn.00420340
mov dword [esp + 8], 0x238
mov dword [esp + 4], str.socket.c
mov dword [esp], 0xa
call fcn.00412fd0
nop
lea esi, [esi]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], 4
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 0x29
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_setsockopt
test eax, eax
jns 0x432fc9
cmp dword [0x47d8d4], 0x17
je 0x432fc9
mov dword [esp], ebp
call sub.cygwin1.dll_close
jmp 0x432ff1
call fcn.00439320
test eax, eax
je 0x432fbf
cmp byte [eax], 0
je 0x432fbf
mov edx, eax
nop
lea esi, [esi]
mov eax, ebp
call fcn.00431cd0
jmp 0x432fbf
mov edx, dword [ebx + 4]
mov dword [esp + 0x2c], edx
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
lea edx, [esi + 1]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], str.bind___failed:__s__address_family__d__n
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
lea eax, [eax + esi*4]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sub.cygwin1.dll_asprintf
test eax, eax
js 0x433490
mov dword [esp], ebp
call sub.cygwin1.dll_close
mov esi, dword [esp + 0x28]
jmp 0x432ff1
or ebp, 0xffffffff
lea edi, [esp + 0x38]
add ebp, 1
mov dword [esp + 0x38], pe_nt_image_headers32
call fcn.0041f9b0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], ebp
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 4], eax
call sub.cygwin1.dll_select
test eax, eax
jle 0x4332c3
mov eax, dword [esi]
test eax, eax
js 0x4332c3
mov edx, eax
shr edx, 5
mov edx, dword [esp + edx*4 + 0x44]
bt edx, eax
jb 0x43333a
lea edx, [esi + 4]
mov eax, dword [edx]
test eax, eax
js 0x4332c3
mov ecx, eax
add edx, 4
shr ecx, 5
mov ecx, dword [esp + ecx*4 + 0x44]
bt ecx, eax
jae 0x433323
lea edx, [esp + 0x50]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.cygwin1.dll_accept
test eax, eax
mov ebx, eax
js 0x4332c3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x47dde0
mov dword [esp], 0x14
mov dword [0x47dde0], 0x431ca0
call sub.cygwin1.dll_sigaction
call sub.cygwin1.dll_fork
test eax, eax
je 0x4333d8
js 0x4333a0
mov dword [esp], ebx
call sub.cygwin1.dll_close
jmp 0x4332c3
call sub.cygwin1.dll___errno
mov dword [esp + 8], str.could_not_create_child_server_process
mov eax, dword [eax]
mov dword [esp], 3
mov dword [esp + 4], eax
call fcn.0041f9e0
mov dword [esp], ebx
call sub.cygwin1.dll_close
mov dword [esp], 2
call sub.cygwin1.dll_sleep
jmp 0x4332c3
mov eax, dword [esi]
add esi, 4
test eax, eax
js 0x4333f3
add esi, 4
mov dword [esp], eax
call sub.cygwin1.dll_close
mov eax, dword [esi - 4]
test eax, eax
jns 0x4333e1
call fcn.0041fcc0
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [esp + 0xf4]
mov ebx, eax
call fcn.00412f50
mov dword [esp], ebx
call sub.cygwin1.dll__exit
mov dword [esp], eax
call sub.cygwin1.dll_gai_strerror
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.rsync:_getaddrinfo:_bind_address__s:__s_n
mov dword [esp], 3
call fcn.00420340
mov dword [esp + 8], 0x22b
mov dword [esp + 4], str.socket.c
mov dword [esp], 0xa
call fcn.00412fd0
mov eax, dword [esp + 0x24]
mov dword [esi], 0xffffffff
mov dword [esp], eax
call fcn.0044e534
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], str.unable_to_bind_any_inbound_sockets_on_port__d_n
mov dword [esp], 3
mov dword [esp + 8], eax
call fcn.00420340
mov dword [esp], esi
call fcn.0044e534
jmp 0x433439
mov dword [esp], str.open_socket_in
call fcn.0041a8d0
lea esi, [esi]