Function at 0x43da90
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x521a50
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 ebx, dword [esp + 0x170]
mov edx, dword [esp + 0x15c]
xor edi, edi
mov esi, dword [esp + 0x158]
dec eax
mov dword [esp + 0x16c], eax
mov ecx, ebx
lea eax, [esp + 0x20]
or ecx, 0x20019
push eax
push ecx
push edi
push edx
push esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ddce
mov dword [esp + 0x1c], edi
mov ecx, 0x40
lea edi, [esp + 0x45]
mov byte [esp + 0x44], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esp + 0x20]
push 0
stosb byte es:[edi], al
push 0
push 0
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x54]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43ddbc
mov eax, dword [ebp + 0xb0]
test eax, eax
jne 0x43ddbc
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0x10]
push eax
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 ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x164]
mov edi, dword [eax]
cmp edi, eax
je 0x43dd42
lea edx, [edi + 8]
lea ecx, [esp + 0x18]
push edx
call fcn.004c73e6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x158], 2
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x43dd22
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 + 0x30], 0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x154], 6
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x28]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], esp
mov dword [esp + 0x40], esi
mov dword [esi], ecx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x50]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x4c]
push ecx
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
call fcn.004c73e6
lea edx, [esp + 0x54]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x170], 7
call fcn.004c73e6
lea eax, [esp + 0x58]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x170], 8
call fcn.004c73e6
lea ecx, [esp + 0x5c]
mov byte [esp + 0x16c], 9
push ecx
lea ecx, [esi + 0x18]
call fcn.004c73e6
lea edx, [ebp + 4]
mov ecx, ebp
push edx
mov byte [esp + 0x170], 6
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 0x43dbaf
mov eax, dword [esp + 0x16c]
test eax, eax
jl 0x43dd81
push ebx
push eax
sub esp, 0xc
lea eax, [esp + 0x174]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00441dc0
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x168], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
mov ecx, ebp
call fcn.0043da90
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43db4a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edx
call sym.SoftManager.exe__RegCloseKey360_4
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x150], 0xffffffff
mov edi, dword [ebx]
cmp edi, ebx
je 0x43de35
lea ecx, [esp + 0x24]
push 0
mov eax, edi
mov edi, dword [edi]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00443b40
mov esi, dword [eax]
push 0
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
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 edi, ebx
mov dword [esp + 0x168], ecx
jne 0x43dde6
mov eax, dword [esp + 0x164]
push eax
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 0x1c