joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cba40
Capabilities:
Create directory

Disassembly:
mov eax, 0x4f60e0
call fcn.004e1580
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x5337dc], ebx
jne 0x4cbb32
lea eax, [ebp - 0x10]
push eax
call fcn.004d14df
lea eax, [ebp - 0x10]
mov dword [esp], str...Profiles
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_operator_2
push ebx
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x10]
push str.TaskManager.dll
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_2
push 0x5337dc
push 0x5093a0
push 0x5097f0
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call fcn.004d1991
add esp, 0x10
cmp eax, ebx
mov dword [0x5337e0], eax
jne 0x4cbb0f
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
push 0x80bf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4cbb35
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
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 ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4d0df2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x533a50], 0
push esi
mov esi, ecx
jne 0x4d0e16
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [0x533a50], eax
mov eax, dword [0x533a54]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [0x533a54], esi
and dword [esi + 0xc], 0
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x14]
push ecx
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004d0eb7
mov dword [esi + 0xc], eax
cmp eax, dword [0x533a50]
jbe 0x4d0e63
cmp byte [eax], 0x68
jne 0x4d0e63
mov eax, dword [eax + 1]
mov dword [esi + 0xc], eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.004d0ec8
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x4d0ec8
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x4f6878
call fcn.004e1580
sub esp, 0x224
cmp dword [ebp + 0x14], 0
push ebx
push esi
je 0x4d0eef
push fcn.004d0ec8
call fcn.004d0f89
pop ecx
mov ebx, eax
jmp 0x4d0ef1
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp + 0x14], esi
and dword [ebp - 4], 0
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x224
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Module32First
pop edi
test eax, eax
je 0x4d0f6d
cmp dword [ebp - 0x214], ebx
je 0x4d0f5e
mov eax, dword [ebp - 0x21c]
cmp eax, dword [0x533a50]
jae 0x4d0f5e
push dword [ebp - 0x214]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004d0fa7
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
jmp 0x4d0f30
cmp esi, 0xffffffff
je 0x4d0f79
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4d1286
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
and byte [ebp - 0x124], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x102
push dword [ebp + 8]
stosb byte es:[edi], al
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x124]
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
pop edi
inc eax
leave
ret
Function at 0x4d12f4
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4f68b8
call fcn.004e1580
sub esp, 0x110
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
and byte [ebp - 0x11c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
mov esi, dword [ebp + 8]
rep stosd dword es:[edi], eax
and dword [ebp - 4], 0
stosw word es:[edi], ax
test esi, esi
stosb byte es:[edi], al
jne 0x4d1349
lea eax, [ebp - 0x11c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x11c]
lea eax, [ebp - 0x18]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4d13b9
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4d13b2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x52a1c4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4d13b2
push 0x34
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
push edi
call sub.MFC42.DLL_operatordelete
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
jmp 0x4d13c7
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4d17e1
Capabilities:
Create process on windows
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
mov eax, 0x4f6a08
call fcn.004e1580
sub esp, 0x414
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x41f]
mov byte [ebp - 0x420], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push str.http_shellopencommand
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
jne 0x4d1926
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x400
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push 0x52fdc0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x4d1926
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::MakeLower
push str..exe
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_3
mov edi, eax
cmp edi, 0xffffffff
je 0x4d191a
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
push edi
push 0x20
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x4d18de
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4d18ea
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
call esi
cmp eax, 0x20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jle 0x4d1915
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4d1982
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 0x400
lea eax, [ebp - 0x420]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push ebx
push 0x26
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4d1982
push 0x40
lea eax, [ebp - 0x420]
push str.Internet_Exploreriexplore.exe
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
lea eax, [ebp - 0x420]
push 1
push ebx
push dword [ebp + 8]
push eax
push str.open
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4d1a00
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4f6a1c
call fcn.004e1580
push ecx
push ecx
push edi
xor edi, edi
push edi
push dword [ebp + 8]
call fcn.004d1e1a
pop ecx
test eax, eax
pop ecx
je 0x4d1a7f
push esi
push 1
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
push edi
push dword [ebp + 8]
push edi
push edi
call esi
cmp eax, 0x1f
jne 0x4d1a79
push str.Shell32.dll_OpenAs_RunDLL
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push dword [ebp + 8]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 1
push edi
push eax
push str.rundll32.exe
push str.open
push edi
call esi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
pop esi
jmp 0x4d1a81
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x4d1a8e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
and byte [ebp - 0x180], 0
push edi
push 0x50
xor eax, eax
pop ecx
lea edi, [ebp - 0x17f]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x180]
push str._n__select___s_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
and dword [ebp - 0x34], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x180]
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], str.explorer
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret

Function at 0x4d1b15
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
leave
ret
Function at 0x4d4262
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4f6e43
call fcn.004e1580
sub esp, 0x420
push ebx
push esi
push edi
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push eax
call fcn.004d298e
push 1
pop esi
push dword [eax]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
push eax
call fcn.004d166f
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
jne 0x4d42c3
mov ecx, dword [ebp + 8]
push 0x52fdc0
call sub.MFC42.DLL_CString::CString_4
mov dword [ebp - 0x1c], esi
jmp 0x4d442c
mov dword [ebp + 0xc], ebx
push 0x20019
mov esi, Ordinal_1
push eax
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00404a48
test eax, eax
jne 0x4d4407
mov ecx, 0xff
lea edi, [ebp - 0x42b]
mov byte [ebp - 0x42c], bl
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov edi, 0x400
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
mov dword [ebp - 0x20], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4d4407
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
push str._shellopencommand
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
push 0x20019
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call fcn.00404a48
test eax, eax
jne 0x4d43e9
push edi
lea eax, [ebp - 0x42c]
push ebx
push eax
mov dword [ebp - 0x20], edi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4d43e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x42c]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4d43dd
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x4d442c
push dword [ebp + 0xc]
call esi
jmp 0x4d4429
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
je 0x4d4407
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push 0x52fdc0
call sub.MFC42.DLL_CString::CString_4
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x1c], 1
je 0x4d442c
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4d4634
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
mov eax, 0x4f6ed4
call fcn.004e1580
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp + 8]
push dword [ebp + 8]
push eax
call fcn.004d298e
push dword [eax]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004d166f
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], esi
je 0x4d47b0
lea ecx, [ebp - 0x18]
mov edi, Ordinal_1
push ecx
lea ecx, [ebp + 8]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x4d47b0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1c], eax
call ebx
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
jne 0x4d47a2
mov dword [ebp - 0x14], esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp dword [ebp + 0x10], esi
je 0x4d47a2
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
push str._shellopencommand
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x4d4788
mov edi, dword [ebp - 0x18]
push dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
call ebx
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
jne 0x4d4788
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x4d476d
push edi
call ebx
cmp dword [ebp + 8], esi
je 0x4d4777
push dword [ebp + 8]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
jmp 0x4d47be
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x14], esi
je 0x4d47a2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
je 0x4d47b0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4d4b9f
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, 0x4f6fb8
call fcn.004e1580
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp + 8]
push dword [ebp + 8]
push eax
call fcn.004d298e
push dword [eax]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004d166f
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], esi
je 0x4d4d52
lea ecx, [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
lea ecx, [ebp + 8]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
mov edi, Ordinal_1
push eax
push edi
mov dword [ebp + 8], esi
call ebx
cmp eax, esi
jne 0x4d4d52
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
jne 0x4d4d44
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
push str.DefaultIcon
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp - 0x14]
push edi
call ebx
cmp eax, esi
jne 0x4d4d2a
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x10], eax
jne 0x4d4cd4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4d4ca8
push eax
call ebx
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], esi
je 0x4d4cc8
push dword [ebp - 0x10]
call ebx
cmp dword [ebp + 8], esi
je 0x4d4d19
push dword [ebp + 8]
call ebx
jmp 0x4d4d19
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
jne 0x4d4d2a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0xc], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4d4d0f
push dword [ebp + 0xc]
call edi
cmp dword [ebp + 8], esi
je 0x4d4d19
push dword [ebp + 8]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
jmp 0x4d4d60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], esi
je 0x4d4d44
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
je 0x4d4d52
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4d5470
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetForegroundWindow]
push esi
push edi
call ebp
mov esi, dword [esp + 0x18]
cmp eax, esi
je 0x4d5521
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call edi
mov ebx, eax
push 0
mov dword [esp + 0x14], ebx
call ebp
push eax
call edi
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4d552f
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
call edi
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call edi
call ebp
cmp eax, esi
je 0x4d551c
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push eax
push ebp
push 0x2000
call edi
push 2
push ebp
push ebp
mov ebp, 0x2001
push ebp
call edi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [esp + 0x18]
push 2
push eax
push 0
push ebp
call edi
jmp 0x4d552f
push esi
call ebx
jmp 0x4d5528
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4d684e
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
push 0x40
add ecx, 0x18
push eax
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
ret

Function at 0x4d71b9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push ebx
push Ordinal_1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 8], esi
jne 0x4d71e8
xor al, al
jmp 0x4d7274
lea eax, [ebp + 8]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
jbe 0x4d7268
push ebx
push edi
push dword [ebp + 8]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4d7268
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x4d725f
lea ecx, [ebp - 0x60]
call fcn.004d6743
cmp dword [ebp + 8], ebx
jbe 0x4d7241
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x60]
call fcn.004d674f
dec esi
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x4d722f
push edi
push esi
lea ecx, [ebp - 0x60]
call fcn.004d674f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
call fcn.004d67ee
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret