Function at 0x47b3b9
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62bfa5
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.005dcfc0
xor ebx, ebx
push 6
inc ebx
mov dword [esp + 0x30], eax
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00446fbf
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 0x47b43e
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x40]
push eax
call fcn.004111d7
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00448146
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.0044812d
pop ecx
test eax, eax
jne 0x47b472
call fcn.00448146
push 0x10
pop eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.005a90b0
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.00446f0a
add esp, 0xc
cmp eax, 0xffffffff
jne 0x47b4ed
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x40]
jmp 0x47b438
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.00446e9b
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x47b532
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 3
lea eax, [esp + 0x40]
jmp 0x47b438
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.00446edc
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x47b57e
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 4
lea eax, [esp + 0x40]
jmp 0x47b438
push 6
push ebx
push 2
lea eax, [esp + 0x34]
call fcn.00446fbf
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 0x47b5ce
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 6
lea eax, [esp + 0x40]
jmp 0x47b438
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x34]
call fcn.0047b9a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x47b611
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 7
lea eax, [esp + 0x40]
jmp 0x47b438
push dword [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.0047b374
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x9c], 8
cmp eax, 0xffffffff
jne 0x47b65c
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 9
lea eax, [esp + 0x40]
jmp 0x47b438
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0047b9d2
add esp, 0xc
test eax, eax
je 0x47b6a3
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 0xa
lea eax, [esp + 0x40]
jmp 0x47b438
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00448146
push 4
lea eax, [esp + 0x10]
push eax
push ebx
push 6
push dword [esp + 0x2c]
call edi
push eax
call fcn.0044812d
pop ecx
test eax, eax
jne 0x47b6d0
call fcn.00448146
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0047b9d2
add esp, 0xc
test eax, eax
je 0x47b71a
push str.socket_select_interrupter
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push eax
call fcn.0040fcac
mov byte [esp + 0x9c], 0xb
lea eax, [esp + 0x40]
jmp 0x47b438
lea esi, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.00448146
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.0044812d
pop ecx
test eax, eax
jne 0x47b748
call fcn.00448146
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.00446fa4
mov byte [esp + 0x9c], 0
lea esi, [esp + 0x20]
call fcn.00446fa4
or dword [esp + 0x9c], 0xffffffff
lea esi, [esp + 0x24]
call fcn.00446fa4
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