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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da078
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x532d60]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x532d60]
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.0045d6d0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 2
call fcn.00433ad0
mov esi, eax
mov byte [esp + 0x90], 3
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x422423
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x42242e
mov esi, dword [esi]
mov ecx, dword [0x534374]
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 0x51b86c
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 4
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.0044c9c0
cmp dword [esp + 0x3c], 0x10
jb 0x422486
push dword [esp + 0x28]
call fcn.004b817c
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 0x4224c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0045c990
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 5
call fcn.00433ad0
mov esi, eax
mov byte [esp + 0x90], 6
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x42252d
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x422538
mov esi, dword [esi]
mov ecx, dword [0x534374]
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 0x51b870
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 7
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 6
call fcn.0044c9c0
cmp dword [esp + 0x3c], 0x10
jb 0x422590
push dword [esp + 0x28]
call fcn.004b817c
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 0x4225ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0045bca0
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 8
call fcn.00433ad0
mov esi, eax
mov byte [esp + 0x90], 9
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x422634
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x42263f
mov esi, dword [esi]
mov ecx, dword [0x534374]
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 0x51b874
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xa
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 9
call fcn.0044c9c0
cmp dword [esp + 0x3c], 0x10
jb 0x422697
push dword [esp + 0x28]
call fcn.004b817c
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 0x4226d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0045d590
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0xb
call fcn.00433ad0
mov esi, eax
mov byte [esp + 0x90], 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test al, 1
jne 0x42273b
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x422746
mov esi, dword [esi]
mov ecx, dword [0x534374]
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 0x51b878
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 0xd
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0xc
call fcn.0044c9c0
cmp dword [esp + 0x3c], 0x10
jb 0x42279e
push dword [esp + 0x28]
call fcn.004b817c
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 0x4227d8
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 0x422831
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 0x422827
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.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.0044c9c0
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x48]
mov ecx, eax
call fcn.0045de00
test eax, eax
je 0x4228ac
cmp dword [esp + 0x48], 0
je 0x4228ac
mov ecx, 1
jmp 0x4228ae
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.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.0044c9c0
mov dword [esp + 0x60], 0x51c0cc
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 [0x5326d0]
mov ecx, 0x5326d0
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.0044f670
mov edx, eax
mov byte [esp + 0x90], 0x12
cmp dword [edx + 0x14], 0x10
jb 0x422969
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 0x422988
xor ecx, ecx
jmp 0x42299c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422991
sub ecx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [esp + 0x5c]
call fcn.00433a00
add esp, 0x18
mov byte [esp + 0x90], 0x13
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x422a0e
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4229fd
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4229fd
call fcn.00404b50
mov dword [esp + 0x24], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4229f4
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 0x422a0e
push dword [edx - 0xc]
lea ecx, [esp + 0x4c]
push edx
call fcn.00404a90
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 0x422a33
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 0x422a4e
push dword [esp + 0x28]
call fcn.004b817c
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 0x422a6d
call fcn.0040caf0
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 0x422a8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x60], 0x51c0cc
jb 0x422aaa
push dword [esp + 0x64]
call fcn.004b817c
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], 0x51fca0
mov dword [esp + 0x90], 0xffffffff
call fcn.0044c9c0
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.004b8181
mov esp, ebp
pop ebp
ret