Function at 0x57a068
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040403c
xor eax, eax
push ebp
push 0x57a4ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 0
xor edx, edx
push ebp
push 0x57a4c2
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x57a0f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ec], 0
je 0x57a0cf
mov eax, dword [ebp - 4]
add eax, 0x1ec
call fcn.00577364
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.00413e44
mov edx, dword [ebp - 4]
mov dword [edx + 0x1ec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a14c
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0057794c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp eax, 0x1800
jle 0x57a180
mov edx, eax
add edx, edx
mov eax, dword [ebp - 4]
call fcn.0057782c
mov word [ebp - 0x16], 0
mov word [ebp - 0x14], 0x64
push 4
lea eax, [ebp - 0x16]
push eax
push 0x80
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c4]
push eax
call sub.wsock32.dll_setsockopt
lea eax, [ebp - 0x1c]
push eax
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0057c288
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c1], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x144], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ec]
call fcn.00413894
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x1f8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1fc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0xb0], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa8], 0
mov dword [eax + 0xac], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ec]
call fcn.004138a8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x100], eax
mov dword [ecx + 0x104], edx
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xac], 0
jne 0x57a25a
cmp dword [eax + 0xa8], 0
jbe 0x57a2af
jmp 0x57a25c
jle 0x57a2af
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
mov eax, dword [eax + 0x100]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xac]
jne 0x57a280
cmp eax, dword [ecx + 0xa8]
jbe 0x57a2af
jmp 0x57a282
jle 0x57a2af
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
mov eax, dword [eax + 0x100]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0xa8]
sbb edx, dword [ecx + 0xac]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x100], eax
mov dword [ecx + 0x104], edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
push eax
call sub.user32.dll_PostMessageA
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0057ad24
jmp 0x57a3cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x6e], 0
je 0x57a2f0
mov esi, eax
lea edx, [ebp - 0x11]
mov eax, dword [esi + 0x70]
call dword [esi + 0x6c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x19b], 0
je 0x57a30a
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0057c848
jmp 0x57a316
mov eax, dword [0x585d88]
mov eax, dword [eax]
call fcn.0043b2f8
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x57a36b
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xac]
mov eax, dword [eax + 0xa8]
cmp edx, dword [ebp - 0xc]
jne 0x57a342
cmp eax, dword [ebp - 0x10]
je 0x57a36b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xac]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x57a36b
call fcn.0057dbac
mov eax, dword [ebp - 4]
cmp byte [eax + 0x19b], 0
je 0x57a3cb
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1a4]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x57a399
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1a0]
jae 0x57a3cb
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200], 0
je 0x57a41e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x144], 0
jne 0x57a41e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
jne 0x57a41e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x104], 0
jne 0x57a406
cmp dword [eax + 0x100], 0
jbe 0x57a41e
jmp 0x57a408
jle 0x57a41e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c1], 0
je 0x57a41e
cmp byte [ebp - 0x11], 0
je 0x57a2d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a4cc
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
cmp byte [ebp - 0x11], 0
jne 0x57a457
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x168], 0
je 0x57a461
mov eax, dword [ebp - 4]
mov byte [eax + 0x1ad], 1
mov eax, dword [ebp - 4]
call fcn.0057ad7c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1ec], 0
je 0x57a482
mov eax, dword [ebp - 4]
add eax, 0x1ec
call fcn.00577364
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c1], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x57a4c1
cmp byte [ebp - 0x12], 0
jne 0x57a4a8
mov eax, dword [ebp - 4]
mov byte [eax + 0x1ad], 0
mov ecx, dword [0x585ebc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x576e54]
call fcn.0040bb58
call fcn.00403680
ret