Function at 0x4569e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3510
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x50d108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x513e14]
mov dword [ebp - 0x1c], 0
test al, 1
jne 0x456a59
or eax, 1
mov dword [0x513e14], eax
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x456a3a
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x4d9000
mov dword [0x513e18], eax
call fcn.0048a215
mov eax, dword [0x513e14]
add esp, 4
test al, 2
jne 0x456a94
or eax, 2
mov dword [0x513e14], eax
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x456a7a
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x4d8fe0
mov dword [0x513e1c], eax
call fcn.0048a215
add esp, 4
mov eax, dword [0x513e18]
cmp dword [eax - 0xc], 0
jne 0x456c9d
push 0x4efddc
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.0046ba30
add esp, 8
push eax
mov ecx, 0x513e18
mov dword [ebp - 4], 0
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Mid_C
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.0046ba30
add esp, 8
push eax
mov ecx, 0x513e1c
mov dword [ebp - 4], 1
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456b40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x513e18]
cmp dword [eax - 0xc], 0
je 0x456ba6
mov eax, dword [0x513e1c]
cmp dword [eax - 0xc], 0
je 0x456ba6
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
mov dword [ebp - 0x20], esi
call fcn.00404550
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [0x513e18]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00456670
add esp, 8
test al, al
jne 0x456e31
lea ecx, [ebp - 0x10]
call fcn.00473900
push eax
mov ecx, 0x513e18
mov dword [ebp - 4], 3
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456be1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [0x513e18]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
lea ecx, [ebp - 0x10]
add eax, 0x10
mov dword [esi], eax
call fcn.00456510
add esp, 4
push eax
mov ecx, 0x513e1c
mov dword [ebp - 4], 4
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x456c39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x513e18]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x456c43
sub edx, esi
sar edx, 1
push ecx
lea ecx, [edx*2 + 2]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
push ecx
push eax
push ecx
push 0x4efddc
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046bb10
mov eax, dword [0x513e1c]
add esp, 0x14
mov esi, eax
lea edx, [esi + 2]
nop
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x456c80
sub esi, edx
sar esi, 1
push ecx
lea esi, [esi*2 + 2]
push esi
jmp 0x456e18
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x10], esi
mov eax, dword [0x513e1c]
add eax, 0xfffffff0
push eax
call fcn.00404550
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [0x513e18]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00456670
add esp, 8
test al, al
jne 0x456e31
lea ecx, [ebp - 0x10]
call fcn.00473900
push eax
mov ecx, 0x513e18
mov dword [ebp - 4], 6
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456d30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [0x513e18]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
lea ecx, [ebp - 0x14]
add eax, 0x10
mov dword [esi], eax
call fcn.00456510
add esp, 4
push eax
mov ecx, 0x513e1c
mov dword [ebp - 4], 7
call fcn.00402130
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x456d88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x4efddc
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.Mid_C
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [0x513e18]
mov edx, eax
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x456dc0
sub edx, esi
sar edx, 1
push ecx
lea ecx, [edx*2 + 2]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
push ecx
push eax
push ecx
push 0x4efddc
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046bb10
mov eax, dword [0x513e1c]
add esp, 0x14
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x456e00
sub edx, esi
sar edx, 1
push ecx
lea ecx, [edx*2 + 2]
push ecx
push eax
push ecx
push str.Mid_C
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_360.exe
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046bb10
add esp, 0x14
mov eax, dword [0x513e18]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret