Function at 0x100e0050
Capabilities:
Delete file
Delete registry key
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3bca
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], 0
push str.OCCACHE.DLL
call fcn.100a6d10
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x100e0122
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
push str.FindFirstControl
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
push str.FindNextControl
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
push str.FindControlClose
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84], eax
push str.ReleaseControlHandle
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
push str.GetControlInfo
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x6c], 0
je 0x100e0146
cmp dword [ebp - 0x90], 0
je 0x100e0146
cmp dword [ebp - 0x84], 0
je 0x100e0146
cmp dword [ebp - 0x74], 0
je 0x100e0146
cmp dword [ebp - 0x70], 0
jne 0x100e014b
jmp 0x100e0586
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 0
mov dword [ebp - 0x88], 1
movzx edx, byte [ebp - 0x8a]
test edx, edx
jne 0x100e029d
movzx eax, byte [ebp - 0x89]
test eax, eax
jne 0x100e029d
cmp dword [ebp - 0x88], 1
jne 0x100e019f
push 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x7c]
push edx
call dword [ebp - 0x6c]
mov dword [ebp - 0x8d4], eax
jmp 0x100e01b3
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [ebp - 0x90]
mov dword [ebp - 0x8d4], eax
mov edx, dword [ebp - 0x8d4]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 0x103
je 0x100e01cb
cmp dword [ebp - 0x68], 2
jne 0x100e01d7
mov byte [ebp - 0x8a], 1
jmp 0x100e0298
cmp dword [ebp - 0x68], 0
je 0x100e01e2
jmp 0x100e0298
push 0x104
lea eax, [ebp - 0x64]
push eax
push 0
push 3
mov ecx, dword [ebp - 0x78]
push ecx
call dword [ebp - 0x70]
test eax, eax
jne 0x100e01ff
jmp 0x100e0586
mov ecx, 0x10224a04
call fcn.10007fa0
push eax
lea ecx, [ebp - 0x8cc]
call fcn.1000ba00
mov dword [ebp - 0x8d8], eax
mov edx, dword [ebp - 0x8d8]
mov dword [ebp - 0x8dc], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8dc]
call fcn.10007fa0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10166776
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x8c5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8cc]
call fcn.1000ba80
movzx ecx, byte [ebp - 0x8c5]
test ecx, ecx
je 0x100e0282
mov byte [ebp - 0x89], 1
mov edx, dword [ebp - 0x78]
push edx
call dword [ebp - 0x74]
jmp 0x100e029d
mov eax, dword [ebp - 0x78]
push eax
call dword [ebp - 0x74]
mov ecx, dword [ebp - 0x88]
add ecx, 1
mov dword [ebp - 0x88], ecx
jmp 0x100e0163
movzx edx, byte [ebp - 0x89]
test edx, edx
je 0x100e0576
mov dword [ebp - 0x8a0], 0x400
mov dword [ebp - 0x8b8], 0
lea ecx, [ebp - 0x89c]
call fcn.10003f70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.1000b9c0
mov byte [ebp - 4], 2
push str.SoftwareMicrosoftCode_Store_DatabaseDistribution_Units_
lea ecx, [ebp - 0x8a4]
call fcn.1000ba00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.10007b80
mov ecx, 0x10224a04
call fcn.10007fa0
push eax
lea ecx, [ebp - 0x8d0]
call fcn.1000ba00
mov dword [ebp - 0x8e0], eax
mov ecx, dword [ebp - 0x8e0]
mov dword [ebp - 0x8e4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8e4]
push edx
lea ecx, [ebp - 0x8a4]
call fcn.10024280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8d0]
call fcn.1000ba80
push str.ContainsFiles
lea ecx, [ebp - 0x8a4]
call fcn.100240f0
push 0x2001f
lea ecx, [ebp - 0x8a4]
call fcn.10007fa0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x89c]
call fcn.100041c0
lea ecx, [ebp - 0x8b4]
call fcn.10003f70
mov byte [ebp - 4], 5
push str.SoftwareMicrosoftWindowsCurrentVersionModuleUsage
lea ecx, [ebp - 0x8ac]
call fcn.1000ba00
mov byte [ebp - 4], 6
push 0x2001f
lea ecx, [ebp - 0x8ac]
call fcn.10007f90
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x8b4]
call fcn.100041c0
jmp 0x100e03e4
mov eax, dword [ebp - 0x8b8]
add eax, 1
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x8a0], 0x400
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8a0]
push ecx
lea edx, [ebp - 0x894]
push edx
mov eax, dword [ebp - 0x8b8]
push eax
mov ecx, dword [ebp - 0x89c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x8bc], eax
cmp dword [ebp - 0x8bc], 0x103
je 0x100e04c5
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x8c0]
call fcn.1000ba00
mov byte [ebp - 4], 7
push 0x2f
push 0x5c
lea ecx, [ebp - 0x8c0]
call fcn.1009a7e0
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x8c4]
call fcn.1000b9e0
mov byte [ebp - 4], 8
push 0x5c
lea ecx, [ebp - 0x8c4]
call fcn.10015870
lea ecx, [ebp - 0x8c0]
push ecx
lea ecx, [ebp - 0x8c4]
call fcn.10024280
lea ecx, [ebp - 0x8c4]
call fcn.10007fa0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 0x894]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c4]
call fcn.1000ba80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c0]
call fcn.1000ba80
jmp 0x100e03cb
lea ecx, [ebp - 0x8b4]
call fcn.100040f0
lea ecx, [ebp - 0x89c]
call fcn.100040f0
push 0x2001f
lea ecx, [ebp - 0x8a8]
call fcn.10007fa0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x89c]
call fcn.100041c0
mov ecx, 0x10224a04
call fcn.10007f90
push eax
lea ecx, [ebp - 0x89c]
call fcn.10004230
mov ecx, 0x10224a04
call fcn.10007f90
push eax
lea ecx, [ebp - 0x89c]
call fcn.10004030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8ac]
call fcn.1000ba80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8b4]
call fcn.10003fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a4]
call fcn.1000ba80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x89c]
call fcn.10003fa0
cmp dword [ebp - 0x80], 0
je 0x100e0586
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret