joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eec0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ea050
call fcn.0047b598
sub esp, 0x2c
push ebx
mov eax, dword [0x52ba98]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.0042d3de
push str.ErrLog.txt
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push 0x525a5c
push eax
call fcn.004d64b3
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004dc66e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42ef52
lea ecx, [ebp - 0x24]
call fcn.004dd871
push ebx
push 0x1000
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004dd983
test eax, eax
je 0x42ef46
lea ecx, [ebp - 0x24]
call fcn.004ddb9e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004dd8c6
lea ecx, [ebp - 0x38]
call fcn.004de50a
push ebx
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004de57f
test eax, eax
je 0x42f03c
mov eax, dword [0x52ba98]
push esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push str._04d__02d__02d__02d:_02d:_02d._03d
push eax
call fcn.004d64b3
mov eax, dword [ebp - 0x38]
add esp, 0x24
lea ecx, [ebp - 0x38]
push 2
push ebx
call dword [eax + 0x28]
mov edi, 0x527f3c
lea ecx, [ebp - 0x38]
push edi
call fcn.004de6f2
mov esi, 0x525c48
lea ecx, [ebp - 0x38]
push esi
call fcn.004de6f2
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.004de6f2
push 0x527f38
lea ecx, [ebp - 0x38]
call fcn.004de6f2
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.004de6f2
push esi
lea ecx, [ebp - 0x38]
call fcn.004de6f2
push edi
lea ecx, [ebp - 0x38]
call fcn.004de6f2
push esi
lea ecx, [ebp - 0x38]
call fcn.004de6f2
lea ecx, [ebp - 0x38]
call fcn.004de8af
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004dc66e
pop edi
pop esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004de53c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42f06e
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x4ea064
call fcn.0047b598
sub esp, 0x140
push esi
lea eax, [ebp - 0x14c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x42f0b8
test byte [ebp - 0x14c], 0x10
jne 0x42f0b8
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
jmp 0x42f0ba
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42f561
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4ea0e8
call fcn.0047b598
sub esp, 0x124
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x68]
push edi
lea ebx, [esi + 0x68]
mov dword [ebp - 0x20], esi
cmp dword [ecx - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x42f671
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x42f671
and dword [ebp - 0x1c], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x130]
push esi
push edi
push dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x52584c
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov cx, word [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [ebp - 0x22], ax
mov eax, dword [0x52ba98]
shr esi, 0x10
mov word [ebp - 0x26], cx
mov dword [ebp - 0x10], eax
shr edi, 0x10
and dword [ebp - 4], 0
push 0x809d
lea ecx, [ebp - 0x10]
call fcn.004dd675
movzx eax, word [ebp - 0x22]
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, si
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004d64b3
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
add esi, 0x64
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, ebx
push esi
call fcn.004dc3e3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42f572
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4ea0e8
call fcn.0047b598
sub esp, 0x124
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x68]
push edi
lea ebx, [esi + 0x68]
mov dword [ebp - 0x20], esi
cmp dword [ecx - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x42f671
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x42f671
and dword [ebp - 0x1c], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x130]
push esi
push edi
push dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x52584c
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov cx, word [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [ebp - 0x22], ax
mov eax, dword [0x52ba98]
shr esi, 0x10
mov word [ebp - 0x26], cx
mov dword [ebp - 0x10], eax
shr edi, 0x10
and dword [ebp - 4], 0
push 0x809d
lea ecx, [ebp - 0x10]
call fcn.004dd675
movzx eax, word [ebp - 0x22]
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, si
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004d64b3
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
add esi, 0x64
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, ebx
push esi
call fcn.004dc3e3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x434260
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.0044b87c
test eax, eax
je 0x434276
push 0
push 1
jmp 0x4342da
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 4]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4342e0
push esi
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x43918f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4391fb
lea eax, [ebp - 0x140]
push eax
call fcn.0042c8d7
test eax, eax
pop ecx
je 0x4391fb
lea eax, [ebp - 0x140]
push str.update.exe
push eax
call fcn.0047b690
lea eax, [ebp - 0x140]
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x439209
push 5
push str.http:__www.ppStream.com_download_
call fcn.0042cbe2
pop ecx
pop ecx
pop esi
leave
ret 4

Function at 0x43bc62
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 8], edi
mov ecx, dword [edi + 0x120]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 4], eax
je 0x43bcb8
mov ebx, 0x2503
cmp dword [ebp + 8], esi
mov eax, dword [eax + 0x10]
push ebx
push esi
push esi
push esi
push esi
je 0x43bc99
push 0x53b170
jmp 0x43bc9e
push 0x53b130
mov ecx, eax
call fcn.004dbd02
lea ecx, [ebp - 4]
call fcn.0043f8ad
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x120]
jne 0x43bc85
push 0x185
push esi
push esi
push dword [edi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
call edi
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push esi
push str.Shell_TrayWnd
call ebx
push eax
call fcn.004d9165
cmp eax, esi
je 0x43bcee
push 0x585
push esi
push esi
push dword [eax + 0x1c]
call edi
push esi
push str.Progman
call ebx
push eax
call fcn.004d9165
cmp eax, esi
je 0x43bd0c
push 0x585
push esi
push esi
push dword [eax + 0x1c]
call edi
mov eax, dword [ebp - 8]
push esi
push dword [ebp + 8]
cmp dword [eax + 0x140], esi
je 0x43bd27
push str.AutoTopmostWhenMiniMode
push str.main
jmp 0x43bd31
push str.topmost
push str.window
call fcn.00405b02
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43bd3d
Capabilities:
Create process on windows
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push esi
lea eax, [ebp - 0x74]
push edi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x68], 0x6400000
jb 0x43be0f
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0047b7a0
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0047b7a0
add esp, 0x18
lea eax, [ebp - 0x178]
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], si
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x176]
push str.Program_FilesInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.0047b680
mov eax, dword [edi + 0xf8]
pop ecx
pop ecx
cmp dword [eax - 8], esi
jne 0x43bdc7
push str.http:__www.PPS.tv
jmp 0x43bdc8
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0047b690
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x178]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x43be14
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xfc], eax
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x43be16
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x43be5e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x43bea4
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43bea4
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xfc], 0
pop edi
pop esi
leave
ret
Function at 0x43f03c
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4ead3b
call fcn.0047b598
sub esp, 0x118
mov eax, dword [0x52ba98]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x124]
push 0x104
push eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, esi
je 0x43f10f
push edi
push ebx
push 2
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea eax, [ebp - 0x124]
push edi
push ebx
push dword [ebp - 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x52584c
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov di, word [eax + 0x10]
mov edx, dword [eax + 0x14]
movzx eax, word [eax + 0x14]
shr edx, 0x10
push eax
movzx eax, dx
push eax
movzx eax, di
shr ecx, 0x10
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.004d64b3
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004dc3e3
mov dword [ebp - 0x1c], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x440a40
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4eaf08
call fcn.0047b598
sub esp, 0x428
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
xor ebx, ebx
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440bfc
lea eax, [ebp - 0x20]
mov esi, 0x104
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Startup
mov dword [ebp - 0x20], esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x440bfc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.PPS.lnk
lea ecx, [ebp - 0x14]
call fcn.004dc6dc
push dword [ebp - 0x14]
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
call fcn.0047b690
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
lea eax, [ebp - 0x128]
push eax
je 0x440ae2
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x440bf0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x440bf0
lea eax, [ebp - 0x10]
push eax
push 0x50097c
push 1
push ebx
push 0x50099c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x440bf0
lea eax, [ebp - 0x22c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push str.startup
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x22c]
push 0x5c
push eax
call fcn.0047b7f8
pop ecx
cmp eax, ebx
pop ecx
je 0x440b5e
push 0x52584c
push eax
call fcn.0047b680
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x52ba98]
mov dword [ebp + 8], eax
push 0x803d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004dd675
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0x500c0c
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x440bdc
lea eax, [ebp - 0x434]
push esi
push eax
lea eax, [ebp - 0x128]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x434]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x447d7a
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4eb6f0
call fcn.0047b598
sub esp, 0x78
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.00418c1e
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00418cac
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004dc3e3
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jne 0x447dd4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00418c6b
jmp 0x447f9f
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004dc3e3
mov edi, dword [ebp - 0x1c]
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dca9e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004dcaed
lea ecx, [ebp - 0x28]
call fcn.0041a2be
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041a2e1
test eax, eax
je 0x447f6f
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041a467
mov edi, dword [eax]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov byte [ebp - 0x38], al
call fcn.004042bd
push edi
call fcn.0047baa0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00404203
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004dc66e
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041a42b
lea ecx, [ebp - 0x28]
call fcn.0041a2cd
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
cmp ax, 9
mov eax, dword [0x52ba98]
jb 0x447ef6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x447ea1
mov eax, 0x4f4d38
push eax
lea eax, [ebp - 0x18]
push 0x5297bc
push eax
call fcn.004d64b3
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004dbc35
call fcn.004e317c
call fcn.004e317c
mov eax, dword [eax + 0xc]
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
jmp 0x447f5c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x447f09
mov eax, 0x4f4d38
push eax
lea eax, [ebp - 0x18]
push 0x529738
push eax
call fcn.004d64b3
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004dbc35
call fcn.004e317c
call fcn.004e317c
mov eax, dword [eax + 0xc]
push 0x92
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004dc66e
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004042bd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041a2c8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004dc66e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00418c6b
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x447d88
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4eb6f0
call fcn.0047b598
sub esp, 0x78
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.00418c1e
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00418cac
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004dc3e3
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jne 0x447dd4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00418c6b
jmp 0x447f9f
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004dc3e3
mov edi, dword [ebp - 0x1c]
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dca9e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004dcaed
lea ecx, [ebp - 0x28]
call fcn.0041a2be
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041a2e1
test eax, eax
je 0x447f6f
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041a467
mov edi, dword [eax]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov byte [ebp - 0x38], al
call fcn.004042bd
push edi
call fcn.0047baa0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00404203
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004dc66e
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041a42b
lea ecx, [ebp - 0x28]
call fcn.0041a2cd
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
cmp ax, 9
mov eax, dword [0x52ba98]
jb 0x447ef6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x447ea1
mov eax, 0x4f4d38
push eax
lea eax, [ebp - 0x18]
push 0x5297bc
push eax
call fcn.004d64b3
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004dbc35
call fcn.004e317c
call fcn.004e317c
mov eax, dword [eax + 0xc]
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
jmp 0x447f5c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x447f09
mov eax, 0x4f4d38
push eax
lea eax, [ebp - 0x18]
push 0x529738
push eax
call fcn.004d64b3
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004dbc35
call fcn.004e317c
call fcn.004e317c
mov eax, dword [eax + 0xc]
push 0x92
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004dc66e
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004042bd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041a2c8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004dc66e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00418c6b
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x448fb3
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x449042
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x44903b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x120], eax
je 0x44903b
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00481e50
pop ecx
test eax, eax
pop ecx
je 0x449010
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x448fda
cmp dword [ebp + 0xc], 0
je 0x44902f
push dword [ebp - 0x120]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xfffffffffffffff7
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x449044
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
leave
ret