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

Disassembly:
mov eax, 0x4ca170
call fcn.0049708c
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.00420bbd
xor ebx, ebx
cmp eax, ebx
jne 0x421a6c
mov ecx, edi
call fcn.00420c4e
jmp 0x422232
cmp eax, 0xfffffffe
jne 0x421ac9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421ab2
dec edx
je 0x421a9e
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x4221b0
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x4221b0
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
jmp 0x4221b0
or esi, 0xffffffff
cmp eax, esi
jne 0x421afe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421af7
dec edx
je 0x421af0
push ebx
push 0x3e9
push 0x3e8
jmp 0x421b33
push 9
push 0xe
push ebx
jmp 0x421b47
push ebx
push 4
push 0x62
jmp 0x421b5e
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x421b6c
push eax
mov ecx, edi
call fcn.0042bd96
test eax, eax
je 0x421b6c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b55
dec edx
je 0x421b41
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x4220dd
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x4220dd
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
jmp 0x4220dd
push 0x508dac
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.0042166f
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.00421865
cmp eax, ebx
je 0x421c15
cmp eax, 0xfffffffe
jne 0x421c1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421be8
dec edx
je 0x421bd7
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421c01
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421c01
push 0x28
push 4
push 0x8a
jmp 0x421bf8
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041fc27
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b21f6
mov dword [ebp - 4], esi
jmp 0x4220d5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x421c44
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421bf3
dec edx
je 0x421c3d
push ebx
push 0x3e9
push 0x3e8
jmp 0x421bcc
push 9
push 0xe
push ebx
jmp 0x421bdd
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.004224a6
cmp eax, ebx
je 0x421c8c
cmp eax, 0xfffffffe
jne 0x421c63
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x422163
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c86
dec edx
je 0x421c7c
push ebx
jmp 0x4220fa
push 9
push 0xe
push ebx
jmp 0x422118
push ebx
jmp 0x422125
cmp word [edi + 0x70], 2
jne 0x422213
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.00421171
cmp eax, 0xfffffffe
jne 0x421cf1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421ce6
dec edx
je 0x421cdb
push 0x15
push 0x3e9
push 0x3fd
jmp 0x422094
push 0x1e
push 0xe
push 0x15
jmp 0x4220a5
push 0x15
push 4
push 0x77
jmp 0x4220b9
or esi, 0xffffffff
cmp eax, esi
jne 0x421d50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d39
dec edx
je 0x421d25
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x4220c5
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x4220c5
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
jmp 0x4220c5
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 0x421f68
dec edx
je 0x421e6e
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fdb1
test eax, eax
je 0x421dde
call esi
xor edx, edx
div ebx
dec edx
je 0x421dba
dec edx
je 0x421da9
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421dcc
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421dcc
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e54a8
push eax
call fcn.004986dc
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x42205c
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 0x421e13
cmp edx, ebx
je 0x42205c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421e4a
dec edx
je 0x421e39
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421e5c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421e5c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e54a8
push eax
call fcn.004986dc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041f946
test eax, eax
je 0x421ed9
call esi
xor edx, edx
div ebx
dec edx
je 0x421eb5
dec edx
je 0x421ea4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421ec7
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421ec7
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e54a8
push eax
call fcn.004986dc
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x42205c
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 0x421f0d
cmp edx, ebx
je 0x42205c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421f44
dec edx
je 0x421f33
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421f56
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421f56
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e54a8
push eax
call fcn.004986dc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041fa89
test eax, eax
je 0x421fd3
call esi
xor edx, edx
div ebx
dec edx
je 0x421faf
dec edx
je 0x421f9e
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x421fc1
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x421fc1
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e54a8
push eax
call fcn.004986dc
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x42205c
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 0x422001
cmp edx, ebx
je 0x42205c
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422038
dec edx
je 0x422027
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x42204a
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x42204a
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e54a8
push eax
call fcn.004986dc
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x42212b
mov ecx, edi
call fcn.0042bf68
cmp eax, 0xfffffffe
jne 0x4220e4
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4220b0
dec edx
je 0x42209f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x4220c2
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x4220c2
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
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 0x422234
cmp eax, 0xffffffff
jne 0x42212b
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422123
dec edx
je 0x422112
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041fd32
jmp 0x422198
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041f8cd
jmp 0x422198
push 0
push 4
push 0x62
jmp 0x42218f
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x422213
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 0x422161
cmp edx, ebx
je 0x422213
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422186
dec edx
je 0x42217e
push 0x28
push 0x3e9
push 0x410
jmp 0x422104
push 0x31
push 0xe
push 0x28
jmp 0x422118
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc27
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 0x422234
mov ecx, edi
call fcn.00420c4e
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 0x421a3d