Function at 0x1074ca0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x198], edi
je 0x1074f5e
mov eax, dword [esi]
cmp eax, dword [0x100a770]
jne 0x1074cfb
mov ecx, dword [esi + 4]
cmp ecx, dword [0x100a774]
jne 0x1074cfb
mov edx, dword [esi + 8]
cmp edx, dword [0x100a778]
jne 0x1074cfb
mov eax, dword [esi + 0xc]
cmp eax, dword [0x100a77c]
je 0x1074f5e
lea ecx, [ebp - 0x198]
push ecx
push 0x1003744
push 1
push edi
push 0x100a750
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1074f4c
cmp dword [ebx], edi
je 0x1074d92
cmp dword [ebp + 0x10], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x194], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x190], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x188], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x194]
push edx
push 1
push esi
push eax
je 0x1074d7c
cmp dword [ebx], 1
jne 0x1074d69
mov eax, dword [ecx + 0x14]
jmp 0x1074d6c
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
jl 0x1074f73
xor edi, edi
jmp 0x1074d8b
cmp dword [ebx], 1
jne 0x1074d86
mov eax, dword [ecx + 0x18]
jmp 0x1074d89
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], edi
jne 0x1074d21
cmp dword [ebp + 0x10], edi
jne 0x1074f4c
push 0x40
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x115f5dc]
push 0x1003734
lea ecx, [ebp - 0x104]
push 0x80
push ecx
mov dword [ebp - 0x1a8], edi
call fcn.01071830
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.01071850
push 0x1003708
lea ecx, [ebp - 0x104]
push 0x80
push ecx
call fcn.01071850
add esp, 0x24
push 0x20019
lea edx, [ebp - 0x104]
push edx
push SysReAllocStringLen
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], VariantInit
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
call fcn.01071d80
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jne 0x1074e7f
mov ecx, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1a0]
push eax
push edi
push edi
push edi
push ecx
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.01071cf0
cmp esi, edi
jne 0x1074e7f
cmp dword [ebp - 0x1a0], edi
jne 0x1074e7f
lea edx, [ebp - 0x104]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x1003734
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.01071830
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x104]
push 0x80
push edx
call fcn.01071850
push 0x10036d8
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.01071850
add esp, 0x24
push 0x20019
lea ecx, [ebp - 0x104]
push ecx
push SysReAllocStringLen
lea ecx, [ebp - 0x19c]
call fcn.01071d80
test eax, eax
jne 0x1074f2b
mov eax, dword [ebp - 0x19c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x1a0]
push edx
push edi
push edi
push edi
push eax
call ebx
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.01071cf0
cmp esi, edi
jne 0x1074f2b
cmp dword [ebp - 0x1a0], edi
jne 0x1074f2b
lea ecx, [ebp - 0x104]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x19c]
call fcn.01073770
lea ecx, [ebp - 0x1a4]
call fcn.01073770
lea ecx, [ebp - 0x1a8]
call fcn.010735b0
mov eax, dword [ebp - 0x198]
cmp eax, edi
je 0x1074f5e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x1074f85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0xc