Function at 0x40ac8d
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4500ca
call fcn.0041db18
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x174], edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
jne 0x40afac
cmp dword [ebp + 8], 0x33
jne 0x40acd5
mov ecx, dword [esi + 0x150]
push 4
push dword [ebp + 0xc]
lea eax, [esi + 0x1aa4]
push eax
call fcn.00411fcc
jmp 0x40b3ed
mov ecx, dword [esi + 0x14c]
cmp byte [ecx + 0x14], 0x31
jne 0x40acf0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 0x14c]
mov byte [eax + 0x14], 0x30
mov eax, dword [esi + 0x14c]
cmp byte [eax + 0x14], 0x30
jne 0x40ae0b
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], ebx
or dword [eax + 4], 0xffffffff
call fcn.0042d3f5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], 0x41
mov dword [ebp - 4], edi
je 0x40ad37
cmp dword [ebp + 8], 0x42
je 0x40ad37
cmp dword [ebp + 8], 0x58
lea eax, [esi + 0x80]
jne 0x40ad3d
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0x18]
push eax
call fcn.00401c11
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x14c]
push 0x3f
push ebx
push edi
call fcn.0044f09c
test eax, eax
je 0x40adbb
mov eax, dword [esi + 0x14c]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 8
mov ebx, 0xffff
push ebx
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x14c]
and dword [ebp - 0x14], 0
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0xffffff7f
push ebx
push dword [eax + 4]
call edi
push dword [esi + 0x78]
mov eax, dword [esi + 0x128]
mov ecx, dword [esi + 0x14c]
push eax
call fcn.0044ea8e
test eax, eax
je 0x40adfa
mov eax, dword [esi + 0x14c]
mov byte [eax + 0x14], 0x31
jmp 0x40adfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00421c41
lea edi, [esi + 0x148]
mov ecx, dword [edi]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x10]
mov eax, dword [edi]
push str.The_sockect_cant_create_error_no_is
mov ecx, esi
mov byte [eax + 0x18], 0x30
call fcn.00408751
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00408751
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004011ce
xor edi, edi
mov ecx, dword [esi + 0x14c]
cmp byte [ecx + 0x14], 0x30
jne 0x40ae75
mov eax, dword [esi + 0x64]
cmp eax, 0x3c
je 0x40b3ed
cmp eax, 0x3e
je 0x40b3ed
and dword [ebp + 8], 0
push 3
lea ebx, [esi + 0x1b4]
pop edi
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x41
mov byte [esi + 0x1ba], 0x32
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40aee6
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp eax, edi
jl 0x40ae50
jmp 0x40aee6
mov eax, dword [ecx]
push edi
push dword [ebp + 0xc]
lea ebx, [esi + 0x1aa4]
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40aefb
mov eax, dword [esi + 0x64]
cmp eax, 0x3c
je 0x40b3ed
cmp eax, 0x3e
je 0x40b3ed
and dword [ebp + 8], 0
push 3
lea ebx, [esi + 0x1b4]
pop edi
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x41
mov byte [esi + 0x1ba], 0x32
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40aee6
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp eax, edi
jl 0x40aec3
cmp dword [ebp + 8], edi
mov ecx, esi
jg 0x40b3da
push str.FEP___HOST_:
jmp 0x40b055
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x144]
push ebx
call fcn.004105e8
mov ecx, dword [esi + 0x144]
push 1
call fcn.004111b9
mov eax, dword [esi + 0x64]
cmp eax, 0x3c
je 0x40af9d
cmp eax, 0x3e
je 0x40af9d
and dword [ebp + 0xc], 0
push 3
lea ebx, [esi + 0x1b4]
pop edi
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x39
mov byte [esi + 0x1ba], 0
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40af6b
mov eax, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp eax, edi
jl 0x40af48
cmp dword [ebp + 0xc], edi
jg 0x40af91
mov eax, dword [ebx]
mov ecx, dword [esi + 0x144]
add eax, 4
push eax
push ebx
call fcn.00410b27
mov ecx, dword [esi + 0x144]
push 1
call fcn.004111b9
jmp 0x40af9d
push 0x457f20
mov ecx, esi
call fcn.00408751
push dword [ebp + 8]
mov ecx, esi
call fcn.0040a231
jmp 0x40b3ed
mov ebx, dword [ebp + 0xc]
dec ebx
push ebx
push edi
push 0x10
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x2e2c], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
cmp eax, edi
mov dword [ebp - 0x1c], eax
jne 0x40b07c
push str.Out_of_memory_
mov ecx, esi
call fcn.00408751
cmp dword [ebp + 8], 0x43
je 0x40b3e1
cmp dword [ebp + 8], 0x44
je 0x40b3e1
cmp dword [ebp + 8], 0x33
je 0x40b3e1
and dword [ebp + 8], 0
push 3
lea ebx, [esi + 0x1b4]
pop edi
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x41
mov byte [esi + 0x1ba], 0x31
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40b045
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp eax, edi
jl 0x40b022
cmp dword [ebp + 8], edi
mov ecx, esi
jg 0x40b3da
push str.FEP___ATM_:COM
call fcn.00408751
mov eax, dword [ebx]
add eax, 4
push eax
add esi, 0x144
mov ecx, dword [esi]
push ebx
call fcn.00410b27
mov ecx, dword [esi]
push 1
call fcn.004111b9
jmp 0x40b3ed
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp eax, edi
jge 0x40b095
push str.Safe_array_access_data_calling_error_
jmp 0x40afd9
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
cmp eax, edi
jge 0x40b0b2
push str.Safe_array_get_lowest_bound_error_
jmp 0x40afd9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push ebx
add ecx, eax
push edi
push ecx
call fcn.0041dc40
add esp, 0xc
push ebx
lea edi, [esi + 0x1aa4]
push edi
mov ecx, esi
call fcn.004030de
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push ebx
add ecx, eax
push edi
push ecx
call fcn.0041cfd0
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jge 0x40b0fe
push str.Safe_array_unaccess_data_calling_error_
jmp 0x40afd9
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov dword [ebp - 4], 1
call dword [ecx + 0x2c]
jmp 0x40b137
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 1
je 0x40b1f1
cmp dword [ebp + 8], 0x43
je 0x40b1e7
cmp dword [ebp + 8], 0x44
je 0x40b1e7
cmp dword [ebp + 8], 0x33
je 0x40b1e7
and dword [ebp + 8], 0
push 3
lea ebx, [esi + 0x1b4]
pop edi
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x41
mov byte [esi + 0x1ba], 0x32
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40b1aa
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp eax, edi
jl 0x40b187
cmp dword [ebp + 8], edi
mov ecx, esi
jg 0x40b1dd
push str.FEP___HOST_:COM
call fcn.00408751
mov eax, dword [ebx]
add eax, 4
push eax
add esi, 0x144
mov ecx, dword [esi]
push ebx
call fcn.00410b27
mov ecx, dword [esi]
push 1
call fcn.004111b9
jmp 0x40b3cf
push 0x457f20
jmp 0x40b3ca
push str.FEP___HOST_:COM
jmp 0x40b3c8
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax]
push 3
pop edi
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 4], edi
call dword [ecx + 0x20]
jmp 0x40b234
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], 0x43
je 0x40b387
cmp dword [ebp + 8], 0x44
je 0x40b387
cmp dword [ebp + 8], 0x33
je 0x40b387
cmp dword [ebp - 0x18], 0
jne 0x40b30e
push dword [ebp + 0xc]
lea ebx, [esi + 0x1aa4]
push ebx
mov ecx, esi
call fcn.0040368f
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x144]
push ebx
call fcn.004105e8
mov ecx, dword [esi + 0x144]
push 1
call fcn.004111b9
and dword [ebp + 0xc], 0
lea ebx, [esi + 0x1b4]
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x39
mov byte [esi + 0x1ba], 0
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40b2d1
mov eax, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp eax, edi
jl 0x40b2ae
cmp dword [ebp + 0xc], edi
jg 0x40b2f3
mov eax, dword [ebx]
mov ecx, dword [esi + 0x144]
add eax, 4
push eax
push ebx
call fcn.00410b27
mov ecx, dword [esi + 0x144]
jmp 0x40b3b1
push 0x457f20
mov ecx, esi
call fcn.00408751
push dword [ebp + 8]
mov ecx, esi
call fcn.0040a231
jmp 0x40b3cf
cmp dword [ebp - 0x18], 1
jne 0x40b3cf
and dword [ebp + 8], 0
lea ebx, [esi + 0x1b4]
mov dword [ebx], edi
mov byte [esi + 0x1b8], 0x38
mov byte [esi + 0x1b9], 0x41
mov byte [esi + 0x1ba], 0x32
mov edx, dword [ebx]
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push 0
add edx, 4
push edx
push ebx
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40b35c
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp eax, edi
jl 0x40b339
cmp dword [ebp + 8], edi
jg 0x40b380
mov eax, dword [ebx]
add eax, 4
push eax
lea edi, [esi + 0x144]
mov ecx, dword [edi]
push ebx
call fcn.00410b27
mov ecx, dword [edi]
push 1
call fcn.004111b9
jmp 0x40b3c3
push 0x457f20
jmp 0x40b3c8
cmp dword [ebp - 0x18], 0
jne 0x40b3bd
push dword [ebp + 0xc]
lea ebx, [esi + 0x1aa4]
push ebx
mov ecx, esi
call fcn.0040368f
push dword [ebp + 0xc]
lea edi, [esi + 0x144]
mov ecx, dword [edi]
push ebx
call fcn.004105e8
mov ecx, dword [edi]
push 1
call fcn.004111b9
jmp 0x40b2ff
cmp dword [ebp - 0x18], 1
jne 0x40b3cf
push str.FEP___HOST:COM
mov ecx, esi
call fcn.00408751
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x40b3ed
push 0x457f20
jmp 0x40b3e8
push str.FEP___ATM_:COM
mov ecx, esi
call fcn.00408751
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8