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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov ebx, eax
lea ecx, [ebp - 0x3a0]
push ecx
mov eax, dword [edi + 0x268]
push eax
mov edx, dword [eax]
mov esi, dword [edx + 0x1c]
mov ecx, esi
call dword [0x445628]
call esi
xor ecx, ecx
cmp dword [ebp - 0x39c], ebx
jl 0x42ab6f
cmp dword [edi + 0x250], ecx
je 0x42ab94
mov dword [edi + 0x248], ecx
mov eax, dword [edi + 0x240]
test eax, eax
je 0x42ab8e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [edi + 0x240], ecx
mov ebx, dword [ebp - 0x39c]
mov eax, dword [ebp - 0x3a0]
push 2
pop edx
sub eax, ecx
je 0x42ac8a
sub eax, 1
je 0x42ac7d
sub eax, 1
je 0x42ac3b
sub eax, 1
je 0x42abe4
sub eax, 1
je 0x42abda
sub eax, 1
je 0x42abd0
mov esi, 0x2779
jmp 0x42aca2
mov esi, 0x2778
jmp 0x42ac82
mov esi, 0x2777
jmp 0x42aca2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x18]
cmp eax, 0x1d4c0
jbe 0x42ac34
xor ebx, ebx
mov esi, 0x277a
mov dword [edi + 0x248], ebx
mov eax, dword [edi + 0x240]
test eax, eax
je 0x42ac18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x240], ebx
mov edx, 0x405f30
push 2
pop eax
mov ebx, 0x80072efd
mov ecx, eax
mov dword [ebp - 0x39c], ebx
call fcn.0041e7a8
jmp 0x42ac9f
mov esi, 0x2775
jmp 0x42ac9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x18]
cmp eax, 0x1d4c0
jbe 0x42ac76
xor ebx, ebx
mov esi, 0x277a
mov dword [edi + 0x248], ebx
mov eax, dword [edi + 0x240]
test eax, eax
je 0x42ac6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x240], ebx
mov edx, 0x405f08
jmp 0x42ac1d
mov esi, 0x2776
jmp 0x42ac9f
mov esi, 0x277a
mov dword [edi + 0x248], ecx
jmp 0x42aca2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x18]
cmp eax, 0x1d4c0
ja 0x42ac4b
mov esi, 0x2774
push 2
pop edx
cmp dword [ebp - 0x39c], 0
je 0x42accb
push dword [ebp - 0x39c]
push 0x406c10
push edx
call fcn.0041e83a
add esp, 0xc
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x398]
cmp eax, 0xffffffff
jne 0x42ad10
mov edi, 0x80
lea eax, [ebp - 0x108]
push edi
push eax
push 0x26e8
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x42ad8c
push 0x407254
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.0040c040
jmp 0x42ad8c
sub eax, dword [ebp - 0x394]
xor edx, edx
push 0x3c
cmp dword [ebp - 0x390], edx
jbe 0x42ad2a
div dword [ebp - 0x390]
jmp 0x42ad31
mov ecx, 0x3e80
div ecx
pop ecx
xor edx, edx
mov dword [ebp - 0x3a4], eax
div ecx
mov edi, edx
xor edx, edx
div ecx
mov eax, dword [ebp - 0x3a4]
mov ecx, 0xe10
push edi
push edx
cmp eax, ecx
jb 0x42ad73
xor edx, edx
div ecx
push eax
push 0x405708
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040c125
add esp, 0x18
jmp 0x42ad8c
push 0x40572c
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040c125
add esp, 0x14
push 0x100
lea eax, [ebp - 0x388]
push eax
push esi
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x42ae96
lea ecx, [ebp - 0x388]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42adb8
sub ecx, edx
lea edx, [ebp - 0x108]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x42add0
sub edx, esi
lea eax, [ecx + 0x21]
sar edx, 1
xor ecx, ecx
add eax, edx
push 2
pop edx
mov dword [ebp - 0x3a8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00440dea
mov edi, eax
pop ecx
test edi, edi
je 0x42ae96
mov esi, dword [ebp - 0x394]
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 0x3a4], 0x80004005
call fcn.0043f3bf
push 0
push esi
lea ecx, [ebp - 0x3b4]
call fcn.00422968
test eax, eax
js 0x42ae50
push 0x40
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.0043f907
mov dword [ebp - 0x3a4], eax
lea ecx, [ebp - 0x3b4]
call fcn.0043f743
cmp dword [ebp - 0x3a4], 0
jl 0x42ae8f
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x3a8]
push edi
call fcn.0040c0e1
add esp, 0x14
mov ecx, edi
call fcn.0041ddbf
push edi
call fcn.00440db7
pop ecx
mov ecx, dword [ebp - 0x398]
test ecx, ecx
jne 0x42aea1
inc ecx
imul eax, dword [ebp - 0x394], 0x64
xor edx, edx
div ecx
mov ecx, eax
call fcn.0041dd92
mov ecx, dword [ebp - 4]
mov eax, ebx
ret
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave