Function at 0x4222e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53489b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5917ec]
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.004c0d00
mov eax, dword [0x595188]
add esp, 0xc
mov dword [ebp - 0x26c], 0x104
mov dword [ebp - 0x270], edi
test al, 1
jne 0x42235c
or eax, edi
mov dword [0x595184], 0
mov dword [0x595188], eax
mov byte [ebp - 0x241], 0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.00475ea5
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 0x41df40
push 0x595184
call fcn.00476e7d
add esp, 0x10
test eax, eax
je 0x422640
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 2
push eax
call fcn.00475edf
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 0x59518c
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42240b
mov edi, 1
jmp 0x422622
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 str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00424880
add esp, 0x20
cmp eax, 6
jne 0x422622
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 0x4224bb
cmp eax, 0xc
jle 0x4224c6
mov eax, 1
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x258]
cmp ecx, 1
jl 0x4224d6
cmp ecx, 0x1f
jle 0x4224e1
mov ecx, 1
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x25c]
test edx, edx
js 0x4224f0
cmp edx, 0x17
jle 0x4224f8
xor edx, edx
mov dword [ebp - 0x25c], edx
mov esi, dword [ebp - 0x260]
test esi, esi
js 0x422507
cmp esi, 0x3b
jle 0x42250f
xor esi, esi
mov dword [ebp - 0x260], esi
mov ebx, dword [ebp - 0x264]
test ebx, ebx
js 0x42251e
cmp ebx, 0x3b
jle 0x422526
xor ebx, ebx
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x248], 0x7b2
jl 0x422660
dec eax
mov dword [ebp - 0x24c], eax
cmp eax, 0xb
ja 0x42266a
lea eax, [ecx - 1]
cmp eax, 0x1e
ja 0x422674
cmp edx, 0x17
ja 0x42267e
cmp esi, 0x3b
ja 0x422688
cmp ebx, 0x3b
ja 0x422692
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.004edafa
mov ecx, edx
mov dword [ebp - 0x24c], eax
and eax, ecx
mov dword [ebp - 0x268], ecx
add esp, 4
cmp eax, 0xffffffff
je 0x42269c
jmp 0x4225e4
push 0
call fcn.004edcad
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.0049be00
cmp esi, edx
jg 0x422622
jl 0x422620
cmp ebx, eax
jae 0x422622
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.0049b8b8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
call fcn.00475f21
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x4226a6
call fcn.00476f4e
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80070057
call fcn.0040c3e0
sub esp, 8
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.0040bca0
call fcn.0040e0a0
int3