Function at 0x1024fdb
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
xor eax, eax
push 0x1fe
mov word [ebp - 0x2a4], ax
lea eax, [ebp - 0x2a2]
push edi
push eax
call sub.msvcrt.dll_memset
mov ebx, 0x80000002
add esp, 0xc
cmp dword [ebp - 0x4bc], ebx
je 0x105a7bd
mov ecx, dword [esi]
xor eax, eax
cmp ecx, edi
mov dword [ebp - 0x4e0], ecx
mov dword [ebp - 0x4bc], eax
jle 0x1024fc5
mov ecx, dword [ebp - 0x4b8]
mov ecx, dword [ecx + 4]
mov esi, dword [ecx + eax*4]
cmp dword [ebp - 0x4d0], edi
jne 0x105a7fe
cmp word [ebp - 0x2a4], di
jne 0x105a82f
push dword [ebp + 0x1c]
lea eax, [esi + 0x410]
push dword [ebp - 0x4dc]
lea edi, [esi + 0x208]
push dword [ebp + 0x10]
push eax
push edi
push esi
call dword [ebp - 0x4e4]
cmp dword [ebp - 0x4d0], 0
jne 0x105a895
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
mov eax, dword [ebp - 0x4bc]
inc eax
cmp eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x4bc], eax
jl 0x1024f54
push dword [ebp - 0x4b8]
call dword [fcn.0100985c]
jmp 0x10250d9
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x10b0090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
and eax, edx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4d0], eax
neg eax
push edi
sbb eax, eax
mov dword [ebp - 0x4c4], edx
lea edx, [ebp - 0x4c0]
push edx
and eax, 0x10006
add eax, 0x20019
push eax
xor edi, edi
push edi
push esi
push ecx
mov dword [ebp - 0x4bc], ecx
mov dword [ebp - 0x4c8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10251c4
push ebx
push esi
push 0x1023c38
mov dword [ebp - 0x4b8], edi
call fcn.0102573f
xor ebx, ebx
mov esi, 0x104
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4cc]
push eax
push edi
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0xa4]
push eax
push ebx
push dword [ebp - 0x4c0]
mov dword [ebp - 0x4d8], 0x50
mov dword [ebp - 0x4d4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x10251be
cmp eax, edi
je 0x102510c
cmp eax, 0x103
jne 0x105a7b2
mov esi, dword [ebp - 0x4b8]
cmp esi, edi
jne 0x1024f11
push dword [ebp - 0x4c8]
push 0x1023c48
call fcn.0102573f
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret 0x18
cmp dword [ebp - 0x4cc], 1
jne 0x105a74f
cmp dword [ebp - 0x4cc], 2
je 0x105a761
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x105a79f
push 0x618
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10251bc
push dword [ebp - 0x4c8]
push esi
push edi
call fcn.010065a0
test eax, eax
jl 0x10251bc
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [edi + 0x208]
push eax
call fcn.010065a0
test eax, eax
jl 0x10251bc
lea eax, [ebp - 0x4b4]
push eax
push esi
lea eax, [edi + 0x410]
push eax
call fcn.010065a0
test eax, eax
jl 0x10251bc
cmp dword [ebp - 0x4b8], 0
jne 0x10251a5
push 5
call dword [fcn.01009704]
mov dword [ebp - 0x4b8], eax
test eax, eax
je 0x10251d9
push edi
push 0x7fffffff
push dword [ebp - 0x4b8]
call dword [fcn.010064bc]
cmp eax, 0xffffffff
je 0x10251d9
xor edi, edi
inc ebx
jmp 0x102506c
mov dword [ebp - 0x4c4], edi
jmp 0x10250f6
cmp eax, esi
jbe 0x1025126
jmp 0x10251be
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10251bc
cmp dword [ebp - 0x4cc], 2
je 0x1025119
jmp 0x10251be
lea eax, [ebp - 0x4b4]
push eax
push esi
lea eax, [ebp - 0x2ac]
push eax
call fcn.010065a0
test eax, eax
jl 0x10251be
push esi
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
cmp eax, edi
jne 0x10251cf
jmp 0x10251be
cmp word [ebp - 0xa4], 0x2a
je 0x1025136
jmp 0x10251be
mov dword [ebp - 0x4c4], edi
jmp 0x10250cb
push 1
push 0xffffffffffffffff
push dword [ebp - 0x4c8]
push 0xffffffffffffffff
push 0x1023b48
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x1024f40
push 0x100
lea eax, [ebp - 0x2a4]
push eax
push 0x105a918
push 0x105a8b8
push ebx
call fcn.0107a006
jmp 0x1024f40
lea eax, [esi + 0x208]
cmp word [eax], 0x21
je 0x1024f6c
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1024f6c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1024fb0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2a4]
push eax
push 0xffffffffffffffff
lea eax, [esi + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x1024f79
push 0x10231fc
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x105a876
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x105a918
push 0x105a8b8
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov word [ebp - 0x2a4], ax
jmp 0x1024f79
cmp word [edi], 0x21
jne 0x1024fa7
push edi
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1024fa7