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

Disassembly:
mov eax, 0x4ca08c
call fcn.00497084
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.00420bee
xor ebx, ebx
cmp eax, ebx
jne 0x421a9c
mov ecx, edi
call fcn.00420c7f
jmp 0x422262
cmp eax, 0xfffffffe
jne 0x421af9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421ae2
dec edx
je 0x421ace
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x4221e0
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x4221e0
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
jmp 0x4221e0
or esi, 0xffffffff
cmp eax, esi
jne 0x421b2e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b27
dec edx
je 0x421b20
push ebx
push 0x3e9
push 0x3e8
jmp 0x421b63
push 9
push 0xe
push ebx
jmp 0x421b77
push ebx
push 4
push 0x62
jmp 0x421b8e
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x421b9c
push eax
mov ecx, edi
call fcn.0042131f
test eax, eax
je 0x421b9c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b85
dec edx
je 0x421b71
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x42210d
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x42210d
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
jmp 0x42210d
push 0x508cdc
lea ecx, [ebp - 0x14]
call fcn.004b226a
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.004216a5
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.0042189b
cmp eax, ebx
je 0x421c45
cmp eax, 0xfffffffe
jne 0x421c4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c18
dec edx
je 0x421c07
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421c31
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421c31
push 0x28
push 4
push 0x8a
jmp 0x421c28
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041fc58
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b21f6
mov dword [ebp - 4], esi
jmp 0x422105
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x421c74
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c23
dec edx
je 0x421c6d
push ebx
push 0x3e9
push 0x3e8
jmp 0x421bfc
push 9
push 0xe
push ebx
jmp 0x421c0d
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.004224da
cmp eax, ebx
je 0x421cbc
cmp eax, 0xfffffffe
jne 0x421c93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x422193
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421cb6
dec edx
je 0x421cac
push ebx
jmp 0x42212a
push 9
push 0xe
push ebx
jmp 0x422148
push ebx
jmp 0x422155
cmp word [edi + 0x70], 2
jne 0x422243
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.004211a2
cmp eax, 0xfffffffe
jne 0x421d21
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d16
dec edx
je 0x421d0b
push 0x15
push 0x3e9
push 0x3fd
jmp 0x4220c4
push 0x1e
push 0xe
push 0x15
jmp 0x4220d5
push 0x15
push 4
push 0x77
jmp 0x4220e9
or esi, 0xffffffff
cmp eax, esi
jne 0x421d80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d69
dec edx
je 0x421d55
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x4220f5
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x4220f5
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
jmp 0x4220f5
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 0x421f98
dec edx
je 0x421e9e
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fde2
test eax, eax
je 0x421e0e
call esi
xor edx, edx
div ebx
dec edx
je 0x421dea
dec edx
je 0x421dd9
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421dfc
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421dfc
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e5388
push eax
call fcn.004986dc
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x42208c
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 0x421e43
cmp edx, ebx
je 0x42208c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421e7a
dec edx
je 0x421e69
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421e8c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421e8c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e5388
push eax
call fcn.004986dc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041f977
test eax, eax
je 0x421f09
call esi
xor edx, edx
div ebx
dec edx
je 0x421ee5
dec edx
je 0x421ed4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421ef7
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421ef7
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e5388
push eax
call fcn.004986dc
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x42208c
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 0x421f3d
cmp edx, ebx
je 0x42208c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421f74
dec edx
je 0x421f63
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421f86
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421f86
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e5388
push eax
call fcn.004986dc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041faba
test eax, eax
je 0x422003
call esi
xor edx, edx
div ebx
dec edx
je 0x421fdf
dec edx
je 0x421fce
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x421ff1
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x421ff1
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e5388
push eax
call fcn.004986dc
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x42208c
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 0x422031
cmp edx, ebx
je 0x42208c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422068
dec edx
je 0x422057
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x42207a
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x42207a
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e5388
push eax
call fcn.004986dc
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x42215b
mov ecx, edi
call fcn.004222aa
cmp eax, 0xfffffffe
jne 0x422114
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4220e0
dec edx
je 0x4220cf
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x4220f2
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x4220f2
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b21f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b21f6
mov eax, esi
jmp 0x422264
cmp eax, 0xffffffff
jne 0x42215b
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422153
dec edx
je 0x422142
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041fd63
jmp 0x4221c8
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041f8fe
jmp 0x4221c8
push 0
push 4
push 0x62
jmp 0x4221bf
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x422243
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 0x422191
cmp edx, ebx
je 0x422243
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4221b6
dec edx
je 0x4221ae
push 0x28
push 0x3e9
push 0x410
jmp 0x422134
push 0x31
push 0xe
push 0x28
jmp 0x422148
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc58
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b21f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b21f6
or eax, 0xffffffff
jmp 0x422264
mov ecx, edi
call fcn.00420c7f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b21f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b21f6
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 0x421a6d