joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406470
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4094a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push esi
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x470]
lea ecx, [esp + 0x60]
push eax
push str.regsvr32__u__s___s_
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 0x406520
lea ecx, [esp + 0x470]
mov dword [esp + 0x468], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40657c
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 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x470]
mov dword [esp + 0x468], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x460]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x464
ret 4
Function at 0x4065a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4094f0
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.00402290
test eax, eax
jne 0x40667b
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 0x40664c
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.004025b0
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebp
jle 0x4066e8
lea ecx, [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.00406200
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.00406470
cmp eax, ebp
je 0x4066d1
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 0x40668e
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 0x406723
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 0x4067a0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x409520
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 0x4068f7
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 0x40688b
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
test eax, eax
je 0x406884
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.004067a0
jmp 0x40688b
mov ecx, dword [esp + 0xc]
push ecx
call ebp
test esi, esi
jne 0x406816
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.00408512
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.00408512
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 0x406be0
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 0x406c25
test esi, esi
jne 0x406c72
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SVAHOST.EXE
call fcn.00407100
push str.SVBHOST.EXE
call fcn.00407100
push str.ESMSUI.EXE
call fcn.00407100
push str.RadiusAuthentication.exe
call fcn.00407100
push str.winvnc.exe
call fcn.00407100
add esp, 0x14
push 0x2710
call edi
mov ebx, 0x14
jmp 0x406bf9
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SVAHOST.EXE
call fcn.00407100
push str.SVBHOST.EXE
call fcn.00407100
push str.ESMSUI.EXE
call fcn.00407100
push str.RadiusAuthentication.exe
call fcn.00407100
push str.winvnc.exe
call fcn.00407100
add esp, 0x14
test ebx, ebx
jle 0x406cc0
mov ecx, dword [esp + 0x10]
dec ebx
push ebx
call fcn.00406be0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4095d8
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 0x406de0
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406e39
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 0x4073e0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x409668
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 0x4074a5
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 0x407520
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x409690
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.004082e4
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 0x407588
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 0x4075ba
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 0x407620
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4096c1
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.00407520
add esp, 4
cmp eax, ebx
je 0x407735
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 0x408100
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 0x408160
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4098b8
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 0x4081d0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00407e10
mov ecx, esi
call fcn.00407f20
mov ecx, esi
call fcn.00407fb0
mov ecx, esi
call fcn.00408090
mov ecx, esi
call fcn.00408020
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00408100
mov ecx, esi
call fcn.00408160
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.SVAHOST__uninstall
call sub.MFC42.DLL_CString::CString_2
call fcn.004073e0
mov ecx, esp
mov dword [esp + 8], esp
push str.SVBHOST__uninstall
call sub.MFC42.DLL_CString::CString_2
call fcn.004073e0
add esp, 4
push 0
push 0x40d444
push 0x40d644
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4e6050
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.004fbe10
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x492380]
mov dl, byte [eax + 0x492378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x4e6060
lea eax, [esp]
push 0x4876e8
push eax
call fcn.004ea590
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004e7b70
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x4e60b0
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.004ebdb0
add esp, 0x10
cmp eax, 0x18
jl 0x4e6131
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x4e60fd
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x4e6121
cmp ecx, 0x14
je 0x4fff7a
inc edx
cmp edx, edi
jl 0x4e60e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.004ec17c
add esp, 0xc
jmp 0x4e60b0
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x4e6143
inc ecx
jmp 0x4e60ef
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
je 0x4e6155
add ecx, 2
jmp 0x4e60ef
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x4fff72
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x4fff61
add ecx, 4
jmp 0x4e60ef
add ecx, 5
cmp ecx, 0x14
jl 0x4e60e6
jmp 0x4e60ef
add ecx, 3
jmp 0x4e60ef
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10034]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.004ec17c
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.004ebdb0
lea edx, [esp + 0x2c]
push 0x4876d8
push edx
mov byte [esp + 0x38], 0
call fcn.004ebdd0
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x4e6136
Function at 0x4e61e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.004e6180
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.004ea590
push esi
call fcn.004e7eef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.004e62a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.004e62d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x4e6231
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.004eba06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x501eee
push edi
call fcn.004e6050
cmp eax, ebx
je 0x501ef8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004eba94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x4e6290
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004ebdb0
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call 0x521bdc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x501f24
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.004ec084
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x4e6290

Function at 0x4e62a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004e9df0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x409dd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46512b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00459b46
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409e52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00457a5d
mov eax, dword [eax]
push 0x4901c0
push eax
call fcn.0044a8c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459dd1
test bl, bl
je 0x409e52
push 0x4901c0
lea ecx, [esp + 0xc]
call fcn.0045a161
push 0x493d3c
lea ecx, [esp + 0xc]
call fcn.0045a161
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x409e8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459dd1
jmp 0x409f59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409f12
lea edx, [esp + 0x7c]
push 0x493d38
push edx
call fcn.0044a8c4
add esp, 8
test eax, eax
je 0x409f12
lea eax, [esp + 0x7c]
push 0x493d34
push eax
call fcn.0044a8c4
add esp, 8
test eax, eax
je 0x409f12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409ea2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00459dd1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40a750
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a7b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc