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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x1007050]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x224], 0xffffffff
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x20c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x18
mov dword [ebp - 0x210], eax
pop eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x230], 1
lea edi, [ebp - 0x22c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x1007134
push 0x1007088
mov ebx, fcn.01002360
push ebx
push dword [0x100710c]
mov edi, 0x1007110
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x220], 0x30000
mov dword [ebp - 0x218], esi
call sub.TAPI32.dll_lineInitializeExW
mov esi, 0x80000052
cmp eax, esi
jne 0x1004326
push 0
push dword [0x1007f3c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
call fcn.01001921
jmp 0x10042d9
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
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100426e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x210]
add ecx, 0x1388
cmp eax, ecx
jbe 0x10042d9
push 5
push 0x610
push dword [0x1007f3c]
call fcn.01001b5a
cmp eax, 2
je 0x1004308
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x1007134
push 0x1007088
push ebx
push dword [0x100710c]
push edi
call sub.TAPI32.dll_lineInitializeExW
mov dword [ebp - 0x208], eax
cmp eax, esi
je 0x1004288
xor ebx, ebx
push ebx
call fcn.01001921
push 1
push dword [0x1007f3c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x208]
jmp 0x1004328
xor ebx, ebx
cmp eax, ebx
je 0x1004337
mov dword [ebp - 0x214], eax
jmp 0x10045e4
lea eax, [ebp - 0x218]
push eax
push 0x20019
push ebx
push 0x1001538
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push ebx
push 0x100166c
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10043a2
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [ebp - 0x210], eax
jmp 0x10043a9
or dword [ebp - 0x210], 0xffffffff
mov eax, dword [0x1007134]
or dword [0x100704c], 0xffffffff
cmp eax, ebx
jne 0x10043e3
push 4
call fcn.010018f7
push 4
mov dword [0x1007cfc], eax
call fcn.010018f7
push 0x214
mov dword [0x1007f34], eax
call fcn.010018f7
mov dword [ebp - 0x20c], eax
jmp 0x1004451
lea ecx, [ebp - 0x208]
push ecx
mov ecx, 0x214
mul ecx
push edx
push eax
call fcn.01001785
test eax, eax
jl 0x10045da
push dword [ebp - 0x208]
call fcn.010018f7
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x1007134]
push 4
pop ecx
mul ecx
push edx
push eax
call fcn.01001785
test eax, eax
jl 0x10045da
push dword [ebp - 0x208]
call fcn.010018f7
push dword [ebp - 0x208]
mov dword [0x1007cfc], eax
call fcn.010018f7
mov dword [0x1007f34], eax
mov esi, dword [ebp - 0x20c]
cmp esi, ebx
je 0x10045da
cmp dword [0x1007cfc], ebx
je 0x10045da
cmp dword [0x1007f34], ebx
je 0x10045da
xor edi, edi
mov dword [ebp - 0x208], ebx
cmp dword [0x1007134], ebx
jbe 0x10044e1
add esi, 0x10
lea ebx, [esi - 0x10]
push ebx
push edi
call fcn.01002182
test eax, eax
jne 0x10044d0
mov eax, dword [ebx]
mov ecx, dword [0x1007cfc]
mov dword [ecx + edi*4], eax
mov eax, dword [esi]
mov ecx, dword [0x1007f34]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp - 0x210]
cmp dword [esi], eax
jne 0x10044be
mov dword [0x100704c], edi
cmp dword [esi - 0xc], 0
je 0x10044d0
inc dword [ebp - 0x208]
mov dword [ebp - 0x224], edi
inc edi
add esi, 0x214
cmp edi, dword [0x1007134]
jb 0x100448a
xor ebx, ebx
cmp dword [0x100704c], 0xffffffff
jne 0x100451a
cmp dword [ebp - 0x208], 1
jne 0x1004599
cmp dword [ebp - 0x210], 0xffffffff
mov eax, dword [ebp - 0x224]
mov dword [0x100704c], eax
je 0x100451a
push 0x30
push 5
push dword [0x1007f3c]
call fcn.01001b5a
mov esi, dword [0x100704c]
imul esi, esi, 0x214
add esi, dword [ebp - 0x20c]
xor eax, eax
mov ecx, 0x85
mov edi, 0x1007d20
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push ebx
push 0x1001648
push dword [ebp - 0x218]
mov dword [0x1007138], ebx
mov dword [ebp - 0x21c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10045e4
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov dword [0x1007138], eax
cmp eax, dword [0x1007d20]
jb 0x10045e4
mov dword [0x1007138], ebx
jmp 0x10045e4
mov esi, dword [ebp - 0x20c]
push 2
push 0x100332f
push dword [0x1007f3c]
mov ecx, 0x85
push 0x1f4
push dword [0x100710c]
mov edi, 0x1007d20
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
dec ecx
mov dword [ebp - 0x214], ecx
jmp 0x10045e4
mov dword [ebp - 0x214], 0x80000044
cmp dword [ebp - 0x218], ebx
je 0x10045f8
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20c], ebx
pop edi
pop esi
pop ebx
je 0x100460e
push dword [ebp - 0x20c]
call fcn.01001910
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
call fcn.0100599f
leave
ret