Function at 0x403695
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4e2bfc
call fcn.004e1580
sub esp, 0x120
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ebx, [edi + 0x58]
mov byte [ebp - 4], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::Empty
lea ecx, [edi + 0x5c]
call sub.MFC42.DLL_CString::Empty
push str.SOFTWAREJiangmin
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0xf003f
lea ecx, [ebp - 0x10]
push dword [ebp - 0x18]
push reloc.BugReport.dll_Ordinal_2
call fcn.00404a48
test eax, eax
mov esi, str.kvscan.kxp
jne 0x4037a9
and dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.InstallPath
mov dword [ebp - 0x1c], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4037a9
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402f03
pop ecx
pop ecx
push str.AntiVirus_
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [ebp - 0x20]
push ebx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 4
call fcn.004d1e1a
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x14], 0
jne 0x4038a4
mov dword [ebp - 0x1c], 0x7d6
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push str.SOFTWAREJiangMinKV_dInstall
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0xf003f
push dword [ebp - 0x18]
push reloc.BugReport.dll_Ordinal_2
call fcn.00404a48
test eax, eax
jne 0x403868
and dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.path
mov dword [ebp - 0x20], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403868
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402f03
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [ebp - 0x24]
push ebx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 6
call fcn.004d1e1a
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x14], 0
jne 0x4038a4
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x7d5
jge 0x4037b0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 0
je 0x403893
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
lea ecx, [edi + 0x5c]
call sub.MFC42.DLL_CString::operator_2
push 0x52fdc0
lea ecx, [edi + 0x60]
call sub.MFC42.DLL_CString::operator_2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 0
je 0x4038d5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x403895