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

Disassembly:
mov eax, 0x4ca1d0
call fcn.004970e4
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.00420bf9
xor ebx, ebx
cmp eax, ebx
jne 0x421aa2
mov ecx, edi
call fcn.00420c8a
jmp 0x422268
cmp eax, 0xfffffffe
jne 0x421aff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421ae8
dec edx
je 0x421ad4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x4221e6
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x4221e6
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
jmp 0x4221e6
or esi, 0xffffffff
cmp eax, esi
jne 0x421b34
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b2d
dec edx
je 0x421b26
push ebx
push 0x3e9
push 0x3e8
jmp 0x421b69
push 9
push 0xe
push ebx
jmp 0x421b7d
push ebx
push 4
push 0x62
jmp 0x421b94
mov eax, dword [edi + 0x94]
cmp eax, ebx
je 0x421ba2
push eax
mov ecx, edi
call fcn.004113af
test eax, eax
je 0x421ba2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421b8b
dec edx
je 0x421b77
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x422113
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x422113
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
jmp 0x422113
push 0x508dbc
lea ecx, [ebp - 0x14]
call fcn.004b22ca
push dword [edi + 0xa0]
lea eax, [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
push str.SoftwareClassesCLSID_s
push eax
call fcn.004216ab
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call fcn.004218a1
cmp eax, ebx
je 0x421c4b
cmp eax, 0xfffffffe
jne 0x421c53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c1e
dec edx
je 0x421c0d
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421c37
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421c37
push 0x28
push 4
push 0x8a
jmp 0x421c2e
push ebx
push 4
push 0x62
push 0x68
mov ecx, edi
call fcn.0041fc32
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b2256
mov dword [ebp - 4], esi
jmp 0x42210b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x421c7a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421c29
dec edx
je 0x421c73
push ebx
push 0x3e9
push 0x3e8
jmp 0x421c02
push 9
push 0xe
push ebx
jmp 0x421c13
lea esi, [edi + 0x68]
push eax
mov ecx, esi
call fcn.004224e0
cmp eax, ebx
je 0x421cc2
cmp eax, 0xfffffffe
jne 0x421c99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x422199
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421cbc
dec edx
je 0x421cb2
push ebx
jmp 0x422130
push 9
push 0xe
push ebx
jmp 0x42214e
push ebx
jmp 0x42215b
cmp word [edi + 0x70], 2
jne 0x422249
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.004211ad
cmp eax, 0xfffffffe
jne 0x421d27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d1c
dec edx
je 0x421d11
push 0x15
push 0x3e9
push 0x3fd
jmp 0x4220ca
push 0x1e
push 0xe
push 0x15
jmp 0x4220db
push 0x15
push 4
push 0x77
jmp 0x4220ef
or esi, 0xffffffff
cmp eax, esi
jne 0x421d86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421d6f
dec edx
je 0x421d5b
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x4220fb
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x4220fb
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
jmp 0x4220fb
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 0x421f9e
dec edx
je 0x421ea4
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fdbc
test eax, eax
je 0x421e14
call esi
xor edx, edx
div ebx
dec edx
je 0x421df0
dec edx
je 0x421ddf
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421e02
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421e02
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push 0x4e5578
push eax
call fcn.0049874c
call esi
push 7
xor edx, edx
pop ecx
div ecx
cmp edx, ebx
jne 0x422092
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 0x421e49
cmp edx, ebx
je 0x422092
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421e80
dec edx
je 0x421e6f
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421e92
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421e92
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x24]
push 0x4e5578
push eax
call fcn.0049874c
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041f951
test eax, eax
je 0x421f0f
call esi
xor edx, edx
div ebx
dec edx
je 0x421eeb
dec edx
je 0x421eda
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421efd
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421efd
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x28]
push 0x4e5578
push eax
call fcn.0049874c
call esi
push 9
xor edx, edx
pop ecx
div ecx
cmp edx, 1
jne 0x422092
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 0x421f43
cmp edx, ebx
je 0x422092
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x421f7a
dec edx
je 0x421f69
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421f8c
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421f8c
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push 0x4e5578
push eax
call fcn.0049874c
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041fa94
test eax, eax
je 0x422009
call esi
xor edx, edx
div ebx
dec edx
je 0x421fe5
dec edx
je 0x421fd4
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x421ff7
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x421ff7
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
push 0x4e5578
push eax
call fcn.0049874c
call esi
push 5
xor edx, edx
pop ecx
div ecx
cmp edx, 2
jne 0x422092
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 0x422037
cmp edx, ebx
je 0x422092
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x42206e
dec edx
je 0x42205d
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x422080
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x422080
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
push 0x4e5578
push eax
call fcn.0049874c
test byte [edi + 0x1c], 1
mov dword [ebp - 4], 1
je 0x422161
mov ecx, edi
call fcn.004222b0
cmp eax, 0xfffffffe
jne 0x42211a
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4220e6
dec edx
je 0x4220d5
push 0x28
push 0x3e9
push 0x410
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x4220f8
push 0x31
push 0xe
push 0x28
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x4220f8
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
or esi, 0xffffffff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b2256
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2256
mov eax, esi
jmp 0x42226a
cmp eax, 0xffffffff
jne 0x422161
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x422159
dec edx
je 0x422148
push 0
push 0x3e9
push 0x3e8
push 4
mov ecx, edi
call fcn.0041fd3d
jmp 0x4221ce
push 9
push 0xe
push 0
push 4
mov ecx, edi
call fcn.0041f8d8
jmp 0x4221ce
push 0
push 4
push 0x62
jmp 0x4221c5
call esi
push 0xb
xor edx, edx
pop ecx
div ecx
cmp edx, 5
jne 0x422249
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 0x422197
cmp edx, ebx
je 0x422249
call esi
push 3
xor edx, edx
pop ecx
div ecx
dec edx
je 0x4221bc
dec edx
je 0x4221b4
push 0x28
push 0x3e9
push 0x410
jmp 0x42213a
push 0x31
push 0xe
push 0x28
jmp 0x42214e
push 0x28
push 4
push 0x8a
push 0x68
mov ecx, edi
call fcn.0041fc32
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b2256
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2256
or eax, 0xffffffff
jmp 0x42226a
mov ecx, edi
call fcn.00420c8a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004b2256
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2256
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 0x421a73