Function at 0x45a418
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45a6b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 4], 0
je 0x45a69b
xor eax, eax
push ebp
push 0x45a644
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0xc]
call fcn.004148e0
xor eax, eax
push ebp
push 0x45a633
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x1020]
push 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
add eax, 0x20
push eax
push 0x700b
push 0xffff
push ebx
call sub.ws2_32.dll_setsockopt
inc eax
jne 0x45a4bb
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045a844
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a69b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 5], 0
je 0x45a557
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x88b8
mov dword [ebp - 0x2c], 0xbb8
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 8
push 0xffff
push ebx
call sub.ws2_32.dll_setsockopt
inc eax
jne 0x45a519
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045a844
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a69b
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x34]
push eax
push 0xc
lea eax, [ebp - 0x34]
push eax
push 0x98000004
push ebx
call sub.ws2_32.dll_WSAIoctl
inc eax
jne 0x45a557
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045a844
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a69b
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.00459310
xor ecx, ecx
mov edx, 0x1005c
mov eax, dword [ebp - 0x20]
call fcn.0040713c
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x10054], 1
mov eax, dword [ebp - 0x20]
mov dword [eax], ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
add eax, 4
push eax
push 0x20
push 0x20
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x1d
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call dword [eax + 0x10]
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x24]
push eax
push ebx
call sub.kernel32.dll_CreateIoCompletionPort
test eax, eax
jne 0x45a5f2
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045a844
mov edx, 0x10074
mov eax, dword [ebp - 0x20]
call fcn.00402e7c
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a69b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00459fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a63a
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1020], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.00414844
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a6c0
lea eax, [ebp - 0x38]
call fcn.004048d8
lea eax, [ebp - 4]
call fcn.004048d8
ret