joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d88c
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x46a06c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Creating_process_r_n
mov edi, edx
mov esi, ecx
call fcn.0040bcc0
pop ecx
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0042cff0
add esp, 0xc
mov dword [esp + 0x20], 0x44
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
xor eax, eax
push eax
push eax
push 4
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40d924
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.0040d936
mov edi, eax
test edi, edi
jne 0x40d90a
push 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], ecx
call esi
push dword [esp + 0x10]
call esi
mov eax, edi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042aba6
mov esp, ebp
pop ebp
ret
Function at 0x40e023
Capabilities:
Acquire debug privileges
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x4523b0
call fcn.0042b785
xor esi, esi
mov dword [ebp - 0x14], esi
call fcn.0040abb2
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a2b3
lea eax, [ebp - 0x20]
mov dword [ebp - 4], esi
push eax
xor edi, edi
push str.SeDebugPrivilege
inc edi
push esi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40e06d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_acquire_debug_privilege_name:_ld
jmp 0x40e0bb
lea eax, [ebp - 0x28]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40e092
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_acquire_process_token:_ld
jmp 0x40e0bb
push esi
push esi
push 0x10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 2
push eax
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x40e0d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_enable_debug_privilege:_ld
lea eax, [ebp - 0x14]
push eax
call fcn.0040c2aa
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40e0e3
push str.Acquired_debug_privilege
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
mov esi, dword [ebp - 0x14]
lea ecx, [esi - 0x10]
call fcn.0040ac91
mov eax, edi
call fcn.0042b72f
ret

Function at 0x40e0f3
Capabilities:
Enumerate processes

Disassembly:
push 0x23c
mov eax, 0x4523dd
call fcn.0042b785
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 0xf
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push 0x461438
mov esi, eax
call fcn.0040b504
and dword [ebp - 4], 0
test esi, esi
je 0x40e1f2
lea ecx, [ebp - 0x21c]
call fcn.0040a06e
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b7e6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov esi, dword [eax - 0xc]
push esi
call fcn.0040a277
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0043a268
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0040a40b
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x40e1dc
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x40e1dc
push ecx
push eax
call fcn.0042c617
pop ecx
pop ecx
test eax, eax
je 0x40e1dc
sub eax, dword [ebp - 0x14]
sar eax, 1
js 0x40e1dc
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x40e1cd
mov eax, dword [ebp - 0x238]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x40e1dc
lea eax, [ebp - 0x238]
push eax
push ecx
mov ecx, edi
call fcn.00410851
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40e151
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
call fcn.0042b72f
ret 8
Function at 0x40e20c
Capabilities:
Get process image filename
Print debug messages

Disassembly:
push 0x218
mov eax, 0x452410
call fcn.0042b785
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
call fcn.0040abb2
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040a2b3
push ebx
push edi
push 0x411
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x208
mov ebx, eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042cff0
add esp, 0xc
test ebx, ebx
je 0x40e2f6
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x40e2f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.GetProcessImageFileName_failed._errcode:_d_n
push eax
call fcn.0040c2aa
mov esi, dword [ebp - 0x21c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x40e2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.GetModuleFileNameEx_failed._errcode:_d_n
push eax
call fcn.0040c2aa
mov esi, dword [ebp - 0x21c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40e340
mov esi, dword [ebp - 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
push str.szPath__:_s_n
call fcn.0040d860
pop ecx
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x218]
call fcn.0040d511
pop ecx
pop ecx
test eax, eax
je 0x40e34c
push str.restart_Process_OK__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
inc edi
lea ecx, [esi - 0x10]
call fcn.0040ac91
mov eax, edi
jmp 0x40e354
lea ecx, [esi - 0x10]
call fcn.0040ac91
call fcn.0042b72f
ret 8
Function at 0x40e86a
Capabilities:
Copy file
Get common file path

Disassembly:
push 0x2b8
mov eax, 0x452525
call fcn.0042b785
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c0], ebx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0040e023
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040b504
push 0x461434
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c4]
call fcn.004098a8
mov esi, str.svchost.exe
mov byte [ebp - 4], 2
push esi
mov edx, eax
lea ecx, [ebp - 0x220]
call fcn.004098a8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c4]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2bc]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x21c], edi
call fcn.0040c4c5
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
call fcn.004098a8
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c0]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
push edi
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2bc]
push eax
push 0
lea ecx, [ebp - 0x21c]
inc edi
call fcn.0040a277
mov edx, esi
mov ecx, eax
call fcn.0040d88c
pop ecx
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x40e9c3
cmp edi, 5
jle 0x40e94e
push ecx
mov esi, esp
mov dword [ebp - 0x2bc], esi
mov edi, dword [ebp + 0xc]
lea ecx, [edi - 0x10]
call fcn.0040a3b8
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.0040ea8d
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
lea ecx, [edi - 0x10]
jmp 0x40ea32
push 0x98
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.0042cff0
pop ecx
lea ecx, [ebp - 0x2b8]
call fcn.0040f2e3
push 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b8]
push dword [ebp - 0x2bc]
call fcn.0040f7ce
push ebx
lea ecx, [ebp - 0x2b8]
call fcn.0040f226
lea ecx, [ebp - 0x2b8]
call fcn.0040ea41
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov eax, ebx
call fcn.0042b72f
ret 8
Function at 0x40ea8d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push pe_nt_image_headers32
mov eax, 0x452582
call fcn.0042b785
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], eax
xor esi, esi
mov ecx, ebx
inc esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
push 0x461338
mov byte [ebx], al
call fcn.00407b51
push 0x98
lea eax, [ebp - 0xec]
mov dword [ebp - 0x100], esi
push 0
push eax
call fcn.0042cff0
pop ecx
lea ecx, [ebp - 0xec]
call fcn.0040f2e3
push 0x44
pop esi
push esi
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0042cff0
xor eax, eax
mov dword [ebp - 0x54], esi
lea edi, [ebp - 0xfc]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40eb84
push 0
push dword [ebp - 0xf4]
lea ecx, [ebp - 0xec]
call fcn.0040f7ce
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040f226
push eax
mov ecx, ebx
call fcn.00408b63
lea ecx, [ebp - 0x11c]
call fcn.00407b2b
push dword [ebp - 0xf8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xfc]
call esi
lea ecx, [ebp - 0xec]
call fcn.0040ea41
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040ac91
mov eax, ebx
call fcn.0042b72f
ret 8
Function at 0x40ec2d
Capabilities:
Enumerate files on windows
Reference cloudflare dns server

Disassembly:
push 0x270
mov eax, 0x452633
call fcn.0042b785
mov edi, ecx
mov dword [ebp - 0x268], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x27c], edi
and dword [ebp - 0x26c], 0
and dword [ebp - 0x14], 0
call fcn.0040de8b
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
and dword [edi], 0
call fcn.0040abb2
push eax
mov ecx, edi
call fcn.0040a2b3
push str..exe
lea edx, [ebp - 0x14]
mov dword [ebp - 0x26c], ebx
lea ecx, [ebp - 0x270]
call fcn.004098a8
pop ecx
lea ecx, [ebp - 0x264]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x270]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0040ac91
cmp ebx, 0xffffffff
je 0x40edbf
test byte [ebp - 0x264], 0x10
jne 0x40ed86
mov ecx, 0x461df8
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ecf7
test dx, dx
je 0x40ecf3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ecf7
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ecd1
xor eax, eax
jmp 0x40ecfc
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ed86
push 0x461434
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x268]
call fcn.004098a8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x278]
call fcn.004098a8
pop ecx
pop ecx
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.0040edd2
push str.1.0.0.1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040c9d6
mov ecx, dword [ebp - 0x274]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040ac91
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.0040ac91
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
test esi, esi
je 0x40ed9e
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40ecb9
jmp 0x40edb8
lea ecx, [ebp - 0x238]
call fcn.0040a06e
push eax
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
call fcn.0040b7e6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040ac91
mov eax, edi
call fcn.0042b72f
ret
Function at 0x40edd2
Capabilities:
Get file version info

Disassembly:
push 0x28
mov eax, 0x45269c
call fcn.0042b785
mov esi, edx
mov dword [ebp - 0x20], esi
mov ebx, ecx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
push 0x461438
mov dword [ebx], edi
call fcn.0040b504
mov dword [ebp - 4], edi
push edi
push dword [esi]
mov dword [ebp - 0x30], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x40efbe
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x40efbe
mov eax, dword [ebp - 0x20]
push esi
push edi
xor edi, edi
push edi
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], edi
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edi
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x24], edi
je 0x40efb7
mov dword [ebp - 0x14], edi
call fcn.0040abb2
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a2b3
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], edi
call fcn.0040abb2
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a2b3
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
call fcn.0040abb2
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a2b3
mov byte [ebp - 4], 3
mov esi, str.000_x
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040c2aa
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push 4
push eax
call fcn.0040c98d
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0040b4b6
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 2]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040c2aa
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push 4
push eax
call fcn.0040c98d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040b941
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040ac91
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push str.StringFileInfo_sOriginalFileName
push eax
call fcn.0040c2aa
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x100
call fcn.0040a277
mov esi, eax
lea ecx, [ebp - 0x14]
push 0x100
call fcn.0040a40b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov esi, dword [ebp - 0x14]
push dword [esi - 8]
push esi
call fcn.00434d22
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a40b
push dword [ebp - 0x24]
push 0x461ea8
push ebx
call fcn.0040c2aa
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0040ac91
lea ecx, [edi - 0x10]
call fcn.0040ac91
lea ecx, [esi - 0x10]
call fcn.0040ac91
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
call fcn.0042b72f
ret
Function at 0x40efc6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x46a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push eax
push str._delay
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x40f108
call fcn.0040cbce
mov ecx, eax
call fcn.0040d1a8
call fcn.0040cbce
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
and dword [ebp - 8], 0
add eax, 0x64
push eax
call fcn.00409c88
call fcn.0040cbce
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x34]
and dword [ebp - 0x20], 0
add eax, 0x1c
push eax
call fcn.00409c88
cmp dword [ebp - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x40f0d2
push str.___Loop_
call edi
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
jb 0x40f055
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40f06e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f05a
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jle 0x40f072
xor eax, eax
jmp 0x40f086
lea eax, [ebx + ebx]
call fcn.0042b830
mov ecx, esp
mov edx, esi
push 3
push ebx
call fcn.0040bcf2
push eax
call fcn.0040f12e
test eax, eax
jne 0x40f0cb
push str.SmartBox
push eax
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x40f0b2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40f03e
push str.___SmartBox_is_already_Run_
call edi
lea ecx, [ebp - 0x34]
call fcn.00407b2b
lea ecx, [ebp - 0x1c]
call fcn.00407b2b
jmp 0x40f118
push str.___MonitorApp_is_already_Run_
call edi
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0043629e
imul eax, eax, 0x3e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.___Delay_end_
call edi
lea ecx, [ebp - 0x34]
call fcn.00407b2b
lea ecx, [ebp - 0x1c]
call fcn.00407b2b
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.0040e35c
xor eax, eax
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042aba6
leave
ret 0x10

Function at 0x40f12e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x46a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f1be
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40f1b3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f19c
test dx, dx
je 0x40f198
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f19c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f176
xor eax, eax
jmp 0x40f1a1
sbb eax, eax
or eax, 1
test eax, eax
je 0x40f1cf
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40f16d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042aba6
leave
ret 4
xor eax, eax
inc eax
jmp 0x40f1c0
Function at 0x41552f
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
movups xmm2, xmmword [eax]
mov ecx, dword [edx + 0xf0]
mov eax, dword [esp + 8]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
lea edx, [edx + 0x20]
xorps xmm2, xmm0
aesdec xmm2, xmm1
dec ecx
movups xmm1, xmmword [edx]
lea edx, [edx + 0x10]
jne 0x401072
aesdeclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [eax], xmm2
pxor xmm2, xmm2
ret
push ebp
push ebx
push esi
push edi
lea ebp, [0xfffff551]
call fcn.00403840
mov esi, dword [esp + 0x14]
lea ebx, [esp - 0x38]
mov edi, dword [esp + 0x18]
and ebx, 0xfffffff0
mov edx, dword [esp + 0x1c]
xchg esp, ebx
mov dword [esp + 0x30], ebx
movdqu xmm0, xmmword [esi]
call fcn.00403990
movdqu xmmword [edi], xmm0
mov esp, dword [esp + 0x30]
pop edi
pop esi
pop ebx
pop ebp
ret
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, esp
sub esp, 0x24
and esp, 0xffffffc0
lea ebx, [edi - 0x7f]
sub ebx, esp
neg ebx
and ebx, 0x3c0
sub esp, ebx
add esp, 4
mov dword [esp + 0x1c], eax
call fcn.00406b2f
push ebp
mov ebp, esp
mov eax, dword [0x46ba84]
test eax, 0x2000000
je 0x415544
pop ebp
jmp 0x401050
test eax, 0x200
je 0x415551
pop ebp
jmp 0x403f90
pop ebp
jmp 0x406b00

Function at 0x415557
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
movups xmm2, xmmword [eax]
mov ecx, dword [edx + 0xf0]
mov eax, dword [esp + 8]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
lea edx, [edx + 0x20]
xorps xmm2, xmm0
aesenc xmm2, xmm1
dec ecx
movups xmm1, xmmword [edx]
lea edx, [edx + 0x10]
jne 0x401022
aesenclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [eax], xmm2
pxor xmm2, xmm2
ret
push ebp
push ebx
push esi
push edi
lea ebp, [0xfffff591]
call fcn.00403840
mov esi, dword [esp + 0x14]
lea ebx, [esp - 0x38]
mov edi, dword [esp + 0x18]
and ebx, 0xfffffff0
mov edx, dword [esp + 0x1c]
xchg esp, ebx
mov dword [esp + 0x30], ebx
movdqu xmm0, xmmword [esi]
call fcn.00403850
movdqu xmmword [edi], xmm0
mov esp, dword [esp + 0x30]
pop edi
pop esi
pop ebx
pop ebp
ret
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, esp
sub esp, 0x24
and esp, 0xffffffc0
lea ebx, [edi - 0x7f]
sub ebx, esp
neg ebx
and ebx, 0x3c0
sub esp, ebx
add esp, 4
mov dword [esp + 0x1c], eax
call fcn.004054ef
push ebp
mov ebp, esp
mov eax, dword [0x46ba84]
test eax, 0x2000000
je 0x41556c
pop ebp
jmp section..text
test eax, 0x200
je 0x415579
pop ebp
jmp 0x403f50
pop ebp
jmp 0x4054c0

Function at 0x4421fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00442079

Function at 0x44ab98
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a858
Function at 0x40102b
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
push esp
pop ebp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
sub edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.004011dd
test eax, eax
je 0x40118f
lea ecx, [esp + 0x18]
call fcn.004011dd
lea ecx, [esp + 0x18]
test eax, eax
je 0x4010fe
call fcn.004011dd
test eax, eax
je 0x4010bc
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.004011dd
lea edi, [eax + edi*2]
dec ebx
jne 0x40108e
mov edx, dword [esp + 0x1c]
or edi, edi
je 0x4010af
push edx
pop eax
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x4010b2
mov byte [edx], 0
mov ebx, dword [esp + 0x10]
inc edx
jmp 0x4011a1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x4010f2
or ecx, ecx
je 0x40118a
push edx
pop edi
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x4010e4
jmp 0x401186
sub ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40118a
call fcn.004011bc
or edi, edi
jne 0x401133
cmp eax, 2
jne 0x40112e
lea ecx, [esp + 0x18]
call fcn.004011bc
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x40118a
push edx
pop ecx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x401123
jmp 0x401186
sub eax, 3
jmp 0x401136
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.004011bc
mov ecx, eax
cmp esi, 0x7d00
jb 0x40115d
inc ecx
cmp esi, 0x500
jb 0x401166
inc ecx
cmp esi, 0x80
jae 0x401171
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x40118a
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x40117d
mov dword [esp + 0x1c], edx
sub edi, edi
inc edi
jmp 0x4011a7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
or ebx, ebx
je 0x40105e
sub edx, dword [esp + 0x14]
pop edi
pop esi
push edx
pop eax
pop ebx
push ebp
pop esp
pop ebp
ret