Function at 0x476cf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c948d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4c
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0xc48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0xc60]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc70]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], eax
cmp dword [eax + 0x14], ebp
jne 0x476d48
xor al, al
jmp 0x477016
mov bl, byte [esp + 0xc74]
mov byte [esp + 0x17], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedSites
test bl, bl
jne 0x476d62
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedFolders
xor eax, eax
mov word [esp + 0x64], ax
mov eax, edx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x476d80
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00401cd6
mov ecx, dword [0x50bcf8]
cmp byte [ecx + 0x31], 0
mov dword [esp + 0xc68], ebp
je 0x476dda
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedSites
test bl, bl
jne 0x476dbb
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x476dc0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00401cd6
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x476de9
lea eax, [esp + 0x64]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebp
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476ffe
mov dword [esp + 0x1c], ebp
lea esp, [esp]
push 0x206
lea ecx, [esp + 0x82]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x88], ax
call fcn.0048e760
add esp, 0xc
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x20]
push ebp
push ebp
push ebp
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
mov dword [esp + 0x54], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x476ff3
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push 0xf003f
push ebp
lea edx, [esp + 0x88]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476fe5
xor esi, esi
lea ecx, [ecx]
push 0x206
lea edx, [esp + 0x28a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x290], cx
call fcn.0048e760
push 0x7ce
lea ecx, [esp + 0x49e]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x48], 0x208
mov word [esp + 0x4a4], ax
call fcn.0048e760
add esp, 0x18
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x298]
push eax
push esi
mov edi, 1
push ecx
mov dword [esp + 0x4c], 0x7d0
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x476fd1
cmp dword [esp + 0x24], edi
jne 0x476f98
xor edx, edx
lea eax, [esp + 0x48c]
mov word [esp + 0x40], dx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x476f40
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x44]
call fcn.00401cd6
or dword [esp + 0x18], edi
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc68], 1
jae 0x476f7c
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
push eax
push edx
push ebp
call fcn.0040129e
test eax, eax
jne 0x476f98
mov bl, 1
jmp 0x476f9a
xor bl, bl
test byte [esp + 0x18], 1
mov dword [esp + 0xc68], ebp
je 0x476fc1
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x54], 8
jb 0x476fc1
mov eax, dword [esp + 0x40]
push eax
call fcn.0048e006
add esp, 4
test bl, bl
jne 0x476fcc
add esi, edi
jmp 0x476e90
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [esp + 0x1c], edi
jmp 0x476e10
mov edi, 1
add dword [esp + 0x1c], edi
jmp 0x476e10
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x78], 8
jb 0x477012
mov eax, dword [esp + 0x64]
push eax
call fcn.0048e006
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xc60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc48]
xor ecx, esp
call fcn.0048e25d
add esp, 0xc58
ret