Function at 0x45ce40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x627fd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
and dword [esp + 0x1c], 0
push ebx
push esi
push edi
call fcn.005ebf90
xor ebx, ebx
push 6
inc ebx
mov dword [esp + 0x30], eax
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.0045452f
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
and dword [esp + 0x9c], 0
cmp edi, 0xffffffff
jne 0x45cec5
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x40]
push eax
call fcn.0041b62d
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.004556a5
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
call edi
push eax
call fcn.0045568c
pop ecx
test eax, eax
jne 0x45cef9
call fcn.004556a5
push 0x10
pop eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.005b79e0
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
add esp, 0xc
push 2
pop eax
push str.127.0.0.1
mov word [esp + 0x34], ax
call esi
mov dword [esp + 0x34], eax
xor eax, eax
mov word [esp + 0x32], ax
push 0x10
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
call fcn.0045447a
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45cf74
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x40]
jmp 0x45cebf
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.0045440b
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45cfb9
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 3
lea eax, [esp + 0x40]
jmp 0x45cebf
push str.127.0.0.1
call esi
push SysReAllocString
push dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
call fcn.0045444c
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45d005
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 4
lea eax, [esp + 0x40]
jmp 0x45cebf
push 6
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.0045452f
mov esi, eax
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x9c], 5
cmp esi, 0xffffffff
jne 0x45d055
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 6
lea eax, [esp + 0x40]
jmp 0x45cebf
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x34]
call fcn.0045d427
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45d098
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 7
lea eax, [esp + 0x40]
jmp 0x45cebf
push dword [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.0045cdfb
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x9c], 8
cmp eax, 0xffffffff
jne 0x45d0e3
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 9
lea eax, [esp + 0x40]
jmp 0x45cebf
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045d459
add esp, 0xc
test eax, eax
je 0x45d12a
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 0xa
lea eax, [esp + 0x40]
jmp 0x45cebf
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.004556a5
push 4
lea eax, [esp + 0x10]
push eax
push ebx
push 6
push dword [esp + 0x2c]
call edi
push eax
call fcn.0045568c
pop ecx
test eax, eax
jne 0x45d157
call fcn.004556a5
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045d459
add esp, 0xc
test eax, eax
je 0x45d1a1
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00418c69
mov byte [esp + 0x9c], 0xb
lea eax, [esp + 0x40]
jmp 0x45cebf
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.004556a5
push 4
lea eax, [esp + 0x10]
push eax
push ebx
mov ebx, dword [esp + 0x24]
push 6
push ebx
call edi
push eax
call fcn.0045568c
pop ecx
test eax, eax
jne 0x45d1cf
call fcn.004556a5
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
or dword [esp + 0x10], 0xffffffff
or dword [esp + 0x20], 0xffffffff
mov dword [edi], ebx
mov dword [edi + 4], eax
mov byte [esp + 0x9c], 5
lea esi, [esp + 0x10]
call fcn.00454514
mov byte [esp + 0x9c], 0
lea esi, [esp + 0x20]
call fcn.00454514
or dword [esp + 0x9c], 0xffffffff
lea esi, [esp + 0x24]
call fcn.00454514
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4