Function at 0x401b20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445acd
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x455638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x250]
mov esi, ecx
call fcn.00415d10
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x250]
cmp edi, ebx
jne 0x401b74
mov eax, 0xa0c80008
jmp 0x401f49
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], ax
mov dword [ebp - 0x254], ebx
mov ecx, esi
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.00415fd0
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
lea ecx, [ebp - 0x258]
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push SysReAllocString
mov dword [ebp - 0x258], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401d30
mov esi, dword [ebp - 0x258]
push 0x1fe
lea ecx, [ebp - 0x20e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], ebx
mov word [ebp - 0x210], ax
call fcn.0041eac0
add esp, 0xc
mov dword [ebp - 0x260], pe_nt_image_headers32
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 4], 4
jmp 0x401c30
lea edx, [ebp - 0x26c]
push edx
mov edx, dword [ebp - 0x25c]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x210]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x401e13
cmp eax, ebx
jne 0x401df8
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
push 0x44b4dc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x248]
push esi
push edx
xor ecx, ecx
mov byte [ebp - 4], 5
call fcn.0040c500
add esp, 0x10
test al, al
je 0x401ddc
cmp dword [ebp - 0x234], 8
mov ecx, dword [ebp - 0x248]
jae 0x401cc1
lea ecx, [ebp - 0x248]
call section..text
test al, al
je 0x401ddc
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x210]
mov ecx, edi
call fcn.00415dc0
add esp, 4
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x274]
cmp esi, ebx
je 0x401dcc
lea edx, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
push edx
push esi
call eax
test eax, eax
js 0x401dcc
cmp dword [ebp - 0x264], ebx
jne 0x401d96
mov edx, esi
mov ecx, edi
call fcn.00416120
jmp 0x401dcc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
cmp eax, ebx
je 0x401d46
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x218], 8
jb 0x401d5e
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0041d921
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x250]
xor edx, edx
mov word [ebp - 0x22c], dx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xa0c80009
jmp 0x401f49
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00401ff0
mov edi, dword [ebp - 0x24c]
cmp edi, esi
je 0x401dcc
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
cmp edi, ebx
je 0x401dc6
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x401ddc
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x401df8
mov edx, dword [ebp - 0x248]
push edx
call fcn.0041d921
add esp, 4
inc dword [ebp - 0x25c]
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x260], pe_nt_image_headers32
jmp 0x401c30
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24c], ebx
je 0x401ec8
mov esi, dword [ebp - 0x254]
cmp esi, ebx
je 0x401e52
call fcn.004160a0
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
setge al
cmp al, bl
jne 0x401ec8
lea ecx, [ebp - 0x270]
push ecx
mov edx, 0xf003f
mov eax, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
mov ecx, SysReAllocString
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
call fcn.00405ff0
cmp eax, ebx
jne 0x401ebb
cmp dword [ebp - 0x218], 8
mov ebx, dword [ebp - 0x22c]
jae 0x401e98
lea ebx, [ebp - 0x22c]
lea eax, [ebp - 0x270]
call fcn.00405ed0
push str.DefaultScope
lea edx, [ebp - 0x270]
push edx
mov esi, str.00000000_0000_0000_0000_000000000000
call fcn.00405c60
xor ebx, ebx
mov eax, dword [ebp - 0x270]
cmp eax, ebx
je 0x401ec8
push eax
call edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
je 0x401ede
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x258]
cmp eax, ebx
je 0x401eeb
push eax
call edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
cmp eax, ebx
je 0x401f01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x218], 8
jb 0x401f19
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0041d921
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x250]
xor ecx, ecx
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], cx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d92c
mov esp, ebp
pop ebp
ret