Function at 0x100db8a
Capabilities:
Delete registry value
Query or enumerate registry value
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4d8
mov edx, dword [ebp + 0x14]
mov eax, dword [0x1046080]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x4d4], edx
lea edx, [ebp - 0x4c0]
push edx
push 0x2000000
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100dd46
cmp dword [0x10466c0], ebx
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], ebx
jne 0x100dd1b
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x4c8]
push eax
push ebx
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x4b8]
mov dword [ebp - 0x4d8], 0x50
push dword [ebp - 0x4c0]
mov dword [ebp - 0x4d0], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x100dcf9
cmp eax, ebx
jne 0x100dd4e
cmp dword [ebp - 0x4c8], 1
jne 0x1022fd7
cmp dword [ebp - 0x4c8], 2
je 0x1022fe9
cmp dword [0x10466c4], ebx
jne 0x1023027
push 0x618
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x100dcf9
push dword [ebp - 0x4cc]
push esi
push edi
call fcn.0100660f
test eax, eax
jl 0x100dcf9
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [edi + 0x208]
push eax
call fcn.0100660f
test eax, eax
jl 0x100dcf9
lea eax, [ebp - 0x2ac]
push eax
push esi
lea eax, [edi + 0x410]
push eax
call fcn.0100660f
test eax, eax
jl 0x100dcf9
cmp dword [ebp - 0x4bc], ebx
je 0x100de62
push edi
push 0x7fffffff
push dword [ebp - 0x4bc]
call dword [fcn.010066bc]
cmp eax, 0xffffffff
je 0x100de87
inc dword [ebp - 0x4b8]
cmp dword [0x10466c0], ebx
je 0x100dbfb
mov eax, dword [ebp - 0x4bc]
cmp eax, ebx
jne 0x100dea0
pop edi
pop esi
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10466c0], ebx
jne 0x1023081
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c4]
pop ebx
call fcn.01001aff
leave
ret 0x14
mov dword [ebp - 0x4c4], ebx
jmp 0x100dd27
cmp eax, 0x103
je 0x100dd0b
jmp 0x102303a
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
call dword [fcn.01006794]
test edi, edi
mov esi, eax
jne 0x1023045
push dword [ebp + 0x18]
lea eax, [esi + 0x410]
push dword [ebp + 0x10]
push eax
push esi
call dword [ebp - 0x4d4]
test edi, edi
jne 0x1023063
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4b8]
cmp eax, dword [ebp - 0x4cc]
jl 0x100ddc4
xor ebx, ebx
push dword [ebp - 0x4bc]
call dword [0x100de2c]
jmp 0x100dd19
push 5
call dword [fcn.01007988]
cmp eax, ebx
mov dword [ebp - 0x4bc], eax
jne 0x100dcde
jmp 0x100de87
cmp eax, esi
jbe 0x100dc72
jmp 0x100dcf9
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100dcf9
test eax, eax
je 0x100dde0
jmp 0x100ddfc
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4b8], ebx
jle 0x100de19
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
and edi, 1
jmp 0x100ddc4
cmp dword [ebp - 0x4c8], 2
je 0x100dc65
jmp 0x100dcf9
lea eax, [ebp - 0x2ac]
push eax
push esi
lea eax, [ebp - 0x4b4]
push eax
call fcn.0100660f
test eax, eax
jl 0x100dcf9
push esi
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
cmp eax, ebx
jne 0x100de7a
jmp 0x100dcf9
cmp word [ebp - 0xa4], 0x2a
je 0x100dc7e
jmp 0x100dcf9
mov dword [ebp - 0x4c4], ebx
jmp 0x100dd0b
lea eax, [esi + 0x208]
cmp word [eax], 0x21
je 0x100dde0
push eax
push dword [ebp - 0x4c0]
call ebx
jmp 0x100de93
lea eax, [esi + 0x208]
cmp word [eax], 0x21
jne 0x100ddfc
push eax
push dword [ebp - 0x4c0]
call ebx
jmp 0x100ddfc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]