Function at 0x40e1e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1fb4]
mov eax, 0x2034
call fcn.00425f40
mov eax, dword [0x43931c]
xor eax, ebp
mov dword [ebp + 0x1fb0], eax
push esi
push edi
xor edi, edi
push 0x40
lea eax, [ebx + 0x10]
push edi
push eax
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
call fcn.0041b190
mov eax, dword [ebp + 0x1fbc]
mov eax, dword [eax + 0x50]
add esp, 0xc
mov dword [ebp - 0x80], 0x800
mov byte [ebp - 0x51], 0
cmp eax, 1
jne 0x40e23e
mov eax, str.SoftwareMacromediaFlashPlayerActiveX
jmp 0x40e258
cmp eax, 2
jne 0x40e24a
mov eax, str.SoftwareMacromediaFlashPlayerPlugin
jmp 0x40e258
cmp eax, 3
jne 0x40e411
mov eax, str.SoftwareMacromediaFlashPlayerPepper
lea ecx, [ebp - 0x64]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x64], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40e411
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xfb0]
push eax
push edi
push edi
push str.Version
push dword [ebp - 0x64]
call esi
mov dword [ebp - 0x68], eax
cmp eax, edi
jne 0x40e2c8
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
push edi
push str.isScriptDebugger
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], 4
call esi
test eax, eax
jne 0x40e2c8
cmp dword [ebp - 0x5c], edi
jbe 0x40e2c8
mov byte [ebp - 0x51], 1
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x68], edi
jne 0x40e411
cmp byte [ebp - 0x51], 0
jne 0x40e411
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5c], edi
xor edx, edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], edi
cmp dword [ebp - 0x60], 0x800
jae 0x40e3fa
lea eax, [ebp + 0xfb0]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x40e311
mov ecx, dword [ebp - 0x60]
sub eax, esi
sar eax, 1
cmp ecx, eax
jae 0x40e339
cmp word [ebp + ecx*2 + 0xfb0], 0x2e
je 0x40e339
inc dword [ebp - 0x58]
jmp 0x40e3d7
xor eax, eax
cmp edx, dword [ebp - 0x58]
jae 0x40e35c
mov eax, dword [ebp - 0x58]
sub eax, edx
mov ecx, eax
shr ecx, 1
lea esi, [ebp + edx*2 + 0xfb0]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
xor edi, edi
inc dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x7c], ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
mov eax, dword [ebp - 0x5c]
sub eax, edi
je 0x40e3bc
dec eax
je 0x40e3a8
dec eax
je 0x40e394
dec eax
jne 0x40e411
push 0xa
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00416082
mov dword [ebp - 0x6c], eax
jmp 0x40e3ce
push 0xa
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00416082
mov dword [ebp - 0x68], eax
jmp 0x40e3ce
push 0xa
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00416082
mov dword [ebp - 0x78], eax
jmp 0x40e3ce
push 0xa
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00416082
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x7c]
add esp, 0xc
inc dword [ebp - 0x5c]
inc dword [ebp - 0x60]
lea eax, [ebp + 0xfb0]
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x40e3e3
sub eax, esi
sar eax, 1
cmp dword [ebp - 0x60], eax
jbe 0x40e2fb
mov eax, dword [ebp - 0x74]
mov dword [ebx], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x1fb0]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.00414f70
add ebp, 0x1fb4
leave
ret 4