Function at 0x43de70
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x521b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x15c]
mov esi, dword [esp + 0x158]
xor ebx, ebx
dec eax
mov dword [esp + 0x150], ebx
mov dword [esp + 0x16c], eax
lea eax, [esp + 0x20]
push eax
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43e187
mov ecx, 0x40
lea edi, [esp + 0x45]
mov byte [esp + 0x44], bl
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea edx, [esp + 0x20]
push ebx
lea eax, [esp + 0x54]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43e175
cmp dword [ebp + 0xb0], ebx
jne 0x43e175
mov edx, dword [esp + 0x15c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x1c]
push 0x561820
inc eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x104
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x164]
mov edi, dword [eax]
cmp edi, eax
je 0x43e102
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004c73e6
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x158], 2
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x43e0e2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x150], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x150], 5
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 6
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x10]
lea ecx, [esp + 0x40]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x28]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], esp
mov dword [esp + 0x40], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.004c73e6
lea ecx, [esp + 0x54]
mov byte [esp + 0x16c], 7
push ecx
lea ecx, [esi + 0x10]
call fcn.004c73e6
lea edx, [esp + 0x58]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0x170], 8
call fcn.004c73e6
lea eax, [esp + 0x5c]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0x170], 9
call fcn.004c73e6
lea ecx, [ebp + 4]
mov byte [esp + 0x16c], 6
push ecx
mov ecx, ebp
call fcn.00437f50
lea ecx, [esp + 0x40]
mov byte [esp + 0x150], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x150], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x158]
mov edi, dword [edi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::CString
cmp edi, dword [esp + 0x164]
jne 0x43df77
mov eax, dword [esp + 0x16c]
cmp eax, ebx
jl 0x43e13f
push eax
lea edx, [esp + 0x164]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00441dc0
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
mov ecx, ebp
call fcn.0043de70
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push ebx
lea ecx, [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43df14
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x1c], ecx
call sym.SoftManager.exe__RegCloseKey360_4
mov edi, dword [esp + 0x164]
mov dword [esp + 0x150], 0xffffffff
mov ebp, dword [edi]
cmp ebp, edi
je 0x43e1ed
mov eax, ebp
mov ebp, dword [ebp]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00443b40
mov esi, dword [eax]
push ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
lea ecx, [esi + 8]
call fcn.0041ab00
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x16c]
add esp, 4
dec ecx
cmp ebp, edi
mov dword [esp + 0x168], ecx
jne 0x43e19f
mov edx, dword [esp + 0x164]
push edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14c]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 0x18