Function at 0x106d93c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push 0x102f500
push dword [0x10b247c]
push dword [0x10b2478]
call dword [sym.imp.ADVAPI32.dll_EventEnabled]
test al, al
je 0x106dbfb
push ebx
push edi
push 1
xor edi, edi
push edi
push 0x10153f0
push 1
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_635]
push 4
mov dword [ebp - 0x10], eax
pop ebx
cmp eax, edi
je 0x106dbc1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
push 0x106dd88
push eax
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106d9b1
inc eax
cmp dword [ebp - 0xc], eax
jne 0x106d9b1
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dd68
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106d9d5
cmp dword [ebp - 0xc], edi
jne 0x106d9d5
or dword [ebp - 4], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dd3c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106d9fa
cmp dword [ebp - 0xc], 1
jne 0x106d9fa
or dword [ebp - 4], 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dd1c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106da1f
cmp dword [ebp - 0xc], 1
jne 0x106da1f
or dword [ebp - 4], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dd0c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106da44
cmp dword [ebp - 0xc], 2
jne 0x106da44
or dword [ebp - 4], 0x20
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dcf4
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106da69
cmp dword [ebp - 0xc], 1
jne 0x106da69
or dword [ebp - 4], 0x40
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dcd0
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106da90
cmp dword [ebp - 0xc], edi
jne 0x106da90
or dword [ebp - 4], 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dcac
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106dab8
cmp dword [ebp - 0xc], 2
jne 0x106dab8
or dword [ebp - 4], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc9c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106dae0
cmp dword [ebp - 0xc], 1
jne 0x106dae0
or dword [ebp - 4], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc7c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106db08
cmp dword [ebp - 0xc], 1
jne 0x106db08
or dword [ebp - 4], 0x800
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc60
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106db30
cmp dword [ebp - 0xc], 1
jne 0x106db30
or dword [ebp - 4], 0x1000
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc40
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106db58
cmp dword [ebp - 0xc], 1
jne 0x106db58
or dword [ebp - 4], 0x2000
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc20
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x106db80
cmp dword [ebp - 0xc], 1
jne 0x106db80
or dword [ebp - 4], 0x4000
push 0x106dd98
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x106dbb0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x106dc00
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x106dbb7
cmp dword [ebp - 0xc], 1
jne 0x106dbb7
or dword [ebp - 4], 0x10000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x30], edi
push eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
push 0x80
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
test byte [ebp - 0x30], 0x20
je 0x106dbe7
or dword [ebp - 4], ebx
push dword [ebp - 4]
push 0x244
push 0x102f500
call fcn.0101588e
pop edi
pop ebx
leave
ret