Function at 0x10012560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa368
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 0
call fcn.10013f60
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
push str.latest_click_time_from_reg_s
push dword [edi + 8]
call fcn.1001be50
mov eax, dword [ebp - 0x34]
xor ecx, ecx
add esp, 0xc
cmp dword [eax - 0xc], ecx
setne cl
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 8]
call fcn.10013900
push eax
push str.default_repop_go_on:_d
push dword [edi + 8]
call fcn.1001be50
mov ecx, dword [edi + 8]
add esp, 0xc
call fcn.10013900
or dword [ebp - 0x2c], eax
jne 0x10012617
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001260d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x1001285c
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x38]
push dword [ecx + 0x34]
push eax
call fcn.10013660
mov ecx, eax
push ecx
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.100074b0
mov edx, dword [ebp - 0x38]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012656
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0xc]
push str.mininews_last_close_time_s
push dword [edi + 8]
call fcn.1001be50
add esp, 0xc
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x22]
push eax
lea eax, [ebp - 0x24]
push eax
push str._04d._02d._02d__02d:_02d:_02d
push dword [edi + 0xc]
call fcn.100077a0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x25]
add esp, 0x20
mov eax, dword [eax + 0x34]
cmp eax, 1
jne 0x100126ad
call fcn.10011220
jmp 0x100126ca
cmp eax, 2
jne 0x100126b9
call fcn.100114c0
jmp 0x100126ca
cmp eax, 3
jne 0x100126c5
call fcn.10010dc0
jmp 0x100126ca
call fcn.10011060
push eax
lea ecx, [ebp - 0x30]
call fcn.10006990
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 4
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x4c], 4
push eax
push str.repop_interval
push dword [ebp - 0x30]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012727
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x2c]
push str.repop_interval_hours_d
push dword [edi + 8]
call fcn.1001be50
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, 0x3c
jge 0x10012753
test eax, eax
jle 0x1001283e
cmp eax, 0x18
jge 0x1001283e
movzx eax, word [ebp - 0x18]
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
call fcn.10010110
mov ecx, dword [ebp - 0x2c]
mov edx, 0x3c
mov eax, ecx
imul edx
mov esi, eax
mov dword [ebp - 0x2c], edx
shld dword [ebp - 0x2c], esi, 4
shl esi, 4
sub esi, eax
mov eax, dword [ebp - 0x2c]
sbb eax, edx
shld eax, esi, 2
shl esi, 2
cmp ecx, 0x3c
jle 0x100127ae
mov eax, ecx
cdq
mov esi, eax
mov eax, edx
add esi, dword [ebp - 0x40]
push 0
adc eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
call fcn.10093be0
mov esi, dword [ebp - 0x48]
add esp, 4
sub esi, eax
mov eax, dword [ebp - 0x44]
sbb eax, edx
push 0x19c9
push dword [edi + 4]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_KillTimer]
imul eax, esi, 0x3e8
push 0
push eax
push 0x19c9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push str._y__m__d__H:_M:_S
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10013370
push dword [eax]
mov byte [ebp - 4], 3
push str.next_pop_time_maybe:_s
push dword [edi + 8]
call fcn.1001be50
mov edx, dword [ebp - 0x3c]
or esi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001283e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001285a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10061c7c
mov esp, ebp
pop ebp
ret