Function at 0x4035d9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x124
mov eax, dword [0x41239c]
push ebx
push esi
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp + 0x68], eax
call fcn.00402c63
mov esi, dword [ebp + 0x78]
xor ebx, ebx
cmp esi, ebx
je 0x403858
push 0x40f478
push dword [ebp + 0x74]
call fcn.00401c52
test eax, eax
pop ecx
pop ecx
jne 0x403858
lea eax, [ebp - 0xb0]
push eax
push 0x40ed70
push 1
push ebx
push 0x40f468
call dword [0x40e34c]
test eax, eax
jl 0x403858
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0xac], eax
jne 0x4036b1
cmp dword [ebp + 0x7c], ebx
jne 0x403858
push 0x40
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x74]
call dword [0x40e350]
call dword [0x412260]
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp + 0x78], ebx
call dword [0x40e0a0]
lea esi, [eax + eax + 2]
cmp esi, 0x400
jg 0x403716
push esi
call fcn.00401d61
test al, al
pop ecx
je 0x403716
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0040cc00
mov eax, esp
jmp 0x40371f
mov eax, dword [ebp - 0xac]
cmp dword [ebp + 0x7c], ebx
mov esi, dword [eax + 4]
lea edi, [ebp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp + 0x58]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp + 0x74]
movsd dword es:[edi], dword [esi]
je 0x4036ea
cmp dword [eax], 1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
push eax
jne 0x4036dc
call dword [ecx + 0x14]
jmp 0x4036df
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x403700
mov ebx, eax
jmp 0x403858
cmp dword [eax], 1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
push eax
jne 0x4036fd
call dword [ecx + 0x18]
jmp 0x403700
call dword [ecx + 0x20]
add dword [ebp - 0xac], 8
mov eax, dword [ebp - 0xac]
cmp dword [eax], ebx
jne 0x4036ab
jmp 0x40364c
push esi
lea ecx, [ebp + 0x78]
call fcn.00402c10
push edi
push esi
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.00401df2
cmp eax, ebx
mov dword [ebp - 0xac], eax
je 0x403850
push str.CLSID_
lea eax, [ebp - 0x28]
push eax
call dword [0x40e0c8]
push dword [ebp - 0xac]
mov esi, dword [0x40e0cc]
lea eax, [ebp - 0x28]
push eax
call esi
push str.Required_Categories
lea eax, [ebp - 0x28]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x28]
mov edi, 0x80000000
push eax
push edi
lea ecx, [ebp + 0x74]
mov dword [ebp - 0xb4], edi
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x7c], ebx
call fcn.00402002
test eax, eax
jne 0x4037cc
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
call dword [0x40e02c]
lea ecx, [ebp + 0x74]
mov dword [ebp - 0xb8], eax
call fcn.00401f9d
cmp dword [ebp - 0xb8], ebx
jne 0x4037cc
cmp dword [ebp + 0x7c], ebx
jne 0x4037cc
lea eax, [ebp - 0x28]
push eax
push edi
call dword [0x40e008]
push str.CLSID_
lea eax, [ebp - 0x28]
push eax
call dword [0x40e0c8]
push dword [ebp - 0xac]
lea eax, [ebp - 0x28]
push eax
call esi
push str.Implemented_Categories
lea eax, [ebp - 0x28]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp + 0x74]
call fcn.00402002
test eax, eax
jne 0x40383d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
call dword [0x40e02c]
lea ecx, [ebp + 0x74]
mov esi, eax
call fcn.00401f9d
cmp esi, ebx
jne 0x40383d
cmp dword [ebp + 0x7c], ebx
jne 0x40383d
lea eax, [ebp - 0x28]
push eax
push edi
call dword [0x40e008]
lea ecx, [ebp + 0x74]
call fcn.00401f9d
lea ecx, [ebp - 0xb4]
call fcn.00401f9d
lea ecx, [ebp + 0x78]
call fcn.004025a2
lea ecx, [ebp - 0xb0]
call fcn.00402aaa
mov eax, ebx
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp + 0x68]
call fcn.0040caa1
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc