Function at 0x45b6de
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dcc0c
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.005a5950
xor ebx, ebx
push 6
inc ebx
mov dword [esp + 0x30], eax
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00452b8c
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 0x45b763
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x40]
push eax
call fcn.00418bd0
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00453d08
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.00453cef
pop ecx
test eax, eax
jne 0x45b797
call fcn.00453d08
push 0x10
pop eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00576e90
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.00452add
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45b812
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x40]
jmp 0x45b75d
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.00452a6e
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45b857
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 3
lea eax, [esp + 0x40]
jmp 0x45b75d
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.00452aaf
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45b8a3
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 4
lea eax, [esp + 0x40]
jmp 0x45b75d
push 6
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00452b8c
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 0x45b8f3
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 6
lea eax, [esp + 0x40]
jmp 0x45b75d
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x34]
call fcn.0045bcca
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45b936
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 7
lea eax, [esp + 0x40]
jmp 0x45b75d
push dword [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.0045b699
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x9c], 8
cmp eax, 0xffffffff
jne 0x45b981
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 9
lea eax, [esp + 0x40]
jmp 0x45b75d
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045bcfc
add esp, 0xc
test eax, eax
je 0x45b9c8
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 0xa
lea eax, [esp + 0x40]
jmp 0x45b75d
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00453d08
push 4
lea eax, [esp + 0x10]
push eax
push ebx
push 6
push dword [esp + 0x2c]
call edi
push eax
call fcn.00453cef
pop ecx
test eax, eax
jne 0x45b9f5
call fcn.00453d08
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045bcfc
add esp, 0xc
test eax, eax
je 0x45ba3f
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00415775
mov byte [esp + 0x9c], 0xb
lea eax, [esp + 0x40]
jmp 0x45b75d
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00453d08
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.00453cef
pop ecx
test eax, eax
jne 0x45ba6d
call fcn.00453d08
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.00452b71
mov byte [esp + 0x9c], 0
lea esi, [esp + 0x20]
call fcn.00452b71
or dword [esp + 0x9c], 0xffffffff
lea esi, [esp + 0x24]
call fcn.00452b71
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