Function at 0x100572c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100c058]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x84]
push eax
mov edi, str.Package
push edi
mov esi, 0x80
push OleLoadFromStream
mov dword [ebp - 0x10c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
je 0x10058f6
lea eax, [ebp - 0x108]
push eax
push 0
push OleLoadFromStream
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005a0a
push esi
lea eax, [ebp - 0x84]
push eax
push 0x106
push dword [0x100ce50]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x84]
push eax
push 1
push edi
push OleLoadFromStream
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x1001500
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push str.packager.exe
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.packager.exe
push 1
lea eax, [ebp - 0x84]
push eax
push OleLoadFromStream
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x10014e0
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push esi
lea eax, [ebp - 0x104]
push eax
push 0x122
push dword [0x100ce50]
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea eax, [ebp - 0x104]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
push OleLoadFromStream
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x10014c0
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push esi
lea eax, [ebp - 0x104]
push eax
push 0x123
push dword [0x100ce50]
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea eax, [ebp - 0x104]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
push OleLoadFromStream
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x10014b8
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push 0x27
push str.0003000C_0000_0000_C000_000000000046
push 1
lea eax, [ebp - 0x84]
push eax
push OleLoadFromStream
call ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10014b0
push esi
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x10c], esi
call fcn.01001665
push str.0003000C_0000_0000_C000_000000000046
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
push OleLoadFromStream
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x1005a0a
lea eax, [ebp - 0x108]
push eax
push 0x10014a8
push OleLoadFromStream
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005a0a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push str.0003000C_0000_0000_C000_000000000046
push dword [ebp - 0x108]
call ebx
push str.0003000C_0000_0000_C000_000000000046
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x100149c
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x108]
call ebx
push str.0003000C_0000_0000_C000_000000000046
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001665
push 0x1001494
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050e2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x108]
call ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002f99
leave
ret