Function at 0x100279a3
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3044]
push esi
xor esi, esi
push edi
inc esi
or edi, 0xffffffff
cmp eax, edi
mov dword [ebp - 8], 0x10000
mov dword [ebp - 0x10], 0x80000
mov dword [ebp - 0xc], esi
je 0x100279e4
push eax
push ebx
call dword [ebx + 0x2fec]
pop ecx
pop ecx
mov dword [ebx + 0x3044], edi
push ebx
mov dword [ebx + 0x3048], edi
mov dword [ebx + 0x14418], esi
call fcn.10022963
test eax, eax
pop ecx
je 0x10027a1a
push 0x15
push str.TCP_init_failed_in_soap_bind__
mov edx, ebx
call fcn.1002598e
push eax
push ebx
call fcn.10024d27
add esp, 0x10
mov eax, edi
jmp 0x10027cab
push 0x20
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.10038d20
add esp, 0xc
cmp dword [ebp + 0x14], 0xfffffffc
push 2
pop eax
jne 0x10027a38
mov dword [ebp - 0x2c], eax
jmp 0x10027a4b
cmp dword [ebp + 0x14], 0xfffffffa
jne 0x10027a47
mov dword [ebp - 0x2c], 0x17
jmp 0x10027a4b
and dword [ebp - 0x2c], 0
test byte [ebx + 0xc], 4
push 0
pop ecx
mov dword [ebx + 0x14418], eax
lea eax, [ebp - 4]
push eax
setne cl
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x30], esi
push ebx
inc ecx
mov dword [ebp - 0x28], ecx
call fcn.1002696b
pop ecx
pop ecx
push eax
push dword [ebp + 0xc]
call fcn.100064af
test eax, eax
je 0x10027ab1
push 0x15
push str.getaddrinfo_failed_in_soap_bind__
push eax
call fcn.10021e18
pop ecx
push eax
push ebx
call fcn.10024d27
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x10027a13
push dword [ebp - 4]
call fcn.10006525
jmp 0x10027a13
mov esi, dword [ebp - 4]
test esi, esi
je 0x10027afd
push 8
pop ecx
lea edi, [ebp - 0x50]
push 0x80
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x154a0]
push 0
push esi
call fcn.10038d20
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push dword [eax + 0x18]
push esi
call fcn.1003c0c0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add esp, 0x18
push eax
mov dword [ebx + 0x15520], ecx
mov dword [ebp - 0x38], esi
call fcn.10006525
or edi, 0xffffffff
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.WSOCK32.dll_socket]
and dword [ebx + 0x14418], 0
cmp eax, edi
mov dword [ebx + 0x3044], eax
jne 0x10027b35
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
mov dword [ebx + 0x1441c], eax
push str.socket_failed_in_soap_bind__
jmp 0x10027a02
test byte [ebx + 0xc], 4
je 0x10027b41
mov dword [ebx + 0x3048], eax
mov ecx, dword [ebx + 0x44]
test ecx, ecx
mov esi, dword [sym.imp.WSOCK32.dll_setsockopt]
mov edi, 0xffff
je 0x10027b8e
push 4
lea edx, [ebp - 0xc]
push edx
push ecx
push edi
push eax
call esi
test eax, eax
je 0x10027b8e
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
push str.setsockopt_failed_in_soap_bind__
mov dword [ebx + 0x1441c], eax
mov edx, ebx
call fcn.1002598e
push eax
push ebx
call fcn.10024d27
add esp, 0x10
or eax, 0xffffffff
jmp 0x10027cab
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push edi
push dword [ebx + 0x3044]
call esi
test eax, eax
je 0x10027bb5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
push str.setsockopt_SO_SNDBUF_failed_in_soap_bind__
jmp 0x10027b6f
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1002
push edi
push dword [ebx + 0x3044]
call esi
test eax, eax
je 0x10027bdc
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
push str.setsockopt_SO_RCVBUF_failed_in_soap_bind__
jmp 0x10027b6f
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push dword [ebx + 0x3044]
call esi
test eax, eax
je 0x10027c03
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
push str.setsockopt_SO_REUSEADDR_failed_in_soap_bind__
jmp 0x10027b6f
test byte [ebx + 0xc], 4
jne 0x10027c31
push 4
lea eax, [ebp - 0xc]
push eax
push 1
push 6
push dword [ebx + 0x3044]
call esi
test eax, eax
je 0x10027c31
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0x15
push str.setsockopt_TCP_NODELAY_failed_in_soap_bind__
jmp 0x10027b6f
push dword [ebp - 0x40]
and dword [ebx + 0x14418], 0
push dword [ebp - 0x38]
push dword [ebx + 0x3044]
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x10027c6d
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push ebx
mov dword [ebx + 0x1441c], eax
call fcn.10022a3e
pop ecx
push 0x15
push str.bind_failed_in_soap_bind__
jmp 0x10027b75
test byte [ebx + 0xc], 4
jne 0x10027ca5
push dword [ebp + 0x14]
push dword [ebx + 0x3044]
call dword [sym.imp.WSOCK32.dll_listen]
test eax, eax
je 0x10027ca5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push ebx
mov dword [ebx + 0x1441c], eax
call fcn.10022a3e
pop ecx
push 0x15
push str.listen_failed_in_soap_bind__
jmp 0x10027b75
mov eax, dword [ebx + 0x3044]
pop edi
pop esi
pop ebx
leave
ret