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

Disassembly:
mov eax, 0x4c8b44
call fcn.00495c18
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.0041fb29
xor ebx, ebx
cmp eax, ebx
jne 0x4209d8
mov ecx, edi
call fcn.0041fbba
jmp 0x42119e
cmp eax, 0xfffffffe
jne 0x420a35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a1e
dec edx
je 0x420a0a
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x42111c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x42111c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
jmp 0x42111c
or esi, 0xffffffff
cmp eax, esi
jne 0x420a6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a63
dec edx
je 0x420a5c
push ebx
push 0x3e9
push 0x3e8
jmp 0x420a9f
push 9
push 0xe
push ebx
jmp 0x420ab3
push ebx
push 4
push 0x62
jmp 0x420aca
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x420ad8
push eax
mov ecx, edi
call fcn.0041d35e
test eax, eax
je 0x420ad8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420ac1
dec edx
je 0x420aad
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x421049
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x421049
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
jmp 0x421049
push 0x50644c
lea ecx, [ebp - 0x14]
call fcn.004b0e0a
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.004205db
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.004207d1
cmp eax, ebx
je 0x420b81
cmp eax, 0xfffffffe
jne 0x420b89
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b54
dec edx
je 0x420b43
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420b6d
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420b6d
push 0x28
push 4
push 0x8a
jmp 0x420b64
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041eba5
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d96
mov dword [ebp - 4], esi
jmp 0x421041
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x420bb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b5f
dec edx
je 0x420ba9
push ebx
push 0x3e9
push 0x3e8
jmp 0x420b38
push 9
push 0xe
push ebx
jmp 0x420b49
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.00421412
cmp eax, ebx
je 0x420bf8
cmp eax, 0xfffffffe
jne 0x420bcf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4210cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420bf2
dec edx
je 0x420be8
push ebx
jmp 0x421066
push 9
push 0xe
push ebx
jmp 0x421084
push ebx
jmp 0x421091
cmp word [edi + 0x70], 2
jne 0x42117f
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.004200dd
cmp eax, 0xfffffffe
jne 0x420c5d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420c52
dec edx
je 0x420c47
push 0x15
push 0x3e9
push 0x3fd
jmp 0x421000
push 0x1e
push 0xe
push 0x15
jmp 0x421011
push 0x15
push 4
push 0x77
jmp 0x421025
or esi, 0xffffffff
cmp eax, esi
jne 0x420cbc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420ca5
dec edx
je 0x420c91
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x421031
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x421031
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
jmp 0x421031
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 0x420ed4
dec edx
je 0x420dda
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ed2f
test eax, eax
je 0x420d4a
call esi
xor edx, edx
div ebx
dec edx
je 0x420d26
dec edx
je 0x420d15
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420d38
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420d38
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e2780
push eax
call fcn.0049727f
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x420fc8
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 0x420d7f
cmp edx, ebx
je 0x420fc8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420db6
dec edx
je 0x420da5
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420dc8
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420dc8
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e2780
push eax
call fcn.0049727f
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041e8c4
test eax, eax
je 0x420e45
call esi
xor edx, edx
div ebx
dec edx
je 0x420e21
dec edx
je 0x420e10
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420e33
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420e33
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e2780
push eax
call fcn.0049727f
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x420fc8
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 0x420e79
cmp edx, ebx
je 0x420fc8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420eb0
dec edx
je 0x420e9f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420ec2
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420ec2
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e2780
push eax
call fcn.0049727f
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041ea07
test eax, eax
je 0x420f3f
call esi
xor edx, edx
div ebx
dec edx
je 0x420f1b
dec edx
je 0x420f0a
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420f2d
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420f2d
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e2780
push eax
call fcn.0049727f
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x420fc8
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 0x420f6d
cmp edx, ebx
je 0x420fc8
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420fa4
dec edx
je 0x420f93
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x420fb6
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x420fb6
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e2780
push eax
call fcn.0049727f
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x421097
mov ecx, edi
call fcn.0042af9a
cmp eax, 0xfffffffe
jne 0x421050
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42101c
dec edx
je 0x42100b
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x42102e
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x42102e
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d96
mov eax, esi
jmp 0x4211a0
cmp eax, 0xffffffff
jne 0x421097
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42108f
dec edx
je 0x42107e
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041ecb0
jmp 0x421104
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041e84b
jmp 0x421104
push 0
push 4
push 0x62
jmp 0x4210fb
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x42117f
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 0x4210cd
cmp edx, ebx
je 0x42117f
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4210f2
dec edx
je 0x4210ea
push 0x28
push 0x3e9
push 0x410
jmp 0x421070
push 0x31
push 0xe
push 0x28
jmp 0x421084
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041eba5
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d96
or eax, 0xffffffff
jmp 0x4211a0
mov ecx, edi
call fcn.0041fbba
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0d96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d96
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 0x4209a9