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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x100700c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x830], ebx
call fcn.01002275
test eax, eax
jge 0x10042d8
push 0x408
call fcn.0100292f
pop ecx
jmp 0x10044eb
push 0x1001c98
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010028f6
test eax, eax
jl 0x10042c8
cmp dword [0x1007224], ebx
je 0x1004303
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.01002fc0
cmp dword [ebp + 0x10], ebx
mov eax, 0x1001d50
jne 0x1004312
mov eax, 0x100130c
push edi
push 0x1001cc8
push eax
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.010028c8
add esp, 0x14
test eax, eax
jge 0x1004341
push 0x408
call fcn.0100292f
pop ecx
jmp 0x10044e1
lea eax, [ebp - 0x828]
push eax
call fcn.010023ea
or eax, 0xf003f
push eax
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1004375
cmp eax, 5
jne 0x10044e1
jmp 0x1004393
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x828]
call edi
cmp eax, ebx
je 0x1004406
cmp eax, 5
jne 0x100439d
push 0x3f5
jmp 0x10042cd
cmp eax, 2
jne 0x10043e7
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x824]
push eax
call fcn.01002275
test eax, eax
jl 0x10042c8
push 0x1001c98
push esi
lea eax, [ebp - 0x824]
push eax
call fcn.010028f6
test eax, eax
jl 0x10042c8
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x828]
call edi
cmp eax, ebx
je 0x1004406
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x3f8
call fcn.0100292f
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x830]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x830], ebx
jne 0x10044e1
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x828], ebx
mov eax, 0x1001d74
jne 0x1004450
mov eax, 0x1001d6c
push 0x1001cc8
push eax
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.010028c8
add esp, 0x10
test eax, eax
jl 0x1004331
lea eax, [ebp - 0x828]
push eax
call fcn.010023ea
or eax, 0x20006
push eax
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10044b2
lea eax, [ebp - 0x61c]
push eax
push 0x3f6
call fcn.0100292f
pop ecx
jmp 0x100433b
push dword [ebp - 0x834]
push dword [ebp - 0x828]
call fcn.01002594
test eax, eax
je 0x10044e1
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x834]
push 0x3f7
call fcn.0100292f
add esp, 0xc
mov dword [ebp - 0x82c], 1
cmp dword [ebp - 0x828], ebx
pop edi
pop esi
pop ebx
je 0x1004502
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x82c]
call fcn.01005b2e
leave
ret 0xc