Function at 0x8a8f5c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1cc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x170], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0xc4], 0x80c9e4
mov dword [ebp - 0xc0], 0x9a1a13
lea eax, [ebp - 0x18]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0x8a91bd
mov dword [ebp - 0xb4], esp
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0080f6e4
mov edx, dword [ebp - 0x16c]
cmp dword [edx], 0xffffffff
je 0x8a9042
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
cmp byte [0x9ab8e8], 0
jne 0x8a8ffb
mov dword [0x9abcc8], 0x9ef828
mov byte [0x9ab8e8], 1
mov dword [esp], 0x700936
call fcn.004012c0
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xe4], 0x9abcc8
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x174]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
jmp 0x8a96fa
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx]
mov dword [ebp - 0x17c], ecx
mov dword [esp], 0
mov dword [ebp - 0xd8], 0xffffffff
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0xf0], 0
call fcn.007b0de4
lea edx, [ebp - 0xf0]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call sub.WS2_32.DLL_WSASocketA
sub esp, 0x18
mov edx, dword [ebp - 0x174]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00874aa0
mov dword [ebp - 0x180], eax
mov eax, 0xffffffff
cmp dword [ebp - 0x180], 0xffffffff
je 0x8a9199
cmp dword [ebp - 0x17c], 0x17
jne 0x8a914b
mov dword [ebp - 0xf4], 0
mov dword [esp + 0x10], 4
lea eax, [ebp - 0xf4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 0x29
mov ecx, dword [ebp - 0x180]
mov dword [esp], ecx
mov dword [ebp - 0xd8], 0xffffffff
call sub.WSOCK32.DLL_setsockopt
sub esp, 0x14
mov dword [esp], 0
mov dword [ebp - 0xd8], 0xffffffff
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0x100], 0
call fcn.007b0de4
lea edx, [ebp - 0x100]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x8a9202
mov edx, dword [ebp - 0x174]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
jmp 0x8a96fa
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0xd8], 5
call sub.KERNEL32.dll_CreateIoCompletionPort
sub esp, 0x10
test eax, eax
jne 0x8a9279
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x184], eax
call fcn.007b0de4
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x108], ecx
lea edx, [ebp - 0x108]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x8a92b2
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xd8], 5
call fcn.007b0de4
lea edx, [ebp - 0x110]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, 0x8c1614
mov edx, dword [ebp - 0x174]
cmp dword [edx], 0
jne 0x8a92c7
mov eax, 0
test eax, eax
je 0x8a93ee
mov edx, dword [ebp - 0x174]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x8a93d1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xd8], 2
call fcn.007b0de4
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1b0], ecx
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0x120], 0
call fcn.007b0de4
lea edx, [ebp - 0x120]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call sub.WSOCK32.DLL_closesocket
sub esp, 4
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00874a6c
test eax, eax
jne 0x8a93d1
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0x128], 0
call fcn.007b0de4
lea edx, [ebp - 0x128]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
jmp 0x8a93d1
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
jmp 0x8a96fa
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], 0xffffffff
mov edx, dword [ebp - 0x16c]
mov dword [edx], eax
mov byte [edx + 4], 0
add edx, 8
mov dword [ebp - 0x194], edx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
lea ecx, [ebp - 0xa8]
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov word [ebp - 0xa8], 2
mov word [ebp - 0xa6], 0
mov dword [ebp - 0xa4], 0
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [ebp - 0xa8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x16c]
mov byte [ecx + 0x88], 0
mov byte [esp + 8], 0
mov dword [esp + 4], 0
mov eax, ecx
add eax, 0x8c
mov dword [esp], eax
mov dword [ebp - 0xd8], 5
call fcn.00852aa8
mov edx, dword [ebp - 0x170]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x16c]
mov dword [ecx + 0x94], eax
mov dword [ebp - 0x130], 0
call fcn.007b0de4
lea edx, [ebp - 0x130]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x8a95d4
mov dword [ebp - 0x138], 0
mov dword [ebp - 0xd8], 3
call fcn.007b0de4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1ac], eax
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0x140], 0
call fcn.007b0de4
lea edx, [ebp - 0x140]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov edx, dword [ebp - 0x1ac]
mov dword [esp], edx
call sub.WSOCK32.DLL_closesocket
sub esp, 4
lea ecx, [ebp - 0x138]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00874a6c
test eax, eax
jne 0x8a95d4
mov dword [esp], 0
call sub.WSOCK32.DLL_WSASetLastError
sub esp, 4
mov dword [ebp - 0x148], 0
call fcn.007b0de4
lea edx, [ebp - 0x148]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
jmp 0x8a95d4
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
jmp 0x8a96fa
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x168]
mov edx, dword [ebp - 0x164]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret