Function at 0x56c120
Capabilities:
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x1c8
push 0xffffffffffffffff
push 0x659548
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x74f8a0]
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.0055d8a0
test eax, eax
je 0x56c1b6
mov ecx, ebx
call fcn.0055b8e0
mov ecx, ebx
call fcn.0055b8e0
cmp eax, 0x1e
jl 0x56c191
mov ecx, ebx
call fcn.00568a00
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.0061807e
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.005ec342
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x56c191
push 0x2da0
push edi
push eax
call fcn.00618760
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.005687e0
mov ecx, ebx
call fcn.00566840
push str.Data_on_LIST:_n
mov ecx, ebx
call fcn.0055b6c0
mov esi, dword [ebp - 0x18]
push esi
mov ecx, ebx
call fcn.0055b6c0
push 8
lea ecx, [ebx + 0x31e8]
call fcn.005a1cc0
mov ecx, ebx
call fcn.0055b910
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.0056af50
test al, al
je 0x56c2aa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.0056f8c0
add esp, 0xc
cmp eax, edi
je 0x56c263
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.00619b9e
add esp, 8
test eax, eax
je 0x56c2b2
jmp 0x56c263
xor al, al
je 0x56c3d1
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.0061c52b
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.0061fd7d
push eax
push 0x66fea8
lea edx, [ebp + 0x184]
push edx
call fcn.0061af5b
add esp, 0x14
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x56c335
mov eax, dword [ebx + 0x3204]
mov edx, dword [eax + 0xb8]
push edx
lea eax, [ebp + 0x184]
push eax
call fcn.005c94f0
jmp 0x56c375
lea eax, [ebp + 0x184]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56c340
sub eax, esi
push eax
push edx
lea ecx, [ebp + 0x184]
push ecx
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x56c375
push 0
lea edx, [ebp + 0x184]
push edx
mov ecx, ebx
call fcn.00566c10
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.0055b6c0
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.0061af5b
add esp, 0x24
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.0055b6c0
xor edi, edi
mov esi, dword [ebp - 0x18]
push esi
call fcn.005ec337
add esp, 4
mov edx, dword [ebx + 0x3a50]
mov esi, dword [ebx + 0x3a54]
mov ecx, edx
or ecx, esi
je 0x56c46d
mov ecx, dword [ebx + 0x3204]
mov eax, dword [ecx + 0x1b8]
or eax, dword [ecx + 0x1bc]
jne 0x56c430
push 1
push esi
push edx
call fcn.005ad4b0
mov edx, dword [ebx + 0x3204]
mov dword [edx + 0x85c], 3
mov ecx, dword [ebx + 0x3204]
cmp dword [ecx + 0x874], edi
jne 0x56c430
call fcn.005716d0
mov ecx, dword [ebx + 0x3204]
cmp dword [ecx + 0xf4], edi
je 0x56c47d
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov esi, eax
or esi, edx
je 0x56c47d
cmp eax, dword [ebx + 0x3a50]
jne 0x56c460
cmp edx, dword [ebx + 0x3a54]
je 0x56c47d
cmp dword [ebp - 0x1c], edi
jne 0x56c47d
push edi
call fcn.00571e00
jmp 0x56c47d
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 0x56c191