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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x248], 0x440
mov edx, dword [ebp + 8]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], str.runas
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 8

Function at 0x45b330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
ja 0x45b37b
cmp dword [ebp - 0x11c], 6
jne 0x45b37f
cmp dword [ebp - 0x118], 2
jb 0x45b37f
mov al, 1
jmp 0x45b381
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret

Function at 0x45b390
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460dfe
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x45b3eb
xor eax, eax
jmp 0x45b4d0
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x45b4bd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00405020
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x244]
call fcn.004194e0
test eax, eax
jne 0x45b48c
mov edx, dword [ebp - 0x234]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00404fe0
jmp 0x45b4bd
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00404fe0
jmp 0x45b425
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4
Function at 0x45b6b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x45b6e7
jmp 0x45b769
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x45b75c
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x23c]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::UnInjectProc_wchar_t_const___int_
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x45b721
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4

Function at 0x45b780
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460e31
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x45b7d1
xor al, al
jmp 0x45b8c8
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x45b8b9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405020
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004194e0
test eax, eax
jne 0x45b888
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x250]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::UnInjectProc_wchar_t_const___int_
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x23d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00404fe0
mov al, byte [ebp - 0x23d]
jmp 0x45b8c8
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00404fe0
jmp 0x45b80b
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 8
Function at 0x45b8f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
push 1
mov ecx, dword [ebp - 8]
call sym.Install_silent.exe_public:_void___thiscall_CNsHook::AdjustTokenPrivilegesForNT_bool_
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45b924
xor al, al
jmp 0x45b9da
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call sym.Install_silent.exe_public:_int___thiscall_CNsHook::IsWow64ProcessEx_void__
test eax, eax
je 0x45b945
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45b9da
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::GetModuleAddr_wchar_t_const___unsigned_long_int__unsigned_char___
movzx eax, al
test eax, eax
jne 0x45b96b
xor al, al
jmp 0x45b9da
mov ecx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45b9b5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::UnInjectProcEx_wchar_t_const___int_
jmp 0x45b9da
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x45bb20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45bb4c
jmp 0x45bbc4
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x45bb76
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45bbc4
mov dword [ebp - 0x14], 1
movzx edx, byte [ebp + 8]
test edx, edx
je 0x45bb8e
mov dword [ebp - 0x1c], 2
jmp 0x45bb95
mov dword [ebp - 0x1c], 0
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp + ecx - 8], edx
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4

Function at 0x45bbe0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], ecx
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00427170
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x58], 0x44
push 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0x4000004
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00403ed0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret 8
Function at 0x45bc50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460e6f
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34c], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0xffffffff
jne 0x45bc9f
jmp 0x45bdda
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x340]
call fcn.004096b0
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x358], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x358]
call fcn.00406f50
push eax
lea ecx, [ebp - 0x350]
call fcn.00405020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x340]
call fcn.00406f60
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
je 0x45bdbb
mov dword [ebp - 0x35c], 0
lea edx, [ebp - 0x35c]
push edx
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x350]
call fcn.00405110
push eax
mov ecx, dword [ebp - 0x34c]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::GetModuleAddr_wchar_t_const___unsigned_long_int__unsigned_char___
movzx ecx, al
test ecx, ecx
je 0x45bd86
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x348], eax
jmp 0x45bd27
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34c]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::InjectProc_char_const___int_
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x348], eax
jmp 0x45bd27
mov edx, dword [ebp - 0x344]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x350]
call fcn.00404fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4
Function at 0x45be00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460ea2
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x45be51
xor al, al
jmp 0x45bf48
push 0x22c
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x45bf39
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405020
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004194e0
test eax, eax
jne 0x45bf08
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x250]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::InjectProc_char_const___int_
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x23d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00404fe0
mov al, byte [ebp - 0x23d]
jmp 0x45bf48
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00404fe0
jmp 0x45be8b
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 8
Function at 0x45bf70
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
push 1
mov ecx, dword [ebp - 0xc]
call sym.Install_silent.exe_public:_void___thiscall_CNsHook::AdjustTokenPrivilegesForNT_bool_
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45bfa4
xor al, al
jmp 0x45c0c4
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
call sym.Install_silent.exe_public:_int___thiscall_CNsHook::IsWow64ProcessEx_void__
test eax, eax
je 0x45bfc5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45c0c4
push 0x4712c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
push str.LoadLibraryA
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 4
push 0x3000
push 0x200
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0042d240
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45c07b
push 0x4000
push 0x200
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::InjectProcEx_char_const___int_
jmp 0x45c0c4
push 0x1f4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x102
je 0x45c0ae
push 0x4000
push 0x200
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x45c390
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x45c3c7
jmp 0x45c524
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 1
mov ecx, dword [ebp - 0x240]
call sym.Install_silent.exe_public:_void___thiscall_CNsHook::AdjustTokenPrivilegesForNT_bool_
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x45c517
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x45c45a
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x45c40e
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
call sym.Install_silent.exe_public:_int___thiscall_CNsHook::IsWow64ProcessEx_void__
test eax, eax
je 0x45c49c
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x45c40e
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x240]
call sym.Install_silent.exe_public:_bool___thiscall_CNsHook::GetModuleAddr_wchar_t_const___unsigned_long_int__unsigned_char___
movzx ecx, al
test ecx, ecx
jne 0x45c4e9
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x45c40e
push 0
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x45c40e
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4
Function at 0x45c6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460f19
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call sym.Install_silent.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x45c72f
jmp 0x45c8af
lea ecx, [ebp - 0x8b0]
call fcn.004050d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8b0]
push ecx
mov ecx, dword [ebp + 8]
call sym.Install_silent.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x471454
lea ecx, [ebp - 0x8b0]
call fcn.00405110
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0x8a8], eax
cmp dword [ebp - 0x8a8], 0
je 0x45c89d
lea edx, [ebp + 0x10]
mov dword [ebp - 0x8b4], edx
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.00427170
add esp, 0xc
mov ecx, dword [ebp - 0x8b4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x400
lea eax, [ebp - 0x810]
push eax
call fcn.0041c6d0
add esp, 0x10
mov dword [ebp - 0x8b4], 0
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x8ac]
call fcn.004050d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x810]
push edx
movzx eax, word [ebp - 0x814]
push eax
movzx ecx, word [ebp - 0x816]
push ecx
movzx edx, word [ebp - 0x818]
push edx
movzx eax, word [ebp - 0x81a]
push eax
movzx ecx, word [ebp - 0x81e]
push ecx
movzx edx, word [ebp - 0x820]
push edx
push 0x471460
lea eax, [ebp - 0x8ac]
push eax
call fcn.00405820
add esp, 0x24
lea ecx, [ebp - 0x8ac]
call fcn.00405110
push eax
lea ecx, [ebp - 0x8a4]
call fcn.00406f90
mov ecx, dword [ebp - 0x8a8]
push ecx
lea ecx, [ebp - 0x8a4]
call fcn.00406f50
push eax
call fcn.0042d240
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x8a4]
call fcn.00406f50
push eax
call fcn.0042ff4c
add esp, 0x10
mov edx, dword [ebp - 0x8a8]
push edx
call fcn.0043001a
add esp, 4
lea ecx, [ebp - 0x8a4]
call fcn.00406f60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8ac]
call fcn.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b0]
call fcn.00404fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x45cac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460f57
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0xb4]
call sym.Install_silent.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x45cb08
jmp 0x45cc2b
lea ecx, [ebp - 0xb0]
call fcn.004050d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0xb4]
call sym.Install_silent.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x471408
lea ecx, [ebp - 0xb0]
call fcn.00405110
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x45cc19
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0xac]
call fcn.004050d0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
movzx edx, word [ebp - 0x16]
push edx
movzx eax, word [ebp - 0x18]
push eax
movzx ecx, word [ebp - 0x1a]
push ecx
movzx edx, word [ebp - 0x1e]
push edx
movzx eax, word [ebp - 0x20]
push eax
push 0x471410
lea ecx, [ebp - 0xac]
push ecx
call fcn.00405820
add esp, 0x24
lea ecx, [ebp - 0xac]
call fcn.00405110
push eax
lea ecx, [ebp - 0xa4]
call fcn.00406f90
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0xa4]
call fcn.00406f50
push eax
call fcn.0042d240
add esp, 4
push eax
push 1
lea ecx, [ebp - 0xa4]
call fcn.00406f50
push eax
call fcn.0042ff4c
add esp, 0x10
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0043001a
add esp, 4
lea ecx, [ebp - 0xa4]
call fcn.00406f60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00404fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 4