Function at 0x45f2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46602d
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x48e4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.00402ce0
mov dword [ebp - 0x98], eax
lea ecx, [ebp + 0x14]
call fcn.00402ce0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x8c]
call fcn.00403910
mov byte [ebp - 4], 3
push 0x47a2a0
lea eax, [ebp + 0xc]
push eax
call fcn.00412620
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x45f531
lea edx, [ebp - 0x90]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x98]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f531
mov dword [ebp - 0x6c], 0x208
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa4], 0
jne 0x45f4d7
push 4
lea ecx, [ebp - 0x64]
call fcn.00408150
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
call fcn.004124c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00412780
test eax, eax
jle 0x45f465
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403980
mov edx, dword [ebp - 0x94]
or edx, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00412540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x4764c2
mov ecx, dword [ebp + 8]
call fcn.00403980
mov eax, dword [ebp - 0x94]
or eax, 1
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00412540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x4764c3
mov ecx, dword [ebp + 8]
call fcn.00403980
mov ecx, dword [ebp - 0x94]
or ecx, 1
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x47a2b4
lea edx, [ebp + 0xc]
push edx
call fcn.00412620
add esp, 8
movzx eax, al
test eax, eax
je 0x45f724
lea ecx, [ebp - 0x90]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x98]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f724
mov dword [ebp - 0x70], 0x208
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa0], 0
jne 0x45f6cd
push 4
lea ecx, [ebp - 0x68]
call fcn.00408150
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x68]
call fcn.004124c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00412870
lea ecx, [ebp - 0x68]
call fcn.00412780
test eax, eax
jle 0x45f65b
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403a00
mov edx, dword [ebp - 0x94]
or edx, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00412540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x47650a
mov ecx, dword [ebp + 8]
call fcn.00403980
mov eax, dword [ebp - 0x94]
or eax, 1
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00412540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x47650b
mov ecx, dword [ebp + 8]
call fcn.00403980
mov ecx, dword [ebp - 0x94]
or ecx, 1
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
jmp 0x45f779
push 0x476552
mov ecx, dword [ebp + 8]
call fcn.00403980
mov edx, dword [ebp - 0x94]
or edx, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00412540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00412540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412540
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004270b0
mov esp, ebp
pop ebp
ret 0x10