Function at 0x4b3d10
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 + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4b3d54
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 + 0x3c]
add esp, 4
dec ecx
cmp esi, edi
mov dword [ebx + 0x3c], ecx
jne 0x4b3d2d
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 0x20119
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 0x4b3db1
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 0x4b4435
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x20119
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 0x4b440c
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 0x4b3e87
cmp dword [esp + 0x10], ebx
jbe 0x4b3e87
cmp byte [esp + 0x34], 1
jne 0x4b3e87
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 0x4b3ed7
cmp dword [esp + 0x10], ebx
jbe 0x4b3ed7
lea edx, [esp + 0x34]
push 0x5687b8
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b3ed7
mov eax, dword [esp + 0x14]
push eax
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b440c
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 0x4b3f2e
cmp dword [esp + 0x10], ebx
jbe 0x4b3f2e
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 0x4b3fd5
cmp dword [esp + 0x10], ebx
jbe 0x4b3fd5
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 0x4b3fea
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b440c
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 0x4b402b
lea eax, [esp + 0x34]
push eax
push 0x56877c
call esi
add esp, 8
test eax, eax
je 0x4b402b
cmp dword [esp + 0x30], ebx
je 0x4b402b
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b440c
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 0x4b40d7
cmp dword [esp + 0x10], ebx
jbe 0x4b40d7
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 0x4b410f
cmp byte [esp + 0x34], bl
jne 0x4b4153
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea eax, [esp + 0x4bc]
push 0x562218
push eax
call esi
test eax, eax
je 0x4b4153
lea ecx, [esp + 0x4bc]
push 0x562214
push ecx
call esi
test eax, eax
je 0x4b4153
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 0x4b41c9
cmp dword [esp + 0x10], ebx
jbe 0x4b41c9
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 0x4b421f
cmp dword [esp + 0x10], ebx
jbe 0x4b421f
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 0x4b4275
cmp dword [esp + 0x10], ebx
jbe 0x4b4275
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 0x4b42cb
cmp dword [esp + 0x10], ebx
jbe 0x4b42cb
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 0x4b4326
mov esi, SysReAllocString
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2b4]
push ecx
push 0x20119
push ebx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b439a
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 0x4b438c
cmp dword [esp + 0x24], esi
jne 0x4b438c
cmp dword [esp + 0x10f0], esi
jne 0x4b438c
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
mov dword [esp + 0x1484], 0x100
je 0x4b440c
mov eax, dword [esp + 0x1c]
push 0x10d8
mov esi, dword [eax + 0x38]
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x4b43dd
mov ecx, eax
cmp edi, ebx
mov dword [eax], ecx
jne 0x4b43e5
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 0x4b4405
mov ecx, 0x434
lea esi, [esp + 0x3b8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x3c]
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 0x4b3e00
mov edx, dword [esp + 0x18]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x138]
push eax
push 0x20119
push ebx
push ecx
push SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b4472
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 0x4b4ac0
jmp 0x4b44b9
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x20119
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 0x4b4a97
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 0x4b453b
cmp dword [esp + 0x10], ebx
jbe 0x4b453b
mov edx, dword [esp + 0x14]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b4a97
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 0x4b458b
cmp dword [esp + 0x10], ebx
jbe 0x4b458b
lea eax, [esp + 0x34]
push 0x5687b8
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b458b
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b4a97
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 0x4b4635
cmp dword [esp + 0x10], ebx
jbe 0x4b4635
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 0x4b468f
cmp dword [esp + 0x10], ebx
jbe 0x4b468f
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 0x4b46a4
mov ecx, dword [esp + 0x14]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
jmp 0x4b4a97
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 0x4b4754
cmp dword [esp + 0x10], ebx
jbe 0x4b4754
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 0x4b478a
cmp byte [esp + 0x34], bl
jne 0x4b47ce
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea eax, [esp + 0x4bc]
push 0x562218
push eax
call esi
test eax, eax
je 0x4b47ce
lea ecx, [esp + 0x4bc]
push 0x562214
push ecx
call esi
test eax, eax
je 0x4b47ce
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 0x4b4848
cmp dword [esp + 0x10], ebx
jbe 0x4b4848
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 0x4b48a2
cmp dword [esp + 0x10], ebx
jbe 0x4b48a2
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 0x4b48fc
cmp dword [esp + 0x10], ebx
jbe 0x4b48fc
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 0x4b4956
cmp dword [esp + 0x10], ebx
jbe 0x4b4956
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 0x4b49b3
mov esi, SysReAllocString
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2b4]
push ecx
push 0x20119
push ebx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b4a29
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 0x4b4a1b
cmp dword [esp + 0x24], esi
jne 0x4b4a1b
cmp dword [esp + 0x10f0], esi
jne 0x4b4a1b
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
mov dword [esp + 0x1484], 0x100
je 0x4b4a97
mov ebp, dword [esp + 0x1c]
push 0x10d8
mov esi, dword [ebp + 0x38]
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x4b4a6c
mov ecx, eax
cmp edi, ebx
mov dword [eax], ecx
jne 0x4b4a74
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 0x4b4a94
mov ecx, 0x434
lea esi, [esp + 0x3b8]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x3c]
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 0x4b44b3
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