joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48386d
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x4da108
call fcn.0046fad0
sub esp, 0xd8
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov byte [eax], 7
mov eax, dword [ebp + 0xc]
mov word [eax], 2
mov eax, dword [ebp + 0x18]
mov word [eax], si
mov eax, dword [ebp + 0x14]
mov word [eax], si
mov eax, dword [ebp + 0x10]
mov word [eax], si
lea eax, [ebp + 8]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._sqqupdatestatcount.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push str.qqupdate
lea ecx, [ebp - 0x14]
call fcn.0046f48c
mov edi, dword [sym.imp.MSVCRT.dll_atol]
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp + 0xc], 0xe
mov ebx, 0x52931c
mov eax, dword [ebp + 8]
add eax, 0x41
push eax
lea eax, [ebp - 0x1c]
push 0x52c3e8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0xe4]
push dword [ebp - 0x10]
push 0xc8
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0xc], 2
shl eax, cl
or dword [ebp - 0x18], eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 8
jb 0x48391e
mov eax, dword [ebp - 0x18]
test ah, 0xf0
jne 0x48397c
xor bl, bl
jmp 0x483a0f
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleId
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleType
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov dword [ebp + 0x18], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModulePatchNum
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
push dword [ebp - 0x10]
xor ecx, ecx
mov ch, byte [ebp + 0x18]
mov cl, al
mov eax, dword [ebp + 0x14]
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x489d8b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4db144
call fcn.0046fad0
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, 0x4f3250
call sub.MFC42.DLL_CRuntimeClass::CreateObject
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x489db5
call sub.MFC42.DLL_AfxThrowMemoryException
push 0x4f3240
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::GetInterface
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
push 0x52c7c4
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x1001
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::CFile_1
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi]
push dword [ebp + 0x10]
push dword [ebp - 0x34]
push esi
call dword [eax + 0xc]
test eax, eax
je 0x489e2f
mov dword [ebp - 0x18], ebx
jmp 0x489e38
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0046f7f8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
jmp 0x489e66
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x48b451
Capabilities:
Delete file

Disassembly:
mov eax, 0x4db594
call fcn.0046fad0
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call fcn.0046f570
push edi
lea ecx, [ebp - 0x4c]
push dword [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x48b4bb
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.____Find_UDP_failed
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
call fcn.00489364
add esp, 0xc
jmp 0x48b5db
lea ecx, [ebp - 0x30]
call fcn.004cb69a
push edi
push 0x4000
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x48b594
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x48b52e
push edi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
call fcn.00489364
add esp, 0xc
jmp 0x48b4ec
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call fcn.0048c307
cmp dword [ebp - 0x14], edi
je 0x48b5cf
xor eax, eax
mov esi, 0x48b604
lea edi, [ebx + 0x68]
push eax
push esi
push ebx
mov ecx, edi
call fcn.0048d9cb
xor eax, eax
mov ecx, edi
push eax
push esi
push ebx
call fcn.0048da26
push 1
mov ecx, edi
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CTimerEvent::SetEnabled_int_]
jmp 0x48b5cf
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.____Open_UDP_index_failed
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 4
call fcn.00489364
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
and byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x48de06
Capabilities:
Move file

Disassembly:
mov eax, 0x4dbd40
call fcn.0046fad0
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
push esi
push dword [edi + 0x1c]
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov dword [ebp - 4], esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Lock
mov byte [ebp - 4], 1
cmp dword [ebp + 8], esi
je 0x48de46
mov ecx, edi
call fcn.0048dd94
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0048dde3
push 0x5287a8
mov ecx, edi
call fcn.0048dde3
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
cmp eax, 0x18000
jbe 0x48df32
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ebx, [edi + 0x14]
push ebx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
push str._Y_m_d_H_M
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CTime::Format
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
add edi, 0x18
push edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
push edi
push ebx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov edx, dword [esi]
push 0
push 0x3021
push eax
mov ecx, esi
call dword [edx + 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x48f0fa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x48f21d
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x48f21d
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x48f1fa
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4f3400]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f3400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f3400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f3400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f3400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f3400]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f3400]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4f3400]
xor eax, esi
inc edx
dec edi
jne 0x48f138
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x48f217
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4f3400]
xor eax, edi
inc edx
dec esi
jne 0x48f1fe
pop edi
pop ebx
not eax
jmp 0x48f220
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 0xc

Function at 0x4912ba
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4dc7ea
call fcn.0046fad0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_4
push 1
lea ecx, [esi + 0x28]
pop ebx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0xc]
push 2
pop eax
mov byte [ebp - 4], 5
or dword [esi + 8], 0xffffffff
or dword [ebp - 4], 0xffffffff
mov word [esi + 4], di
mov dword [esi], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], 0x196
mov dword [esi + 0x10], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x49f690
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov eax, 0x4de294
call fcn.0046fad0
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x6f0]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x6f8]
push 0x52cc2c
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0046f570
mov eax, dword [esi + 0x6f0]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x49f752
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49f752
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xc
push eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x49f752
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x49f807
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x58]
call fcn.0046f570
mov eax, dword [esi + 0x6f0]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x49f7e1
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [esi + 0x6f0]
push ebx
push 0x1002
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x49f7a3
xor esi, esi
jmp 0x49f7a6
push 1
pop esi
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0046f7f8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x49f807
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4a5bc3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4deee8
call fcn.0046fad0
sub esp, 0x18
push esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x1c]
push edx
push 0x4e5940
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x4a5d16
push ebx
push edi
push str.SETUP_OPTION
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov dword [esp], str.SetupInfo.ini
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, str.SETUP_TYPE
push esi
push ebx
push dword [ebp - 0x14]
call edi
cmp eax, 1
mov dword [ebp - 0x24], eax
je 0x4a5c62
cmp eax, 2
jne 0x4a5cfc
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
movzx esi, byte [eax + 0xce]
call sub.MFC42.DLL_AfxGetAppModuleState
imul esi, esi, 0x64
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
movzx eax, byte [eax + 0xcf]
add esi, eax
push 0
mov dword [ebp - 0x20], esi
mov esi, str.SETUP_VERSION
push esi
push dword [ebp - 0x14]
call edi
test eax, eax
jle 0x4a5cb0
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [ecx]
push eax
push 1
push 7
push ecx
call dword [edx + 0x1c]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x52931c
push ebx
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push 0x529710
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
test eax, eax
pop esi
je 0x4a5d28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x4a5e21
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4a5e7a
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
jne 0x4a5e7a
xor ax, ax
jmp 0x4a5f1e
mov eax, dword [ebp - 0x8c]
sub eax, 0
je 0x4a5f1b
dec eax
je 0x4a5ec8
dec eax
je 0x4a5e96
xor eax, eax
jmp 0x4a5f1e
push 4
pop eax
cmp dword [ebp - 0x98], eax
ja 0x4a5ea5
push 1
jmp 0x4a5f1d
cmp dword [ebp - 0x98], 5
jne 0x4a5f1e
cmp dword [ebp - 0x94], 0
jne 0x4a5ebb
push 2
jmp 0x4a5f1d
cmp dword [ebp - 0x94], 1
jne 0x4a5f1e
push 3
jmp 0x4a5f1d
cmp dword [ebp - 0x98], 4
push 0xa
pop eax
jne 0x4a5f1e
cmp dword [ebp - 0x94], 0
jne 0x4a5ef6
cmp byte [ebp - 0x87], 0x43
push 5
pop eax
je 0x4a5ef2
cmp byte [ebp - 0x87], 0x42
jne 0x4a5f1e
push 6
jmp 0x4a5f1d
cmp dword [ebp - 0x94], eax
jne 0x4a5f0e
cmp byte [ebp - 0x87], 0x41
push 7
pop eax
jne 0x4a5f1e
push 8
jmp 0x4a5f1d
cmp dword [ebp - 0x94], 0x5a
jne 0x4a5f1e
push 9
jmp 0x4a5f1d
push 0xb
pop eax
pop esi
leave
ret
Function at 0x4a6a9b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x4a6bbe
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x4a6bbe
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x4a6b9b
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4f50d0]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f50d0]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f50d0]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f50d0]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f50d0]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4f50d0]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4f50d0]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4f50d0]
xor eax, esi
inc edx
dec edi
jne 0x4a6ad9
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4a6bb8
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4f50d0]
xor eax, edi
inc edx
dec esi
jne 0x4a6b9f
pop edi
pop ebx
not eax
jmp 0x4a6bc1
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 0xc
Function at 0x4ae9f3
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4dff34
call fcn.0046fad0
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_4
push dword [esi + 0x60]
and dword [ebp - 4], 0
call dword [sym.imp.BasicCtrlDll.dll_unsigned_long_int___cdecl_GetCurrentUin_struct_IQQCore__]
pop ecx
mov edi, 0x528f88
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MFC42.DLL_CString::Format
push 0x10
lea eax, [ebp - 0x3c]
push 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_4
push dword [esi + 0x20]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
push eax
push ecx
lea ecx, [ebp - 0x2c]
sub ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0x18
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], eax
mov ecx, dword [eax - 8]
lea edi, [ecx + 0x20]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov ebx, dword [eax - 8]
lea eax, [ebp - 0x14]
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x28]
call fcn.0043962d
add esp, 0x14
lea ecx, [ebp - 0x10]
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBufferSetLength
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_Base64Encode_char_const___int_]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 4
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp - 0x24]
push str._s__d__d_0_1
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004ae986
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 5
call fcn.004ae986
mov eax, dword [eax]
push 5
push 0
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4