Function at 0x5bcc10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5bcc41
cmp dword [ebp - 8], 0xffffffff
jne 0x5bcf88
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0xc], 0
xor edx, edx
mov word [ebp - 0xb], dx
mov byte [ebp - 9], dl
mov byte [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov word [ebp - 0x23], cx
mov byte [ebp - 0x21], cl
mov byte [ebp - 0x10], 0
xor edx, edx
mov word [ebp - 0xf], dx
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x1d], dl
movsx eax, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp eax, 0x20
jne 0x5bccb2
jmp 0x5bcc96
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0x2e
mov eax, dword [ebp - 0x14]
push eax
call fcn.00527f80
add esp, 0xc
test eax, eax
je 0x5bcf7f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
push 0
push 0x69ad1c
lea edx, [ebp - 0x28]
push edx
call fcn.00527900
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x1d], dl
movsx eax, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x5bce52
movsx edx, byte [ebp - 0x1d]
cmp edx, 0x2e
jne 0x5bce0d
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
push 0
push 0x69ad64
lea edx, [ebp - 0x28]
push edx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcd6c
push 0
push 0x69ae04
lea eax, [ebp - 0x28]
push eax
call fcn.00527900
add esp, 0xc
jmp 0x5bcd96
push 0
push 0x69ae4c
lea ecx, [ebp - 0x28]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcd96
push 0
push 0x69ae94
lea edx, [ebp - 0x28]
push edx
call fcn.00527900
add esp, 0xc
cmp dword [ebp - 0x30], 0
jne 0x5bcdb0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00527900
add esp, 0xc
jmp 0x5bcde2
cmp dword [ebp - 0x30], 1
jne 0x5bcdca
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00527900
add esp, 0xc
jmp 0x5bcde2
cmp dword [ebp - 0x30], 2
jne 0x5bcde2
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00527900
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
push 0
push 0x69af24
lea ecx, [ebp - 0x28]
push ecx
call fcn.00527900
add esp, 0xc
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], 0
jmp 0x5bce4d
movsx eax, byte [ebp - 0x1d]
push eax
call fcn.005a59c0
add esp, 4
test eax, eax
je 0x5bce4b
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 3
jle 0x5bce38
jmp 0x5bce52
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x1d]
mov byte [eax], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x5bce4d
jmp 0x5bce52
jmp 0x5bcd07
cmp dword [ebp - 0x30], 3
jne 0x5bce79
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00527900
add esp, 0xc
cmp dword [ebp - 0x30], 3
jne 0x5bcf76
cmp dword [ebp - 0x34], 0
jl 0x5bcf76
cmp dword [ebp - 0x34], 0xc
jg 0x5bcf76
cmp dword [ebp - 8], 0
jne 0x5bcf02
push 0
push 0x69afa8
lea ecx, [ebp - 0xc]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf02
push 0
push 0x69afac
lea edx, [ebp - 0x1c]
push edx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf02
push 0
push 0x69afb0
lea eax, [ebp - 0x24]
push eax
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf02
push 0
push 0x69afb4
lea ecx, [ebp - 0x10]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf02
mov dword [ebp - 4], 1
jmp 0x5bcf74
cmp dword [ebp - 8], 0xffffffff
jne 0x5bcf6d
push 0
push 0x69afb8
lea edx, [ebp - 0xc]
push edx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf6d
push 0
push 0x69afbc
lea eax, [ebp - 0x1c]
push eax
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf6d
push 0
push 0x69afc0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf6d
push 0
push 0x69afc4
lea edx, [ebp - 0x10]
push edx
call fcn.00527cc0
add esp, 0xc
test eax, eax
jne 0x5bcf6d
mov dword [ebp - 4], 1
jmp 0x5bcf74
mov dword [ebp - 4], 0
jmp 0x5bcf7d
mov dword [ebp - 4], 0
jmp 0x5bcf86
mov dword [ebp - 4], 0
jmp 0x5bcf8f
mov dword [ebp - 4], 1
push 0
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00528390
add esp, 0x10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret