Function at 0x1009df9
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x101803c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x418], esi
cmp esi, ebx
jne 0x1009e43
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100d419
leave
ret
push edi
push esi
push 0x1003274
call fcn.0100d383
add esp, 0xc
cmp byte [esi], bl
je 0x1009e65
push esi
call fcn.01008153
pop ecx
test al, al
je 0x1009e65
mov al, 1
jmp 0x1009e34
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], ebx
call fcn.01005bd9
push eax
push 0x20019
push ebx
push edi
push dword [ebp - 0x3fc]
call fcn.01005c13
add esp, 0x14
cmp eax, ebx
je 0x1009ecd
cmp eax, 2
jne 0x1009ea6
mov bl, 1
lea ecx, [ebp - 0x3f4]
call fcn.01005bf7
mov al, bl
jmp 0x1009e34
cmp dword [ebp - 0x3fc], 0x80000002
mov eax, 0x1002c04
je 0x1009ebc
mov eax, 0x1002dc8
push edi
push eax
push 0x100325c
call fcn.0100d383
add esp, 0xc
jmp 0x1009e97
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3ec]
mov esi, 0x1f4
push eax
mov dword [ebp - 0x404], esi
mov dword [ebp - 0x400], ebx
mov dword [ebp - 0x414], ebx
push ebx
jmp 0x100a09c
mov edi, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x3f0], ebx
call fcn.01005bd9
push eax
push 0x2001b
push ebx
lea eax, [ebp - 0x3ec]
push eax
push edi
call fcn.01005c13
add esp, 0x14
mov dword [ebp - 0x3f8], eax
cmp eax, ebx
jne 0x100a0b8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x1f8]
push eax
mov dword [ebp - 0x408], ebx
push ebx
jmp 0x1009f88
push dword [ebp - 0x418]
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1009fa2
inc dword [ebp - 0x408]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x3f0]
mov dword [ebp - 0x40c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
cmp edi, ebx
je 0x1009f53
jmp 0x100a001
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
cmp edi, ebx
jne 0x100a0b8
cmp dword [ebp - 0x3fc], 0x80000002
mov eax, 0x1002c04
je 0x1009fd5
mov eax, 0x1002dc8
push dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0x1003234
call fcn.0100d383
add esp, 0x10
mov dword [ebp - 0x414], 1
mov byte [0x101977a], 1
cmp edi, 0x103
je 0x100a011
cmp edi, ebx
jne 0x100a0b8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x100a0b8
cmp dword [ebp - 0x41c], ebx
jne 0x100a065
push ebx
lea ecx, [ebp - 0x3f0]
call fcn.01005bb5
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x3f4]
call fcn.01005c4a
pop ecx
pop ecx
mov byte [0x101977a], 1
lea ecx, [ebp - 0x3f0]
cmp dword [ebp - 0x414], ebx
jne 0x100a0c8
inc dword [ebp - 0x400]
mov dword [ebp - 0x404], esi
call fcn.01005bf7
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x400]
push dword [ebp - 0x3f4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x3f8], eax
cmp eax, ebx
je 0x1009efc
jmp 0x100a0cd
lea ecx, [ebp - 0x3f0]
call fcn.01005bf7
jmp 0x1009e97
call fcn.01005bf7
cmp dword [ebp - 0x3f8], 0x103
je 0x100a0e5
cmp dword [ebp - 0x3f8], ebx
jne 0x1009e97
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x3f4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1009e97
cmp dword [ebp - 0x420], ebx
jne 0x1009e95
push ebx
lea ecx, [ebp - 0x3f4]
call fcn.01005bb5
push dword [ebp - 0x410]
push dword [ebp - 0x3fc]
call fcn.01005c4a
pop ecx
pop ecx
mov byte [0x101977a], 1
jmp 0x1009e95