Function at 0x57b4ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57ba95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c4], 0xffffffff
je 0x57ba7a
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 3
jne 0x57b53e
mov eax, dword [ebp - 4]
cmp byte [eax + 0xfc], 0
je 0x57ba7a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x147], 0
jne 0x57ba70
xor edx, edx
push ebp
push 0x57ba69
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x147], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e8], 0
jne 0x57b588
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 3
jne 0x57b588
call fcn.00403720
jmp 0x57ba7a
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 3
jne 0x57b657
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a4], 0
jne 0x57b5b2
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x1a4], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x19a], 0
je 0x57b604
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 0x57b5e2
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 + 0x19c]
jbe 0x57b604
call fcn.00403720
jmp 0x57ba7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov al, byte [eax + 0x19a]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x19a]
jne 0x57b620
cmp ecx, 0x1b
jbe 0x57b657
mov edx, dword [ebp - 4]
mov byte [edx + 0x19a], al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x1a4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x19c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x19c], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x18], eax
mov ebx, 0x8000
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 3
jne 0x57b68b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x19a], 0
je 0x57b68b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x19c]
cmp eax, ebx
jae 0x57b68b
mov ebx, eax
cmp ebx, 0x8000
jle 0x57b698
mov ebx, 0x8000
cmp ebx, 1
jge 0x57b6a2
mov ebx, 0x1000
xor eax, eax
push ebp
push 0x57b6e7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041b8
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x19a]
xor al, 1
push eax
lea eax, [ebp - 8]
call fcn.00404058
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0057b248
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b6f8
cmp dword [ebp - 0x10], 0xffffffff
je 0x57b952
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xdc]
sub al, 0xa
je 0x57b7ac
dec al
je 0x57b724
sub al, 5
je 0x57b7ac
jmp 0x57b82d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x199], 5
je 0x57b82d
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004041b8
mov eax, dword [ebp - 4]
add eax, 0x1e4
mov edx, dword [ebp - 8]
call fcn.00403e90
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1e4]
mov eax, dword [ebp - 4]
call fcn.0057ce70
mov eax, dword [ebp - 4]
cmp byte [eax + 0x199], 5
jne 0x57b7a2
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1e4]
call fcn.00403ca4
mov eax, dword [ebp - 4]
add eax, 0x1e4
mov edx, dword [0x585ebc]
mov edx, dword [edx]
call fcn.00403c60
mov eax, dword [ebp - 8]
call fcn.00403e88
mov dword [ebp - 0x10], eax
jmp 0x57b82d
call fcn.00403720
jmp 0x57ba7a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x198], 0
jne 0x57b82d
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004041b8
mov eax, dword [ebp - 4]
add eax, 0x1e4
mov edx, dword [ebp - 8]
call fcn.00403e90
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1e4]
mov eax, dword [ebp - 4]
call fcn.0057cc2c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x198], 1
jne 0x57b823
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1e4]
call fcn.00403ca4
mov eax, dword [ebp - 4]
add eax, 0x1e4
mov edx, dword [0x585ebc]
mov edx, dword [edx]
call fcn.00403c60
mov eax, dword [ebp - 8]
call fcn.00403e88
mov dword [ebp - 0x10], eax
jmp 0x57b82d
call fcn.00403720
jmp 0x57ba7a
xor eax, eax
push ebp
push 0x57b91e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 3
jne 0x57b893
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e8], 0
je 0x57b8e8
mov eax, dword [ebp - 0x10]
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x110], eax
adc dword [ecx + 0x114], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [eax + 0x188], edx
lea eax, [ebp - 8]
call fcn.00404058
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov ecx, dword [ebp - 0x10]
call fcn.00413b74
jmp 0x57b8e8
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004041b8
mov eax, dword [ebp - 4]
add eax, 0x1e4
mov edx, dword [ebp - 8]
call fcn.00403e90
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 0
jne 0x57b8e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1b8]
mov edx, dword [0x585ebc]
mov edx, dword [edx]
call fcn.00403f98
jne 0x57b8e8
mov eax, dword [ebp - 4]
cmp word [eax + 0x6e], 0
je 0x57b8e8
lea edx, [ebp - 0x11]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x70]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
cmp word [eax + 0x11a], 0
je 0x57b914
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xc4]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x11c]
call dword [ebx + 0x118]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b94c
mov byte [ebp - 0x12], 1
jmp 0x57b9b0
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0057c278
mov eax, dword [ebp - 4]
call fcn.0057c270
cmp eax, 0x2733
je 0x57b9b0
mov eax, dword [ebp - 4]
call fcn.0057c270
test eax, eax
je 0x57b9b0
mov eax, dword [ebp - 4]
call fcn.0057c270
lea edx, [ebp - 0xc]
call fcn.004a1940
mov eax, dword [ebp - 4]
cmp word [eax + 0x76], 0
je 0x57b9b0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0057c270
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x78]
call dword [ebx + 0x74]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x200], 0
je 0x57ba05
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 0
je 0x57ba05
mov eax, dword [ebp - 4]
cmp byte [eax + 0x19a], 0
jne 0x57ba05
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x57b9ef
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x18]
cmp eax, 0x1388
ja 0x57ba05
cmp dword [ebp - 0x10], 0xffffffff
je 0x57ba05
cmp dword [ebp - 0x10], 0
je 0x57ba05
cmp dword [ebp - 0x10], 1
jne 0x57b65f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ba7a
mov eax, dword [ebp - 4]
mov byte [eax + 0x147], 0
cmp byte [ebp - 0x12], 0
je 0x57ba38
mov eax, dword [ebp - 4]
cmp word [eax + 0x36], 0
je 0x57ba38
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
call dword [ebx + 0x34]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x57ba68
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
push eax
call sub.user32.dll_PostMessageA
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ba9c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403c30
ret