Function at 0x43f990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4951f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4be434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ecx
xor ecx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x2001f
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43fd3e
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x43fd3e
mov dword [ebp - 0x70], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 8
push eax
push 0
push str.DatetimeStart
push esi
mov dword [ebp - 0x38], 0xb
call edi
test eax, eax
jne 0x43fcf6
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x58]
je 0x43fcf6
call sub.MSVCP140.dll__Xtime_get_ticks
push 0
push 0x989680
push edx
push eax
call fcn.00487d00
cmp edx, dword [ebp - 0x58]
ja 0x43fa91
jb 0x43fa81
cmp eax, dword [ebp - 0x5c]
jae 0x43fa91
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00404d20
jmp 0x43fcaf
lea eax, [ebp - 0x34]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 8
push eax
push 0
push str.DatetimeEnd
push dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0xb
call edi
test eax, eax
jne 0x43faf0
mov eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x60]
je 0x43faf0
call sub.MSVCP140.dll__Xtime_get_ticks
push 0
push 0x989680
push edx
push eax
call fcn.00487d00
cmp edx, dword [ebp - 0x60]
jb 0x43fb00
ja 0x43faf0
cmp eax, dword [ebp - 0x64]
jbe 0x43fb00
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00404d20
jmp 0x43fcaf
mov eax, dword [ebp - 0x40]
xor edi, edi
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x30], edi
mov dword [eax], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
push str.ShowCount
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43fc22
cmp dword [ebp - 0x30], edi
jbe 0x43fc22
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], eax
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.LastShowCount
push eax
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x3c], 4
call edi
test eax, eax
jne 0x43fc16
cmp dword [ebp - 0x4c], eax
jbe 0x43fc16
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x48], 8
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
push 0
push str.LastShowDate
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x43fc16
call sub.MSVCP140.dll__Xtime_get_ticks
push 0
push 0x18
push dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov edi, edx
push dword [ebp - 0x6c]
call fcn.00487d00
push 0
push 0xe10
push edx
push eax
call fcn.00487d00
push 0
push 0x989680
push edi
push dword [ebp - 0x44]
mov ebx, eax
mov dword [ebp - 0x3c], edx
call fcn.00487d00
push 0
push 0x15180
push edx
push eax
call fcn.00487d00
cmp eax, ebx
mov ebx, dword [ebp - 0x50]
jne 0x43fc16
cmp edx, dword [ebp - 0x3c]
jne 0x43fc16
mov edi, dword [ebp - 0x4c]
jmp 0x43fc18
xor edi, edi
inc edi
cmp edi, dword [ebp - 0x30]
ja 0x43faf0
push dword [ebp + 0x24]
fld qword [ebp + 0x1c]
lea eax, [ebp - 0x28]
sub esp, 8
cmp byte [ebp + 0x10], 0
fstp qword [esp]
push dword [ebp - 0x54]
push eax
je 0x43fc6e
push str.VipPictureUrl
push dword [ebp - 0x2c]
call fcn.0043ff20
add esp, 0x1c
test al, al
je 0x43fc75
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push dword [ebp - 0x40]
call fcn.00440490
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00404d20
jmp 0x43fcaf
push str.NormalPictureUrl
jmp 0x43fc40
push dword [ebp + 0x24]
fld qword [ebp + 0x1c]
lea eax, [ebp - 0x28]
sub esp, 8
fstp qword [esp]
push dword [ebp - 0x54]
push eax
push str.AllPictureUrl
push dword [ebp - 0x2c]
call fcn.0043ff20
add esp, 0x1c
test al, al
jne 0x43fc4f
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
test esi, esi
je 0x43fcba
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43fd6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fcea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fd38
push edx
push ecx
call fcn.004876f4
add esp, 8
jmp 0x43fd6f
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00404d20
test esi, esi
je 0x43fd0c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43fd6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fcea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43fcea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x14], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487702
mov esp, ebp
pop ebp
ret