Function at 0x420df0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5858
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x40], ecx
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], 1
call fcn.004590e0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 2
call fcn.00431370
mov esi, eax
mov byte [esp + 0x90], 3
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x420eb3
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x420ebe
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0x51429c
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 4
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.004493f0
cmp dword [esp + 0x3c], 0x10
jb 0x420f16
push dword [esp + 0x28]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or edi, 0xffffffff
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x420f53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.004586b0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 5
call fcn.00431370
mov esi, eax
mov byte [esp + 0x90], 6
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x420fbd
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x420fc8
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5142a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 7
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 6
call fcn.004493f0
cmp dword [esp + 0x3c], 0x10
jb 0x421020
push dword [esp + 0x28]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42105a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.004579e0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 8
call fcn.00431370
mov esi, eax
mov byte [esp + 0x90], 9
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x4210c4
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4210cf
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5142a4
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xa
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 9
call fcn.004493f0
cmp dword [esp + 0x3c], 0x10
jb 0x421127
push dword [esp + 0x28]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421161
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.00458fa0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0xb
call fcn.00431370
mov esi, eax
mov byte [esp + 0x90], 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x4211cb
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4211d6
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5142a8
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xd
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0xc
call fcn.004493f0
cmp dword [esp + 0x3c], 0x10
jb 0x42122e
push dword [esp + 0x28]
call fcn.004b3a0c
add esp, 4
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421268
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x48]
push eax
push 0x2001f
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4212c1
push 5
push str.tempo
push 1
push str.Tempo
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x4212b7
push str.Tempo
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov bl, 1
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
and eax, 0xffffff05
or eax, 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x14], bl
lea eax, [esp + 0x14]
push eax
push ecx
push str.admin
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xe
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.004493f0
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x48]
mov ecx, eax
call fcn.00459820
test eax, eax
je 0x42133c
cmp dword [esp + 0x48], 0
je 0x42133c
mov ecx, 1
jmp 0x42133e
xor ecx, ecx
mov eax, dword [esp + 0x1c]
and eax, 0xffffff05
or eax, 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x14], cl
lea eax, [esp + 0x14]
push eax
push ecx
push str.64bit
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xf
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.004493f0
mov dword [esp + 0x60], 0x514aec
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x90], 0x10
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 0x11
call fcn.0044c090
mov edx, eax
mov byte [esp + 0x90], 0x12
cmp dword [edx + 0x14], 0x10
jb 0x4213f9
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x421418
xor ecx, ecx
jmp 0x42142c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421421
sub ecx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [esp + 0x5c]
call fcn.004312a0
add esp, 0x18
mov byte [esp + 0x90], 0x13
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x42149e
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42148d
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42148d
call fcn.004047b0
mov dword [esp + 0x24], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x421484
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x24]
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
jmp 0x42149e
push dword [edx - 0xc]
lea ecx, [esp + 0x4c]
push edx
call fcn.004046f0
mov esi, dword [esp + 0x48]
mov byte [esp + 0x90], 0x12
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4214c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x90], 0x11
cmp dword [esp + 0x3c], 0x10
jb 0x4214de
push dword [esp + 0x28]
call fcn.004b3a0c
add esp, 4
mov ebx, dword [esp + 0x40]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4214fd
call fcn.0040c760
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [esp + 0x90], 0x10
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42151f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x60], 0x514aec
jb 0x42153a
push dword [esp + 0x64]
call fcn.004b3a0c
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0x60], 0x5186b0
mov dword [esp + 0x90], 0xffffffff
call fcn.004493f0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret