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

Disassembly:
mov eax, 0x4c89dc
call fcn.00495a90
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.0041f9eb
xor ebx, ebx
cmp eax, ebx
jne 0x420894
mov ecx, edi
call fcn.0041fa7c
jmp 0x42105a
cmp eax, 0xfffffffe
jne 0x4208f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4208da
dec edx
je 0x4208c6
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420fd8
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420fd8
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
jmp 0x420fd8
or esi, 0xffffffff
cmp eax, esi
jne 0x420926
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42091f
dec edx
je 0x420918
push ebx
push 0x3e9
push 0x3e8
jmp 0x42095b
push 9
push 0xe
push ebx
jmp 0x42096f
push ebx
push 4
push 0x62
jmp 0x420986
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x420994
push eax
mov ecx, edi
call fcn.00415fc5
test eax, eax
je 0x420994
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42097d
dec edx
je 0x420969
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420f05
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420f05
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
jmp 0x420f05
push 0x505d0c
lea ecx, [ebp - 0x14]
call fcn.004b0c7a
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.0042049d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.00420693
cmp eax, ebx
je 0x420a3d
cmp eax, 0xfffffffe
jne 0x420a45
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a10
dec edx
je 0x4209ff
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420a29
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420a29
push 0x28
push 4
push 0x8a
jmp 0x420a20
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041ea24
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0c06
mov dword [ebp - 4], esi
jmp 0x420efd
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x420a6c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420a1b
dec edx
je 0x420a65
push ebx
push 0x3e9
push 0x3e8
jmp 0x4209f4
push 9
push 0xe
push ebx
jmp 0x420a05
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.004212ce
cmp eax, ebx
je 0x420ab4
cmp eax, 0xfffffffe
jne 0x420a8b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x420f8b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420aae
dec edx
je 0x420aa4
push ebx
jmp 0x420f22
push 9
push 0xe
push ebx
jmp 0x420f40
push ebx
jmp 0x420f4d
cmp word [edi + 0x70], 2
jne 0x42103b
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.0041ff9f
cmp eax, 0xfffffffe
jne 0x420b19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b0e
dec edx
je 0x420b03
push 0x15
push 0x3e9
push 0x3fd
jmp 0x420ebc
push 0x1e
push 0xe
push 0x15
jmp 0x420ecd
push 0x15
push 4
push 0x77
jmp 0x420ee1
or esi, 0xffffffff
cmp eax, esi
jne 0x420b78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420b61
dec edx
je 0x420b4d
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420eed
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420eed
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
jmp 0x420eed
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 0x420d90
dec edx
je 0x420c96
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ebae
test eax, eax
je 0x420c06
call esi
xor edx, edx
div ebx
dec edx
je 0x420be2
dec edx
je 0x420bd1
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420bf4
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420bf4
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e27c8
push eax
call fcn.004970df
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x420e84
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 0x420c3b
cmp edx, ebx
je 0x420e84
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420c72
dec edx
je 0x420c61
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420c84
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420c84
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e27c8
push eax
call fcn.004970df
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041e743
test eax, eax
je 0x420d01
call esi
xor edx, edx
div ebx
dec edx
je 0x420cdd
dec edx
je 0x420ccc
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420cef
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420cef
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e27c8
push eax
call fcn.004970df
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x420e84
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 0x420d35
cmp edx, ebx
je 0x420e84
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420d6c
dec edx
je 0x420d5b
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420d7e
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420d7e
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e27c8
push eax
call fcn.004970df
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041e886
test eax, eax
je 0x420dfb
call esi
xor edx, edx
div ebx
dec edx
je 0x420dd7
dec edx
je 0x420dc6
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420de9
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420de9
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e27c8
push eax
call fcn.004970df
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x420e84
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 0x420e29
cmp edx, ebx
je 0x420e84
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420e60
dec edx
je 0x420e4f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420e72
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420e72
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e27c8
push eax
call fcn.004970df
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x420f53
mov ecx, edi
call fcn.0042ae31
cmp eax, 0xfffffffe
jne 0x420f0c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420ed8
dec edx
je 0x420ec7
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420eea
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420eea
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0c06
mov eax, esi
jmp 0x42105c
cmp eax, 0xffffffff
jne 0x420f53
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420f4b
dec edx
je 0x420f3a
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041eb2f
jmp 0x420fc0
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041e6ca
jmp 0x420fc0
push 0
push 4
push 0x62
jmp 0x420fb7
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x42103b
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 0x420f89
cmp edx, ebx
je 0x42103b
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x420fae
dec edx
je 0x420fa6
push 0x28
push 0x3e9
push 0x410
jmp 0x420f2c
push 0x31
push 0xe
push 0x28
jmp 0x420f40
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041ea24
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0c06
or eax, 0xffffffff
jmp 0x42105c
mov ecx, edi
call fcn.0041fa7c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b0c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0c06
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 0x420865