Function at 0x10009ee0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x100bf358]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, 1
mov word [ebp - 4], cx
mov edx, 5
mov word [ebp - 2], dx
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1000a11f
mov dword [ebp - 0x88], 1
lea edx, [ebp - 0x4c]
push edx
push 4
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 8]
push edx
push 1
call fcn.10009a70
add esp, 0x1c
cmp eax, 4
jne 0x1000a11f
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x1000a11f
mov eax, 1
test eax, eax
je 0x1000a112
lea ecx, [ebp - 0x7c]
push ecx
push 4
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
push ecx
push 1
call fcn.100096d0
add esp, 0x1c
cmp eax, 4
jne 0x1000a10b
cmp dword [ebp - 0x90], 0
jne 0x1000a006
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000b890
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a001
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 1
jne 0x1000a035
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000d230
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a030
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 2
jne 0x1000a064
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000cc90
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a05f
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 3
jne 0x1000a090
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000be30
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a08e
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 4
jne 0x1000a0b9
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000c3d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a0b7
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 5
jne 0x1000a0e2
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000d460
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a0e0
jmp 0x1000a112
jmp 0x1000a109
cmp dword [ebp - 0x90], 6
jne 0x1000a109
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000d330
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000a109
jmp 0x1000a112
jmp 0x1000a10d
jmp 0x1000a112
jmp 0x10009fa0
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1009625b
mov esp, ebp
pop ebp
ret 4