Function at 0x1000a710
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100457b5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10059100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
mov ecx, 0x10061954
mov byte [ebp - 0x49], 1
call fcn.1000d5f0
push ecx
lea ecx, [ebp - 0x50]
call fcn.10008e10
push eax
lea ecx, [ebp - 0x88]
call fcn.10015050
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x48]
call fcn.100032c0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.10003330
push ecx
lea ecx, [ebp - 0x18]
call fcn.10003a20
mov ecx, 0x100618e8
call fcn.1000d620
push eax
lea ecx, [ebp - 0x18]
call fcn.10015070
mov ecx, 0x10061910
mov byte [ebp - 4], 1
call fcn.1000eb60
cmp eax, 0xffffffff
je 0x1000a883
mov edi, dword [0x10061948]
mov ecx, 0x10061910
mov edx, dword [0x1006194c]
mov ebx, dword [0x10061940]
mov esi, dword [0x10061944]
call fcn.1000eb60
push edx
push edi
push esi
push ebx
mov ecx, eax
call fcn.10004e50
add esp, 0x10
test eax, eax
jne 0x1000a7fc
lea ecx, [ebp - 0x18]
call fcn.10001a20
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
jmp 0x1000a97e
push 0
push 0
mov ecx, 0x10061910
call fcn.1000eb60
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
mov dword [ebp - 0x50], ebx
cmp ebx, 0xffffffff
jne 0x1000a8c1
call fcn.10032a35
cmp dword [eax], 0x18
jne 0x1000a848
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.100131c0
mov ecx, eax
call fcn.100131e0
jmp 0x1000a97e
call fcn.10032a35
cmp dword [eax], 4
je 0x1000a97e
call fcn.10032a35
cmp dword [eax], 0xb
je 0x1000a97e
mov ecx, 0x10061910
call fcn.1000eb60
cmp eax, 0xffffffff
je 0x1000a883
call fcn.1000eb60
mov ecx, eax
call fcn.10004d30
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x18]
call fcn.10001a20
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [ebp - 0x18]
call fcn.1000c840
lea ecx, [ebp - 0x48]
call fcn.100032e0
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a6ae
mov esp, ebp
pop ebp
ret
push 0
push 0x3e8
push dword [0x1006192c]
push dword [0x10061928]
call fcn.10044220
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, eax
imul eax, dword [0x10061920], 0x3e8
push 4
add ecx, eax
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
push ebx
mov dword [ebp - 0x14], ecx
call esi
push 0
push 0x3e8
push dword [0x1006193c]
push dword [0x10061938]
call fcn.10044220
mov ecx, eax
imul eax, dword [0x10061930], 0x3e8
push 4
add ecx, eax
lea eax, [ebp - 0x14]
push eax
push 0x1005
push 0xffff
push ebx
mov dword [ebp - 0x14], ecx
call esi
lea ecx, [ebp - 0x18]
call fcn.10001a20
mov edi, eax
sub esp, 0x28
mov edx, esp
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1000a9c0
push eax
mov ecx, edx
call fcn.10015090
mov ecx, edi
call esi
test al, al
jne 0x1000a97e
mov ecx, ebx
call fcn.10005110
mov ecx, ebx
call fcn.10004d30
mov ecx, 0x10061910
call fcn.1000eb60
cmp eax, 0xffffffff
jne 0x1000a7b4
jmp 0x1000a883