Function at 0x62c624
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x62c62c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x62c91b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6aaf40]
cmp dword [eax], 0
je 0x62c66a
lea eax, [ebp - 0x40]
push eax
push 0xf013f
push 0
push 0x62c92c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
jmp 0x62c684
lea eax, [ebp - 0x40]
push eax
push 0xf003f
push 0
push 0x62c92c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
lea eax, [ebp - 0x44]
call fcn.0061db80
lea eax, [ebp - 0x44]
mov edx, 0x62c93c
call fcn.004080c0
mov eax, dword [ebp - 0x44]
call fcn.00407d28
push eax
push 0x62c95c
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegLoadKeyW
push 0x62c970
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegDeleteTreeW
lea eax, [ebp - 0x3c]
push eax
push 0x62c970
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegCreateKeyW
mov eax, dword [ebp - 0x3c]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 0x62c95c
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegUnLoadKeyW
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor edx, edx
push ebp
push 0x62c899
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.ole32.dll_CoInitialize
mov ecx, dword [0x6b2578]
mov dl, 1
mov eax, dword [0x4f1b04]
call fcn.004f21f8
mov ebx, eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x62c990
mov edx, 0x62c9bc
mov eax, ebx
call fcn.004f22bc
lea eax, [ebp - 0x18]
push eax
push 0x62c9cc
push dword [0x6b2634]
push 0x62c9f8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00408264
mov ecx, dword [ebp - 0x48]
mov edx, 0x62ca18
mov eax, dword [ebp - 4]
call fcn.00630980
lea eax, [ebp - 0x28]
push eax
push 0x10400008
push 0x62ca2c
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00424674
add esp, 0x14
lea eax, [ebp - 0x28]
mov edx, 1
call fcn.0042c150
mov esi, eax
lea eax, [ebp - 0x28]
mov edx, 1
call fcn.0042c174
mov ebx, eax
sub ebx, esi
jl 0x62c88a
inc ebx
lea eax, [ebp - 0x38]
push eax
push 0x12000004
push 0x62ca44
push esi
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0042c25c
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00424674
add esp, 0x14
lea eax, [ebp - 0x58]
call fcn.00426ae8
test al, al
je 0x62c882
push 0x62ca54
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00424674
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
mov edx, 0x62ca6c
call fcn.00429cb8
lea edx, [ebp - 0x88]
pop eax
call fcn.0042d1cc
jne 0x62c882
push 0x62ca84
push esi
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0042c25c
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00424674
add esp, 0xc
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push 0x62ca8c
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00424674
add esp, 0x1c
inc esi
dec ebx
jne 0x62c7ae
call sub.ole32.dll_CoUninitialize
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62c8bc
cmp byte [0x6b26f6], 0
je 0x62c8cf
mov eax, 0x62caac
call fcn.0061fda0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c922
lea eax, [ebp - 0xa8]
mov edx, dword [0x4012a8]
mov ecx, 6
call fcn.00408b38
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00407c94
lea eax, [ebp - 0x38]
mov edx, dword [0x4012b8]
mov ecx, 3
call fcn.00408b38
lea eax, [ebp - 4]
call fcn.0040af74
ret