Function at 0x100e3db0
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 0x101adc4e
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x1022c684]
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.100aa6f0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x100e3e82
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 0x100e3ea6
cmp dword [ebp - 0x90], 0
je 0x100e3ea6
cmp dword [ebp - 0x84], 0
je 0x100e3ea6
cmp dword [ebp - 0x74], 0
je 0x100e3ea6
cmp dword [ebp - 0x70], 0
jne 0x100e3eab
jmp 0x100e42e6
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 0
mov dword [ebp - 0x88], 1
movzx edx, byte [ebp - 0x8a]
test edx, edx
jne 0x100e3ffd
movzx eax, byte [ebp - 0x89]
test eax, eax
jne 0x100e3ffd
cmp dword [ebp - 0x88], 1
jne 0x100e3eff
push 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x7c]
push edx
call dword [ebp - 0x6c]
mov dword [ebp - 0x8d4], eax
jmp 0x100e3f13
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 0x100e3f2b
cmp dword [ebp - 0x68], 2
jne 0x100e3f37
mov byte [ebp - 0x8a], 1
jmp 0x100e3ff8
cmp dword [ebp - 0x68], 0
je 0x100e3f42
jmp 0x100e3ff8
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 0x100e3f5f
jmp 0x100e42e6
mov ecx, 0x1022edbc
call fcn.100043a0
push eax
lea ecx, [ebp - 0x8cc]
call fcn.10005d80
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.100043a0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1016f1ec
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.10005e00
movzx ecx, byte [ebp - 0x8c5]
test ecx, ecx
je 0x100e3fe2
mov byte [ebp - 0x89], 1
mov edx, dword [ebp - 0x78]
push edx
call dword [ebp - 0x74]
jmp 0x100e3ffd
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 0x100e3ec3
movzx edx, byte [ebp - 0x89]
test edx, edx
je 0x100e42d6
mov dword [ebp - 0x8a0], 0x400
mov dword [ebp - 0x8b8], 0
lea ecx, [ebp - 0x89c]
call fcn.10020e50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.10005d40
mov byte [ebp - 4], 2
push str.SoftwareMicrosoftCode_Store_DatabaseDistribution_Units_
lea ecx, [ebp - 0x8a4]
call fcn.10005d80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.10003ea0
mov ecx, 0x1022edbc
call fcn.100043a0
push eax
lea ecx, [ebp - 0x8d0]
call fcn.10005d80
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.100257b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8d0]
call fcn.10005e00
push str.ContainsFiles
lea ecx, [ebp - 0x8a4]
call fcn.10025620
push 0x2001f
lea ecx, [ebp - 0x8a4]
call fcn.100043a0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x89c]
call fcn.100210a0
lea ecx, [ebp - 0x8b4]
call fcn.10020e50
mov byte [ebp - 4], 5
push str.SoftwareMicrosoftWindowsCurrentVersionModuleUsage
lea ecx, [ebp - 0x8ac]
call fcn.10005d80
mov byte [ebp - 4], 6
push 0x2001f
lea ecx, [ebp - 0x8ac]
call fcn.10004390
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x8b4]
call fcn.100210a0
jmp 0x100e4144
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 0x100e4225
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x8c0]
call fcn.10005d80
mov byte [ebp - 4], 7
push 0x2f
push 0x5c
lea ecx, [ebp - 0x8c0]
call fcn.1009e150
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x8c4]
call fcn.10005d60
mov byte [ebp - 4], 8
push 0x5c
lea ecx, [ebp - 0x8c4]
call fcn.10010990
lea ecx, [ebp - 0x8c0]
push ecx
lea ecx, [ebp - 0x8c4]
call fcn.100257b0
lea ecx, [ebp - 0x8c4]
call fcn.100043a0
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.10005e00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c0]
call fcn.10005e00
jmp 0x100e412b
lea ecx, [ebp - 0x8b4]
call fcn.10020fd0
lea ecx, [ebp - 0x89c]
call fcn.10020fd0
push 0x2001f
lea ecx, [ebp - 0x8a8]
call fcn.100043a0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x89c]
call fcn.100210a0
mov ecx, 0x1022edbc
call fcn.10004390
push eax
lea ecx, [ebp - 0x89c]
call fcn.10021110
mov ecx, 0x1022edbc
call fcn.10004390
push eax
lea ecx, [ebp - 0x89c]
call fcn.10020f10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8ac]
call fcn.10005e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8b4]
call fcn.10020e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a4]
call fcn.10005e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x89c]
call fcn.10020e80
cmp dword [ebp - 0x80], 0
je 0x100e42e6
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.1016f6a2
mov esp, ebp
pop ebp
ret