Function at 0x5406d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2fdc
call fcn.005c3080
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 0x31e0]
push esi
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], esi
call fcn.00533ee0
cmp eax, esi
je 0x540757
mov ecx, ebx
call fcn.005346c0
lea esi, [ebx + 0x41c]
push esi
call fcn.005c461c
mov eax, dword [esi]
mov edx, dword [ebx + 0x410]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [ebx + 0x428], eax
jl 0x540746
mov ecx, ebx
call fcn.00541640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x31e0]
lea ecx, [ebp - 0x20]
push ecx
push 0x8004667e
push edx
mov dword [ebp - 0x20], esi
call sub.WS2_32.dll_ioctlsocket
lea eax, [ebp - 0x2fec]
mov ecx, 0xb68
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x2fec]
lea edx, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x31e0]
lea ecx, [ebp - 0x2c]
push ecx
push edx
push eax
mov ecx, ebx
mov dword [ebp - 0x2c], 0x2da0
call fcn.00540530
mov ecx, ebx
call fcn.0053c7b0
push str.Data_on_LIST:_n
mov ecx, ebx
call fcn.00532b50
lea ecx, [ebp - 0x2fec]
push ecx
mov ecx, ebx
call fcn.00532b50
push 8
lea ecx, [ebx + 0x31d0]
call fcn.0057c090
mov ecx, ebx
call fcn.005346f0
mov dword [ebx + 0x8c], 4
mov eax, dword [0x6c826c]
lea edx, [ebp - 0x2fec]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x24d], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.005446a0
test al, al
je 0x540849
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00544b50
add esp, 0xc
cmp eax, esi
je 0x540802
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ebp - 0x64]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.005c40f0
add esp, 8
test eax, eax
je 0x540853
jmp 0x540802
xor al, al
test al, al
je 0x540972
mov ecx, dword [ebx + 0x31ec]
mov dword [ecx + 0x248], 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
mov dword [ebx + 0x3a38], edx
push ecx
mov dword [ebx + 0x3a3c], eax
call fcn.005c4e3a
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0xc8]
lea edx, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.005c68cb
add esp, 8
push eax
lea eax, [ebp - 0xa4]
push 0x69dfbc
push eax
call fcn.005c3648
mov ecx, dword [ebx + 0xb0]
add esp, 0xc
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x5408d9
mov edx, dword [ebx + 0x31ec]
mov eax, dword [edx + 0xd8]
lea edx, [ebp - 0xa4]
push eax
push edx
call fcn.0059f690
jmp 0x540915
lea edi, [ebp - 0xa4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0xa4]
push ecx
push edx
push eax
call fcn.005c4fd0
add esp, 0xc
test eax, eax
je 0x540915
lea ecx, [ebp - 0xa4]
push 0
push ecx
mov ecx, ebx
call fcn.00544520
mov dword [ebp - 0x18], 1
mov edx, dword [ebx + 0x31ec]
push str.Parse_result:_n
mov ecx, ebx
mov dword [edx + 0x880], 1
call fcn.00532b50
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x54]
push eax
push ecx
lea eax, [ebp - 0xa4]
push edx
push eax
lea ecx, [ebp - 0x24c]
push str.time__s__sizetype__d__size__I64d__name__s__namelen__d__flagtryretr__d_n
push ecx
call fcn.005c3648
add esp, 0x24
lea edx, [ebp - 0x24c]
mov ecx, ebx
push edx
call fcn.00532b50
mov edx, dword [ebx + 0x3a38]
mov esi, dword [ebx + 0x3a3c]
mov eax, edx
or eax, esi
je 0x540a29
mov ecx, dword [ebx + 0x31ec]
mov eax, dword [ecx + 0x1c0]
mov edi, dword [ecx + 0x1c4]
or eax, edi
jne 0x5409cc
push 1
push esi
push edx
call fcn.00587020
mov ecx, dword [ebx + 0x31ec]
mov dword [ecx + 0x864], 3
mov ecx, dword [ebx + 0x31ec]
mov eax, dword [ecx + 0x87c]
test eax, eax
jne 0x5409cc
call fcn.00546330
mov ecx, dword [ebx + 0x31ec]
mov eax, dword [ecx + 0x114]
test eax, eax
je 0x540a39
mov eax, dword [ecx + 0xf0]
mov edx, dword [ecx + 0xf4]
mov esi, eax
or esi, edx
je 0x540a39
cmp eax, dword [ebx + 0x3a38]
jne 0x5409fe
cmp edx, dword [ebx + 0x3a3c]
je 0x540a39
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x540a39
push 0
call fcn.00547f40
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005df266
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x31ec]
mov dword [edx + 0x864], 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005df266
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret