joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fbd0
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
mov edx, dword [esp + 0x138]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x10], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x14], 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
lea edx, [esp + 0x10]
mov word [esp + 0x20], 0x214
mov byte [esp + ecx + 0x30], bl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x2a], ebx
mov byte [esp + ecx + 0x35], bl
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4

Function at 0x40fc70
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fca1
mov esi, dword [esp + 8]
jmp 0x40fcd0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40fcfa
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x40fcfa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret 0x10

Function at 0x40fd00
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fd31
mov esi, dword [esp + 8]
jmp 0x40fd60
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40fd89
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x40fd89
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret 0x10
Function at 0x410040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x413d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
push str.regsvr32__u__s
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea eax, [edi + 0xf4]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x20], 0
call fcn.0041235e
lea ecx, [esp + 8]
push str.IEH.dll
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push eax
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
push str.DBtextbsa32.dll
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
push str._soft360.dll
lea eax, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
push str._bel2.dll
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
add edi, 0x114
lea eax, [esp + 0x10]
push edi
push str.regsvr32__u__s
push eax
call sub.MFC42.DLL_operator_2
push str.Program_FilesQVOD5QvodEx.dll
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x410190
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor edi, edi
push eax
push 0xf003f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, edi
jne 0x4102aa
lea ecx, [esp + 0x10]
call fcn.0040cab0
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x10], ecx
jne 0x4102aa
push str.jfproc
push ecx
call esi
mov ecx, dword [esp + 0x10]
push str.funshion
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.kugou
push edx
call esi
mov eax, dword [esp + 0x10]
push str.UUSEE
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.mecox32
push ecx
call esi
mov edx, dword [esp + 0x10]
push 0x41a488
push edx
call esi
mov eax, dword [esp + 0x10]
push str.FlashGet_3
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.SrLoader
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.LeyuBoxData
push edx
call esi
mov eax, dword [esp + 0x10]
push str.KingSoft_PowerWord_PE
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.YoubakMSN
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.UUSeeMediaCenter
push edx
call esi
mov eax, dword [esp + 0x10]
push str.IMJPMIG8.1
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.PHIME2002ASync
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.PPAP
push edx
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4102aa
push eax
call ebp
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push 0xf003f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
cmp eax, edi
jne 0x4103a9
lea ecx, [esp + 0x10]
call fcn.0040cab0
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x10], ecx
jne 0x4103ad
push str.jfproc
push ecx
call esi
mov ecx, dword [esp + 0x10]
push str.funshion
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.kugou
push edx
call esi
mov eax, dword [esp + 0x10]
push str.UUSEE
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.mecox32
push ecx
call esi
mov edx, dword [esp + 0x10]
push 0x41a488
push edx
call esi
mov eax, dword [esp + 0x10]
push str.FlashGet_3
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.SrLoader
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.LeyuBoxData
push edx
call esi
mov eax, dword [esp + 0x10]
push str.KingSoft_PowerWord_PE
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.YoubakMSN
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.UUSeeMediaCenter
push edx
call esi
mov eax, dword [esp + 0x10]
push str.IMJPMIG8.1
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.PHIME2002ASync
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.PPAP
push edx
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4103b4
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x4103b4
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4103c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x413d3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push edi
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x128
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x4104e7
lea eax, [esp + 0xc]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4104e0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0
call sub.MFC42.DLL_CString::MakeLower
push str.jlingquick.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, edi
jne 0x4104a4
push str.kkjie.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, edi
jne 0x4104a4
push str.jlingquick.dll
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, edi
jne 0x4104a4
push str.kkjie_safe.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, edi
jne 0x4104a4
push str.jlinginit.dll
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, edi
je 0x4104bb
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x1f0fff
call esi
test eax, eax
je 0x4104bb
push 0
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], edi
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410428
pop esi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x410500
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x228
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
mov ebx, dword [esp + 0x23c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x30]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
lea ebp, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], edx
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov ebx, dword [esp + 0x240]
mov dword [esp + 0x2a], edx
mov byte [esp + ecx + 0x30], dl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov dword [esp + 0x26], edx
mov dword [esp + 0x14], 2
mov byte [esp + ecx + 0x31], dl
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x20], 0x214
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov byte [esp + ecx + 0x134], dl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x135], dl
lea edx, [esp + 0x10]
lea ecx, [esp + 0x134]
push edx
mov dword [esp + 0x20], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret 8

Function at 0x410690
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4152d0
push 0x412576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410730
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x413d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push edi
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x128
push eax
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41080e
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x410807
push ebp
mov ebp, dword [esp + 0x144]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0
call sub.MFC42.DLL_CString::MakeLower
push ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x4107e2
mov edx, dword [esp + 0x18]
push edx
push 0
push 0x1f0fff
call esi
test eax, eax
je 0x4107e2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410796
pop esi
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x130]
pop edi
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x410830
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x413d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 1
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebx
push str.SOFTWAREKingsaft
push 0x80000002
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41089e
mov esi, dword [esp + 0x10]
jmp 0x4108cd
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREKingsaft
push 0x80000002
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x410936
mov esi, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esp
mov dword [eax], 0x15180
call fcn.00410960
lea edx, [esp + 0x10]
push str._Y_m_d
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push ebx
push str.NextUpdateTime
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x41094e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x411460
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x413f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
push 0x100
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [esp + 4]
push str.Icons_ver.ini
lea ecx, [esp + 0xc]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0x270f
push 0x41a5ac
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 8]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x411f40
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x414051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x180]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x180], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 8]
call fcn.00405f40
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0
call fcn.0040d3f0
lea ecx, [esp + 8]
call fcn.004078a0
test eax, eax
pop edi
jne 0x4121c8
lea ecx, [esp + 4]
call fcn.004103c0
mov eax, dword [esp + 0x180]
xor ecx, ecx
cmp eax, 6
sete cl
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 4]
call fcn.0040b280
lea ecx, [esp + 0x11c]
call fcn.00401000
lea edx, [esp + 0x34]
lea ecx, [esp + 0x178]
push edx
mov byte [esp + 0x21c], 1
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x30]
lea ecx, [esp + 0x174]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x124]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x11c]
call fcn.00401150
lea edx, [esp + 0x20]
push str.deskmate.nls
lea eax, [esp + 4]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
call fcn.00410600
test al, al
jne 0x4121b4
call fcn.00410690
test al, al
jne 0x4121b4
lea ecx, [esp + 4]
call fcn.0040d650
lea ecx, [esp + 4]
call fcn.00409a40
test eax, eax
je 0x41218c
cmp dword [esp + 0x220], 1
jle 0x4120e0
mov ecx, dword [esp + 0x224]
mov edx, dword [ecx + 4]
lea ecx, [esp]
push edx
call sub.MFC42.DLL_CString::CString_3
push str.Clear
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 2
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x4120cf
push 0xc350
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp]
mov byte [esp + 0x218], 1
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 8]
call fcn.0040f500
push 1
lea ecx, [esp + 0xc]
call fcn.00408650
lea ecx, [esp + 8]
mov esi, eax
call fcn.00409c80
lea ecx, [esp + 8]
call fcn.00410040
lea ecx, [esp + 8]
call fcn.0040ed00
lea ecx, [esp + 8]
call fcn.0040fd90
lea ecx, [esp + 8]
call fcn.00410190
lea ecx, [esp + 8]
call fcn.0040d750
lea ecx, [esp + 8]
call fcn.0040bd10
push esi
lea ecx, [esp + 0xc]
call fcn.00408bb0
lea ecx, [esp + 8]
call fcn.004097a0
lea ecx, [esp + 8]
call fcn.0040b5c0
lea ecx, [esp + 8]
call fcn.0040ddd0
push esi
lea ecx, [esp + 0xc]
call fcn.0040d970
lea ecx, [esp + 8]
call fcn.0040c200
lea ecx, [esp + 8]
call fcn.0040d170
push 0
push 0
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
call fcn.00411c10
test eax, eax
je 0x4121a2
lea eax, [esp + 0x104]
push eax
call fcn.00411820
lea ecx, [esp + 4]
call fcn.0040b220
lea ecx, [esp + 4]
call fcn.0040ac20
lea ecx, [esp + 0x11c]
mov byte [esp + 0x218], 0
call fcn.004010b0
lea ecx, [esp + 4]
mov dword [esp + 0x218], 0xffffffff
call fcn.00406140
mov ecx, dword [esp + 0x210]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4125ba
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415310
push 0x412576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x41a710], 0xffffffff
or dword [0x41a714], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x41a708]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x41a704]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x41a70c], eax
call fcn.004126f7
cmp dword [0x41a6e0], 0
jne 0x41263d
push 0x4126f4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004126e2
push 0x418014
push 0x418010
call sub.MSVCRT.dll__initterm
mov eax, dword [0x41a700]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x41a6fc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x41800c
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00411f40
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x405d20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x40f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 0x130]
push edi
mov dword [ebp - 0x134], ebx
mov edx, 0x128
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub edx, 1
jne 0x405d50
push edx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405dd8
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405dd1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x10c]
push ebx
push eax
call edi
test eax, eax
je 0x405deb
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
je 0x405dd1
nop
push dword [ebp - 0x134]
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
je 0x405deb
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x405db0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409d30
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00409d30
mov esp, ebp
pop ebp
ret
Function at 0x40a82a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a869
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a869
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a869
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a869
cmp dword [ecx + 0x74], 0xe
jbe 0x40a869
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret