Function at 0x1003f920
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0xc], ebp
je 0x1003f9a6
mov eax, dword [esi]
cmp eax, dword [0x100a39ec]
jne 0x1003f97a
mov ecx, dword [esi + 4]
cmp ecx, dword [0x100a39f0]
jne 0x1003f97a
mov edx, dword [esi + 8]
cmp edx, dword [0x100a39f4]
jne 0x1003f97a
mov eax, dword [esi + 0xc]
cmp eax, dword [0x100a39f8]
je 0x1003f9a6
lea ecx, [esp + 0xc]
push ecx
push 0x100a07c0
push 1
push ebp
push 0x100a39cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1003f9ad
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x1003f9a6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x1003fbc6
cmp dword [ebx], ebp
push edi
je 0x1003fa2a
cmp dword [esp + 0x1c4], ebp
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 1
push esi
push eax
je 0x1003fa14
cmp dword [ebx], 1
jne 0x1003f9f2
mov eax, dword [ecx + 0x14]
jmp 0x1003f9f5
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebp
jge 0x1003fa23
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1003fa0d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x1003fbc5
cmp dword [ebx], 1
jne 0x1003fa1e
mov eax, dword [ecx + 0x18]
jmp 0x1003fa21
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], ebp
jne 0x1003f9b2
cmp dword [esp + 0x1c4], ebp
jne 0x1003fbb3
push 0x40
lea eax, [esp + 0x138]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x100b90c0]
push str.CLSID_
lea ecx, [esp + 0x38]
push 0x80
push ecx
mov dword [esp + 0x2c], ebp
call fcn.1003f3d0
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x44]
push 0x80
push eax
call fcn.1003f3f0
push str.Required_Categories
lea ecx, [esp + 0x50]
push 0x80
push ecx
call fcn.1003f3f0
add esp, 0x24
push 0x20019
lea edx, [esp + 0x38]
push edx
push SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], SysReAllocString
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.1003cad0
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jne 0x1003fb03
mov ecx, dword [esp + 0x14]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push eax
push ebp
push ebp
push ebp
push ecx
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.1003cab0
cmp esi, ebp
jne 0x1003fb03
cmp dword [esp + 0x18], ebp
jne 0x1003fb03
lea edx, [esp + 0x34]
push edx
push SysReAllocString
call ebx
push str.CLSID_
lea eax, [esp + 0x38]
push 0x80
push eax
call fcn.1003f3d0
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x44]
push 0x80
push edx
call fcn.1003f3f0
push str.Implemented_Categories
lea eax, [esp + 0x50]
push 0x80
push eax
call fcn.1003f3f0
add esp, 0x24
push 0x20019
lea ecx, [esp + 0x38]
push ecx
push SysReAllocString
lea ecx, [esp + 0x20]
call fcn.1003cad0
test eax, eax
jne 0x1003fb98
mov eax, dword [esp + 0x14]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
push ebp
push ebp
push eax
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.1003cab0
cmp esi, ebp
jne 0x1003fb98
cmp dword [esp + 0x18], ebp
jne 0x1003fb98
lea ecx, [esp + 0x34]
push ecx
push SysReAllocString
call ebx
lea ecx, [esp + 0x14]
call fcn.1003d210
lea ecx, [esp + 0x1c]
call fcn.1003d210
lea ecx, [esp + 0x20]
call fcn.1000f610
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1003fbc3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007a1bc
add esp, 0x1a8
ret 0xc