Function at 0x100e809
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
or dword [ebp - 0x20], 0xffffffff
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 8], ebx
call fcn.0100e0f2
push 0x10013e0
push ebx
push ebx
lea ecx, [ebp - 0x30]
call fcn.01002fee
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.01003038
xor edi, edi
inc edi
push edi
mov esi, 0x2001f
push esi
push 3
call fcn.0100b750
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x100ead7
push dword [ebp + 0x14]
push edi
push esi
push eax
call fcn.0100c677
cmp eax, ebx
mov dword [ebp + 0x14], eax
je 0x100eace
cmp dword [ebp + 0x18], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
je 0x100ea7e
mov dword [ebp - 0x14], edi
pop edi
push edi
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
push 0x10020c0
push eax
call esi
test eax, eax
jne 0x100eac5
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], ebx
jle 0x100e90d
mov eax, dword [ebp + 8]
add eax, 0x218
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push 0x2001f
add eax, 0xfffffde8
push eax
push dword [ebp + 0x14]
call fcn.0100b6c7
test eax, eax
jne 0x100eac5
push edi
push dword [ebp + 0x18]
push edi
push ebx
push 0x1001ed8
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp eax, ebx
je 0x100e8ef
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp + 0x18], 0x238
cmp eax, dword [ebp + 0xc]
jl 0x100e8b1
cmp dword [ebp + 0xc], ebx
je 0x100ea0b
mov eax, dword [ebp + 8]
add eax, 0x220
cmp dword [eax], 0xffffffff
je 0x100e92e
push edi
push eax
push edi
push ebx
push 0x10026a0
push dword [ebp + 0x14]
call esi
mov eax, dword [ebp + 8]
add eax, 0x224
cmp dword [eax], 0xffffffff
je 0x100e949
push edi
push eax
push edi
push ebx
push 0x10026c4
push dword [ebp + 0x14]
call esi
mov eax, dword [ebp + 8]
add eax, 0x228
cmp dword [eax], 0xffffffff
je 0x100e964
push edi
push eax
push edi
push ebx
push 0x10026e8
push dword [ebp + 0x14]
call esi
mov ecx, dword [ebp + 8]
add ecx, 0x21c
cmp dword [ecx], 0xffffffff
mov dword [ebp + 0xc], ecx
je 0x100e986
push edi
push ecx
push edi
push ebx
push 0x1002714
push dword [ebp + 0x14]
call esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x22c
cmp dword [eax], 0xffffffff
mov dword [ebp + 8], eax
je 0x100e9aa
push edi
push eax
push edi
push ebx
push 0x1002740
push dword [ebp + 0x14]
call esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
mov eax, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
jne 0x100e9e1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x10
push 0x1002714
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100e9e1
mov dword [ebp - 0x10], 0xf
cmp dword [ebp - 8], 0xffffffff
jne 0x100ea0b
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1002740
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100ea0b
mov dword [ebp - 8], ebx
push 1
push dword [ebp + 0x14]
call fcn.0100d1e9
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0x10
push 0x1001ed8
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100ea39
mov dword [ebp - 0x24], ebx
push dword [ebp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call fcn.0100d2fb
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x30]
call fcn.01003061
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.0100bdc5
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x30]
call fcn.01003013
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
pop edi
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0x10
push 0x10020c0
push ebx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100e89e
cmp dword [ebp - 0x14], ebx
je 0x100e89e
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0x30]
call fcn.01003061
jmp 0x100ea6a
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.01003061
jmp 0x100ea6d