joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41362c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x110
mov eax, dword [0x5e5710]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push ebx
push esi
xor ebx, ebx
push 0x103
mov dword [esp + 0x10], eax
lea eax, [esp + 0x15]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00412a10
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x413684
mov ecx, esi
call fcn.004134a8
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x413750
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 8]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x413750
cmp dword [esi + 0x30], ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 4
mov ebp, 0x1000
push ebp
je 0x4136d7
push 0x40
push ebx
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x4136e0
push 0x34
push ebx
push eax
call edi
mov dword [esi + 0x1c], eax
push 4
push ebp
push 0x104
push ebx
push dword [esi + 0x10]
call edi
push 4
push ebp
push 0x10
push ebx
push dword [esi + 0x10]
mov dword [esi + 0x24], eax
call edi
push 4
push ebp
push 8
push ebx
push dword [esi + 0x10]
mov dword [esi + 0x28], eax
call edi
cmp dword [esi + 0x1c], ebx
pop edi
mov dword [esi + 0x2c], eax
pop ebp
jne 0x413719
cmp dword [esi + 0x20], ebx
je 0x413750
cmp dword [esi + 0x24], ebx
je 0x413750
cmp dword [esi + 0x28], ebx
je 0x413750
cmp eax, ebx
je 0x413750
push 0x104
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
mov ecx, esi
call fcn.004129d1
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x14]
call fcn.004020b4
mov dword [esi + 8], 1
cmp dword [esi + 8], ebx
jne 0x41375c
mov ecx, esi
call fcn.00412907
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x114]
pop esi
pop ebx
xor ecx, esp
call fcn.0056f17c
add esp, 0x110
ret 4
Function at 0x4138d4
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
lea ebp, [esp - 0x290]
mov eax, 0x1220
call fcn.0056f3c0
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x28c], eax
and dword [ebp + 0x80], 0
push ebx
push esi
mov esi, 0x1000
push esi
lea eax, [ebp - 0xf90]
push 0
push eax
mov ebx, ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0x74]
push eax
push esi
lea eax, [ebp - 0xf90]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x413a1b
mov eax, dword [ebp + 0x74]
shr eax, 2
push 0
mov dword [ebp + 0x70], eax
pop eax
mov dword [ebp + 0x78], eax
je 0x413a15
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov eax, dword [ebp + eax*4 - 0xf90]
test eax, eax
je 0x413a04
cmp eax, 8
jbe 0x413a04
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x413a04
push 0x104
lea eax, [ebp + 0x84]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x413a01
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.MSVCR80.dll__wcslwr]
lea eax, [ebp + 0x84]
mov dword [esp], str.windowsexplorer.exe
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x413a01
lea eax, [ebp + 0x7c]
push eax
push 0xf00ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x413a01
xor ecx, ecx
lea eax, [ebx + 0x50]
cmp dword [eax], 0
mov edx, dword [ebp + 0x7c]
je 0x4139e3
inc ecx
add eax, 4
cmp ecx, 0x10
jb 0x4139d0
jmp 0x4139f1
mov dword [ebx + ecx*4 + 0x50], edx
mov dword [ebp + 0x80], 1
cmp dword [ebp + 0x80], 0
jne 0x413a01
push edx
call esi
and dword [ebp + 0x7c], 0
push edi
call esi
mov eax, dword [ebp + 0x78]
inc eax
cmp eax, dword [ebp + 0x70]
mov dword [ebp + 0x78], eax
jb 0x41394a
pop edi
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x28c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x290
leave
ret

Function at 0x4144ca
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
mov esi, ecx
mov ebx, edi
jle 0x414545
mov eax, dword [esp + 0x14]
add eax, ebp
cmp byte [esi + 0x2140], 0
je 0x414500
push dword [esi + 0x2144]
push ebx
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
jmp 0x414511
mov ecx, dword [esi + 0x214c]
push ebx
add ecx, 0xc
push eax
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sputn_char_const___int_]
add ebp, eax
sub ebx, ebp
test ebx, ebx
jle 0x414545
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x27
je 0x414536
cmp eax, 0x70
je 0x414536
call dword [sym.imp.MSVCR80.dll__errno]
cmp dword [eax], 0
je 0x4144dc
jmp 0x414541
push 0
push 0x19
mov ecx, esi
call fcn.00413d33
xor eax, eax
jmp 0x414574
mov ecx, edi
sub ecx, ebx
lea eax, [esi + 0x2148]
add dword [eax], ecx
mov eax, dword [eax]
mov dword [esi + 0x2158], eax
lea eax, [esi + 0x2150]
push eax
sub edi, ebx
push 4
mov ecx, esi
mov dword [esi + 0x2154], edi
call fcn.00413d33
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x417605
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x41769d
push edi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 4], ebx
mov edi, eax
jne 0x417693
cmp edi, 0x200000
ja 0x417693
lea eax, [edi + 2]
push esi
push eax
call fcn.0056eafa
pop ecx
push ebx
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push dword [ebp - 8]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417692
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x417692
mov byte [eax + esi], bl
mov eax, dword [ebp + 8]
mov byte [eax + esi + 1], bl
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp - 0xc], 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret 0xc
Function at 0x4176d4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
cmp eax, edi
jne 0x417702
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0056f17c
leave
ret 4
push esi
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
push dword [eax]
lea ecx, [ebp - 0x20]
push 0x5c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::rfind_wchar_t__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [ecx], eax
je 0x4177d2
push edi
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x3c]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, edi
je 0x41778a
cmp esi, 0x50
je 0x41778a
cmp esi, 0xb7
je 0x41778a
cmp esi, edi
jle 0x417779
and esi, 0xffff
or esi, 0x80070000
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
pop esi
jmp 0x4176f3
push edi
push 0x80
push 1
push edi
push 3
push 0xc0000000
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4177c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4177c3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x417779
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x417779
mov esi, 0x80070057
jmp 0x417779
Function at 0x41846d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, 0x5e7310
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
call fcn.00401c3d
push esi
lea ecx, [ebp - 0xc]
call fcn.00401c0e
xor esi, esi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x4185f0
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
dec eax
je 0x418580
dec eax
je 0x41851e
dec eax
jne 0x4185c6
push eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0xfe
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4185e7
cmp dword [ebp - 8], 2
jne 0x4185e7
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx - 0xc]
add esi, esi
jmp 0x4185c6
push 0
lea eax, [ebp - 8]
push eax
push 3
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 0x18], 0xef
mov byte [ebp - 0x17], 0xbb
mov byte [ebp - 0x16], 0xbf
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4185e7
cmp dword [ebp - 8], 3
jne 0x4185e7
call dword [0x5e56f0]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x41859e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x41859e
lea esi, [eax + eax]
mov eax, esi
call fcn.0056f690
mov eax, esp
push 0xfde9
jmp 0x4185af
call dword [0x5e56f0]
mov edi, dword [ebp - 0x10]
test edi, edi
mov ebx, eax
je 0x41859e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4185a2
xor eax, eax
jmp 0x4185b7
lea esi, [eax + eax]
mov eax, esi
call fcn.0056f690
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004177d9
push eax
lea ecx, [ebp - 0xc]
call fcn.004020b4
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebx - 0xc]
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4185e7
cmp dword [ebp - 8], esi
jne 0x4185e7
mov dword [ebp - 0x20], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056f17c
leave
ret 8
Function at 0x419827
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
mov esi, ecx
xor edi, edi
push 0x5e7310
lea ecx, [ebp - 4]
mov dword [ebp - 8], edi
call fcn.00401c3d
cmp dword [ebp + 0x10], edi
je 0x41987e
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41987e
push dword [ebp + 8]
mov ecx, esi
call fcn.004176d4
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
pop edi
mov eax, esi
pop esi
leave
ret 0xc
push ebx
lea ecx, [esi + 8]
call fcn.00419587
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00417605
test eax, eax
mov ebx, dword [ebp - 8]
je 0x41992c
cmp ebx, edi
je 0x41992c
mov eax, dword [ebp + 0xc]
dec eax
je 0x41990b
dec eax
je 0x4198c3
dec eax
jne 0x419914
push ebx
lea ecx, [ebp - 4]
call fcn.00403b27
jmp 0x419914
push 0xfde9
lea eax, [ebp - 0x108]
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], eax
call fcn.00403319
push dword [ebp - 0x10c]
lea ecx, [ebp - 4]
call fcn.004020d9
lea eax, [ebp - 0x108]
cmp dword [ebp - 0x10c], eax
je 0x419914
push dword [ebp - 0x10c]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
jmp 0x419914
push ebx
lea ecx, [ebp - 4]
call fcn.004180b7
push 0xa
push 0xd
lea ecx, [ebp - 4]
call fcn.0040e53f
push dword [ebp - 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
xor edi, edi
inc edi
push ebx
mov ecx, esi
call fcn.004176a5
mov esi, edi
pop ebx
jmp 0x41986b

Function at 0x41a22d
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x41a2a7
push ebx
push edi
push 2
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x41a2a0
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x41a287
cmp dword [ebp - 0x2c], eax
je 0x41a29d
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x41a2ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a33b
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push str.ProgramPath
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a33a
cmp dword [ebp - 8], 1
jne 0x41a33a
cmp dword [ebp - 0xc], 6
jb 0x41a33a
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x41a337
cmp ax, 0x2f
je 0x41a337
push 0x588588
push esi
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
xor ebx, ebx
inc ebx
pop esi
cmp dword [ebp - 4], edi
je 0x41a349
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x41b453
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
or esi, 0xffffffff
test edi, edi
je 0x41b517
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x58]
push eax
call fcn.0041b42f
test eax, eax
pop ecx
je 0x41b50e
mov esi, 0x58b0f0
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
call dword [0x586424]
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str._aurl:
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push edi
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 1
push 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x58b168
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
dec ecx
mov esi, ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0056f17c
leave
ret

Function at 0x41d2cf
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x41d840
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
xor edx, edx
xor eax, eax
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jb 0x41d84a
push ebx
push esi
push edi
mov byte [ecx + 0x100], dl
mov byte [ecx + 0x101], dl
mov dword [ebp + 0x10], edx
xor esi, esi
movzx eax, dl
mov edx, dword [ebp + 0x10]
lea edi, [edx + ecx]
mov edx, dword [ebp + 8]
movzx edx, byte [eax + edx]
movzx ebx, byte [edi]
add edx, esi
add edx, ebx
and edx, 0x800000ff
jns 0x41d890
dec edx
or edx, 0xffffff00
inc edx
movzx esi, dl
mov dl, byte [edi]
mov bl, byte [esi + ecx]
inc eax
mov byte [edi], bl
mov byte [esi + ecx], dl
cdq
idiv dword [ebp + 0xc]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0x100
jb 0x41d869
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41d8b3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x10]
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov dl, byte [ecx + 0x100]
mov al, byte [ecx + 0x101]
jbe 0x41d96c
push ebx
push esi
push edi
movzx esi, dl
movzx edi, al
jmp 0x41d8e4
mov edi, dword [ebp - 0xc]
lea edx, [esi + 1]
and edx, 0x800000ff
jns 0x41d8f7
dec edx
or edx, 0xffffff00
inc edx
movzx esi, dl
lea eax, [esi + ecx]
movzx ebx, byte [eax]
add ebx, edi
and ebx, 0x800000ff
jns 0x41d912
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edi, bl
mov byte [ebp - 1], bl
mov bl, byte [eax]
mov byte [ebp + 0x13], bl
mov bl, byte [edi + ecx]
mov byte [eax], bl
mov bl, byte [ebp + 0x13]
mov byte [edi + ecx], bl
mov ebx, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 8]
add edi, ebx
mov ebx, dword [ebp - 0xc]
movzx ebx, byte [ebx + ecx]
add ebx, eax
and ebx, 0x800000ff
jns 0x41d94f
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, bl
mov al, byte [eax + ecx]
xor byte [edi], al
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jb 0x41d8e1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov byte [ecx + 0x100], dl
mov byte [ecx + 0x101], al
leave
ret
Function at 0x41e49c
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5e4]
sub esp, 0x664
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x5e0], eax
mov eax, dword [ebp + 0x5f0]
push ebx
push edi
mov edi, dword [ebp + 0x5ec]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
jne 0x41e4ea
xor eax, eax
mov ecx, dword [ebp + 0x5e0]
pop edi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x5e4
leave
ret
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x78], eax
je 0x41e4d1
push esi
push 0x228
lea eax, [ebp + 0x3b8]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0x3b4]
push eax
push dword [ebp - 0x78]
mov esi, 0x22c
mov dword [ebp + 0x3b4], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41e53e
xor esi, esi
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
jmp 0x41e4d3
push 0x104
lea eax, [ebp + 0x3d8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x41e58b
push esi
lea eax, [ebp + 0x3b4]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0x3b4]
push eax
push dword [ebp - 0x78]
mov dword [ebp + 0x3b4], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e53e
jmp 0x41e5df
push dword [ebp + 0x3bc]
mov dword [ebp - 0x7c], 1
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41e5df
push 0x424
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push esi
mov dword [ebp - 0x74], 0x428
call sub.KERNEL32.dll_Module32FirstW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x1ac]
push eax
call fcn.004020d9
mov esi, dword [ebp - 0x7c]
jmp 0x41e530

Function at 0x41e6c8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
lea esi, [eax + 8]
push edi
mov ecx, esi
call fcn.0041df57
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x41e6fd
xor eax, eax
jmp 0x41e774
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41e725
test edi, edi
je 0x41e6f9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41e6f9
lea eax, [ebp - 0x20c]
push 0x58c07c
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x41e74b
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.0041e673
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e725
test edi, edi
je 0x41e767
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0041d9a9
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056f17c
leave
ret