Function at 0x457d30
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4f55d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov dword [esp + 0x2c], ecx
push edi
push str.SoftWareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x160]
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
mov byte [esp + 0x158], 3
push eax
push 0x20019
push ebx
push ecx
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], str.1qtech.cn
mov dword [esp + 0x5c], str.aqstudio.cn
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
je 0x457fed
push ebx
push ebx
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push ebx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
jne 0x457e25
mov edx, dword [esp + 0x1c]
push edx
jmp 0x457fe7
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jbe 0x457fe2
jmp 0x457e3b
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push 0xff
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x457fd1
lea edx, [esp + 0x50]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_3
mov dword [esp + 0x2c], ebx
lea ebp, [esp + 0x44]
mov esi, dword [ebp]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
mov edx, dword [eax - 8]
dec ecx
cmp edx, ecx
jle 0x457eb9
inc ecx
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 4
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x158], 3
lea ecx, [esp + 0x3c]
jmp 0x457eeb
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push 0x523ce0
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 5
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x158], 3
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push 0x523ce0
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x158], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x457fb8
lea edx, [esp + 0x20]
push 0x524458
lea eax, [esp + 0x3c]
push edx
push eax
call sub.MFC42.DLL_operator_4
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
push eax
push ecx
mov byte [esp + 0x168], 7
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x34]
push eax
call fcn.00458100
test eax, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 3
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x458054
mov eax, dword [esp + 0x2c]
add ebp, 4
inc eax
cmp eax, 2
mov dword [esp + 0x2c], eax
jb 0x457e6f
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x24], esi
jb 0x457e39
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 4
mov eax, dword [esp + 0x160]
cmp eax, 0x80000001
mov eax, str.HKEY_CURRENT_USER
je 0x45806c
mov eax, str.HKEY_LOCAL_MACHINE
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push 0x529fc8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x14
push 0x30
push 0x52347c
push ecx
mov ecx, dword [esp + 0x3c]
call sub.MFC42.DLL_CWnd::MessageBoxA
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x458039