Function at 0x568490
Capabilities:
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x1c8
push 0xffffffffffffffff
push 0x6540f8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x7496c8]
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 + 0x31f8]
push eax
call fcn.00559b80
test eax, eax
je 0x568526
mov ecx, ebx
call fcn.00557bc0
mov ecx, ebx
call fcn.00557bc0
cmp eax, 0x1e
jl 0x568501
mov ecx, ebx
call fcn.00564d80
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.00613241
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 + 0x31f8]
push edx
call sub.WS2_32.dll_ioctlsocket
push 0x2da0
call fcn.005e76b2
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x568501
push 0x2da0
push edi
push eax
call fcn.00613900
add esp, 0xc
mov dword [ebp - 0x2c], 0x2da0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebx + 0x31f8]
push edx
mov ecx, ebx
call fcn.00564b60
mov ecx, ebx
call fcn.00562bc0
push str.Data_on_LIST:_n
mov ecx, ebx
call fcn.005579a0
mov esi, dword [ebp - 0x18]
push esi
mov ecx, ebx
call fcn.005579a0
push 8
lea ecx, [ebx + 0x31e8]
call fcn.0059dc90
mov ecx, ebx
call fcn.00557bf0
mov dword [ebx + 0x9c], 4
mov dword [ebp - 0x1c], edi
mov byte [esi + 0x2d9f], 0
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.005672c0
test al, al
je 0x56861a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.0056bc30
add esp, 0xc
cmp eax, edi
je 0x5685d3
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.00614d5e
add esp, 8
test eax, eax
je 0x568622
jmp 0x5685d3
xor al, al
je 0x568741
mov eax, dword [ebx + 0x3204]
mov dword [eax + 0x240], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0x3a50], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebx + 0x3a54], edx
lea eax, [ebp - 0x40]
push eax
call fcn.006176eb
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.0061af5d
push eax
push 0x66ae98
lea edx, [ebp + 0x184]
push edx
call fcn.0061611b
add esp, 0x14
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x5686a5
mov eax, dword [ebx + 0x3204]
mov edx, dword [eax + 0xb8]
push edx
lea eax, [ebp + 0x184]
push eax
call fcn.005c5190
jmp 0x5686e5
lea eax, [ebp + 0x184]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5686b0
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x184]
push ecx
call fcn.00617c6f
add esp, 0xc
test eax, eax
je 0x5686e5
push 0
lea edx, [ebp + 0x184]
push edx
mov ecx, ebx
call fcn.00562f90
mov dword [ebp - 0x1c], 1
mov eax, dword [ebx + 0x3204]
mov dword [eax + 0x878], 1
push str.Parse_result:_n
mov ecx, ebx
call fcn.005579a0
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.0061611b
add esp, 0x24
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.005579a0
xor edi, edi
mov esi, dword [ebp - 0x18]
push esi
call fcn.005e76a7
add esp, 4
mov edx, dword [ebx + 0x3a50]
mov esi, dword [ebx + 0x3a54]
mov ecx, edx
or ecx, esi
je 0x5687dd
mov ecx, dword [ebx + 0x3204]
mov eax, dword [ecx + 0x1b8]
or eax, dword [ecx + 0x1bc]
jne 0x5687a0
push 1
push esi
push edx
call fcn.005a9480
mov edx, dword [ebx + 0x3204]
mov dword [edx + 0x85c], 3
mov ecx, dword [ebx + 0x3204]
cmp dword [ecx + 0x874], edi
jne 0x5687a0
call fcn.0056da40
mov ecx, dword [ebx + 0x3204]
cmp dword [ecx + 0xf4], edi
je 0x5687ed
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov esi, eax
or esi, edx
je 0x5687ed
cmp eax, dword [ebx + 0x3a50]
jne 0x5687d0
cmp edx, dword [ebx + 0x3a54]
je 0x5687ed
cmp dword [ebp - 0x1c], edi
jne 0x5687ed
push edi
call fcn.0056e170
jmp 0x5687ed
mov eax, dword [ebx + 0x3204]
mov dword [eax + 0x85c], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
jmp 0x568501