Function at 0x4b5330
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1478
call fcn.004c79b0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov edi, dword [ebx + 0x20]
mov esi, dword [edi]
cmp esi, edi
je 0x4b5374
mov eax, esi
mov esi, dword [esi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebx + 0x24]
add esp, 4
dec ecx
cmp esi, edi
mov dword [ebx + 0x24], ecx
jne 0x4b534d
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea edi, [esp + 0x138]
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x5687ec
lea edi, [esp + 0x270]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
lea ecx, [esp + 0x140]
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b53d1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1478
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x16d]
mov byte [esp + 0x16c], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ebx
stosw word es:[edi], ax
push ebx
push ebx
stosb byte es:[edi], al
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x17c]
push edx
push eax
push ebx
push ecx
xor esi, esi
mov dword [esp + 0x48], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5a4a
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x20019
lea eax, [esp + 0x174]
push ebx
inc esi
push eax
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b5a21
mov ecx, 0x40
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x14]
push edx
stosb byte es:[edi], al
lea eax, [esp + 0x38]
mov esi, 4
push eax
push ebx
push ebx
push 0x568704
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x4b54a7
cmp dword [esp + 0x10], ebx
jbe 0x4b54a7
cmp byte [esp + 0x34], 1
jne 0x4b54a7
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
push ebx
push ebx
push 0x5687c8
push ecx
mov dword [esp + 0x28], 0x104
call ebp
test eax, eax
jne 0x4b54f7
cmp dword [esp + 0x10], ebx
jbe 0x4b54f7
lea edx, [esp + 0x34]
push 0x5687b8
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b54f7
mov eax, dword [esp + 0x14]
push eax
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b5a21
mov ecx, 0x434
xor eax, eax
lea edi, [esp + 0x3b8]
mov dword [esp + 0x1484], ebx
mov dword [esp + 0x147c], ebx
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push ebx
push str.WindowsInstaller
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x4b554e
cmp dword [esp + 0x10], ebx
jbe 0x4b554e
mov al, byte [esp + 0x34]
xor ecx, ecx
cmp al, 1
sete cl
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x3b8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
push ecx
push edx
push 0x5601b4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x5687ac
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b55f5
cmp dword [esp + 0x10], ebx
jbe 0x4b55f5
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [esp + 0x34], bl
jne 0x4b560a
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b5a21
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea edx, [esp + 0x34]
push edx
push 0x568790
call esi
add esp, 8
test eax, eax
je 0x4b564b
lea eax, [esp + 0x34]
push eax
push 0x56877c
call esi
add esp, 8
test eax, eax
je 0x4b564b
cmp dword [esp + 0x30], ebx
je 0x4b564b
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b5a21
lea edx, [esp + 0x5c0]
push edx
call fcn.004b3450
mov esi, dword [esp + 0x20]
add esp, 4
lea eax, [esp + 0x5c0]
lea ecx, [esp + 0x5c0]
push 0x562af8
push 0x5687a8
push eax
push ecx
mov ecx, esi
call fcn.004b2680
push 0x562af8
lea edx, [esp + 0x5c4]
push 0x560528
lea eax, [esp + 0x5c8]
push edx
push eax
mov ecx, esi
call fcn.004b2680
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x56876c
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b56f7
cmp dword [esp + 0x10], ebx
jbe 0x4b56f7
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x24], ebx
jne 0x4b572f
cmp byte [esp + 0x34], bl
jne 0x4b5773
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea eax, [esp + 0x4bc]
push 0x562218
push eax
call esi
test eax, eax
je 0x4b5773
lea ecx, [esp + 0x4bc]
push 0x562214
push ecx
call esi
test eax, eax
je 0x4b5773
mov edi, 0x56875c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x26
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7cc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c0]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
lea eax, [esp + 0x7c8]
lea ecx, [esp + 0x5c0]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004b23a0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8cc], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
push ebx
push ebx
push 0x56874c
push ecx
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b57e9
cmp dword [esp + 0x10], ebx
jbe 0x4b57e9
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568740
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b583f
cmp dword [esp + 0x10], ebx
jbe 0x4b583f
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568734
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b5895
cmp dword [esp + 0x10], ebx
jbe 0x4b5895
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568724
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call ebp
test eax, eax
jne 0x4b58eb
cmp dword [esp + 0x10], ebx
jbe 0x4b58eb
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xad8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2b5]
mov byte [esp + 0x2b4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x16c]
lea edx, [esp + 0x270]
stosb byte es:[edi], al
push ecx
push edx
lea eax, [esp + 0x2bc]
push 0x5601b4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x20], ebx
mov esi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b2360
test eax, eax
je 0x4b5946
mov esi, SysReAllocString
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2b4]
push ecx
push 0x20019
push ebx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b59ba
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10f0]
push eax
push ecx
push ebx
push ebx
mov esi, 0x228
push 0x568714
push edx
mov dword [esp + 0x3c], esi
call ebp
test eax, eax
jne 0x4b59ac
cmp dword [esp + 0x24], esi
jne 0x4b59ac
cmp dword [esp + 0x10f0], esi
jne 0x4b59ac
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3b8]
push eax
call fcn.004b2490
mov ecx, dword [esp + 0x20]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x14]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
mov al, byte [esp + 0x5c0]
mov dword [esp + 0x14], ebx
cmp al, bl
je 0x4b5a21
mov eax, dword [esp + 0x1c]
push 0x10d8
mov esi, dword [eax + 0x20]
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x4b59f2
mov ecx, eax
cmp edi, ebx
mov dword [eax], ecx
jne 0x4b59fa
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edi, [eax + 8]
cmp edi, ebx
mov dword [ecx], eax
je 0x4b5a1a
mov ecx, 0x434
lea esi, [esp + 0x3b8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x24]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x17c]
push edx
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4b5420
mov edx, dword [esp + 0x18]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x138]
push eax
push 0x20019
push ebx
push ecx
push SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5a87
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1478
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x16c]
push ebx
push ebx
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x17c]
push edx
push eax
push ebx
push ecx
xor esi, esi
mov dword [esp + 0x48], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4b60ca
jmp 0x4b5ace
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x20019
lea eax, [esp + 0x174]
push ebx
inc esi
push eax
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b60a1
mov ecx, 0x40
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x14]
push edx
stosb byte es:[edi], al
lea eax, [esp + 0x38]
mov dword [esp + 0x14], 4
push eax
push ebx
push ebx
push 0x568704
push ecx
call ebp
test eax, eax
jne 0x4b5b50
cmp dword [esp + 0x10], ebx
jbe 0x4b5b50
mov edx, dword [esp + 0x14]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b60a1
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push ecx
push ebx
push ebx
push 0x5687c8
push edx
mov dword [esp + 0x28], 0x104
call ebp
test eax, eax
jne 0x4b5ba0
cmp dword [esp + 0x10], ebx
jbe 0x4b5ba0
lea eax, [esp + 0x34]
push 0x5687b8
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b5ba0
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b60a1
mov ecx, 0x434
xor eax, eax
lea edi, [esp + 0x3b8]
mov dword [esp + 0x1484], ebx
mov dword [esp + 0x147c], ebx
lea edx, [esp + 0x4bc]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x3b8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
push ecx
push edx
push 0x5601b4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push str.WindowsInstaller
push eax
xor ebp, ebp
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5c4a
cmp dword [esp + 0x10], ebx
jbe 0x4b5c4a
mov al, byte [esp + 0x34]
xor ecx, ecx
cmp al, 1
sete cl
mov ebp, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
push ebx
push ebx
push 0x5687ac
push ecx
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5ca4
cmp dword [esp + 0x10], ebx
jbe 0x4b5ca4
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [esp + 0x34], bl
jne 0x4b5cb9
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b60a1
lea edx, [esp + 0x5c0]
push edx
call fcn.004b3450
mov esi, dword [esp + 0x20]
add esp, 4
lea eax, [esp + 0x5c0]
lea ecx, [esp + 0x5c0]
push 0x562af8
push 0x5687a8
push eax
push ecx
mov ecx, esi
call fcn.004b2680
push 0x562af8
lea edx, [esp + 0x5c4]
push 0x560528
lea eax, [esp + 0x5c8]
push edx
push eax
mov ecx, esi
call fcn.004b2680
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x56876c
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5d69
cmp dword [esp + 0x10], ebx
jbe 0x4b5d69
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, ebx
jne 0x4b5d9f
cmp byte [esp + 0x34], bl
jne 0x4b5de3
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea eax, [esp + 0x4bc]
push 0x562218
push eax
call esi
test eax, eax
je 0x4b5de3
lea ecx, [esp + 0x4bc]
push 0x562214
push ecx
call esi
test eax, eax
je 0x4b5de3
mov edi, 0x56875c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x26
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7cc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c0]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
lea eax, [esp + 0x7c8]
lea ecx, [esp + 0x5c0]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004b23a0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8cc], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
push ebx
push ebx
push 0x56874c
push ecx
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5e5d
cmp dword [esp + 0x10], ebx
jbe 0x4b5e5d
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568740
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5eb7
cmp dword [esp + 0x10], ebx
jbe 0x4b5eb7
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568734
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5f11
cmp dword [esp + 0x10], ebx
jbe 0x4b5f11
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push ebx
push 0x568724
push eax
mov dword [esp + 0x28], 0x104
mov byte [esp + 0x4c], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b5f6b
cmp dword [esp + 0x10], ebx
jbe 0x4b5f6b
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xad8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2b5]
mov byte [esp + 0x2b4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x16c]
lea edx, [esp + 0x270]
stosb byte es:[edi], al
push ecx
push edx
lea eax, [esp + 0x2bc]
push 0x5601b4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov ecx, edi
mov dword [esp + 0x20], ebx
mov esi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b2360
test eax, eax
je 0x4b5fc8
mov esi, SysReAllocString
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2b4]
push ecx
push 0x20019
push ebx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b603e
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10f0]
push eax
push ecx
push ebx
push ebx
mov esi, 0x228
push 0x568714
push edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b6030
cmp dword [esp + 0x24], esi
jne 0x4b6030
cmp dword [esp + 0x10f0], esi
jne 0x4b6030
lea eax, [esp + 0x3b8]
mov ecx, edi
push eax
call fcn.004b2490
mov ecx, dword [esp + 0x20]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x14]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
mov al, byte [esp + 0x5c0]
mov dword [esp + 0x14], ebx
cmp al, bl
je 0x4b60a1
mov ebp, dword [esp + 0x1c]
push 0x10d8
mov esi, dword [ebp + 0x20]
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x4b6076
mov ecx, eax
cmp edi, ebx
mov dword [eax], ecx
jne 0x4b607e
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edi, [eax + 8]
cmp edi, ebx
mov dword [ecx], eax
je 0x4b609e
mov ecx, 0x434
lea esi, [esp + 0x3b8]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x24]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x17c]
push edx
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4b5ac8
mov edx, dword [esp + 0x18]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1478
ret