Function at 0x536650
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ec01
mov eax, dword fs:[0]
push eax
sub esp, 0xe68
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe74], ecx
mov ecx, dword [ebp - 0xe74]
add ecx, 0x1138
call fcn.00476240
mov ecx, 0x5e2da0
call fcn.00537890
mov eax, dword [0x5a2ed4]
mov dword [ebp - 0x224], eax
push 0x204
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.005533a0
add esp, 0xc
push 0x5a2f50
lea edx, [ebp - 0x224]
push edx
call fcn.00554842
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x224]
push ecx
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x536972
lea ecx, [ebp - 0x454]
call fcn.0041ea50
mov dword [ebp - 4], 0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x238]
call fcn.0041d970
mov byte [ebp - 4], 1
mov dword [ebp - 0x448], 0x80
mov edx, dword [0x5a2fd8]
mov dword [ebp - 0x444], edx
push 0x204
push 0
lea eax, [ebp - 0x440]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x230], 0x104
mov ecx, dword [0x5a2fdc]
mov dword [ebp - 0x65c], ecx
push 0x204
push 0
lea edx, [ebp - 0x658]
push edx
call fcn.005533a0
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0xe64]
push ecx
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x536805
lea ecx, [ebp - 0xe64]
push ecx
lea ecx, [ebp - 0xe6c]
call fcn.0041d9b0
mov byte [ebp - 4], 2
lea edx, [ebp - 0xe6c]
push edx
lea ecx, [ebp - 0x454]
call fcn.0041eaa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe6c]
call fcn.0041dab0
mov dword [ebp - 0x448], 0x80
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
jmp 0x536788
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x454]
call fcn.0041ea80
mov dword [ebp - 0x228], eax
mov dword [ebp - 0xe68], 0
jmp 0x53683b
mov edx, dword [ebp - 0xe68]
add edx, 1
mov dword [ebp - 0xe68], edx
mov eax, dword [ebp - 0xe68]
cmp eax, dword [ebp - 0x228]
jge 0x536951
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push 0
lea edx, [ebp - 0x444]
push edx
call fcn.005533a0
add esp, 0xc
mov eax, dword [ebp - 0xe68]
push eax
lea ecx, [ebp - 0x454]
call fcn.0041ec20
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0x5a2fe0
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x660]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x444]
push edx
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x53693f
mov dword [ebp - 0x230], 0x104
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
push 0x5a2fec
mov eax, dword [ebp - 0x660]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53693f
mov ecx, dword [ebp - 0xe68]
push ecx
lea ecx, [ebp - 0x454]
call fcn.0041ec20
mov ecx, eax
call fcn.0041e290
push eax
call fcn.0055a352
add esp, 4
mov dword [ebp - 0xe70], eax
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0xe70]
push eax
mov ecx, 0x5e2da0
call fcn.00471da0
mov ecx, eax
call fcn.0041daf0
mov ecx, dword [ebp - 0x660]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x53682c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00424080
mov ecx, dword [ebp - 0xe74]
add ecx, 0x1138
call fcn.00476260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret