Function at 0x4019b8
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 [0x406004]
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 0x4063c4
push 0x406c68
push fcn.00404420
push dword [0x4063bc]
mov dword [ebp - 0x230], 1
push 0x406c50
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 0x401b65
push ebx
push dword [0x406d00]
call dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
inc ecx
call fcn.00402349
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4063c4
push 0x406c68
push fcn.00404420
push dword [0x4063bc]
push 0x406c50
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
jne 0x401b50
mov edi, dword [ebp - 0x214]
jmp 0x401ad1
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 0x401ab7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + 0x1388]
cmp eax, ecx
jbe 0x401b16
mov ecx, dword [0x406d00]
mov edx, 0x610
push 5
call fcn.00404aed
cmp eax, 2
je 0x401b4e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x4063c4
push 0x406c68
push fcn.00404420
push dword [0x4063bc]
push 0x406c50
call dword [sym.imp.TAPI32.dll_lineInitializeExW]
mov esi, eax
cmp esi, 0x80000052
je 0x401ad1
mov edi, ebx
xor ecx, ecx
call fcn.00402349
push 1
push dword [0x406d00]
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x401b70
mov ebx, esi
jmp 0x401ddf
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x401120
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 0x401184
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401bdb
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [ebp - 0x214], eax
jmp 0x401be2
or dword [ebp - 0x214], 0xffffffff
or dword [0x406040], 0xffffffff
mov eax, dword [0x4063c4]
test eax, eax
jne 0x401c2d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 4
push 0x40
mov dword [0x406f40], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x406cfc], eax
mov eax, 0x214
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov eax, dword [0x406cfc]
mov dword [ebp - 0x20c], edi
jmp 0x401c93
mov ecx, 0x214
mul ecx
cmp edx, ebx
ja 0x401e47
jb 0x401c47
cmp eax, 0xffffffff
ja 0x401e47
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x20c], eax
mov eax, dword [0x4063c4]
push 4
pop ecx
mul ecx
mov esi, eax
cmp edx, ebx
ja 0x401e47
jb 0x401c77
cmp esi, 0xffffffff
ja 0x401e47
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
push 0x40
mov dword [0x406f40], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x406cfc], eax
test edi, edi
je 0x401e47
cmp dword [0x406f40], ebx
je 0x401e47
test eax, eax
je 0x401e47
mov eax, ebx
mov esi, ebx
mov dword [ebp - 0x218], eax
cmp dword [0x4063c4], eax
jbe 0x401d2c
add edi, 0x10
lea edx, [edi - 0x10]
mov ecx, esi
call fcn.004031fe
test eax, eax
jne 0x401d11
mov eax, dword [0x406f40]
mov ecx, dword [edi - 0x10]
mov dword [eax + esi*4], ecx
mov eax, dword [0x406cfc]
mov ecx, dword [edi]
mov dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x214]
cmp dword [edi], eax
jne 0x401cf7
mov dword [0x406040], esi
mov eax, dword [ebp - 0x218]
cmp dword [edi - 0xc], ebx
je 0x401d17
inc eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x218], eax
jmp 0x401d17
mov eax, dword [ebp - 0x218]
inc esi
add edi, 0x214
cmp esi, dword [0x4063c4]
jb 0x401cc4
mov edi, dword [ebp - 0x20c]
cmp dword [0x406040], 0xffffffff
jne 0x401d62
cmp eax, 1
jne 0x401e10
cmp dword [ebp - 0x214], 0xffffffff
mov eax, dword [ebp - 0x224]
mov dword [0x406040], eax
je 0x401d62
mov ecx, dword [0x406d00]
push 0x30
push 5
pop edx
call fcn.00404aed
imul esi, dword [0x406040], 0x214
xor eax, eax
mov ecx, 0x85
mov dword [0x4063c8], ebx
add esi, edi
mov edi, 0x406d20
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 0x4011a4
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401dd9
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [0x4063c8], eax
cmp eax, dword [0x406d20]
jb 0x401dd9
mov dword [0x4063c8], ebx
mov edi, dword [ebp - 0x20c]
cmp dword [ebp - 0x210], 0
je 0x401df4
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x401dff
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.00405950
leave
ret
push 2
push 0x403540
push dword [0x406d00]
mov esi, edi
mov ecx, 0x85
push 0x1f4
push dword [0x4063bc]
mov edi, 0x406d20
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 0x401dd9
mov ebx, 0x80000044
jmp 0x401ddf