Function at 0x45d674
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x625737
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.005e9710
xor ebx, ebx
push 6
inc ebx
mov dword [esp + 0x30], eax
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00454a62
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 0x45d6f9
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x40]
push eax
call fcn.0041b924
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00455be8
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.00455bcf
pop ecx
test eax, eax
jne 0x45d72d
call fcn.00455be8
push 0x10
pop eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.005b57c0
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.004549ad
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45d7a8
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x40]
jmp 0x45d6f3
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.0045493e
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45d7ed
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 3
lea eax, [esp + 0x40]
jmp 0x45d6f3
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.0045497f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x45d839
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 4
lea eax, [esp + 0x40]
jmp 0x45d6f3
push 6
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00454a62
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 0x45d889
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 6
lea eax, [esp + 0x40]
jmp 0x45d6f3
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x34]
call fcn.0045dc5b
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45d8cc
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 7
lea eax, [esp + 0x40]
jmp 0x45d6f3
push dword [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.0045d62f
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x9c], 8
cmp eax, 0xffffffff
jne 0x45d917
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 9
lea eax, [esp + 0x40]
jmp 0x45d6f3
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045dc8d
add esp, 0xc
test eax, eax
je 0x45d95e
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 0xa
lea eax, [esp + 0x40]
jmp 0x45d6f3
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00455be8
push 4
lea eax, [esp + 0x10]
push eax
push ebx
push 6
push dword [esp + 0x2c]
call edi
push eax
call fcn.00455bcf
pop ecx
test eax, eax
jne 0x45d98b
call fcn.00455be8
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0045dc8d
add esp, 0xc
test eax, eax
je 0x45d9d5
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.00419093
mov byte [esp + 0x9c], 0xb
lea eax, [esp + 0x40]
jmp 0x45d6f3
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00455be8
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.00455bcf
pop ecx
test eax, eax
jne 0x45da03
call fcn.00455be8
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.00454a47
mov byte [esp + 0x9c], 0
lea esi, [esp + 0x20]
call fcn.00454a47
or dword [esp + 0x9c], 0xffffffff
lea esi, [esp + 0x24]
call fcn.00454a47
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