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

Disassembly:
sub esp, 0x520
mov al, byte [0x5937a0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x28], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x228]
xor ebp, ebp
push ecx
mov ecx, 0x593d48
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebp
stosb byte es:[edi], al
call fcn.0042f040
lea edx, [esp + 0x244]
mov ecx, esi
push edx
call fcn.0042d8e0
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x10], ebx
je 0x42e728
mov eax, dword [ebx + 0xd0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xd4]
cmp eax, ebp
jle 0x42e51d
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x42e51d
push 0
lea ebp, [esi + 0x1e4]
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esp, 4
push eax
push ebp
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
lea ebx, [esi + 0x28]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00508480
cmp eax, 1
jne 0x42e4dd
mov esi, dword [sym.imp.MSVCRT.dll_time]
push 0
call esi
add esp, 4
push eax
push ebp
call edi
push 6
push str.ZINFO_n
mov ecx, ebx
call fcn.0050ad60
push 0
call esi
add esp, 4
push eax
push ebp
call edi
lea edx, [esp + 0x28]
push 0x1f4
push edx
mov ecx, ebx
call fcn.0050abd0
cmp eax, 1
jne 0x42e4a7
mov ecx, 5
mov edi, 0x581720
lea esi, [esp + 0x28]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x42e4a7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
sub eax, ecx
push 0
mov dword [esi + 0x94], eax
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esp, 4
push eax
push ebp
call edi
push 5
push str.QUIT_n
mov ecx, ebx
call fcn.0050ad60
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
push ebp
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00508480
cmp eax, 1
jne 0x42e49d
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
push ebp
call edi
push 6
push str.WINFO_n
mov ecx, ebx
call fcn.0050ad60
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
push ebp
call edi
lea ecx, [esp + 0x28]
push 0x1f4
push ecx
mov ecx, ebx
call fcn.0050abd0
cmp eax, 1
jne 0x42e49d
mov ecx, 5
mov edi, 0x581720
lea esi, [esp + 0x28]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x42e499
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
sub eax, edi
mov edx, dword [ecx + 0x94]
cmp eax, edx
jb 0x42e491
mov eax, edx
mov dword [ecx + 0x94], eax
jmp 0x42e4a7
mov esi, dword [esp + 0x14]
mov dword [esi + 0x94], 0x186a0
mov edi, dword [sym.imp.MSVCRT.dll_time]
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esp, 4
push eax
push ebp
call esi
push 5
push str.QUIT_n
mov ecx, ebx
call fcn.0050ad60
push 0
call edi
add esp, 4
push eax
push ebp
call esi
mov esi, dword [esp + 0x24]
jmp 0x42e4eb
mov eax, dword [esp + 0x14]
mov dword [eax + 0x94], 0x186a0
mov ecx, ebx
call fcn.00508240
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0xd4]
add edi, 0xa0
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
mov ebx, ecx
jl 0x42e31a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x18]
xor ebp, ebp
cmp edi, ebp
je 0x42e6c7
lea edx, [esp + 0x244]
push edx
push edi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x42e556
mov edi, dword [edi + 0x15c]
cmp edi, ebp
jne 0x42e531
jmp 0x42e6c7
mov eax, dword [ebx + 0xd4]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jle 0x42e61f
mov eax, dword [edi + 0xd4]
xor ebx, ebx
test eax, eax
jle 0x42e5fe
xor esi, esi
mov edx, dword [edi + 0xd0]
mov eax, esi
add eax, edx
mov edx, dword [esp + 0x10]
push eax
mov ecx, ebp
add ecx, dword [edx + 0xd0]
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x42e5b2
mov eax, dword [edi + 0xd4]
inc ebx
add esi, 0xa0
cmp ebx, eax
jl 0x42e57a
jmp 0x42e5fe
mov ecx, dword [esp + 0x10]
mov esi, dword [edi + 0xd0]
lea eax, [ebx + ebx*4]
mov edx, dword [ecx + 0xd0]
shl eax, 5
mov edx, dword [edx + ebp + 0x94]
mov dword [eax + esi + 0x94], edx
mov ecx, dword [ecx + 0xd0]
xor edx, edx
mov esi, dword [ecx + ebp + 0x94]
mov ecx, dword [edi + 0xd0]
cmp esi, 0x186a0
setge dl
add edx, 2
mov dword [eax + ecx + 0x90], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc eax
add ebp, 0xa0
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x42e568
mov eax, dword [edi + 0xd4]
mov ebx, 1
cmp eax, ebx
jle 0x42e649
push 0x42d850
push 0xa0
push eax
mov eax, dword [edi + 0xd0]
push eax
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov dword [edi + 0x118], eax
mov eax, dword [edi + 0xd4]
add esp, 4
cmp eax, ebx
jge 0x42e66d
mov byte [edi + 0xd8], 0
jmp 0x42e6c7
mov ebp, dword [edi + 0xd0]
lea esi, [edi + 0xd8]
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x42e6a0
test cl, cl
je 0x42e69c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x42e6a0
add eax, 2
add ebp, 2
test cl, cl
jne 0x42e67b
xor eax, eax
jmp 0x42e6a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e6c7
mov eax, dword [edi + 0xd0]
push 0x3f
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [edi + 0x117], 0
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 0xd0]
cmp eax, edi
je 0x42e6f1
push eax
call fcn.004c2eb0
add esp, 4
mov dword [esi + 0xd0], edi
mov ecx, dword [esi + 0x15c]
cmp ecx, edi
je 0x42e708
push 1
call fcn.0040ae20
mov dword [esi + 0x15c], edi
push esi
call fcn.004c2eb0
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, edi
je 0x42e728
mov ecx, dword [0x5a108c]
cmp ecx, edi
je 0x42e728
call fcn.00504a40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret