Function at 0x4206a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c11b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5867ec]
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.004b8590
mov eax, dword [0x58a188]
add esp, 0xc
mov dword [ebp - 0x26c], 0x104
mov dword [ebp - 0x270], edi
test al, 1
jne 0x42071c
or eax, edi
mov dword [0x58a184], 0
mov dword [0x58a188], eax
mov byte [ebp - 0x241], 0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.00473ac5
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 0x41c300
push 0x58a184
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x420a00
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 2
push eax
call fcn.00473aff
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 0x58a18c
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4207cb
mov edi, 1
jmp 0x4209e2
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.00422c40
add esp, 0x20
cmp eax, 6
jne 0x4209e2
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 0x42087b
cmp eax, 0xc
jle 0x420886
mov eax, 1
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x258]
cmp ecx, 1
jl 0x420896
cmp ecx, 0x1f
jle 0x4208a1
mov ecx, 1
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x25c]
test edx, edx
js 0x4208b0
cmp edx, 0x17
jle 0x4208b8
xor edx, edx
mov dword [ebp - 0x25c], edx
mov esi, dword [ebp - 0x260]
test esi, esi
js 0x4208c7
cmp esi, 0x3b
jle 0x4208cf
xor esi, esi
mov dword [ebp - 0x260], esi
mov ebx, dword [ebp - 0x264]
test ebx, ebx
js 0x4208de
cmp ebx, 0x3b
jle 0x4208e6
xor ebx, ebx
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x248], 0x7b2
jl 0x420a20
dec eax
mov dword [ebp - 0x24c], eax
cmp eax, 0xb
ja 0x420a2a
lea eax, [ecx - 1]
cmp eax, 0x1e
ja 0x420a34
cmp edx, 0x17
ja 0x420a3e
cmp esi, 0x3b
ja 0x420a48
cmp ebx, 0x3b
ja 0x420a52
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.004e538a
mov ecx, edx
mov dword [ebp - 0x24c], eax
and eax, ecx
mov dword [ebp - 0x268], ecx
add esp, 4
cmp eax, 0xffffffff
je 0x420a5c
jmp 0x4209a4
push 0
call fcn.004e553d
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.00499a20
cmp esi, edx
jg 0x4209e2
jl 0x4209e0
cmp ebx, eax
jae 0x4209e2
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.004994d8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x420a66
call fcn.00474b6c
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80070057
call fcn.0040a780
sub esp, 8
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.0040a040
call fcn.0040c450
int3