Function at 0x45bb70
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb490
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x45bbbd
call fcn.0045ba30
call fcn.0047e340
test al, al
je 0x45bc74
mov eax, 0x4c7d68
jmp 0x45bc79
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push 0x2001f
push str..pdf
push esi
mov dword [ebp - 4], esi
call fcn.0043b220
add esp, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00412570
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4c79ac
push edi
call ebx
push 0x4db740
push edi
call ebx
cmp edi, esi
je 0x45bc0c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
push 0x2001f
push str.SoftwareClasses.pdf
mov dword [ebp - 0x14], esi
call fcn.00433290
push eax
lea ecx, [ebp - 0x18]
call fcn.00412570
mov edi, dword [ebp - 0x18]
push 0x4c79ac
push edi
call ebx
push 0x4db740
push edi
call ebx
cmp edi, esi
je 0x45bc47
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp edi, esi
je 0x45bc59
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0045bad0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00489330
mov ecx, dword [ebp + 0x10]
push edi
push ecx
push eax
call fcn.00449c30
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push 0x2001f
push str..pdf
push esi
mov dword [ebp - 4], 1
call fcn.0043b220
add esp, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00412570
test eax, eax
je 0x45bcd0
lea edx, [ebp - 0x18]
push edx
push str..pdf
push esi
call fcn.0043b220
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp edi, esi
je 0x45bcf8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push esi
push 0x4c79ac
push ecx
call ebx
push str.application_pdf
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x18]
push edx
push str.application_pdf
push 1
push esi
push 0x4db740
push eax
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x45bd2c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
push 0x2001f
push str.SoftwareClasses.pdf
mov dword [ebp - 0x14], esi
call fcn.00433290
push eax
lea ecx, [ebp - 0x18]
call fcn.00412570
test eax, eax
je 0x45bd60
lea ecx, [ebp - 0x18]
push ecx
push str.SoftwareClasses.pdf
call fcn.00433290
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp edi, esi
je 0x45bd7f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x18]
push edx
push edi
push 1
push esi
push 0x4c79ac
push eax
call ebx
push str.application_pdf
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax + 2]
push ecx
push str.application_pdf
push 1
push esi
push 0x4db740
push edx
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x45bdb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x45bc5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45bc5e