Function at 0x413480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca798
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x64d4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00520fa0
add esp, 0xc
lea ecx, [ebp - 0x23c]
push 0x20019
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00411400
mov esi, dword [ebp - 0x23c]
test eax, eax
jne 0x4135f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], 0x200
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push str.svcVersion
push esi
call edi
test eax, eax
jne 0x41356e
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x413553
cmp eax, 2
jne 0x41356e
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4135ca
test al, 1
jne 0x41356e
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x4135d3
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00520fa0
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 0x5e3af4
push esi
call edi
test eax, eax
jne 0x4135d3
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x4135c1
cmp eax, 2
jne 0x4135d3
cmp dword [ebp - 0x22c], 0
jne 0x4135d3
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x4135e6
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 0x413616
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00414260
push 0
push 0x5e3b04
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.004143b0
test eax, eax
jne 0x4136d0
call fcn.00408750
mov ecx, eax
test ecx, ecx
je 0x413820
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.00407b20
test al, al
jne 0x413699
push 0x19
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.00408f10
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push 0x2af9
push eax
call fcn.00413830
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 0x413795
push 0
push 0x5e3b40
lea ecx, [ebp - 0x228]
call fcn.004143b0
test eax, eax
jne 0x413701
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.004077f0
mov byte [ebp - 4], 4
push 0x2711
jmp 0x41376c
push 0
push 0x5e3b48
lea ecx, [ebp - 0x228]
call fcn.004143b0
test eax, eax
jne 0x41372d
push str.FEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x22c]
call fcn.004077f0
mov byte [ebp - 4], 5
jmp 0x413767
push 0
push 0x5e3b50
lea ecx, [ebp - 0x228]
call fcn.004143b0
lea ecx, [ebp - 0x22c]
push str.FEATURE_BROWSER_EMULATION
test eax, eax
jne 0x41375e
call fcn.004077f0
mov byte [ebp - 4], 6
push 0x22b8
jmp 0x41376c
call fcn.004077f0
mov byte [ebp - 4], 7
push 0x270f
lea eax, [ebp - 0x22c]
push eax
call fcn.00413830
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 0x41379f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x4137db
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4137d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41382a
push edx
push ecx
call fcn.00464da9
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 0x413803
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.00464d98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407b00
call fcn.0053c6d0
int3