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

Disassembly:
push 0xffffffffffffffff
push 0x4ca15d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0xc48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
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 0x477558
xor al, al
jmp 0x477826
mov bl, byte [esp + 0xc74]
mov byte [esp + 0x17], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedSites
test bl, bl
jne 0x477572
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 0x477590
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00401ce4
mov ecx, dword [0x50dd18]
cmp byte [ecx + 0x31], 0
mov dword [esp + 0xc68], ebp
je 0x4775ea
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedSites
test bl, bl
jne 0x4775cb
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4775d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00401ce4
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x4775f9
lea eax, [esp + 0x64]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebp
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47780e
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.0048f0d0
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 0x477803
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 0x4777f5
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.0048f0d0
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.0048f0d0
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 0x4777e1
cmp dword [esp + 0x24], edi
jne 0x4777a8
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 0x477750
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x44]
call fcn.00401ce4
or dword [esp + 0x18], edi
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc68], 1
jae 0x47778c
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.004012ac
test eax, eax
jne 0x4777a8
mov bl, 1
jmp 0x4777aa
xor bl, bl
test byte [esp + 0x18], 1
mov dword [esp + 0xc68], ebp
je 0x4777d1
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x54], 8
jb 0x4777d1
mov eax, dword [esp + 0x40]
push eax
call fcn.0048e976
add esp, 4
test bl, bl
jne 0x4777dc
add esi, edi
jmp 0x4776a0
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 0x477620
mov edi, 1
add dword [esp + 0x1c], edi
jmp 0x477620
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x78], 8
jb 0x477822
mov eax, dword [esp + 0x64]
push eax
call fcn.0048e976
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.0048ebcd
add esp, 0xc58
ret