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

Disassembly:
mov eax, 0x4ca1f0
call fcn.00497154
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.00420be9
xor ebx, ebx
cmp eax, ebx
jne 0x421a92
mov ecx, edi
call fcn.00420c7a
jmp 0x422258
cmp eax, 0xfffffffe
jne 0x421aef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421ad8
dec edx
je 0x421ac4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x4221d6
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x4221d6
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
jmp 0x4221d6
or esi, 0xffffffff
cmp eax, esi
jne 0x421b24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b1d
dec edx
je 0x421b16
push ebx
push 0x3e9
push 0x3e8
jmp 0x421b59
push 9
push 0xe
push ebx
jmp 0x421b6d
push ebx
push 4
push 0x62
jmp 0x421b84
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x421b92
push eax
mov ecx, edi
call fcn.0041e5a3
test eax, eax
je 0x421b92
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b7b
dec edx
je 0x421b67
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x422103
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x422103
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
jmp 0x422103
push 0x508f1c
lea ecx, [ebp - 0x14]
call fcn.004b234a
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.0042169b
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.00421891
cmp eax, ebx
je 0x421c3b
cmp eax, 0xfffffffe
jne 0x421c43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c0e
dec edx
je 0x421bfd
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421c27
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421c27
push 0x28
push 4
push 0x8a
jmp 0x421c1e
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041fc10
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b22d6
mov dword [ebp - 4], esi
jmp 0x4220fb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x421c6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c19
dec edx
je 0x421c63
push ebx
push 0x3e9
push 0x3e8
jmp 0x421bf2
push 9
push 0xe
push ebx
jmp 0x421c03
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.004224d0
cmp eax, ebx
je 0x421cb2
cmp eax, 0xfffffffe
jne 0x421c89
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x422189
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421cac
dec edx
je 0x421ca2
push ebx
jmp 0x422120
push 9
push 0xe
push ebx
jmp 0x42213e
push ebx
jmp 0x42214b
cmp word [edi + 0x70], 2
jne 0x422239
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.0042119d
cmp eax, 0xfffffffe
jne 0x421d17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d0c
dec edx
je 0x421d01
push 0x15
push 0x3e9
push 0x3fd
jmp 0x4220ba
push 0x1e
push 0xe
push 0x15
jmp 0x4220cb
push 0x15
push 4
push 0x77
jmp 0x4220df
or esi, 0xffffffff
cmp eax, esi
jne 0x421d76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d5f
dec edx
je 0x421d4b
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x4220eb
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x4220eb
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
jmp 0x4220eb
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 0x421f8e
dec edx
je 0x421e94
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fd9a
test eax, eax
je 0x421e04
call esi
xor edx, edx
div ebx
dec edx
je 0x421de0
dec edx
je 0x421dcf
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421df2
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421df2
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e5518
push eax
call fcn.004987bc
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x422082
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 0x421e39
cmp edx, ebx
je 0x422082
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421e70
dec edx
je 0x421e5f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421e82
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421e82
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e5518
push eax
call fcn.004987bc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041f92f
test eax, eax
je 0x421eff
call esi
xor edx, edx
div ebx
dec edx
je 0x421edb
dec edx
je 0x421eca
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421eed
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421eed
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e5518
push eax
call fcn.004987bc
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x422082
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 0x421f33
cmp edx, ebx
je 0x422082
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421f6a
dec edx
je 0x421f59
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421f7c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421f7c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e5518
push eax
call fcn.004987bc
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041fa72
test eax, eax
je 0x421ff9
call esi
xor edx, edx
div ebx
dec edx
je 0x421fd5
dec edx
je 0x421fc4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x421fe7
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x421fe7
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e5518
push eax
call fcn.004987bc
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x422082
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 0x422027
cmp edx, ebx
je 0x422082
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42205e
dec edx
je 0x42204d
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x422070
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x422070
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e5518
push eax
call fcn.004987bc
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x422151
mov ecx, edi
call fcn.004222a0
cmp eax, 0xfffffffe
jne 0x42210a
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4220d6
dec edx
je 0x4220c5
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x4220e8
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x4220e8
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b22d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b22d6
mov eax, esi
jmp 0x42225a
cmp eax, 0xffffffff
jne 0x422151
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422149
dec edx
je 0x422138
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041fd1b
jmp 0x4221be
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041f8b6
jmp 0x4221be
push 0
push 4
push 0x62
jmp 0x4221b5
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x422239
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 0x422187
cmp edx, ebx
je 0x422239
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4221ac
dec edx
je 0x4221a4
push 0x28
push 0x3e9
push 0x410
jmp 0x42212a
push 0x31
push 0xe
push 0x28
jmp 0x42213e
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc10
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b22d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b22d6
or eax, 0xffffffff
jmp 0x42225a
mov ecx, edi
call fcn.00420c7a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b22d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b22d6
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 0x421a63