Function at 0x572940
Capabilities:
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x1c8
push 0xffffffffffffffff
push 0x6617b8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
xor edi, edi
mov dword [ebp - 4], edi
push edi
mov eax, dword [ebx + 0x3208]
push eax
call fcn.00563f00
test eax, eax
je 0x5729d6
mov ecx, ebx
call fcn.00561a00
mov ecx, ebx
call fcn.00561a00
cmp eax, 0x1e
jl 0x5729b1
mov ecx, ebx
call fcn.0056f1f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x1c8
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x28]
push ecx
push 0x8004667e
mov edx, dword [ebx + 0x3208]
push edx
call sub.WS2_32.dll_ioctlsocket
push 0x2da0
call fcn.005f4522
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x5729b1
push 0x2da0
push edi
push eax
call fcn.00620920
add esp, 0xc
mov dword [ebp - 0x2c], 0x2da0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebx + 0x3208]
push edx
mov ecx, ebx
call fcn.0056efd0
mov ecx, ebx
call fcn.0056d030
push str.Data_on_LIST:_n
mov ecx, ebx
call fcn.00561d40
mov esi, dword [ebp - 0x18]
push esi
mov ecx, ebx
call fcn.00561d40
push 8
lea ecx, [ebx + 0x31f8]
call fcn.005a9ba0
mov ecx, ebx
call fcn.00561f60
mov dword [ebx + 0xa4], 4
mov dword [ebp - 0x1c], edi
mov byte [esi + 0x2d9f], 0
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.00571770
test al, al
je 0x572aca
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.00576110
add esp, 0xc
cmp eax, edi
je 0x572a83
mov eax, dword [ebx + 0xc8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.00621d5e
add esp, 8
test eax, eax
je 0x572ad2
jmp 0x572a83
xor al, al
je 0x572bf1
mov eax, dword [ebx + 0x3214]
mov dword [eax + 0x248], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0x3a60], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebx + 0x3a64], edx
lea eax, [ebp - 0x40]
push eax
call fcn.006246eb
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x88]
push ecx
call fcn.00627f3d
push eax
push 0x678ea8
lea edx, [ebp + 0x184]
push edx
call fcn.0062311b
add esp, 0x14
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x572b55
mov eax, dword [ebx + 0x3214]
mov edx, dword [eax + 0xb8]
push edx
lea eax, [ebp + 0x184]
push eax
call fcn.005d14f0
jmp 0x572b95
lea eax, [ebp + 0x184]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x572b60
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x184]
push ecx
call fcn.00624cad
add esp, 0xc
test eax, eax
je 0x572b95
push 0
lea edx, [ebp + 0x184]
push edx
mov ecx, ebx
call fcn.0056d400
mov dword [ebp - 0x1c], 1
mov eax, dword [ebx + 0x3214]
mov dword [eax + 0x880], 1
push str.Parse_result:_n
mov ecx, ebx
call fcn.00561d40
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp + 0x184]
push ecx
push str.time__s__sizetype__d__size__I64d__name__s__namelen__d__flagtryretr__d_n
lea edx, [ebp]
push edx
call fcn.0062311b
add esp, 0x24
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.00561d40
xor edi, edi
mov esi, dword [ebp - 0x18]
push esi
call fcn.005f4517
add esp, 4
mov edx, dword [ebx + 0x3a60]
mov esi, dword [ebx + 0x3a64]
mov ecx, edx
or ecx, esi
je 0x572c8d
mov ecx, dword [ebx + 0x3214]
mov eax, dword [ecx + 0x1c0]
or eax, dword [ecx + 0x1c4]
jne 0x572c50
push 1
push esi
push edx
call fcn.005b5320
mov edx, dword [ebx + 0x3214]
mov dword [edx + 0x864], 3
mov ecx, dword [ebx + 0x3214]
cmp dword [ecx + 0x87c], edi
jne 0x572c50
call fcn.00577ee0
mov ecx, dword [ebx + 0x3214]
cmp dword [ecx + 0xf4], edi
je 0x572c9d
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov esi, eax
or esi, edx
je 0x572c9d
cmp eax, dword [ebx + 0x3a60]
jne 0x572c80
cmp edx, dword [ebx + 0x3a64]
je 0x572c9d
cmp dword [ebp - 0x1c], edi
jne 0x572c9d
push edi
call fcn.00578610
jmp 0x572c9d
mov eax, dword [ebx + 0x3214]
mov dword [eax + 0x864], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
jmp 0x5729b1