Function at 0x4a37e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537f05
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
mov edi, dword [ebp + 8]
mov ecx, esi
push 4
push 0
push eax
call fcn.00412e20
mov dword [ebp - 4], 0
push eax
call fcn.004a4d00
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00408fc0
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00412e20
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 2
add edi, 0xb4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], eax
jb 0x4a3883
mov edi, dword [edi]
cmp eax, 8
jae 0x4a3898
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4a38d3
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00408960
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004d4210
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x14], esi
xor esi, esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0x1010b
push 0
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a3951
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0x100
test esi, esi
je 0x4a3951
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
jne 0x4a3936
mov byte [ebp - 0x59], 1
jmp 0x4a3955
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete byte [ebp - 0x59]
jmp 0x4a3955
mov byte [ebp - 0x59], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a398f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a39ed
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
test esi, esi
je 0x4a39b9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408fc0
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.004e0791
int3