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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x419e09
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
mov eax, dword [ebp - 0xc]
call fcn.0040461c
mov eax, dword [ebp + 0x1c]
call fcn.0040461c
mov eax, dword [ebp + 0x18]
call fcn.0040461c
mov eax, dword [ebp + 0x14]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41a5f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x61], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.00404220
mov edx, dword [ebp - 0x60]
mov eax, 0x41a608
call fcn.0040bc44
mov ebx, eax
test ebx, ebx
jle 0x419eab
mov eax, dword [ebp - 0x60]
call fcn.0040442c
sub eax, 3
cmp ebx, eax
jne 0x419eab
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x60]
call fcn.0040468c
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0xab]
xor ecx, ecx
mov edx, 0x4a
call fcn.00402d2c
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
push 0
push 1
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00406f04
test al, al
je 0x41a46d
lea eax, [ebp - 0xab]
xor ecx, ecx
mov edx, 0x4a
call fcn.00402d2c
lea ecx, [ebp - 0xab]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00415530
mov eax, dword [ebp - 0xa7]
xor edx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x24], 1
jne 0x419f50
mov eax, dword [ebp - 0xa3]
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
mov edx, 0x41a618
call fcn.00404848
call fcn.00404d84
call fcn.004030b0
mov edx, dword [ebp - 0x65]
mov eax, dword [ebp - 4]
call fcn.004151e4
mov edx, dword [ebp - 0x9b]
cmp eax, edx
je 0x419f78
cmp eax, 0x4d2
je 0x419f78
cmp edx, 0x4d2
je 0x419f78
xor eax, eax
jmp 0x419f7a
mov al, 1
mov edx, dword [ebp + 0x24]
mov byte [edx], al
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x41a558
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406dc0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00412e98
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.00415108
test al, al
je 0x419fe1
mov eax, dword [ebp - 0x10]
call fcn.004154b8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x419fd3
cmp dword [ebp - 0x38], 0
jbe 0x419fe1
jmp 0x419fd5
jle 0x419fe1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [0x427db8]
mov edx, 0x41a638
call fcn.00404848
call fcn.00404d84
call fcn.004030b0
mov eax, dword [0x427ef0]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9f]
jne 0x41a465
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00412d9c
cmp dword [ebp - 0x24], 1
jne 0x41a03c
push 0
push 1
push 0
mov ecx, dword [ebp - 0xa3]
xor edx, edx
xor eax, eax
call dword [ebp + 0x20]
xor eax, eax
push ebp
push 0x41a05c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00406f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a0a2
xor eax, eax
call fcn.0040bf18
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00406e3c
cmp dword [ebp - 0x14], 0
setg bl
mov eax, dword [ebp - 0x14]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.004047b8
lea edx, [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00419c08
mov eax, dword [ebp - 0x14]
add eax, 4
cdq
add dword [ebp - 0x40], eax
adc dword [ebp - 0x3c], edx
inc dword [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0xaa]
cmp eax, dword [ebp - 0x18]
jne 0x41a107
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x18]
jge 0x41a2a4
test bl, bl
je 0x41a123
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, dword [ebp - 0x48]
call fcn.0040ff18
jmp 0x41a12e
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
call fcn.00404220
mov edx, dword [ebp - 0x4c]
mov eax, 0x41a67c
call fcn.00404770
mov ebx, eax
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x4c]
call fcn.0040468c
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x4c]
call fcn.0040442c
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 0x4c]
call fcn.0040468c
cmp dword [ebp - 0x48], 0
je 0x41a2a4
mov edx, dword [ebp - 0x48]
mov eax, 0x41a688
call fcn.00404770
test eax, eax
jle 0x41a190
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
call fcn.004041dc
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
call fcn.0040b4dc
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x48]
call fcn.0040b4dc
mov edx, dword [ebp - 0x50]
mov eax, 0x41a688
call fcn.00404770
test eax, eax
jle 0x41a1f0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
call fcn.004041dc
lea eax, [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x50]
mov eax, 0x41a688
call fcn.00404770
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x50]
call fcn.0040468c
push dword [ebp - 8]
push 0x41a694
push dword [ebp - 0x50]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x5c]
call fcn.00406f04
test al, al
jne 0x41a226
push 0
push 1
push 0
xor ecx, ecx
xor edx, edx
mov eax, 1
call dword [ebp + 0x20]
mov eax, dword [ebp - 0x5c]
call fcn.00406f04
test al, al
push 0
push 1
xor edx, edx
mov eax, dword [ebp - 0x54]
call fcn.00406d5c
mov ecx, eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
call fcn.004130a0
test al, al
jne 0x41a255
inc dword [0x427c98]
test al, al
jne 0x41a2a4
cmp dword [0x427c98], 1
jne 0x41a2a4
push 0
push 0
push dword [ebp - 0x5c]
push 0x41a6a0
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
call fcn.00419ca0
push dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.004044ec
mov edx, dword [ebp - 0xb8]
xor ecx, ecx
xor eax, eax
call fcn.0040c330
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
cmp edx, 0
jne 0x41a2bc
cmp eax, 0x4a
jbe 0x41a2cb
jmp 0x41a2be
jle 0x41a2cb
call fcn.00414f5c
test al, al
je 0x41a0a2
cmp dword [ebp - 0x24], 1
jne 0x41a465
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc]
call fcn.00407314
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0xc]
call fcn.00404220
cmp dword [ebp - 0xc], 0
je 0x41a465
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, 0x41a6d4
call fcn.0040bda4
test al, al
jne 0x41a325
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, 0x41a6e4
call fcn.0040bda4
test al, al
je 0x41a465
lea ecx, [ebp - 0xab]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.00415530
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00412d9c
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
call fcn.004047b8
lea eax, [ebp - 0x48]
call fcn.00404684
mov edx, eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00406e3c
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
call fcn.00404684
lea edx, [eax + 0xfc]
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.00402694
push dword [ebp - 0x93]
push dword [ebp - 0x97]
call fcn.00419b3c
push edx
push eax
call fcn.0040b384
mov dword [ebp - 0x97], eax
mov dword [ebp - 0x93], edx
mov byte [ebp - 0x66], 1
mov dword [ebp - 0x65], 0x4a
lea eax, [ebp - 0x4c]
mov edx, 0x4a
call fcn.004047b8
lea eax, [ebp - 0x4c]
call fcn.00404684
mov edx, eax
lea eax, [ebp - 0xab]
mov ecx, 0x4a
call fcn.00402694
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
call fcn.00404434
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406e9c
push eax
push dword [ebp - 8]
push 0x41a694
push dword [ebp - 0xc]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x48]
pop ecx
call fcn.004130a0
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x41a6f8
call fcn.00404848
push eax
push dword [ebp - 8]
push 0x41a694
push dword [ebp - 0xc]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.004044ec
mov edx, dword [ebp - 0xc8]
pop eax
call fcn.00404848
call fcn.004030b0
mov eax, dword [ebp - 0x10]
call fcn.00406e94
lea eax, [ebp - 0xab]
call fcn.00414f2c
test al, al
je 0x41a53f
mov al, 1
call fcn.0040c0b8
inc dword [ebp - 0x24]
push dword [ebp - 0x60]
push 0x41a710
lea ecx, [ebp - 0xcc]
mov edx, 3
mov eax, dword [ebp - 0x24]
call fcn.0040c844
push dword [ebp - 0xcc]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004044ec
cmp byte [ebp + 0xc], 0
jne 0x41a4ca
mov eax, dword [ebp - 4]
call fcn.00406f04
test al, al
jne 0x41a52d
mov eax, dword [ebp - 4]
call fcn.0041415c
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x24]
call fcn.00406c48
mov ecx, dword [ebp - 0xd0]
mov edx, 0x41a71c
mov eax, dword [ebp + 0x1c]
call fcn.0040cc40
mov eax, dword [ebp + 0x14]
push eax
mov al, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x44]
xor eax, eax
call fcn.0040c4f0
mov byte [ebp - 0x61], al
xor edx, edx
mov eax, 0x1f4
call fcn.0040bf50
mov eax, dword [ebp - 4]
call fcn.00406f04
test al, al
jne 0x41a52d
cmp byte [ebp - 0x61], 0
jne 0x41a4d2
push 0
push 1
push 0
xor ecx, ecx
xor edx, edx
mov eax, 1
call dword [ebp + 0x20]
lea eax, [ebp - 0xab]
call fcn.00414f2c
test al, al
je 0x41a558
cmp byte [ebp - 0x61], 0
jne 0x419ee6
cmp byte [ebp - 0x61], 0
jne 0x41a566
mov eax, dword [ebp + 8]
call fcn.00404188
mov eax, dword [0x427db8]
call fcn.004030b0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
mov edx, 0x41a730
call fcn.00404848
call fcn.00404d84
mov edx, 0x41a74c
call fcn.00404848
call fcn.004030b0
xor edx, edx
mov eax, 0x1f4
call fcn.0040bf50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a5f7
lea eax, [ebp - 0xd0]
mov edx, 9
call fcn.004041ac
lea eax, [ebp - 0x60]
mov edx, 8
call fcn.004041ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041ac
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.004041ac
ret