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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e478
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4d33a4]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4d6558], 1
je 0x4601d8
xor eax, eax
jmp 0x460447
xor eax, eax
jne 0x4601c8
cmp dword [ebp + 8], 0
jne 0x4601f0
xor eax, eax
cmp dword [ebp + 8], 0
setne al
jmp 0x460447
xor ecx, ecx
jne 0x4601dc
mov edx, dword [ebp + 8]
movzx eax, word [edx]
test eax, eax
jne 0x46020f
mov ecx, dword [ebp + 8]
movzx eax, word [ecx]
neg eax
sbb eax, eax
neg eax
jmp 0x460447
xor edx, edx
jne 0x4601f4
xor eax, eax
jne 0x4601dc
call fcn.0045f250
push eax
lea ecx, [ebp - 0x18]
call fcn.00407520
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4b4544
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0040d520
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d520
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00407ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00407ca0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 3
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0040c5b0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4602ea
xor ecx, ecx
cmp dword [ebp - 0x48], 0
sete cl
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407ca0
mov eax, dword [ebp - 0x60]
jmp 0x460447
xor edx, edx
jne 0x4602c1
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0x4b4548
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x460390
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov cl, 0x20
call fcn.0047f860
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x2c]
xor eax, eax
add edx, dword [ebp - 0x54]
adc eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x50], 0
ja 0x4603b4
jb 0x4603a8
cmp dword [ebp - 0x54], 0x47868c00
ja 0x4603b4
cmp dword [ebp - 0x54], 0
jne 0x4603e5
cmp dword [ebp - 0x50], 0
jne 0x4603e5
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
push 8
lea eax, [ebp - 0x2c]
push eax
push 0xb
push 0
push str.Ticks
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], 0
jmp 0x460413
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x4b4560
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x30]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push str.Times
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00407ca0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0048638c
mov esp, ebp
pop ebp
ret