Function at 0x475670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5462e8
push 0x4b160a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
push str..pdf
mov ebx, dword [ebp + 0x18]
push ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
call edi
test eax, eax
jne 0x4756d0
mov dword [ebp + 0x14], str.KWPS.PDF.9
jmp 0x4756f8
push str..epub
push ebx
call edi
test eax, eax
jne 0x4756e5
mov dword [ebp + 0x14], str.KWPS.EPUB.9
jmp 0x4756f8
push str..mobi
push ebx
call edi
test eax, eax
jne 0x4756f8
mov dword [ebp + 0x14], str.KWPS.MOBI.9
xor eax, eax
mov dword [ebp - 0x24], eax
mov esi, 0x80004004
mov dword [ebp - 0x20], eax
push str..pdf
push ebx
call edi
test eax, eax
je 0x47572d
push str..epub
push ebx
call edi
test eax, eax
je 0x47572d
push str..mobi
push ebx
call edi
test eax, eax
jne 0x4757c1
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0
push 0
push 0
push str.SoftwareKingsoft
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4757c1
mov eax, 4
mov dword [ebp - 0x28], eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], eax
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push str.Windows10UseHash
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x475788
cmp dword [ebp + 8], eax
je 0x4757c1
push 0
push 0x55df48
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call edi
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.004a99b0
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
push 1
push 0x55df48
call edi
jmp 0x4757c7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4757e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4757e3
push 0x80004005
call fcn.00417330
test esi, esi
jns 0x4759a3
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 3
push 0
push 0x52ef30
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4759b5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov ecx, dword [eax + 0x14]
mov dword [ebp + 8], ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 0x17]
call fcn.00475390
test eax, eax
jne 0x475967
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x17]
call fcn.00475440
test eax, eax
jne 0x475967
call fcn.00473ee0
test eax, eax
je 0x4758bb
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [ebp + 8], eax
mov ecx, eax
call fcn.00472690
test eax, eax
jne 0x475994
push eax
push 0x55df48
call edi
mov dword [ebp - 4], 0
push 0
push ebx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x47598b
mov ecx, dword [ebp + 8]
call fcn.00472690
test eax, eax
jne 0x475925
cmp dword [ebp + 0x1c], 0x23f0
je 0x475925
push eax
push 0x55df48
call edi
mov dword [ebp - 4], 1
push 0
push ebx
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x47591c
push 1
push 0x55df48
call edi
test esi, esi
js 0x475936
lea eax, [ebp - 0x34]
push eax
call fcn.00475320
test eax, eax
jne 0x475994
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [ebp + 8], ecx
call fcn.00472690
test eax, eax
jne 0x475994
push eax
push 0x55df48
call edi
mov dword [ebp - 4], 2
jmp 0x475879
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
add esi, dword [ebp - 0x24]
push 0
push 0x55df48
call edi
push 0
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call esi
mov esi, eax
push 1
push 0x55df48
call edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
test esi, esi
js 0x4759b5
lea eax, [ebp - 0x34]
push eax
call fcn.00475320
test eax, eax
jne 0x4759b5
mov esi, 0x80004005
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18