Function at 0x401a30
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.00404530
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 0x401bdd
push ebx
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
inc ecx
call fcn.004023d3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4073c4
push 0x407c60
push fcn.00404530
push dword [0x4073bc]
push 0x407c48
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
jne 0x401bc8
mov edi, dword [ebp - 0x214]
jmp 0x401b49
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 0x401b2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + 0x1388]
cmp eax, ecx
jbe 0x401b8e
mov ecx, dword [0x407cf8]
mov edx, 0x610
push 5
call fcn.00404c1b
cmp eax, 2
je 0x401bc6
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.00404530
push dword [0x4073bc]
push 0x407c48
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
je 0x401b49
mov edi, ebx
xor ecx, ecx
call fcn.004023d3
push 1
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x401be8
mov ebx, esi
jmp 0x401e57
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 0x401c53
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [ebp - 0x214], eax
jmp 0x401c5a
or dword [ebp - 0x214], 0xffffffff
or dword [0x407040], 0xffffffff
mov eax, dword [0x4073c4]
test eax, eax
jne 0x401ca5
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 0x401d0b
mov ecx, 0x214
mul ecx
cmp edx, ebx
ja 0x401ebf
jb 0x401cbf
cmp eax, 0xffffffff
ja 0x401ebf
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 0x401ebf
jb 0x401cef
cmp esi, 0xffffffff
ja 0x401ebf
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 0x401ebf
cmp dword [0x407f20], ebx
je 0x401ebf
test eax, eax
je 0x401ebf
mov eax, ebx
mov esi, ebx
mov dword [ebp - 0x218], eax
cmp dword [0x4073c4], eax
jbe 0x401da4
add edi, 0x10
lea edx, [edi - 0x10]
mov ecx, esi
call fcn.004032bd
test eax, eax
jne 0x401d89
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 0x401d6f
mov dword [0x407040], esi
mov eax, dword [ebp - 0x218]
cmp dword [edi - 0xc], ebx
je 0x401d8f
inc eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x218], eax
jmp 0x401d8f
mov eax, dword [ebp - 0x218]
inc esi
add edi, 0x214
cmp esi, dword [0x4073c4]
jb 0x401d3c
mov edi, dword [ebp - 0x20c]
cmp dword [0x407040], 0xffffffff
jne 0x401dda
cmp eax, 1
jne 0x401e88
cmp dword [ebp - 0x214], 0xffffffff
mov eax, dword [ebp - 0x224]
mov dword [0x407040], eax
je 0x401dda
mov ecx, dword [0x407cf8]
push 0x30
push 5
pop edx
call fcn.00404c1b
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 0x401e51
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [0x4073c8], eax
cmp eax, dword [0x407d00]
jb 0x401e51
mov dword [0x4073c8], ebx
mov edi, dword [ebp - 0x20c]
cmp dword [ebp - 0x210], 0
je 0x401e6c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x401e77
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.00405b20
leave
ret
push 2
push 0x403620
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 0x401e51
mov ebx, 0x80000044
jmp 0x401e57