Function at 0x10015600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d356
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x200
mov eax, dword [0x1002704c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.10014e60
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x148]
call fcn.10014050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.100051e0
test eax, eax
je 0x10015854
push 0x104
push 0
lea edx, [ebp - 0x118]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0x104
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
push str.MSIComponentID
lea ecx, [ebp - 0x148]
call fcn.100051e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x10015854
lea edx, [ebp - 0x118]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
jbe 0x10015854
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10014490
mov dword [ebp - 0x134], 0
lea ecx, [ebp - 0x134]
push ecx
push 0
push 0
push 0
push 0x10020330
lea ecx, [ebp - 0x148]
call fcn.100051e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x10015799
cmp dword [ebp - 0x134], 0
jbe 0x10015799
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.10018c40
push 0
mov ecx, dword [ebp + 0x10]
call fcn.1000c3f0
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x148]
call fcn.100051e0
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
push 0
push 0
push str.MSIApplicationLCID
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0x134]
push eax
push 0
push 0
push 0
push 0x10020358
lea ecx, [ebp - 0x148]
call fcn.100051e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x10015833
cmp dword [ebp - 0x134], 0
jbe 0x10015833
mov ecx, dword [ebp - 0x134]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.10018c40
push 0
mov ecx, dword [ebp + 0x14]
call fcn.1000c3f0
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x148]
call fcn.100051e0
mov dword [ebp - 0x160], eax
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x15c]
push eax
push 0
push 0
push str.MSIOfficeLCID
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov byte [ebp - 0x135], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.10014360
mov al, byte [ebp - 0x135]
jmp 0x10015967
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.10014360
jmp 0x10015955
mov dword [ebp - 4], 0xffffffff
jmp 0x10015965
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10018f68
mov esp, ebp
pop ebp
ret 0x10