Function at 0x41efc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52637b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5898bc]
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
push 0x208
lea eax, [ebp - 0x21c]
mov edi, 1
push 0
push eax
mov dword [ebp - 0x274], edi
call fcn.004b2720
mov eax, dword [0x58d2a8]
add esp, 0xc
mov dword [ebp - 0x26c], 0x104
mov dword [ebp - 0x270], edi
test al, 1
jne 0x41f03c
or eax, edi
mov dword [0x58d2a4], 0
mov dword [0x58d2a8], eax
mov byte [ebp - 0x241], 0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.00472b55
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 1
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x241]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x27c]
push eax
push 0x41abd0
push 0x58d2a4
call fcn.00473b2b
add esp, 0x10
test eax, eax
je 0x41f320
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 2
push eax
call fcn.00472b8f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x270]
push eax
push str.unistdate
push 0x58d2ac
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41f0eb
mov edi, 1
jmp 0x41f302
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x248], 0
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x254], 0
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x25c], 0
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x260], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x264], 0
push 0x53f0e0
push eax
call fcn.00421560
add esp, 0x20
cmp eax, 6
jne 0x41f302
mov eax, dword [ebp - 0x248]
mov ecx, 0x76c
cmp eax, ecx
cmovl eax, ecx
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x254]
cmp eax, 1
jl 0x41f19b
cmp eax, 0xc
jle 0x41f1a6
mov eax, 1
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x258]
cmp ecx, 1
jl 0x41f1b6
cmp ecx, 0x1f
jle 0x41f1c1
mov ecx, 1
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x25c]
test edx, edx
js 0x41f1d0
cmp edx, 0x17
jle 0x41f1d8
xor edx, edx
mov dword [ebp - 0x25c], edx
mov esi, dword [ebp - 0x260]
test esi, esi
js 0x41f1e7
cmp esi, 0x3b
jle 0x41f1ef
xor esi, esi
mov dword [ebp - 0x260], esi
mov ebx, dword [ebp - 0x264]
test ebx, ebx
js 0x41f1fe
cmp ebx, 0x3b
jle 0x41f206
xor ebx, ebx
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x248], 0x7b2
jl 0x41f340
dec eax
mov dword [ebp - 0x24c], eax
cmp eax, 0xb
ja 0x41f34a
lea eax, [ecx - 1]
cmp eax, 0x1e
ja 0x41f354
cmp edx, 0x17
ja 0x41f35e
cmp esi, 0x3b
ja 0x41f368
cmp ebx, 0x3b
ja 0x41f372
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x248]
add eax, 0xfffff894
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x220], 0xffffffff
call fcn.004df63a
mov ecx, edx
mov dword [ebp - 0x24c], eax
and eax, ecx
mov dword [ebp - 0x268], ecx
add esp, 4
cmp eax, 0xffffffff
je 0x41f37c
jmp 0x41f2c4
push 0
call fcn.004df7ed
add esp, 4
mov ebx, eax
sub ebx, dword [ebp - 0x24c]
mov esi, edx
mov eax, dword [ebp + 8]
mov ecx, 0x18
sbb esi, dword [ebp - 0x268]
imul ecx
push 0
push 0xe10
push edx
push eax
call fcn.00498bc0
cmp esi, edx
jg 0x41f302
jl 0x41f300
cmp ebx, eax
jae 0x41f302
xor edi, edi
mov eax, edi
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.00498678
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
call fcn.00472bd1
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x41f386
call fcn.00473bfc
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80070057
call fcn.00408fc0
sub esp, 8
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.00408860
call fcn.0040ae00
int3