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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100c038]
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 OleBlockServer
mov dword [ebp - 0x10c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
je 0x1005907
lea eax, [ebp - 0x108]
push eax
push 0
push OleBlockServer
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005a1b
push esi
lea eax, [ebp - 0x84]
push eax
push 0x106
push dword [0x100d150]
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 OleBlockServer
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001685
push 0x1001518
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
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 OleBlockServer
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001685
push 0x10014f8
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
push esi
lea eax, [ebp - 0x104]
push eax
push 0x122
push dword [0x100d150]
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea eax, [ebp - 0x104]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
push OleBlockServer
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001685
push 0x10014d8
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
push esi
lea eax, [ebp - 0x104]
push eax
push 0x123
push dword [0x100d150]
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea eax, [ebp - 0x104]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
push OleBlockServer
call ebx
push edi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.01001685
push 0x10014d0
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
push 0x27
push str.0003000C_0000_0000_C000_000000000046
push 1
lea eax, [ebp - 0x84]
push eax
push OleBlockServer
call ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10014c8
push esi
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x10c], esi
call fcn.01001685
push str.0003000C_0000_0000_C000_000000000046
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
push OleBlockServer
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x1005a1b
lea eax, [ebp - 0x108]
push eax
push 0x10014c0
push OleBlockServer
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005a1b
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.01001685
push 0x10014b4
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
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.01001685
push 0x10014ac
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.010050f2
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.01002fb9
leave
ret