Function at 0x10020b40
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100684e6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1007a200]
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
mov ebx, ecx
mov eax, 7
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x24c], cx
mov dword [ebp - 4], esi
xor edx, edx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], dx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
mov byte [ebp - 4], 1
push ecx
mov word [ebp - 0x218], ax
call fcn.10049f60
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
push str.HARDWAREACPIDSDTVBox__
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x254], 0x208
mov dword [ebx], esi
mov dword [ebp - 0x260], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10020c09
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebx], 1
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x258]
push eax
push str.Identifier
push str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x10020c87
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10020c42
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
mov eax, dword [ebp - 0x220]
push str.Virtual_HD
mov edi, 0xa
mov ecx, esi
call fcn.10003e80
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10020c87
or dword [ebx], 1
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x258]
push eax
push str.InstallPath
push str.SOFTWAREVMware__Inc.VMware_Workstation_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x254], 0x208
call edi
test eax, eax
jne 0x10020d4d
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
shr ecx, 1
xor edx, edx
push eax
mov word [ebp + ecx*2 - 0x218], dx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10020d4d
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x10020cf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10020cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
push str._vmware.exe
mov eax, 0xb
mov edx, esi
call fcn.100095e0
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x10020d37
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x250]
push edx
call fcn.1001f200
add esp, 4
test eax, eax
je 0x10020d4d
or dword [ebx], 1
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x258]
push edx
push str.InstallDir
push str.SOFTWAREOracleVirtualBox
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x254], 0x208
call edi
test eax, eax
jne 0x10020e0e
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x218]
shr eax, 1
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x218], cx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10020e0e
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10020db1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
push str.VBoxSVC.exe
mov eax, 0xc
mov edx, esi
call fcn.100095e0
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x10020df8
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x250]
push eax
call fcn.1001f200
add esp, 4
test eax, eax
je 0x10020e0e
or dword [ebx], 1
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x258]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWireshark.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x254], 0x208
call edi
test eax, eax
jne 0x10020ebc
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
shr ecx, 1
xor edx, edx
push eax
mov word [ebp + ecx*2 - 0x218], dx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10020ebc
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x10020e70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10020e70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x10020ea6
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x250]
push edx
call fcn.1001f200
add esp, 4
test eax, eax
je 0x10020ebc
or dword [ebx], 2
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x258]
push edx
push str.CurrentInstallFolder
push str.SOFTWAREMicrosoftMicrosoft_SDKsWindows
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x254], 0x208
call edi
test eax, eax
jne 0x10020f7d
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x218]
shr eax, 1
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x218], cx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10020f7d
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10020f20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
push str.BInBind.Exe
mov eax, 0xd
mov edx, esi
call fcn.100095e0
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x10020f67
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x250]
push eax
call fcn.1001f200
add esp, 4
test eax, eax
je 0x10020f7d
or dword [ebx], 2
push str.Editor
push str.SoftwareHex_RaysIDA
lea ebx, [ebp - 0x254]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], 0x208
call fcn.100209d0
mov esi, dword [ebp - 0x25c]
add esp, 8
test eax, eax
je 0x10020fb8
or dword [esi], 8
push str.LoadPlugins
mov edi, 0x208
push str.SoftwarePEiD
lea ebx, [ebp - 0x254]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], edi
call fcn.100209d0
add esp, 8
test eax, eax
je 0x10020fee
or dword [esi], 8
push str.AdvancedMode
push str.SoftwareSysinternalsProcess_Monitor
lea ebx, [ebp - 0x254]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], edi
call fcn.100209d0
add esp, 8
test eax, eax
je 0x1002101f
or dword [esi], 4
push str.EulaAccepted
push str.SoftwareSysinternalsDbgView
lea ebx, [ebp - 0x254]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], edi
call fcn.100209d0
add esp, 8
test eax, eax
je 0x10021050
or dword [esi], 4
mov esi, 8
cmp dword [ebp - 0x21c], esi
jb 0x1002106c
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.10047382
add esp, 4
xor edx, edx
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], dx
cmp dword [ebp - 0x238], esi
jb 0x100210a0
mov eax, dword [ebp - 0x24c]
push eax
call fcn.10047382
add esp, 4
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.1004738d
mov esp, ebp
pop ebp
ret