Function at 0x1001974c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x10192a7c]
lea edx, [eax - 1]
imul edx, eax
test dl, 1
mov eax, dword [0x10192a80]
sete byte [ebp - 0x15]
cmp eax, 0xa
setl byte [ebp - 0x16]
mov esi, ecx
mov eax, 0xa7be5a5f
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 0xe8eba9c4
jg 0x100197d2
cmp eax, 0xbfc5e999
jg 0x10019831
cmp eax, 0xa5851c7b
jg 0x10019924
cmp eax, 0x8e714a48
jg 0x10019a0f
cmp eax, 0x81c52187
je 0x10019be1
cmp eax, 0x8a89c3cd
je 0x10019beb
cmp eax, 0x8b6dae77
jne 0x10019786
mov eax, 0x175b3e04
jmp 0x10019786
cmp eax, 0x1bb47008
jg 0x10019885
cmp eax, 0xfa5ca99d
jg 0x1001995a
cmp eax, 0xf093c467
jg 0x10019a4d
cmp eax, 0xe8eba9c5
je 0x10019bf5
cmp eax, 0xe9cc6f15
je 0x10019c12
cmp eax, 0xec4d4173
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xa5851c7c
mov ecx, 0x8a89c3cd
jmp 0x10019f6c
cmp eax, 0xdd80f6ba
jg 0x10019990
cmp eax, 0xcbc2a568
jg 0x10019a8b
cmp eax, 0xbfc5e99a
je 0x10019c2f
cmp eax, 0xc2bd4984
je 0x10019c4c
cmp eax, 0xcad28e92
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb615ab14
mov ecx, 0xf5edfd07
jmp 0x10019f6c
cmp eax, 0x55cab14a
jg 0x100199c6
cmp eax, 0x31a386f1
jg 0x10019ac9
cmp eax, 0x1bb47009
je 0x10019c56
cmp eax, 0x2e8b39b3
je 0x10019c73
cmp eax, 0x2ec5b181
jne 0x10019786
mov eax, dword [ebp - 0x10]
mov word [eax], 1
mov eax, dword [ebp - 0x10]
mov word [eax + 2], 0
push 4
push dword [ebp - 0x14]
push 0x80
push 0xffff
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [esi + 0x53], eax
push dword [esi + 0x48]
call edi
push dword [esi + 0x4c]
call ebx
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [ebp - 0x14]
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdfc42a2a
mov ecx, 0x62b96598
jmp 0x10019f6c
cmp eax, 0xaf632f8b
jg 0x10019b07
cmp eax, 0xa5851c7c
je 0x10019c80
cmp eax, 0xa7be5a5f
je 0x10019c8a
cmp eax, 0xa995f8aa
jne 0x10019786
mov eax, 0x6844c68f
jmp 0x10019786
cmp eax, 0xf0e92b6
jg 0x10019b45
cmp eax, 0xfa5ca99e
je 0x10019ca8
cmp eax, 0x9bdc1cb
je 0x10019cc5
cmp eax, 0xefc9ca2
jne 0x10019786
mov eax, 0x4699250a
jmp 0x10019786
cmp eax, 0xe232d6ec
jg 0x10019b83
cmp eax, 0xdd80f6bb
je 0x10019ce5
cmp eax, 0xdfc42a2a
je 0x10019cef
cmp eax, 0xe0faa9d6
jne 0x10019786
mov eax, 0xbdd9dfb7
jmp 0x10019786
cmp eax, 0x645f3758
jle 0x10019bc1
cmp eax, 0x645f3759
je 0x10019d44
cmp eax, 0x6844c68f
je 0x10019d61
cmp eax, 0x6db8a83f
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x81c52187
mov ecx, 0x8e714a49
jmp 0x10019f6c
cmp eax, 0x8e714a49
je 0x10019d84
cmp eax, 0x935f49df
je 0x10019da1
cmp eax, 0x9ea4298f
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdfc42a2a
mov ecx, 0x2ec5b181
jmp 0x10019f6c
cmp eax, 0xf093c468
je 0x10019dbe
cmp eax, 0xf5edfd07
je 0x10019dc8
cmp eax, 0xf60a2792
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xaf632f8c
mov ecx, 0xe8eba9c5
jmp 0x10019f6c
cmp eax, 0xcbc2a569
je 0x10019e30
cmp eax, 0xcc089bbb
je 0x10019e56
cmp eax, 0xdd01e623
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8b6dae77
mov ecx, 0x175b3e04
jmp 0x10019f6c
cmp eax, 0x31a386f2
je 0x10019e73
cmp eax, 0x4481ed9d
je 0x10019e90
cmp eax, 0x4699250a
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xefc9ca2
mov ecx, 0xe0faa9d6
jmp 0x10019f6c
cmp eax, 0xaf632f8c
je 0x10019e9d
cmp eax, 0xb615ab14
je 0x10019ea7
cmp eax, 0xbdd9dfb7
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x81c52187
mov ecx, 0x6db8a83f
jmp 0x10019f6c
cmp eax, 0xf0e92b7
je 0x10019efc
cmp eax, 0x1131e088
je 0x10019f16
cmp eax, 0x175b3e04
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8b6dae77
mov ecx, 0xdd80f6bb
jmp 0x10019f6c
cmp eax, 0xe232d6ed
je 0x10019f20
cmp eax, 0xe3d06c8e
je 0x10019f3a
cmp eax, 0xe848d2aa
jne 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xa5851c7c
mov ecx, 0xec4d4173
jmp 0x10019f6c
cmp eax, 0x5f1d5062
je 0x10019f54
cmp eax, 0x62b96598
jne 0x10019f7e
mov eax, 0xcad28e92
jmp 0x10019786
mov eax, 0x6db8a83f
jmp 0x10019786
mov eax, 0xe3d06c8e
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xaf632f8c
mov ecx, 0x55cab14b
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xa995f8aa
mov ecx, 0x6844c68f
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf093c468
mov ecx, 0xcc089bbb
jmp 0x10019f6c
mov eax, 0x645f3759
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xfa5ca99e
mov ecx, 0xe848d2aa
jmp 0x10019f6c
mov eax, dword [ebp - 0x10]
mov eax, 0xcbc2a569
jmp 0x10019786
mov eax, 0xec4d4173
jmp 0x10019786
mov cl, byte [ebp - 0x15]
cmp byte [ebp - 0x16], 0
mov eax, 0x1131e088
mov edx, 0x31a386f2
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4481ed9d
mov ecx, 0x9bdc1cb
jmp 0x10019f6c
mov eax, dword [ebp - 0x10]
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4481ed9d
mov ecx, 0xc2bd4984
jmp 0x10019f6c
mov eax, 0xe9cc6f15
jmp 0x10019786
mov eax, dword [ebp - 0x10]
mov word [eax], 1
mov eax, dword [ebp - 0x10]
mov word [eax + 2], 0
push 4
push dword [ebp - 0x14]
push 0x80
push 0xffff
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [esi + 0x53], eax
push dword [esi + 0x48]
call edi
push dword [esi + 0x4c]
call ebx
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [ebp - 0x14]
mov eax, 0x2ec5b181
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2e8b39b3
mov ecx, 0xcbc2a569
jmp 0x10019f6c
push eax
mov eax, esp
mov dword [ebp - 0x10], eax
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xa995f8aa
mov ecx, 0x5f1d5062
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xfa5ca99e
mov ecx, 0x645f3759
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdd01e623
mov ecx, 0xe9cc6f15
jmp 0x10019f6c
mov eax, 0xbfc5e99a
jmp 0x10019786
mov eax, dword [ebp - 0x10]
mov word [eax], 1
mov eax, dword [ebp - 0x10]
mov word [eax + 2], 0
push 4
push dword [ebp - 0x14]
push 0x80
push 0xffff
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [esi + 0x53], eax
push dword [esi + 0x48]
call edi
push dword [esi + 0x4c]
call ebx
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [ebp - 0x14]
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb615ab14
mov ecx, 0xe232d6ed
jmp 0x10019f6c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2e8b39b3
mov ecx, 0x1bb47009
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9ea4298f
mov ecx, 0xcad28e92
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x1131e088
mov ecx, 0x935f49df
jmp 0x10019f6c
mov eax, dword [ebp - 0x10]
mov eax, 0x9bdc1cb
jmp 0x10019786
mov eax, 0xe8eba9c5
jmp 0x10019786
mov eax, dword [ebp - 0x10]
mov word [eax], 1
mov eax, dword [ebp - 0x10]
mov word [eax + 2], 0
push 4
push dword [ebp - 0x14]
push 0x80
push 0xffff
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [esi + 0x53], eax
push dword [esi + 0x48]
call edi
push dword [esi + 0x4c]
call ebx
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [ebp - 0x14]
mov eax, 0xf5edfd07
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xefc9ca2
mov ecx, 0x4699250a
jmp 0x10019f6c
mov eax, 0x31a386f2
jmp 0x10019786
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9ea4298f
mov ecx, 0xf60a2792
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf093c468
mov ecx, 0xbfc5e99a
jmp 0x10019f6c
mov eax, dword [0x10192a7c]
lea ecx, [eax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdd01e623
mov ecx, 0xf0e92b7
cmove eax, ecx
cmp dword [0x10192a80], 0xa
cmovl eax, ecx
jmp 0x10019786
cmp eax, 0x55cab14b
jne 0x10019786
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret