Function at 0x421642
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x1ac
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x128], eax
mov eax, dword [ebp + 0x134]
push ebx
push esi
mov esi, dword [ebp + 0x138]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], ebx
jne 0x42167e
xor eax, eax
jmp 0x421840
push 0x48dedc
push eax
call fcn.0041a426
test eax, eax
pop ecx
pop ecx
jne 0x421677
lea eax, [ebp - 0x74]
push eax
push 0x478594
push 1
push ebx
push 0x48f13c
call dword [0x467564]
test eax, eax
jge 0x4216b9
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x421677
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x421677
cmp dword [esi], ebx
mov eax, esi
push edi
mov dword [ebp - 0x70], eax
jne 0x42185c
cmp dword [ebp + 0x13c], ebx
jne 0x421830
push 0x40
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x6c]
call dword [0x46755c]
call dword [0x49a010]
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x28]
push esi
push eax
mov dword [ebp - 0x7c], ebx
call fcn.0043be6a
push eax
call fcn.0041a51f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0043bf9f
push eax
call fcn.0041a51f
push str.Required_Categories
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0043bf9f
push eax
call fcn.0041a51f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x28]
mov edi, closesocket
push eax
push edi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
call fcn.0041ce0e
test eax, eax
jne 0x42178c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
call dword [0x467048]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x80], eax
call fcn.0041cdf7
cmp dword [ebp - 0x80], ebx
jne 0x42178c
cmp dword [ebp - 0x70], ebx
jne 0x42178c
lea eax, [ebp + 0x28]
push eax
push edi
call dword [section..rdata]
push str.CLSID_
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0043be6a
push eax
call fcn.0041a51f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0043bf9f
push eax
call fcn.0041a51f
push 0x478528
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0043bf9f
push eax
call fcn.0041a51f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x28]
push eax
push edi
lea ecx, [ebp - 0x6c]
call fcn.0041ce0e
test eax, eax
jne 0x421818
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
call dword [0x467048]
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.0041cdf7
cmp esi, ebx
jne 0x421818
cmp dword [ebp - 0x70], ebx
jne 0x421818
lea eax, [ebp + 0x28]
push eax
push edi
call dword [section..rdata]
lea ecx, [ebp - 0x6c]
call fcn.0041cdf7
lea ecx, [ebp - 0x78]
call fcn.0041cdf7
lea ecx, [ebp - 0x7c]
call fcn.0041dbf1
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x42183d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
add ebp, 0x12c
leave
ret 0xc
mov eax, dword [ebp - 0x70]
cmp dword [ebp + 0x13c], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
je 0x4218a1
cmp dword [eax], 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x421887
call dword [ecx + 0x14]
jmp 0x42188a
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x4218b4
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x42189d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x42183f
cmp dword [eax], 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x4218b1
call dword [ecx + 0x18]
jmp 0x4218b4
call dword [ecx + 0x20]
add dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x70]
cmp dword [eax], ebx
jne 0x421859
jmp 0x4216c7