Function at 0x411870
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x497d06
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x5bc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5cc]
push 0x208
push 0
push ebp
mov dword [esp + 0x28], ebp
call fcn.00479770
add esp, 0xc
lea esi, [esp + 0x58]
mov dword [esp + 0x18], 0
call fcn.00416920
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x411b17
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3b6]
push ecx
mov word [esp + 0x3b8], ax
call fcn.00479770
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 0x70], 8
mov dword [esp + 0x20], 0x104
jae 0x41191a
lea eax, [esp + 0x5c]
inc esi
push esi
push eax
lea edx, [esp + 0x3b4]
push 0x104
push edx
call fcn.00475b84
add esp, 0x10
xor edi, edi
cmp word [esp + 0x3ac], 0x22
jne 0x411944
mov edi, 1
lea eax, [esp + 0x3ac]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411950
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x411b17
lea ebx, [esp + esi*2 + 0x3a8]
push 3
push ebx
xor eax, eax
lea ecx, [esp + 0x1a4]
push 4
push ecx
mov word [esp + 0x1ac], ax
mov dword [esp + 0x1ae], eax
mov word [esp + 0x1b2], ax
call fcn.00475b84
lea eax, [esp + 0x1ac]
xor edx, edx
push 0x4b9b84
push eax
mov word [esp + 0x1ba], dx
call fcn.00475af1
add esp, 0x18
test eax, eax
je 0x4119cc
dec esi
sub ebx, 2
cmp esi, edi
jg 0x411971
jmp 0x411b17
push 0x208
lea ecx, [esp + 0x1a8]
push 0
push ecx
call fcn.00479770
add esp, 0xc
sub esi, edi
lea ebp, [esi + 1]
push ebp
lea edi, [esp + edi*2 + 0x3b0]
push edi
lea edx, [esp + 0x1ac]
push 0x104
push edx
call fcn.00475b84
add esp, 0x10
lea ecx, [esp + 0x74]
call fcn.00410770
lea eax, [esp + 0x1a4]
mov ecx, eax
mov dword [esp + 0x19c], eax
test ecx, ecx
jne 0x411a2e
mov dword [esp + 0x19c], 0x4b75b8
mov eax, dword [esp + 0x19c]
lea edx, [eax + 2]
jmp 0x411a40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411a40
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], eax
call fcn.00411640
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x411a76
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x19c]
lea edx, [ebx + ebx]
push edx
push ecx
add eax, 4
push eax
call fcn.004797f0
add esp, 0xc
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x411aa3
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x24]
push edx
add eax, 4
push eax
call fcn.0047728c
add esp, 8
test eax, eax
jne 0x411ade
test dword [esp + 0x2a], 0x4000
jne 0x411ade
mov eax, dword [esp + 0x1c]
push ebp
push edi
push 0x104
push eax
call fcn.00475b84
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x411b08
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x411b08
push eax
call fcn.00475125
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x1c]
jne 0x411bce
lea edx, [esp + 0x19c]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1b0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411bb1
push 0x206
push eax
lea ecx, [esp + 0x1ae]
push ecx
mov word [esp + 0x1b0], ax
call fcn.00479770
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1a0]
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411bb1
lea eax, [esp + 0x1a4]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.00476042
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x411bc3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x411c4e
push 0x4b8238
lea edi, [esp + 0x78]
call fcn.004108a0
push ebp
push 0x4b8ff4
mov edx, edi
call fcn.00410f90
push 0x4b8238
push 0x4b8ff4
mov edx, edi
call fcn.00410f90
add esp, 0x10
cmp byte [esp + 0x190], 0
lea eax, [esp + 0x80]
jne 0x411c12
mov eax, dword [esp + 0x7c]
add eax, 4
push eax
push 0x104
push ebp
call fcn.00476081
add esp, 0xc
cmp byte [esp + 0x190], 0
mov dword [esp + 0x74], vtable.t_str.0
jne 0x411c4e
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
je 0x411c4e
push eax
call fcn.00475125
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x411c62
mov edx, dword [esp + 0x5c]
push edx
call fcn.00474da5
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.00474db0
add esp, 0x5b4
ret