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

Disassembly:
push 0xffffffffffffffff
push 0x4093a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x20], 0x40a65c
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
call fcn.00401000
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
push ecx
lea ecx, [esp + 0x18]
call fcn.00402250
test eax, eax
jne 0x40663b
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.004010a0
mov dword [esp + 0x20], 0x40a65c
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3c], 3
cmp eax, ebp
je 0x40660c
mov edx, dword [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_DestructElements
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], 0x40a400
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebp
jle 0x4066a8
lea ecx, [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.004061c0
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.00406430
cmp eax, ebp
je 0x406691
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x40664e
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.004010a0
mov dword [esp + 0x20], 0x40a65c
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3c], 5
cmp eax, ebp
je 0x4066e3
mov ecx, dword [esp + 0x28]
push ecx
push eax
call sub.MFC42.DLL_DestructElements
mov edx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], 0x40a400
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x34
ret 4
Function at 0x406760
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4093d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
push str._s.
push ecx
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push edx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4068b7
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x40684b
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
test eax, eax
je 0x406844
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.00406760
jmp 0x40684b
mov ecx, dword [esp + 0xc]
push ecx
call ebp
test esi, esi
jne 0x4067d6
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::Close
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.MSVCRT.dll__rmdir]
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.004083cc
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.004083cc
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x34
ret 4
Function at 0x406ba0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], ecx
push 0x3e8
call edi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406be5
test esi, esi
jne 0x406c32
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SVAHOST.EXE
call fcn.004070c0
push str.SVBHOST.EXE
call fcn.004070c0
push str.ESMSUI.EXE
call fcn.004070c0
push str.RadiusAuthentication.exe
call fcn.004070c0
push str.winvnc.exe
call fcn.004070c0
add esp, 0x14
push 0x2710
call edi
mov ebx, 0x14
jmp 0x406bb9
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SVAHOST.EXE
call fcn.004070c0
push str.SVBHOST.EXE
call fcn.004070c0
push str.ESMSUI.EXE
call fcn.004070c0
push str.RadiusAuthentication.exe
call fcn.004070c0
push str.winvnc.exe
call fcn.004070c0
add esp, 0x14
test ebx, ebx
jle 0x406c80
mov ecx, dword [esp + 0x10]
dec ebx
push ebx
call fcn.00406ba0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x406cf0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x409488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x60]
push eax
push 0x40d050
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x20], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
push esi
push esi
push esi
push 1
push esi
lea edx, [esp + 0x7c]
push esi
push edx
push esi
mov word [esp + 0x74], si
mov dword [esp + 0x70], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x406da0
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406df9
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x168
ret 4
Function at 0x4070c0
Capabilities:
Enumerate processes
Print debug messages
Terminate process
Terminate process by name

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
jne 0x4070d4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4070ee
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
push 0x128
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
push edi
push ebx
mov dword [edi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4071fa
lea esi, [edi + 0x24]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40713b
test cl, cl
je 0x407137
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40713b
add eax, 2
add esi, 2
test cl, cl
jne 0x407117
xor eax, eax
jmp 0x407140
sbb eax, eax
sbb eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x40719d
mov eax, dword [edi + 8]
push eax
push 1
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x40719d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40d534
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
test edi, edi
je 0x40724d
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4071fa
mov eax, dword [esp + 0x14]
lea esi, [edi + 0x24]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4071d3
test cl, cl
je 0x4071cf
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4071d3
add eax, 2
add esi, 2
test cl, cl
jne 0x4071af
xor eax, eax
jmp 0x4071d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4071ef
mov eax, dword [edi + 8]
push eax
push 1
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
jne 0x407218
push edi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4071a8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40720e
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
ret
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x40d534
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
test edi, edi
je 0x40724d
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x407260
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4094f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x60]
push eax
push 0x40d050
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x20], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
push esi
push esi
push esi
push 1
push esi
lea edx, [esp + 0x7c]
push esi
push edx
push esi
mov word [esp + 0x74], si
mov dword [esp + 0x70], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x407325
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x164]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x168
ret
Function at 0x4073a0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x409520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.004081a4
mov eax, dword [esp + 0x2c]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x407408
push str.UNINSTALL
push 0x81
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
jne 0x40743a
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::Flush
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4074a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x409551
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esp + 8]
mov dword [esp + 0x420], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x420], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x420], 2
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x18]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push str.__s_
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0xc
rep stosd dword es:[edi], eax
push ebx
lea ecx, [esp + 0x1c]
push 0x22
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push str._sCLENT_UNINSTALL.exe
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::MakeLower
push str.temp
push str.history
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
call fcn.004073a0
add esp, 4
cmp eax, ebx
je 0x4075b5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push ebx
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x420], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x420], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x418]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x41c
ret

Function at 0x407f80
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
push 0xf003f
push 0
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUN
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.ESMSUI
push ecx
call esi
mov edx, dword [esp + 8]
push str.RadiusAuthentication
push edx
mov edi, eax
call esi
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
and eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x407fe0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x409748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_1
push str.C:Documents_and_SettingsAll_Users_
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x408050
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00407c90
mov ecx, esi
call fcn.00407da0
mov ecx, esi
call fcn.00407e30
mov ecx, esi
call fcn.00407f10
mov ecx, esi
call fcn.00407ea0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00407f80
mov ecx, esi
call fcn.00407fe0
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.SVAHOST__uninstall
call sub.MFC42.DLL_CString::CString_2
call fcn.00407260
mov ecx, esp
mov dword [esp + 8], esp
push str.SVBHOST__uninstall
call sub.MFC42.DLL_CString::CString_2
call fcn.00407260
mov ecx, esp
mov dword [esp + 8], esp
push str.snetcfg__u_ms_jdpassthru
call sub.MFC42.DLL_CString::CString_2
call fcn.00407260
mov ecx, esp
mov dword [esp + 8], esp
push str.uninsfsdrv.exe__unfsdrv
call sub.MFC42.DLL_CString::CString_2
call fcn.00407260
mov ecx, esp
mov dword [esp + 8], esp
push str.usb_uninstall
call sub.MFC42.DLL_CString::CString_2
call fcn.00407260
add esp, 4
push 0
push 0x40d434
push 0x40d634
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x103e2f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x103e2f2f
push 0
push 0
push dword [ebp + 8]
push 0x103e2b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x103e7080
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x103fd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x103e717a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x103e7173
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x103e7159
call ebx
cmp dword [ebp - 0x14], eax
jne 0x103e7159
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x103e7159
mov edx, dword [esi]
test edx, edx
jne 0x103e7122
push 0x200
push edx
push dword [0x103fd678]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x103e7173
jmp 0x103e714d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x103e714d
shl eax, 3
push eax
push edx
push 0
push dword [0x103fd678]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x103e7173
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x103e70e1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x103e71bf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x103e71bf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x103e71b9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.103e6f10
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x103e7186
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.103e79ab
mov esp, ebp
pop ebp
ret
Function at 0x103e71d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x103fd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x103fd720]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x103e722c
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.103e79ab
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x103e7247
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.103e79ab
mov esp, ebp
pop ebp
ret

Function at 0x103e7280
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x103fd728]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x103e735d
mov eax, dword [0x103fd720]
add eax, 0x14
test byte [eax], 2
je 0x103e72ba
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x103e72a5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x103e735d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.103e7080
mov ecx, dword [0x103fd728]
add esp, 4
cmp esi, ecx
jae 0x103e730b
imul edi, esi, 0x2c
mov eax, dword [0x103fd720]
test byte [edi + eax + 0x14], 2
jne 0x103e7300
mov ecx, esi
call fcn.103e71d0
mov ebx, eax
test ebx, ebx
jne 0x103e7308
mov ecx, dword [0x103fd728]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x103e72e1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x103e735c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x103e734d
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x103e7341
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x103e7320
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x103fd678]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret