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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7beb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100fb074]
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 edi, edx
mov dword [ebp - 0x434], edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x414], 7
xor eax, eax
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
mov word [ebp - 0x428], ax
push 0x40
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], eax
call fcn.100029a0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002423
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x428]
call fcn.100029a0
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x42c]
push ecx
push 0x109
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100024f9
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.100b7060
add esp, 0xc
mov dword [ebp - 0x438], 0x200
lea eax, [ebp - 0x438]
mov dword [ebp - 0x430], 1
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100024e4
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, 1
cmovne esi, eax
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x100024f1
push eax
call edi
test esi, esi
jne 0x100025fb
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
mov dword [ebp - 0x418], 0
cmovae eax, dword [ebp - 0x428]
xor ecx, ecx
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov word [eax], cx
lea ecx, [ebp - 0x428]
call fcn.100029a0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002533
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x428]
call fcn.100029a0
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x42c]
push ecx
push 0x109
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push 0
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100025fb
push 0x400
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.100b7060
add esp, 0xc
mov dword [ebp - 0x434], 0x200
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 1
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100025ee
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, 1
cmovne esi, eax
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x100025fb
push eax
call edi
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x10002637
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000262d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002655
push edx
push ecx
call fcn.100b4813
add esp, 8
mov eax, esi
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.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
int3