joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d59
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406eb1
cmp dword [ebp + 0xc], ebx
je 0x406eb1
push esi
push 0x64
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call esi
test eax, eax
jne 0x406e91
mov dword [ebp - 8], ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x14], 0x104
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x406e88
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x2e8]
push ebx
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x406e80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.ServiceName
mov dword [ebp - 0x10], 0x208
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406e77
push 0x64
lea eax, [ebp - 0xe0]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0xe0]
push 0x64
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.00406eb6
add esp, 0x18
test eax, eax
je 0x406e77
cmp byte [ebp - 0x7c], bl
je 0x406e65
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x406e77
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x7c]
push 0x64
push eax
call fcn.00406867
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
jmp 0x406dab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x7c], bl
pop esi
je 0x406eb1
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406867
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x406eb3
xor eax, eax
pop ebx
leave
ret
Function at 0x407519
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
cmp dword [ebp + 8], 0
push esi
je 0x407622
cmp dword [ebp + 0xc], 0x20
jb 0x407622
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 8]
push eax
push 0x40ed1c
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x407622
lea eax, [ebp - 0x508]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 0x40
pop ecx
jne 0x407622
push edi
lea eax, [ebp - 0x508]
push 0x20
push eax
mov edi, 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00407627
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00406867
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x508]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00407383
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
pop edi
jne 0x407622
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406867
neg eax
sbb eax, eax
inc eax
jmp 0x407624
xor eax, eax
pop esi
leave
ret

Function at 0x40766f
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407703
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x407703
push esi
push edi
mov byte [ebp - 1], bl
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4076f5
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4076f5
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x40e750
push esi
mov dword [ebp + 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4076f5
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x40], 0xfeef04bd
sete byte [ebp - 1]
push esi
call dword [sym.imp.MSVCRT.dll_free]
cmp byte [ebp - 1], bl
pop ecx
pop esi
jne 0x407707
xor al, al
jmp 0x407731
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x4077c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x212]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov ebx, str.Path
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
mov edi, 0x40e028
push ebx
push edi
push 0x80000002
mov dword [ebp - 8], 0x20a
mov dword [ebp - 4], 1
call esi
cmp word [ebp - 0x214], 0
jne 0x40785a
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x20a
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x80000001
mov dword [ebp - 4], 1
call esi
cmp word [ebp - 0x214], 0
je 0x4078ab
cmp dword [ebp + 8], 0
je 0x40787f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push 0x40ed20
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00407c32
lea eax, [ebp - 0x214]
push eax
call fcn.0040480b
test eax, eax
pop ecx
je 0x4078ab
push 1
pop eax
jmp 0x4078ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4079b5
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x40a7e9
call fcn.00408940
mov eax, 0x1228
call fcn.00408900
mov al, byte [ebp - 0xd]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.004077c7
test eax, eax
pop ecx
je 0x407aaf
mov esi, str._safemon360tray.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1230]
mov dword [ebp - 0x1234], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1234]
push 0x1000
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x407aaf
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
shr esi, 2
je 0x407aaf
lea ebx, [ebp - 0x1234]
mov edx, dword [ebx]
test edx, edx
je 0x407aa4
and word [ebp - 0x234], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x232]
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x234]
push 0x104
push eax
push edx
call fcn.00407735
add esp, 0x10
test al, al
je 0x407aa4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407a90
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x234]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x407acf
inc dword [ebp - 0x14]
add ebx, 4
cmp dword [ebp - 0x14], esi
jb 0x407a4d
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
pop eax
jmp 0x407ac0
Function at 0x407ae3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407b4e
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.AppMonAccess
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407b45
cmp dword [ebp - 8], 1
sete al
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x407b53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407bbe
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.SB_State
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407bb5
cmp dword [ebp - 8], 1
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x407dad
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
lea eax, [ebp - 0x114]
push esi
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x104], 2
push 1
mov dword [0x41370c], eax
mov dword [0x41371c], eax
mov dword [0x413710], eax
mov dword [0x413714], eax
pop esi
jne 0x407e3a
cmp dword [ebp - 0x110], 5
jne 0x407e19
cmp dword [ebp - 0x10c], eax
jne 0x407e09
mov dword [0x41371c], esi
jmp 0x407e48
cmp dword [ebp - 0x10c], esi
jne 0x407e48
mov dword [0x413710], esi
jmp 0x407e48
cmp dword [ebp - 0x110], 6
jne 0x407e48
cmp dword [ebp - 0x10c], eax
je 0x407e32
cmp dword [ebp - 0x10c], esi
jne 0x407e48
mov dword [0x413714], esi
jmp 0x407e48
cmp dword [ebp - 0x104], esi
jne 0x407e48
mov dword [0x41370c], esi
mov ax, word [0x411c2c]
push edi
mov word [ebp - 0x31c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x31a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x31c]
push 0x103
push eax
call fcn.0040806b
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x407e8d
mov dword [0x413720], esi
jmp 0x407eaf
cmp word [ebp - 0x31c], 0x36
jne 0x407e9f
mov dword [0x413724], esi
jmp 0x407eaf
cmp word [ebp - 0x31c], 0x38
jne 0x407eaf
mov dword [0x413728], esi
pop esi
leave
ret
Function at 0x407eb2
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov ax, word [0x411c2c]
push ebx
push esi
push edi
mov word [ebp - 0x460], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45e]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x40ee54
push dword [ebp + 8]
mov ebx, 0x103
stosw word es:[edi], ax
push 0x40e434
lea eax, [ebp - 0x460]
push ebx
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0x14
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x407f2b
xor eax, eax
jmp 0x408041
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x22c]
push 0x40ea2c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x408005
lea eax, [ebp - 0x22c]
push 0x40ea24
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x408005
test byte [ebp - 0x258], 0x10
mov ax, word [0x411c2c]
je 0x407fb5
mov word [ebp - 0x870], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x86e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x870]
push dword [ebp + 8]
push str._s_s_
push ebx
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x870]
push eax
call fcn.00407eb2
add esp, 0x1c
jmp 0x408002
mov word [ebp - 0x668], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x666]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x668]
push dword [ebp + 8]
push 0x40e434
push ebx
push eax
call esi
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x407ff5
cmp dword [ebp + 0xc], 1
jne 0x408005
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407f2b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x408032
cmp dword [ebp + 0xc], 2
jne 0x40803e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408046
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
mov esi, dword [esp + 8]
push eax
push 0x26
push esi
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
pop esi
ret
Function at 0x4081a2
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40a7fc
call fcn.00408940
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push dword [ebp + 8]
mov ebx, str.BossKey
mov edi, str.Option
push 0
push ebx
push edi
call esi
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
push 0
push str.EnableBSK
push edi
call esi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 0
push ebx
push edi
call esi
cmp dword [ebp - 0x10], 0
je 0x408285
test eax, eax
je 0x408285
cmp eax, dword [ebp + 8]
jne 0x408287
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, str.360
push 0x44
push ebx
push 0x40ef30
push 0
call edi
cmp eax, 6
jne 0x408285
mov dword [ebp - 0x10], 0x40b3c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push dword [ebp + 0xc]
push 0x403c18
push eax
push 0x6a
push dword [0x4101b8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
test esi, esi
je 0x40825c
cmp esi, dword [ebp + 8]
jne 0x40826e
push 0x31
push ebx
push 0x40ef10
push 0
call edi
cmp eax, 2
je 0x408273
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403c11
test esi, esi
je 0x408285
jmp 0x40821c
cmp esi, 2
jne 0x408275
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403c11
mov eax, esi
jmp 0x408287
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x408296
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0xe], 1
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
mov word [ebp - 0x10], 0x214
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call fcn.004044ba
pop ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x408ee4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx eax, word [ecx + 0x14]
push edi
lea esi, [eax + ecx + 0x18]
cmp ebx, dword [esi + 0xc]
lea edx, [esi + 0xc]
jae 0x408f05
mov eax, ebx
jmp 0x408f44
movzx edi, word [ecx + 6]
xor eax, eax
test edi, edi
jbe 0x408f41
mov dword [ebp + 0xc], edx
lea edx, [eax + 1]
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x408f21
mov edx, dword [ecx + 0x50]
jmp 0x408f27
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x408f36
cmp ebx, dword [ebp + 0x10]
jb 0x408f49
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp eax, edi
jb 0x408f12
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [esi + eax*8 + 0x14]
sub eax, dword [ecx + 0xc]
add eax, ebx
jmp 0x408f44

Function at 0x4091e3
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x43d552
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx eax, word [ecx + 0x14]
push edi
lea esi, [eax + ecx + 0x18]
cmp ebx, dword [esi + 0xc]
lea edx, [esi + 0xc]
jae 0x43d573
mov eax, ebx
jmp 0x43d5b2
movzx edi, word [ecx + 6]
xor eax, eax
test edi, edi
jbe 0x43d5af
mov dword [ebp + 0xc], edx
lea edx, [eax + 1]
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x43d58f
mov edx, dword [ecx + 0x50]
jmp 0x43d595
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x43d5a4
cmp ebx, dword [ebp + 0x10]
jb 0x43d5b7
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp eax, edi
jb 0x43d580
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [esi + eax*8 + 0x14]
sub eax, dword [ecx + 0xc]
add eax, ebx
jmp 0x43d5b2

Function at 0x43e496
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4015e4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4015f6
mov eax, dword [0x54209f]
shl eax, 2
mov dword [0x5420a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.004e84bc
pop edx
call fcn.004e8400
call fcn.004e8618
push 0
call fcn.004ea1dc
pop ecx
push 0x542048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x5420a7], eax
push 0
jmp fcn.004f4588

Function at 0x40183c
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov eax, 0x5424d4
call fcn.004e95f0
mov word [ebp - 0x14], 0xc
mov eax, 1
invalid

Function at 0x401890
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov eax, 0x5424ec
call fcn.004e95f0
mov word [ebp - 0x14], 0xc
push ebx
mov eax, 0x564d5868
mov ebx, 0x8685d465
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [ebp - 0x28], ebx
pop ebx
mov word [ebp - 0x14], 0
jmp 0x4018d8
cmp dword [ebp - 0x28], 0x564d5868
sete al
and eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403dbc
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a0
push ebx
push esi
push edi
mov eax, 0x543a08
call fcn.004e95f0
push 0x543406
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push str.ControlMenu_
push str._s__d__s
push 0x55ca04
call fcn.00404030
add esp, 0x14
push 0x208
lea edx, [ebp - 0x258]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov word [ebp - 0x38], 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
inc dword [ebp - 0x2c]
call fcn.004044dc
pop ecx
lea edx, [ebp - 4]
mov eax, 0x55ca0c
call fcn.004f86cc
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x38], 0x24
mov edx, 0x543408
lea eax, [ebp - 8]
call fcn.004f8514
inc dword [ebp - 0x2c]
mov word [ebp - 0x38], 0x18
push 0x208
lea ecx, [ebp - 0x460]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov word [ebp - 0x38], 0x30
lea edx, [ebp - 0x460]
lea eax, [ebp - 0xc]
call fcn.004f8640
inc dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004f86cc
dec dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f86a4
push 0x14
call fcn.004df878
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x403ee1
mov word [ebp - 0x38], 0x54
push 1
push 0
push 1
mov edx, 0x543409
lea eax, [ebp - 0x14]
call fcn.004f8514
inc dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.004f8c5c
add esp, 0x18
mov word [ebp - 0x38], 0x3c
mov edx, dword [ebp - 0x10]
jmp 0x403ee4
mov edx, dword [ebp - 0x10]
mov dword [0x55ca08], edx
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x38], 0
mov byte [0x55ca18], 0
xor eax, eax
mov dword [0x55ca1c], eax
mov word [ebp - 0x38], 0x60
push 0xff
lea ecx, [ebp - 0x660]
push ecx
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x4c]
push edx
push 0x55ca1c
push 0xff
lea ecx, [ebp - 0x560]
push ecx
push 0x54340d
call sub.KERNEL32.DLL_GetVolumeInformationA
mov word [ebp - 0x38], 0
jmp 0x403f6d
mov word [ebp - 0x38], 0x78
mov edx, str.JMSvc.exe
lea eax, [ebp - 0x18]
call fcn.004f8514
inc dword [ebp - 0x2c]
push dword [eax]
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
push ecx
inc dword [ebp - 0x2c]
call fcn.00406358
add esp, 8
lea edx, [ebp - 0x1c]
mov eax, 0x55ca10
call fcn.004f86cc
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x38], 0x84
mov edx, str.JMUnins.exe
lea eax, [ebp - 0x20]
call fcn.004f8514
inc dword [ebp - 0x2c]
push dword [eax]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x24]
push eax
inc dword [ebp - 0x2c]
call fcn.00406358
add esp, 8
lea edx, [ebp - 0x24]
mov eax, 0x55ca14
call fcn.004f86cc
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004f86a4
mov ecx, dword [ebp - 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret