Function at 0x41e890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516890
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5746cc]
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 - 0x268], edi
call fcn.004a3360
add esp, 0xc
mov dword [ebp - 0x260], 0x104
lea eax, [ebp - 0x260]
mov dword [ebp - 0x264], edi
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x264]
push eax
push str.unistdate
push str.SoftwareHaloWallPaperEver
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41eb1e
mov dword [ebp - 4], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x21c]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00421220
add esp, 0x20
cmp eax, 6
jne 0x41eb1e
mov eax, dword [ebp - 0x244]
mov ecx, 0x76c
cmp eax, ecx
cmovl eax, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x248]
cmp eax, edi
jl 0x41e9b7
cmp eax, 0xc
jle 0x41e9c2
mov eax, 1
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x24c]
cmp ecx, 1
jl 0x41e9d2
cmp ecx, 0x1f
jle 0x41e9dd
mov ecx, 1
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x250]
test edx, edx
js 0x41e9ec
cmp edx, 0x17
jle 0x41e9f4
xor edx, edx
mov dword [ebp - 0x250], edx
mov esi, dword [ebp - 0x254]
test esi, esi
js 0x41ea03
cmp esi, 0x3b
jle 0x41ea0b
xor esi, esi
mov dword [ebp - 0x254], esi
mov ebx, dword [ebp - 0x258]
test ebx, ebx
js 0x41ea1a
cmp ebx, 0x3b
jle 0x41ea22
xor ebx, ebx
mov dword [ebp - 0x258], ebx
cmp dword [ebp - 0x244], 0x7b2
jl 0x41eb3c
dec eax
mov dword [ebp - 0x25c], eax
cmp eax, 0xb
ja 0x41eb46
lea eax, [ecx - 1]
cmp eax, 0x1e
ja 0x41eb50
cmp edx, 0x17
ja 0x41eb5a
cmp esi, 0x3b
ja 0x41eb64
cmp ebx, 0x3b
ja 0x41eb6e
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x244]
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.004d027a
mov ecx, edx
mov dword [ebp - 0x25c], eax
and eax, ecx
mov dword [ebp - 0x26c], ecx
add esp, 4
cmp eax, 0xffffffff
je 0x41eb78
jmp 0x41eae0
push 0
call fcn.004d042d
add esp, 4
mov ebx, eax
sub ebx, dword [ebp - 0x25c]
mov esi, edx
mov eax, dword [ebp + 8]
mov ecx, 0x18
sbb esi, dword [ebp - 0x26c]
imul ecx
push 0
push 0xe10
push edx
push eax
call fcn.00486a00
cmp esi, edx
jg 0x41eb1e
jl 0x41eb1c
cmp ebx, eax
jae 0x41eb1e
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.004864b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80070057
call fcn.00409360
int3