Function at 0x401a36
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x407004]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x224], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x18
mov dword [ebp - 0x214], eax
pop eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x30000
push eax
push 0x4073c4
push 0x407c60
push fcn.004045a0
push dword [0x4073bc]
mov dword [ebp - 0x230], 1
push 0x407c48
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x210], ebx
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
jne 0x401be3
push ebx
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
inc ecx
call fcn.004023d9
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4073c4
push 0x407c60
push fcn.004045a0
push dword [0x4073bc]
push 0x407c48
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
jne 0x401bce
mov edi, dword [ebp - 0x214]
jmp 0x401b4f
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x401b35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + 0x1388]
cmp eax, ecx
jbe 0x401b94
mov ecx, dword [0x407cf8]
mov edx, 0x610
push 5
call fcn.00404c8b
cmp eax, 2
je 0x401bcc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4073c4
push 0x407c60
push fcn.004045a0
push dword [0x4073bc]
push 0x407c48
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
je 0x401b4f
mov edi, ebx
xor ecx, ecx
call fcn.004023d9
push 1
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x401bee
mov ebx, esi
jmp 0x401e5d
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x401128
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
mov dword [ebp - 0x220], 0x200
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
push 0x40118c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401c59
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [ebp - 0x214], eax
jmp 0x401c60
or dword [ebp - 0x214], 0xffffffff
or dword [0x407040], 0xffffffff
mov eax, dword [0x4073c4]
test eax, eax
jne 0x401cab
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 4
push 0x40
mov dword [0x407f20], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x407cf4], eax
mov eax, 0x214
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov eax, dword [0x407cf4]
mov dword [ebp - 0x20c], edi
jmp 0x401d11
mov ecx, 0x214
mul ecx
cmp edx, ebx
ja 0x401ec5
jb 0x401cc5
cmp eax, 0xffffffff
ja 0x401ec5
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x20c], eax
mov eax, dword [0x4073c4]
push 4
pop ecx
mul ecx
mov esi, eax
cmp edx, ebx
ja 0x401ec5
jb 0x401cf5
cmp esi, 0xffffffff
ja 0x401ec5
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
push 0x40
mov dword [0x407f20], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x407cf4], eax
test edi, edi
je 0x401ec5
cmp dword [0x407f20], ebx
je 0x401ec5
test eax, eax
je 0x401ec5
mov eax, ebx
mov esi, ebx
mov dword [ebp - 0x218], eax
cmp dword [0x4073c4], eax
jbe 0x401daa
add edi, 0x10
lea edx, [edi - 0x10]
mov ecx, esi
call fcn.00403337
test eax, eax
jne 0x401d8f
mov eax, dword [0x407f20]
mov ecx, dword [edi - 0x10]
mov dword [eax + esi*4], ecx
mov eax, dword [0x407cf4]
mov ecx, dword [edi]
mov dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x214]
cmp dword [edi], eax
jne 0x401d75
mov dword [0x407040], esi
mov eax, dword [ebp - 0x218]
cmp dword [edi - 0xc], ebx
je 0x401d95
inc eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x218], eax
jmp 0x401d95
mov eax, dword [ebp - 0x218]
inc esi
add edi, 0x214
cmp esi, dword [0x4073c4]
jb 0x401d42
mov edi, dword [ebp - 0x20c]
cmp dword [0x407040], 0xffffffff
jne 0x401de0
cmp eax, 1
jne 0x401e8e
cmp dword [ebp - 0x214], 0xffffffff
mov eax, dword [ebp - 0x224]
mov dword [0x407040], eax
je 0x401de0
mov ecx, dword [0x407cf8]
push 0x30
push 5
pop edx
call fcn.00404c8b
imul esi, dword [0x407040], 0x214
xor eax, eax
mov ecx, 0x85
mov dword [0x4073c8], ebx
add esi, edi
mov edi, 0x407d00
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x220], 0x200
push eax
push ebx
push ebx
push 0x4011ac
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401e57
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [0x4073c8], eax
cmp eax, dword [0x407d00]
jb 0x401e57
mov dword [0x4073c8], ebx
mov edi, dword [ebp - 0x20c]
cmp dword [ebp - 0x210], 0
je 0x401e72
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x401e7d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b90
leave
ret
push 2
push 0x403690
push dword [0x407cf8]
mov esi, edi
mov ecx, 0x85
push 0x1f4
push dword [0x4073bc]
mov edi, 0x407d00
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
dec ebx
jmp 0x401e57
mov ebx, 0x80000044
jmp 0x401e5d