Function at 0x100db62
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 0x100dd1e
cmp dword [0x10466c0], ebx
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], ebx
jne 0x100dcf3
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 0x100dcd1
cmp eax, ebx
jne 0x100dd26
cmp dword [ebp - 0x4c8], 1
jne 0x1022f67
cmp dword [ebp - 0x4c8], 2
je 0x1022f79
cmp dword [0x10466c4], ebx
jne 0x1022fb7
push 0x618
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x100dcd1
push dword [ebp - 0x4cc]
push esi
push edi
call fcn.010065d7
test eax, eax
jl 0x100dcd1
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [edi + 0x208]
push eax
call fcn.010065d7
test eax, eax
jl 0x100dcd1
lea eax, [ebp - 0x2ac]
push eax
push esi
lea eax, [edi + 0x410]
push eax
call fcn.010065d7
test eax, eax
jl 0x100dcd1
cmp dword [ebp - 0x4bc], ebx
je 0x100de3a
push edi
push SysReAllocString
push dword [ebp - 0x4bc]
call dword [fcn.01006684]
cmp eax, 0xffffffff
je 0x100de5f
inc dword [ebp - 0x4b8]
cmp dword [0x10466c0], ebx
je 0x100dbd3
mov eax, dword [ebp - 0x4bc]
cmp eax, ebx
jne 0x100de78
pop edi
pop esi
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10466c0], ebx
jne 0x1023011
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c4]
pop ebx
call fcn.01001aff
leave
ret 0x14
mov dword [ebp - 0x4c4], ebx
jmp 0x100dcff
cmp eax, 0x103
je 0x100dce3
jmp 0x1022fca
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
call dword [fcn.0100675c]
test edi, edi
mov esi, eax
jne 0x1022fd5
push dword [ebp + 0x18]
lea eax, [esi + 0x410]
push dword [ebp + 0x10]
push eax
push esi
call dword [ebp - 0x4d4]
test edi, edi
jne 0x1022ff3
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4b8]
cmp eax, dword [ebp - 0x4cc]
jl 0x100dd9c
xor ebx, ebx
push dword [ebp - 0x4bc]
call dword [0x100de04]
jmp 0x100dcf1
push 5
call dword [fcn.01007950]
cmp eax, ebx
mov dword [ebp - 0x4bc], eax
jne 0x100dcb6
jmp 0x100de5f
cmp eax, esi
jbe 0x100dc4a
jmp 0x100dcd1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100dcd1
test eax, eax
je 0x100ddb8
jmp 0x100ddd4
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4b8], ebx
jle 0x100ddf1
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
and edi, 1
jmp 0x100dd9c
cmp dword [ebp - 0x4c8], 2
je 0x100dc3d
jmp 0x100dcd1
lea eax, [ebp - 0x2ac]
push eax
push esi
lea eax, [ebp - 0x4b4]
push eax
call fcn.010065d7
test eax, eax
jl 0x100dcd1
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 0x100de52
jmp 0x100dcd1
cmp word [ebp - 0xa4], 0x2a
je 0x100dc56
jmp 0x100dcd1
mov dword [ebp - 0x4c4], ebx
jmp 0x100dce3
lea eax, [esi + 0x208]
cmp word [eax], 0x21
je 0x100ddb8
push eax
push dword [ebp - 0x4c0]
call ebx
jmp 0x100de6b
lea eax, [esi + 0x208]
cmp word [eax], 0x21
jne 0x100ddd4
push eax
push dword [ebp - 0x4c0]
call ebx
jmp 0x100ddd4
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]