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

Disassembly:
push 0xffffffffffffffff
push 0x52195f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
push ebx
mov ebx, dword [esp + 0x674]
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x678]
push edi
push eax
xor esi, esi
push ebx
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43d002
mov ecx, 0x40
lea edi, [esp + 0x25d]
mov byte [esp + 0x25c], al
mov byte [esp + 0x360], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x361]
mov edx, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
stosb byte es:[edi], al
lea edx, [esp + 0x50]
lea eax, [esp + 0x360]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x58]
push esi
lea eax, [esp + 0x26c]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x43cff0
cmp dword [ebp + 0xb0], esi
jne 0x43cff0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x25c]
push edx
call edi
test eax, eax
jle 0x43cf88
mov eax, dword [esp + 0x2c]
cmp eax, 1
je 0x43cd24
cmp eax, 2
jne 0x43cf88
cmp dword [esp + 0x4c], esi
jne 0x43cd34
cmp dword [esp + 0x50], esi
je 0x43cf88
push str.rem
call edi
push eax
lea eax, [esp + 0x364]
push str.rem
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x43cf88
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov dword [esp + 0x674], esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x360]
mov byte [esp + 0x674], 1
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_3
lea edx, [esp + 0x360]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00420e40
add esp, 8
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004c73e6
lea eax, [ebp + 0x10]
mov ecx, ebp
push eax
call fcn.00437e90
cmp eax, esi
jne 0x43cdfa
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x25c]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x43cf63
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x674], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x44]
mov byte [esp + 0x674], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0x674], 4
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x67c]
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x678], 5
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CString::operator_3
push ebx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_3
push 0x561820
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x25c]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esp + 0x30]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], 1
mov dword [esp + 0x30], esp
mov dword [esp + 0x30], esi
mov dword [esi], edx
mov eax, dword [esp + 0x50]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
mov dword [esi + 8], ecx
push edx
lea ecx, [esi + 0xc]
call fcn.004c73e6
lea eax, [esp + 0x5c]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x694], 6
call fcn.004c73e6
lea ecx, [esp + 0x60]
mov byte [esp + 0x690], 7
push ecx
lea ecx, [esi + 0x14]
call fcn.004c73e6
lea edx, [esp + 0x64]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x694], 8
call fcn.004c73e6
lea eax, [ebp + 4]
mov ecx, ebp
push eax
mov byte [esp + 0x694], 5
call fcn.00437f50
lea ecx, [esp + 0x48]
mov byte [esp + 0x674], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x674], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x674], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 1
call sub.MFC42.DLL_CString::CString
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x674], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x674], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x25c]
mov edx, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x360]
rep stosd dword es:[edi], eax
mov eax, 0x104
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push ecx
lea eax, [esp + 0x364]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x58]
push esi
lea ecx, [esp + 0x26c]
inc edx
push eax
push ecx
mov dword [esp + 0x30], edx
push edx
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x43ccee
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x24], eax
call sym.SoftManager.exe__RegCloseKey360_4
mov dl, byte [0x56f01c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x569]
mov byte [esp + 0x568], dl
mov byte [esp + 0x464], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x465]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s360Disabled
lea edx, [esp + 0x570]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edx, dword [esp + 0x68c]
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x568]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43d5b7
mov ecx, 0x40
lea edi, [esp + 0x159]
mov byte [esp + 0x158], al
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x55]
mov edx, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x168]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x43d1f9
cmp dword [ebp + 0xb0], esi
jne 0x43d1f9
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43d197
cmp dword [esp + 0x18], 1
jne 0x43d197
cmp dword [esp + 0x24], esi
jne 0x43d127
cmp dword [esp + 0x28], esi
je 0x43d197
push 4
lea ecx, [esp + 0x58]
push str.rem
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x43d197
lea edx, [esp + 0x54]
lea eax, [esp + 0x464]
push edx
push str.rem__s
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x474]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x468]
push ecx
mov ecx, dword [esp + 0x684]
push 1
lea eax, [esp + 0x574]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x158]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov eax, 0x104
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
inc edx
push eax
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x30]
push esi
lea eax, [esp + 0x168]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push edx
push ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x43d0f2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add eax, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x168]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x43d59f
cmp dword [ebp + 0xb0], esi
jne 0x43d59f
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43d539
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x43d270
cmp eax, 2
jne 0x43d539
cmp dword [esp + 0x24], esi
jne 0x43d280
cmp dword [esp + 0x28], esi
je 0x43d539
push 4
lea ecx, [esp + 0x58]
push str.rem
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x43d2de
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x464]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
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 + 0x468]
push ecx
push 0x562168
push 0x104
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor esi, esi
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
push esi
push ecx
push 0x104
push esi
push edx
push esi
mov dword [esp + 0x68c], 0xc
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x43d351
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
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]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.0043c110
xor esi, esi
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_3
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004c73e6
lea ecx, [ebp + 0x10]
push ecx
mov ecx, ebp
call fcn.00437e90
cmp eax, esi
jne 0x43d3bc
mov eax, dword [ebp + 0x5c]
lea edx, [esp + 0x158]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x43d525
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x674], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x44]
mov byte [esp + 0x674], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0x674], 0xf
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x67c]
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x678], 0x10
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::operator_3
push ebx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_3
push 0x561820
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x158]
lea ecx, [esp + 0x40]
push edx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x30]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], 1
mov dword [esp + 0x48], esp
mov dword [esp + 0x48], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x58]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.004c73e6
lea ecx, [esp + 0x5c]
mov byte [esp + 0x690], 0x11
push ecx
lea ecx, [esi + 0x10]
call fcn.004c73e6
lea edx, [esp + 0x60]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0x694], 0x12
call fcn.004c73e6
lea eax, [esp + 0x64]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0x694], 0x13
call fcn.004c73e6
lea ecx, [ebp + 4]
mov byte [esp + 0x690], 0x10
push ecx
mov ecx, ebp
call fcn.00437f50
lea ecx, [esp + 0x48]
mov byte [esp + 0x674], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x674], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x674], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0xc
call sub.MFC42.DLL_CString::CString
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x674], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ecx
lea edi, [esp + 0x158]
mov dword [esp + 0x10], ecx
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov eax, 0x104
lea edx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push esi
lea eax, [esp + 0x168]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x43d23c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push eax
add esi, edx
call sym.SoftManager.exe__RegCloseKey360_4
mov eax, esi
jmp 0x43d5bb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x668
ret 8