Function at 0x610242f4
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push 0x80
mov eax, 0x61040766
call fcn.6102b2d6
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x8c]
xor edi, edi
call fcn.6101caee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.6100d83e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.6100d565
mov byte [ebp - 4], 3
xor esi, esi
inc esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], esi
call fcn.6100d565
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
mov dword [eax], ebx
call fcn.6100d64a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x6102440f
cmp edi, ebx
jne 0x61024541
lea ecx, [ebp - 0x10]
call fcn.6100d83e
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.6101e793
push eax
lea ecx, [ebp - 0x10]
call fcn.6100dd8c
push dword [0x610480d4]
lea ecx, [ebp - 0x10]
call fcn.61013bc2
test eax, eax
jne 0x6102447a
push 0x61007920
push 2
call fcn.6101b566
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 0x24], ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x61007890
push 3
call fcn.6101b566
add esp, 0x14
push dword [0x610480d4]
lea ecx, [ebp - 0x10]
call fcn.61013bc2
test eax, eax
je 0x610243e7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.61015b13
lea ecx, [ebp - 0x8c]
call fcn.6101c694
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.6100d793
cmp dword [ebp - 0x28], ebx
jne 0x61024360
cmp edi, ebx
jne 0x61024541
push dword [ebp + 8]
push 0x61007810
push esi
call fcn.6101b566
add esp, 0xc
cmp dword [ebp - 0x24], ebx
je 0x61024758
push 0x610077c0
push esi
call fcn.6101b566
add esp, 4
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x28]
call fcn.6100d869
mov byte [ebp - 4], 7
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.61024088
cmp eax, ebx
je 0x61024535
push eax
push 0x61007748
push 3
call fcn.6101b566
add esp, 0xc
xor edi, edi
jmp 0x610247c3
push 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.6101ceec
cmp eax, 0xb7
je 0x610244ac
xor edi, edi
jmp 0x610243b2
lea eax, [ebp - 0x14]
push eax
push 2
lea ecx, [ebp - 0x8c]
call fcn.6101d028
test eax, eax
je 0x610244a5
cmp dword [ebp + 0xc], 5
mov dword [ebp - 0x18], 0x57
mov dword [ebp - 0x1c], ebx
je 0x61024509
cmp dword [ebp + 0xc], 9
jne 0x610244a5
lea ecx, [ebp - 0x70]
call fcn.6100d24f
lea eax, [ebp - 0x70]
push eax
push 8
lea ecx, [ebp - 0x8c]
call fcn.6101dc8d
test eax, eax
je 0x610244a5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.61022756
jmp 0x61024519
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.61022450
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x610244a5
mov edi, esi
cmp dword [ebp - 0x1c], ebx
je 0x610243e7
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
jmp 0x610243e7
mov edi, esi
cmp dword [ebp - 0x28], ebx
je 0x61024541
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
cmp dword [ebp - 0x38], ebx
je 0x610247c3
lea ecx, [ebp - 0x18]
call fcn.6100d83e
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x61024660
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 9
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.6101e793
push eax
lea ecx, [ebp + 0xc]
call fcn.6100dd8c
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.61019dd0
lea ecx, [ebp - 0x58]
call fcn.6100d565
mov byte [ebp - 4], 0xa
push 3
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
call fcn.6101ceec
lea eax, [ebp - 0x58]
push eax
push 0xa
lea ecx, [ebp - 0x8c]
call fcn.6101dc8d
lea ecx, [ebp - 0x8c]
call fcn.6101c694
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x6102463f
lea ecx, [ebp - 0x1c]
call fcn.6100d83e
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.6101e793
push eax
lea ecx, [ebp - 0x1c]
call fcn.6100dd8c
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.6100dc58
cmp dword [ebp - 0x10], ebx
jne 0x61024621
cmp dword [ebp - 0x20], ebx
je 0x6102462e
push 0x61007740
lea ecx, [ebp - 0x18]
call fcn.61018282
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.6100d793
cmp dword [ebp - 0x10], ebx
jne 0x610245e7
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.6100d5a3
mov byte [ebp - 4], 8
lea ecx, [ebp + 0xc]
call fcn.6100d793
cmp dword [ebp - 0x20], ebx
jne 0x61024564
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jle 0x61024678
push eax
push 0x610075c0
push 3
call fcn.6101b566
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x14], ebx
call fcn.6100d83e
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.6100d83e
mov byte [ebp - 4], 0xe
push 0x61005fe0
lea ecx, [ebp + 0xc]
call fcn.6100dfda
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.6101836c
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
call fcn.6100d793
push dword [0x610480cc]
lea ecx, [ebp - 0x20]
call fcn.6100dfda
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.6101836c
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20]
call fcn.6100d793
lea eax, [ebp + 0x14]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x24]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x6102478a
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], ebx
je 0x6102475c
lea eax, [ebp + 0x10]
push eax
call fcn.610180d6
mov esi, eax
cmp esi, ebx
je 0x6102476f
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push esi
push 7
push ebx
push dword [0x610480d0]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x61024750
push 0x61007460
push 3
xor edi, edi
call fcn.6101b566
pop ecx
pop ecx
push esi
call fcn.6102ae57
jmp 0x6102477e
mov edi, esi
jmp 0x610247c3
push dword [0x610480d0]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x6102477f
push 0x61007460
push 3
xor edi, edi
call fcn.6101b566
pop ecx
pop ecx
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6102479f
cmp eax, 2
je 0x6102479f
push 0x61007460
push 3
xor edi, edi
call fcn.6101b566
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.6100d793
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.6100d793
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.6100d793
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.6100d5a3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.6100d5a3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.6100d793
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x8c]
call fcn.6101c84c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.6100d793
mov eax, edi
call fcn.6102b3c2
ret 0x10