Function at 0x10021e6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb93d
mov eax, dword fs:[0]
push eax
mov eax, 0x37c0
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x3790], eax
mov dword [ebp - 0x3788], esi
mov dword [ebp - 0x378c], edi
lea eax, [ebp - 0x378c]
push eax
mov dword [ebp - 4], edi
call fcn.1002910d
mov eax, dword [ebp - 0x378c]
push edi
mov dword [ebp - 0x37a0], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
add esi, 0x44
call fcn.1000c309
mov esi, eax
call fcn.1000c33c
push eax
lea ebx, [ebp - 0x37a4]
call fcn.100164b7
lea edx, [ebp - 0x37a0]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x378c]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x37a4]
push eax
call dword [ecx + 0x104]
cmp word [ebp - 0x37a0], 0xffff
jne 0x10022798
xor ebx, ebx
mov dword [ebp - 0x379c], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x378c]
mov ecx, dword [eax]
lea edx, [ebp - 0x379c]
push edx
push eax
call dword [ecx + 0xb4]
push ecx
mov ecx, dword [ebp - 0x379c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x379c]
mov dword [ebp - 0x3784], esp
cmp eax, ebx
je 0x10021f6a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x377c]
push eax
call fcn.100165b0
sub esp, 0x1c
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x3784], esp
push 0x10109f10
call fcn.10008945
lea edx, [ebp - 0x36cc]
lea ecx, [ebp - 0x377c]
call fcn.10016cd0
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x3784], esp
push 0x1010986c
call fcn.10008945
lea eax, [ebp - 0x3540]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.configUri
call fcn.10008945
lea eax, [ebp - 0x3604]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.downloadUri
call fcn.10008945
lea eax, [ebp - 0x35b0]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.installParams
call fcn.10008945
lea eax, [ebp - 0x35cc]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 8
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.revision
call fcn.10008945
lea eax, [ebp - 0x355c]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 9
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.force
call fcn.10008945
lea eax, [ebp - 0x3674]
push eax
lea ecx, [ebp - 0x36cc]
call fcn.10016e1d
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.suggestions
call fcn.10008945
lea edx, [ebp - 0x3724]
lea ecx, [ebp - 0x36cc]
call fcn.10016cd0
sub esp, 0x1c
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.jsonUri
call fcn.10008945
lea eax, [ebp - 0x363c]
push eax
lea ecx, [ebp - 0x3724]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.xmlUri
call fcn.10008945
lea eax, [ebp - 0x3620]
push eax
lea ecx, [ebp - 0x3724]
call fcn.10016e1d
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov eax, esp
mov dword [ebp - 0x3784], esp
push str.state
call fcn.10008945
lea eax, [ebp - 0x3594]
push eax
lea ecx, [ebp - 0x3724]
call fcn.10016e1d
xor eax, eax
mov esi, 0x1048
mov byte [ebp - 4], 0xe
push esi
mov word [ebp - 0x1084], ax
lea eax, [ebp - 0x1082]
push ebx
push eax
mov byte [ebp - 0x377d], bl
call fcn.100c1480
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x20d4], ax
lea eax, [ebp - 0x20d2]
push ebx
push eax
call fcn.100c1480
add esp, 0xc
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
lea eax, [ebp - 0x3578]
call fcn.10008945
xor ebx, ebx
push 0x5c
inc ebx
lea esi, [ebp - 0x3578]
mov byte [ebp - 4], 0xf
call fcn.10014c1f
and dword [ebp - 0x35d4], 0
xor eax, eax
mov dword [ebp - 0x35d0], 7
mov word [ebp - 0x35e4], ax
lea ebx, [ebp - 0x35e8]
mov byte [ebp - 4], 0x10
call fcn.1004f2e5
push 0xffffffffffffffff
xor edi, edi
push edi
mov eax, ebx
call fcn.1000be6b
cmp dword [ebp - 0x3560], 8
mov eax, dword [ebp - 0x3574]
mov dword [ebp - 0x3798], edi
jae 0x10022204
lea eax, [ebp - 0x3574]
lea ecx, [ebp - 0x3798]
push ecx
push 0x20019
push edi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1002229d
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x3794]
push eax
lea eax, [ebp - 0x20d4]
push eax
lea eax, [ebp - 0x3784]
push eax
push edi
push str.SuggestionsURL_JSON
push dword [ebp - 0x3798]
mov dword [ebp - 0x3794], 0x104a
call esi
test eax, eax
je 0x10022261
xor eax, eax
mov word [ebp - 0x20d4], ax
lea eax, [ebp - 0x3794]
push eax
lea eax, [ebp - 0x1084]
push eax
lea eax, [ebp - 0x3784]
push eax
push edi
push str.SuggestionsURL
push dword [ebp - 0x3798]
call esi
test eax, eax
je 0x10022291
xor eax, eax
mov word [ebp - 0x1084], ax
push dword [ebp - 0x3798]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20d4]
push eax
lea esi, [ebp - 0x363c]
call fcn.10014cd0
mov ebx, str.Update
test eax, eax
je 0x100222e5
cmp dword [ebp - 0x3624], 8
mov eax, dword [ebp - 0x3638]
jae 0x100222cd
lea eax, [ebp - 0x3638]
push 1
push eax
push str.SuggestionsURL_JSON
push ebx
call fcn.10039999
add esp, 0x10
mov byte [ebp - 0x377d], 1
lea eax, [ebp - 0x1084]
push eax
lea esi, [ebp - 0x3620]
call fcn.10014cd0
test eax, eax
je 0x10022328
cmp dword [ebp - 0x3608], 8
mov eax, dword [ebp - 0x361c]
jae 0x10022310
lea eax, [ebp - 0x361c]
push 1
push eax
push str.SuggestionsURL
push ebx
call fcn.10039999
add esp, 0x10
mov byte [ebp - 0x377d], 1
cmp byte [ebp - 0x377d], 0
je 0x100223b5
cmp dword [ebp - 0x3580], edi
je 0x10022363
cmp dword [ebp - 0x357c], 8
mov eax, dword [ebp - 0x3590]
jae 0x10022352
lea eax, [ebp - 0x3590]
push 1
push eax
push str.SuggestionsState
push ebx
call fcn.10039999
add esp, 0x10
call fcn.1004f3d4
test eax, eax
je 0x100223b5
xor eax, eax
cmp dword [0x10136634], edi
mov dword [ebp - 0x37ac], edi
sete al
mov dword [ebp - 0x37a8], edi
mov dword [ebp - 0x37b0], 0x94
lea esi, [ebp - 0x37b0]
mov dword [0x10136634], eax
mov eax, dword [ebp - 0x3790]
push dword [eax + 4]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101365a0
movsd dword es:[edi], dword [esi]
call fcn.10039bc6
xor edi, edi
cmp dword [ebp - 0x352c], edi
je 0x100226c9
cmp dword [ebp - 0x3548], edi
je 0x100226c9
cmp dword [ebp - 0x35f0], edi
je 0x100226c9
cmp dword [ebp - 0x359c], edi
je 0x100226c9
cmp dword [ebp - 0x3544], 8
mov ecx, dword [ebp - 0x3558]
jae 0x100223fa
lea ecx, [ebp - 0x3558]
call fcn.1004ad02
test eax, eax
jne 0x100224af
push 0x10107cec
lea eax, [ebp - 0x30]
call fcn.10008945
push eax
lea eax, [ebp - 0x355c]
push eax
lea eax, [ebp - 0x37cc]
push eax
mov byte [ebp - 4], 0x11
call fcn.100160b5
add esp, 0xc
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x3788]
add ecx, 0x60
push ecx
push eax
lea eax, [ebp - 0x3658]
push eax
call fcn.100160b5
add esp, 0xc
push edi
push 1
lea esi, [ebp - 0x37cc]
call fcn.100016e6
push edi
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.100016e6
cmp dword [ebp - 0x3640], 8
mov ecx, dword [ebp - 0x3654]
jae 0x1002247f
lea ecx, [ebp - 0x3654]
cmp dword [ebp - 0x35ec], 8
mov eax, dword [ebp - 0x3600]
jae 0x10022494
lea eax, [ebp - 0x3600]
push ecx
push 4
push eax
call fcn.100497ae
push edi
push 1
lea esi, [ebp - 0x3658]
mov byte [ebp - 4], 0x10
call fcn.100016e6
cmp dword [ebp - 0x3528], 8
mov eax, dword [ebp - 0x353c]
jae 0x100224c4
lea eax, [ebp - 0x353c]
push eax
call fcn.1004ac6b
test eax, eax
jne 0x100226cf
push 0x144e
mov word [ebp - 0x3524], ax
lea eax, [ebp - 0x3522]
push edi
push eax
call fcn.100c1480
add esp, 0xc
push 0xa28
lea eax, [ebp - 0x3524]
push eax
push str.UpdatePath
push ebx
call fcn.100399f9
add esp, 0x10
test eax, eax
je 0x100225c9
cmp word [ebp - 0x3524], di
je 0x100225c9
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0x1010986c
push ebx
call fcn.100399f9
add esp, 0x10
test eax, eax
je 0x1002255a
cmp dword [ebp - 0x3528], 8
mov eax, dword [ebp - 0x353c]
jae 0x1002254a
lea eax, [ebp - 0x353c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004ab65
pop ecx
pop ecx
test eax, eax
je 0x100225c9
push 0xf003f
push 1
push ebx
mov dword [ebp - 0x3794], edi
call fcn.1005e769
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x100225a3
lea eax, [ebp - 0x3788]
push eax
lea eax, [ebp - 0x3794]
push eax
push edi
push edi
push str.LastError
push esi
mov dword [ebp - 0x3788], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call fcn.1005e854
pop ecx
mov eax, dword [ebp - 0x3794]
cmp eax, edi
je 0x100226cf
cmp eax, 1
jbe 0x100225c9
cmp eax, 5
jbe 0x100225c9
cmp eax, 0xc
je 0x100225c9
cmp eax, 0xd
je 0x100226cf
cmp dword [ebp - 0x35b8], edi
je 0x1002262e
cmp dword [ebp - 0x35b4], 8
mov eax, dword [ebp - 0x35c8]
jae 0x100225e6
lea eax, [ebp - 0x35c8]
mov ecx, dword [ebp - 0x3790]
mov ecx, dword [ecx + 0x1b8]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x1002260b
mov eax, dword [eax + 4]
jmp 0x1002260e
add eax, 4
push 1
push eax
push str.Params
push ebx
call fcn.10039999
add esp, 0x10
push edi
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.100016e6
push 0xf003f
push 1
push ebx
mov dword [ebp - 0x3790], edi
call fcn.1005e769
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x10022677
lea eax, [ebp - 0x3788]
push eax
lea eax, [ebp - 0x3790]
push eax
push edi
push edi
push str.InstallUser
push esi
mov dword [ebp - 0x3788], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call fcn.1005e854
pop ecx
cmp dword [ebp - 0x3790], 1
je 0x10022694
push 0x1010888c
lea esi, [ebp - 0x3674]
call fcn.10014cd0
test eax, eax
jne 0x100226cf
cmp dword [ebp - 0x3528], 8
mov ecx, dword [ebp - 0x353c]
jae 0x100226a9
lea ecx, [ebp - 0x353c]
cmp dword [ebp - 0x3598], 8
mov eax, dword [ebp - 0x35ac]
jae 0x100226be
lea eax, [ebp - 0x35ac]
push ecx
push 6
push eax
call fcn.100497ae
jmp 0x100226cf
mov dword [ebp - 0x37a0], edi
push edi
push 1
lea esi, [ebp - 0x35e8]
call fcn.100016e6
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [ebp - 0x3578]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x3594]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x3620]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x363c]
call fcn.100016e6
lea eax, [ebp - 0x3724]
call fcn.1001705e
push edi
push ebx
lea esi, [ebp - 0x3674]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x355c]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x35cc]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x35b0]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x3604]
call fcn.100016e6
push edi
push ebx
lea esi, [ebp - 0x3540]
call fcn.100016e6
lea eax, [ebp - 0x36cc]
call fcn.1001705e
lea eax, [ebp - 0x377c]
call fcn.1001705e
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x379c]
cmp eax, edi
je 0x1002279a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002279a
xor edi, edi
push dword [ebp - 0x37a4]
xor eax, eax
cmp word [ebp - 0x37a0], 0xffff
sete al
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x378c]
cmp eax, edi
je 0x100227c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bfae1
leave
ret 4