joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d634
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x40fec7
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
mov edi, 0x20019
push eax
push edi
push ebx
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
push 0x80000001
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0xff
call esi
cmp eax, ebx
jne 0x40d69c
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040e3ba
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
push str.SoftwareAutodeskAutoCADR14.0_
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040e3ae
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push edi
mov eax, dword [eax - 8]
push ebx
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000003
call esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesTch14General_
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040e3ae
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40d7b2
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x40ff0b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR16.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40d82d
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS60General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40d8ce
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x40ff4f
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR15.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40d949
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS60General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40d9ea
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x40ff93
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR15.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40da65
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS40General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40db06
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x40ffd7
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR15.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40db81
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesSCASS50General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40dc22
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x41001b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR15.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40dc9d
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS50General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40dd3e
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x41005f
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR15.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40ddb9
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS70General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40de5a
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4100a3
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR16.2_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40ded5
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS70General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40df76
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4100e7
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR16.0_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40dff1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS70General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40e092
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x41012b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x11c
push ebx
push esi
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], esi
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 0x20], 0xff
push str.SoftwareAutodeskAutoCADR16.1_
mov dword [ebp - 4], ebx
call fcn.0040e3ba
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov eax, dword [eax - 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40e10d
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator
push str.ProfilesCASS70General_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push 0x416980
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040e3b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e3ae
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040e3ae
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040e3ae
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x24], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e3ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x561477
Capabilities:
Packed with generic packer

Disassembly:
mov word [esp + 1], bp
mov byte [esp], dh
jmp 0x561433

Function at 0x5618ab
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp], edi
pushfd
pop dword [esp]
lea esp, [esp + 4]
pushfd
jmp 0x56143c

Function at 0x5dba74
Capabilities:
Check for peb beingdebugged flag
Parse pe header

Disassembly:
call fcn.005db004
lea esp, [esp + 0x20]
jmp 0x5dafff
mov word [esp + 1], dx
mov dword [esp], eax
pushal
jmp 0x5dba5d
Function at 0x401140
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x409020]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
push edi
push 0x104
push 0
push esi
call sub.MSVCR80.dll_memset
push 0x104
lea edi, [esi + 0x104]
push 0
push edi
call sub.MSVCR80.dll_memset
mov edx, str.kernel
add esp, 0x18
mov ebp, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x40119a
mov byte [eax], cl
add eax, 1
sub ebp, 1
jne 0x401187
jmp 0x40119e
test ebp, ebp
jne 0x4011a1
sub eax, 1
push 0x103
mov byte [eax], 0
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x23
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push esi
lea edx, [esp + 0xc]
push edx
push str._sQQPetRegistrar_s.ini
mov eax, 0x104
call fcn.00402480
push 0x103
lea eax, [esp + 0x11d]
push 0
push eax
mov byte [esp + 0x124], 0
call sub.MSVCR80.dll_memset
lea ecx, [esp + 0x20]
push ecx
push str._sQQPetRegistrar
mov eax, 0x104
lea edi, [esp + 0x12c]
call fcn.00402480
add esp, 0x20
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop edi
pop ebp
jne 0x40123a
lea eax, [esp + 0x104]
push eax
call fcn.004013a0
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov eax, esi
call fcn.00405456
add esp, 0x20c
ret

Function at 0x4012e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x409020]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x111]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x118], 0
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x20], 0
call sub.MSVCR80.dll_memset
push 0
push 0x407288
mov eax, 0x104
lea edi, [esp + 0x28]
call fcn.00402480
add esp, 0x20
add esi, 0x104
push esi
push 0x104
lea edx, [esp + 0x114]
push edx
mov eax, edi
push eax
push str.Version
push str.Kernel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.MSVCR80.dll_atol]
mov ecx, dword [esp + 0x214]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.00405456
add esp, 0x20c
ret
Function at 0x401580
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esi + 0x10]
sub esp, 0x10
push ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4015c2
mov eax, dword [esi + 0x10]
cmp edi, eax
je 0x40163e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x10], ebx
je 0x4015c4
push 0x8000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x4015c4
xor ebx, ebx
push ebp
push 0x40
push 0x1000
mov al, 0x68
push 0xd
mov dword [esi + 8], ebx
push 0
mov dword [esi + 0x10], edi
mov byte [esp + 0x18], 0x58
mov byte [esp + 0x19], al
mov dword [esp + 0x1a], esi
mov byte [esp + 0x1e], 0x50
mov byte [esp + 0x1f], al
mov ebp, 0x4017e0
mov bl, 0xc3
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi + 4], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov byte [eax + 0xc], bl
mov eax, dword [esi + 4]
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 4]
push ecx
push 0xfffffffffffffffc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x401940
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc04
mov eax, dword [0x409020]
xor eax, esp
mov dword [esp + 0xc00], eax
push ebp
push edi
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
push str.kernel.ini
push esi
push str._s_s
mov eax, 0x400
lea edi, [esp + 0x20]
call fcn.00402480
add esp, 0x18
mov ecx, edi
push ecx
push 0
push str.version
push str.kernel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x3ff
lea edx, [esp + 0x40d]
push 0
push edx
mov ebp, eax
mov byte [esp + 0x414], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, edi
push eax
push 0x400
lea ecx, [esp + 0x410]
push ecx
push str.QQPenguin
push str.productname
push str.kernel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x3ff
lea edx, [esp + 0x80d]
push 0
push edx
mov byte [esp + 0x814], 0
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x414]
push eax
push esi
push str._s_s.exe
mov eax, 0x400
lea edi, [esp + 0x820]
call fcn.00402480
mov ecx, edi
push 0
push ecx
call dword [sym.imp.MSVCR80.dll__access]
add esp, 0x20
test eax, eax
je 0x401a49
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00405456
add esp, 0xc04
ret
mov ecx, dword [esp + 0xc08]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00405456
add esp, 0xc04
ret