Function at 0x5bdc10
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 0x5bdc41
cmp dword [ebp - 8], 0xffffffff
jne 0x5bdf88
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 0x5bdcb2
jmp 0x5bdc96
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.00528e80
add esp, 0xc
test eax, eax
je 0x5bdf7f
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 0x69bbb4
lea edx, [ebp - 0x28]
push edx
call fcn.00528800
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 0x5bde52
movsx edx, byte [ebp - 0x1d]
cmp edx, 0x2e
jne 0x5bde0d
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 0x69bbfc
lea edx, [ebp - 0x28]
push edx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdd6c
push 0
push 0x69bc9c
lea eax, [ebp - 0x28]
push eax
call fcn.00528800
add esp, 0xc
jmp 0x5bdd96
push 0
push 0x69bce4
lea ecx, [ebp - 0x28]
push ecx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdd96
push 0
push 0x69bd2c
lea edx, [ebp - 0x28]
push edx
call fcn.00528800
add esp, 0xc
cmp dword [ebp - 0x30], 0
jne 0x5bddb0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00528800
add esp, 0xc
jmp 0x5bdde2
cmp dword [ebp - 0x30], 1
jne 0x5bddca
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00528800
add esp, 0xc
jmp 0x5bdde2
cmp dword [ebp - 0x30], 2
jne 0x5bdde2
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00528800
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
push 0
push 0x69bdbc
lea ecx, [ebp - 0x28]
push ecx
call fcn.00528800
add esp, 0xc
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], 0
jmp 0x5bde4d
movsx eax, byte [ebp - 0x1d]
push eax
call fcn.005a69c0
add esp, 4
test eax, eax
je 0x5bde4b
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 0x5bde38
jmp 0x5bde52
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 0x5bde4d
jmp 0x5bde52
jmp 0x5bdd07
cmp dword [ebp - 0x30], 3
jne 0x5bde79
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.00528800
add esp, 0xc
cmp dword [ebp - 0x30], 3
jne 0x5bdf76
cmp dword [ebp - 0x34], 0
jl 0x5bdf76
cmp dword [ebp - 0x34], 0xc
jg 0x5bdf76
cmp dword [ebp - 8], 0
jne 0x5bdf02
push 0
push 0x69be40
lea ecx, [ebp - 0xc]
push ecx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf02
push 0
push 0x69be44
lea edx, [ebp - 0x1c]
push edx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf02
push 0
push 0x69be48
lea eax, [ebp - 0x24]
push eax
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf02
push 0
push 0x69be4c
lea ecx, [ebp - 0x10]
push ecx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf02
mov dword [ebp - 4], 1
jmp 0x5bdf74
cmp dword [ebp - 8], 0xffffffff
jne 0x5bdf6d
push 0
push 0x69be50
lea edx, [ebp - 0xc]
push edx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf6d
push 0
push 0x69be54
lea eax, [ebp - 0x1c]
push eax
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf6d
push 0
push 0x69be58
lea ecx, [ebp - 0x24]
push ecx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf6d
push 0
push 0x69be5c
lea edx, [ebp - 0x10]
push edx
call fcn.00528bc0
add esp, 0xc
test eax, eax
jne 0x5bdf6d
mov dword [ebp - 4], 1
jmp 0x5bdf74
mov dword [ebp - 4], 0
jmp 0x5bdf7d
mov dword [ebp - 4], 0
jmp 0x5bdf86
mov dword [ebp - 4], 0
jmp 0x5bdf8f
mov dword [ebp - 4], 1
push 0
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00529290
add esp, 0x10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret