Function at 0x54f670
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x68], eax
xor ebx, ebx
call fcn.0054f640
test al, al
je 0x54f6a7
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [eax], edi
lea eax, [esp + 0x58]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
push eax
call fcn.0057fe50
add esp, 4
test al, al
je 0x54f6e1
movzx eax, byte [esp + 0x63]
test al, al
jns 0x54f6d6
mov eax, dword [esp + 0x5c]
jmp 0x54f6d9
and eax, 0x7f
test eax, eax
jne 0x54f824
lea ebx, [esp + 0x48]
mov dword [ebx + 4], edi
mov dword [ebx], edi
lea eax, [esp + 0x38]
mov dword [eax + 4], edi
mov dword [eax], edi
push eax
call fcn.0052ee51
add esp, 4
mov eax, 4
lea ecx, [esp + 0x1c]
mov dword [ecx], eax
lea edi, [esp + 0x10]
mov dword [edi], eax
push edi
push ebx
push ecx
push str.LastTimeCheck
push 0x5d872a
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, ecx
or edx, eax
jne 0x54f736
mov edx, dword [ebp + 8]
or byte [edx], 8
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
sub edx, ecx
sbb esi, eax
xor eax, eax
mov ecx, 0x5460
cmp ecx, edx
sbb eax, esi
jae 0x54f80a
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x24]
push str.LastTimeCheck
push 0x5d872a
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp + 8]
or byte [eax], 4
xor ebx, ebx
lea esi, [esp + 0x28]
mov dword [esi + 4], ebx
mov dword [esi], ebx
push edi
push esi
lea eax, [esp + 0x24]
push eax
push str.LastTimeStat
push 0x5d872a
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esp + 0x38]
sub eax, dword [esi]
mov ecx, dword [esp + 0x3c]
sbb ecx, dword [esi + 4]
mov edx, 0x15180
cmp edx, eax
sbb ebx, ecx
jae 0x54f7e3
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x24]
push str.LastTimeStat
push 0x5d872a
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp + 8]
or byte [eax], 0x20
xor ebx, ebx
inc ebx
jmp 0x54f7ee
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
setne bl
cmp byte [esp + 0x63], 0
jns 0x54f692
push dword [esp + 0x58]
call fcn.0050fc7c
add esp, 4
jmp 0x54f692
lea ecx, [esp + 0x48]
lea edx, [esp + 0x38]
call fcn.0054f5d0
test eax, eax
jne 0x54f779
jmp 0x54f753
xor esi, esi
dec esi
lea ebx, [esp + 0x48]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
lea ecx, [esp + 0x58]
push 7
push str.safemon
push ebx
call fcn.00410a10
push ebx
call fcn.0041bc70
add esp, 4
lea eax, [esp + 0x38]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov edx, 0xa
mov ecx, ebx
push edx
mov edx, str.urllib.dat
push edx
push eax
call fcn.00410a10
lea eax, [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov edx, 0xb
mov ecx, ebx
push edx
mov edx, str.urllibw.dat
push edx
push eax
call fcn.00410a10
lea ebx, [esp + 0x1c]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, ebx
call fcn.0054f4c0
lea edx, [esp + 0x10]
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov ecx, ebx
mov eax, 0xa
push eax
mov eax, str.urllib.dat
push eax
push edx
call fcn.00410a10
lea eax, [esp + 4]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea esi, [esp + 0x38]
mov ecx, ebx
mov edx, 0xb
push edx
mov edx, str.urllibw.dat
push edx
push eax
call fcn.00410a10
push esi
call fcn.00420f30
add esp, 4
test al, al
jne 0x54f910
lea eax, [esp + 0x10]
push eax
call fcn.00420f30
add esp, 4
test al, al
je 0x54f910
push esi
lea eax, [esp + 0x14]
push eax
call fcn.0056d870
add esp, 8
lea esi, [esp + 0x28]
push esi
call fcn.00420f30
add esp, 4
test al, al
jne 0x54f92f
push esi
lea eax, [esp + 8]
push eax
call fcn.0056d870
add esp, 8
cmp byte [esp + 0xf], 0
js 0x54f96e
cmp byte [esp + 0x1b], 0
js 0x54f97c
cmp byte [esp + 0x27], 0
js 0x54f98a
cmp byte [esp + 0x33], 0
js 0x54f998
cmp byte [esp + 0x43], 0
js 0x54f9a6
cmp byte [esp + 0x53], 0
jns 0x54f6e1
push dword [esp + 0x48]
call fcn.0050fc7c
add esp, 4
jmp 0x54f6e1
push dword [esp + 4]
call fcn.0050fc7c
add esp, 4
jmp 0x54f936
push dword [esp + 0x10]
call fcn.0050fc7c
add esp, 4
jmp 0x54f93d
push dword [esp + 0x1c]
call fcn.0050fc7c
add esp, 4
jmp 0x54f944
push dword [esp + 0x28]
call fcn.0050fc7c
add esp, 4
jmp 0x54f94b
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
jmp 0x54f952