Function at 0x40684d
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x4275f4]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x20
mov eax, 0x41d09b
call fcn.0040cb73
mov eax, dword [ebp + 0x19c]
mov esi, dword [ebp + 0x1a0]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp esi, ebx
jne 0x4068c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004062d4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0040c140
add ebp, 0x194
leave
ret 0xc
push 0x42178c
push eax
call fcn.00405326
pop ecx
pop ecx
test eax, eax
jne 0x40688f
lea eax, [ebp - 0x14]
push eax
push 0x41fd6c
push edi
push ebx
push 0x42177c
call dword [0x41f260]
cmp eax, ebx
jge 0x4068fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004062d4
mov eax, ebx
jmp 0x40689d
mov eax, esi
mov dword [ebp - 0x10], eax
cmp dword [esi], ebx
jne 0x406aad
cmp dword [ebp + 0x1a4], ebx
jne 0x4068ed
push 0x40
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x18]
call dword [0x41f25c]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ec45
push eax
call fcn.0040112d
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ed87
push eax
call fcn.0040112d
push str.Required_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ed87
push eax
call fcn.0040112d
mov edi, 0x80000000
add esp, 0x30
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0040574f
test eax, eax
jne 0x4069e6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [0x41f008]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.004056e6
cmp dword [ebp - 0x18], ebx
jne 0x4069e6
cmp dword [ebp - 0x10], ebx
jne 0x4069e6
lea eax, [ebp + 0x90]
push eax
push edi
call dword [0x41f01c]
push str.CLSID_
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ec45
push eax
call fcn.0040112d
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ed87
push eax
call fcn.0040112d
push str.Implemented_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040ed87
push eax
call fcn.0040112d
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.0040574f
cmp eax, ebx
jne 0x406a81
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [0x41f008]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004056e6
cmp esi, ebx
jne 0x406a81
cmp dword [ebp - 0x10], ebx
jne 0x406a81
lea eax, [ebp + 0x90]
push eax
push edi
call dword [0x41f01c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004056e6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004056e6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405db7
jmp 0x4068ed
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x1a4], ebx
je 0x406ae6
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x406ad8
call dword [ecx + 0x14]
jmp 0x406adb
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x406af9
mov ebx, eax
jmp 0x4068ed
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x406af6
call dword [ecx + 0x18]
jmp 0x406af9
call dword [ecx + 0x20]
add dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x10]
cmp dword [eax], ebx
jne 0x406aaa
jmp 0x40690a