Function at 0x40ee20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x55758c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00492e60
add esp, 0xc
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ef90
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x22c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x200
push eax
push 0
push str.svcVersion
push esi
call edi
test eax, eax
jne 0x40ef0e
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x40eef3
cmp eax, 2
jne 0x40ef0e
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x40ef6a
test al, 1
jne 0x40ef0e
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x40ef73
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00492e60
add esp, 0xc
mov dword [ebp - 0x22c], 0x200
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x51a6e4
push esi
call edi
test eax, eax
jne 0x40ef73
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x40ef61
cmp eax, 2
jne 0x40ef73
cmp dword [ebp - 0x22c], 0
jne 0x40ef73
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x40ef86
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40efb6
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0040fb60
push 0
push 0x51a6f4
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.0040fcb0
test eax, eax
jne 0x40f070
call fcn.00404f90
mov ecx, eax
test ecx, ecx
je 0x40f1c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.00404360
test al, al
jne 0x40f039
push 0x19
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.00405750
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push 0x2af9
push eax
call fcn.0040f1d0
mov edx, dword [ebp - 0x22c]
add esp, 8
mov edi, eax
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jmp 0x40f135
push 0
push 0x51a730
lea ecx, [ebp - 0x228]
call fcn.0040fcb0
test eax, eax
jne 0x40f0a1
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.00404030
mov byte [ebp - 4], 4
push 0x2711
jmp 0x40f10c
push 0
push 0x51a738
lea ecx, [ebp - 0x228]
call fcn.0040fcb0
test eax, eax
jne 0x40f0cd
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.00404030
mov byte [ebp - 4], 5
jmp 0x40f107
push 0
push 0x51a740
lea ecx, [ebp - 0x228]
call fcn.0040fcb0
lea ecx, [ebp - 0x22c]
push str.FEATURE_BROWSER_EMULATION
test eax, eax
jne 0x40f0fe
call fcn.00404030
mov byte [ebp - 4], 6
push 0x22b8
jmp 0x40f10c
call fcn.00404030
mov byte [ebp - 4], 7
push 0x270f
lea eax, [ebp - 0x22c]
push eax
call fcn.0040f1d0
mov edx, dword [ebp - 0x22c]
mov edi, eax
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
add esp, 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f13f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x40f17b
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f171
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f1ca
push edx
push ecx
call fcn.00464289
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
test esi, esi
je 0x40f1a3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464278
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404340
call fcn.004ae590
int3