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

Disassembly:
mov eax, 0x4c8b04
call fcn.00495bd8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.0041fb19
xor ebx, ebx
cmp eax, ebx
jne 0x4209c8
mov ecx, edi
call fcn.0041fbaa
jmp 0x42118e
cmp eax, 0xfffffffe
jne 0x420a25
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a0e
dec edx
je 0x4209fa
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x42110c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x42110c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
jmp 0x42110c
or esi, 0xffffffff
cmp eax, esi
jne 0x420a5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a53
dec edx
je 0x420a4c
push ebx
push 0x3e9
push 0x3e8
jmp 0x420a8f
push 9
push 0xe
push ebx
jmp 0x420aa3
push ebx
push 4
push 0x62
jmp 0x420aba
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x420ac8
push eax
mov ecx, edi
call fcn.0041d35e
test eax, eax
je 0x420ac8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420ab1
dec edx
je 0x420a9d
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x421039
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x421039
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
jmp 0x421039
push 0x50612c
lea ecx, [ebp - 0x14]
call fcn.004b0dca
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.004205cb
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.004207c1
cmp eax, ebx
je 0x420b71
cmp eax, 0xfffffffe
jne 0x420b79
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b44
dec edx
je 0x420b33
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420b5d
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420b5d
push 0x28
push 4
push 0x8a
jmp 0x420b54
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041eb95
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d56
mov dword [ebp - 4], esi
jmp 0x421031
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x420ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b4f
dec edx
je 0x420b99
push ebx
push 0x3e9
push 0x3e8
jmp 0x420b28
push 9
push 0xe
push ebx
jmp 0x420b39
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.00421402
cmp eax, ebx
je 0x420be8
cmp eax, 0xfffffffe
jne 0x420bbf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4210bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420be2
dec edx
je 0x420bd8
push ebx
jmp 0x421056
push 9
push 0xe
push ebx
jmp 0x421074
push ebx
jmp 0x421081
cmp word [edi + 0x70], 2
jne 0x42116f
mov eax, edi
mov ecx, edi
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
lea eax, [edi + 0x7c]
mov dword [ebp - 0x44], edx
push eax
push esi
mov dword [ebp - 0x3c], edx
call fcn.004200cd
cmp eax, 0xfffffffe
jne 0x420c4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420c42
dec edx
je 0x420c37
push 0x15
push 0x3e9
push 0x3fd
jmp 0x420ff0
push 0x1e
push 0xe
push 0x15
jmp 0x421001
push 0x15
push 4
push 0x77
jmp 0x421015
or esi, 0xffffffff
cmp eax, esi
jne 0x420cac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420c95
dec edx
je 0x420c81
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x421021
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x421021
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
jmp 0x421021
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 4], 2
call esi
push 3
xor edx, edx
pop ebx
mov ecx, ebx
div ecx
dec edx
je 0x420ec4
dec edx
je 0x420dca
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ed1f
test eax, eax
je 0x420d3a
call esi
xor edx, edx
div ebx
dec edx
je 0x420d16
dec edx
je 0x420d05
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420d28
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420d28
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e2780
push eax
call fcn.0049723f
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x420fb8
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub ecx, 1
sbb ebx, 0
add eax, 1
adc edx, 0
cmp eax, ecx
jne 0x420d6f
cmp edx, ebx
je 0x420fb8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420da6
dec edx
je 0x420d95
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420db8
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420db8
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e2780
push eax
call fcn.0049723f
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041e8b4
test eax, eax
je 0x420e35
call esi
xor edx, edx
div ebx
dec edx
je 0x420e11
dec edx
je 0x420e00
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420e23
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420e23
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e2780
push eax
call fcn.0049723f
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x420fb8
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
sub ecx, edx
sbb ebx, 0
add eax, edx
mov edx, dword [ebp - 0x44]
adc edx, 0
cmp eax, ecx
jne 0x420e69
cmp edx, ebx
je 0x420fb8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420ea0
dec edx
je 0x420e8f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420eb2
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420eb2
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e2780
push eax
call fcn.0049723f
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041e9f7
test eax, eax
je 0x420f2f
call esi
xor edx, edx
div ebx
dec edx
je 0x420f0b
dec edx
je 0x420efa
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420f1d
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420f1d
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e2780
push eax
call fcn.0049723f
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x420fb8
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub ecx, 1
sbb ebx, 0
add eax, 1
adc edx, 0
cmp eax, ecx
jne 0x420f5d
cmp edx, ebx
je 0x420fb8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420f94
dec edx
je 0x420f83
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x420fa6
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x420fa6
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e2780
push eax
call fcn.0049723f
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x421087
mov ecx, edi
call fcn.0042af8a
cmp eax, 0xfffffffe
jne 0x421040
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42100c
dec edx
je 0x420ffb
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x42101e
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x42101e
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d56
mov eax, esi
jmp 0x421190
cmp eax, 0xffffffff
jne 0x421087
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42107f
dec edx
je 0x42106e
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041eca0
jmp 0x4210f4
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041e83b
jmp 0x4210f4
push 0
push 4
push 0x62
jmp 0x4210eb
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x42116f
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub ecx, 1
sbb ebx, 0
add eax, 1
adc edx, 0
cmp eax, ecx
jne 0x4210bd
cmp edx, ebx
je 0x42116f
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4210e2
dec edx
je 0x4210da
push 0x28
push 0x3e9
push 0x410
jmp 0x421060
push 0x31
push 0xe
push 0x28
jmp 0x421074
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eb95
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d56
or eax, 0xffffffff
jmp 0x421190
mov ecx, edi
call fcn.0041fbaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d56
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
and dword [ecx + 0x90], 0
jmp 0x420999