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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19f10
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, str.QQLIVE_MAIN_WND
mov edi, dword [ebp + 0xc]
call fcn.6ce10ae0
push 0
push 0
push dword [0x6ce5ffb4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x6ce448f4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.6cdbef90
mov dword [ebp - 4], 0
test esi, esi
jne 0x6cdf2e7f
xor ecx, ecx
jmp 0x6cdf2e93
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf2e84
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.6cdddb50
push 1
push 0x6ce448f4
lea ecx, [ebp - 0x14]
call fcn.6cdddb50
push edi
push 0
push 0
push dword [ebp - 0x14]
push 0x6ce448f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or edi, 0xffffffff
cmp eax, 0x20
jbe 0x6cdf2ed1
lea ebx, [edi + 2]
jmp 0x6cdf2f69
push str.explorer.exe
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.6cdbef90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.6cdddb50
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x6cdf2f4b
push dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x6c]
call esi
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf2f69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf2f88
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cdf2fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x6cdf2ff4
cmp word [eax], 0
je 0x6cdf2ff4
push 1
push 0
push 0
push eax
push 0x6ce448f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop ebp
ret
Function at 0x6cdf6090
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6ce606d0]
test al, 1
jne 0x6cdf60c4
or eax, 1
mov dword [0x6ce606d0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x2c]
mov eax, 1
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x6cdf63f0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x6cdf6430
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
push 0xf01ff
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x6cdf64d7
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x6cdf64d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6cdf64d0
mov eax, dword [ebp - 8]
push edi
push eax
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0xc]
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x6cdf64cf
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x6cdf64c8
cmp dword [edi + 4], 2
je 0x6cdf64c8
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push dword [eax]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cdf6590
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x6cdf65cf
push 0x10
push dword [esi]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x6cdf65e1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20]
mov ebx, 1
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 4
je 0x6cdf6605
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf69a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x6cdf6ab3
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
mov dword [ebp - 0x210], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push 0
push esi
call dword [sym.imp.USER32.dll_GetGuiResources]
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x20c], 0
jne 0x6cdf6a73
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push eax
mov ecx, ebx
call fcn.6cdbf0d0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf6a80
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.6cdbf0d0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6cdf6db0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x6cdf6ea8
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
mov dword [ebp - 0x210], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x20c], 0
jne 0x6cdf6e60
xor ecx, ecx
jmp 0x6cdf6e7f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf6e70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.6cdbf0d0
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6cdf8a90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a598
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x6cdf8bd6
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf8ad0
sub ecx, edx
sar ecx, 1
je 0x6cdf8bd6
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x244], eax
push ecx
push eax
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x6cdf8bbd
nop dword [eax + eax]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.6cdbef90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x6cdf8b7e
test edi, edi
je 0x6cdf8bcc
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x6cdf8b7e
push dword [ebp - 0x238]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x6cdf8b7e
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf8bb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x6cdf8b20
push dword [ebp - 0x244]
call ebx
mov eax, 1
jmp 0x6cdf8bd8
push 0x80004005
call fcn.6cdc0090
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf8c00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x6cdf8dc2
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf8c40
sub ecx, edx
sar ecx, 1
je 0x6cdf8dc2
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6cdf8dc2
push 0x228
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, edi
mov dword [ebp - 0x248], eax
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
call fcn.6cdbef90
lea eax, [ebp - 0x244]
mov dword [ebp - 4], edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x6cdf8d8f
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.6cdbef90
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], eax
je 0x6cdf8d5a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x6cdf8db8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x6cdf8d5a
push dword [ebp - 0x23c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x6cdf8d54
test edi, edi
jne 0x6cdf8d44
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x6cdf8d44
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x6cdf8d5a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
call esi
jmp 0x6cdf8d5a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf8d79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x6cdf8cd0
push ebx
call esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cdf8db4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x6cdf8dc4
push 0x80004005
call fcn.6cdc0090
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf8de0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a608
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdf8e25
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push 0x6ce45274
push eax
call fcn.6cde9660
push 0x44
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x68]
add esp, 0x1c
mov dword [ebp - 0x58], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x6cdf8ec0
cmp dword [ebp + 0x10], 0
je 0x6cdf8e9c
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp + 0x14], 0
mov dword [ebp - 0x64], 0
je 0x6cdf8ec0
push dword [ebp - 0x68]
call edi
xor edi, edi
mov dword [ebp - 0x68], edi
jmp 0x6cdf8ec3
mov edi, dword [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf8ee2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf8f00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a63b
mov eax, dword fs:[0]
push eax
mov eax, 0x121c
call fcn.6ce16010
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
test edx, edx
je 0x6cdf909b
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf8f42
sub ecx, esi
sar ecx, 1
je 0x6cdf909b
push edx
lea ecx, [ebp - 0x1220]
mov dword [ebp - 0x1220], 0
call fcn.6cdbef90
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x121c], 0
lea eax, [ebp - 0x121c]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
xor esi, esi
test dword [ebp - 0x121c], 0xfffffffc
jbe 0x6cdf9067
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
push dword [ebp + esi*4 - 0x1218]
push 0
push 0x411
call ebx
mov edi, eax
test edi, edi
je 0x6cdf9055
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1228], 0
push 0
push eax
mov dword [ebp - 0x1224], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1224]
push eax
push 4
lea eax, [ebp - 0x1228]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1228]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1220]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x6cdf9092
mov eax, dword [ebp - 0x121c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x6cdf8fc0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x1220]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf908e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x6cdf909d
mov edi, dword [ebp + esi*4 - 0x1218]
jmp 0x6cdf9069
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf90c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a678
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6cdf9109
xor eax, eax
jmp 0x6cdf91bb
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x6cdf91af
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp word [ebp - 0x230], 0
je 0x6cdf91a1
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6cdf9157
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.6cdbf0d0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.6cdf7030
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x6cdf91a1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.6cdbf220
lea eax, [ebp - 0x254]
push eax
push esi
call edi
test eax, eax
jne 0x6cdf9130
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdf91e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a6b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1250
call fcn.6ce16010
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x125c], eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x6cdf9452
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x121c], 0
lea eax, [ebp - 0x121c]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
xor edi, edi
test dword [ebp - 0x121c], 0xfffffffc
jbe 0x6cdf9452
nop word [eax + eax]
push dword [ebp + edi*4 - 0x1218]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x6cdf9440
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1258], 0
push 0
push eax
mov dword [ebp - 0x1224], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1224]
push eax
push 4
lea eax, [ebp - 0x1258]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1258]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x1240], 7
mov dword [ebp - 0x1244], 0
mov word [ebp - 0x1254], ax
cmp word [ebp - 0x218], ax
je 0x6cdf933f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6cdf9330
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1254]
call fcn.6cdbf0d0
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1220]
mov dword [ebp - 0x1220], 0x5c
lea ecx, [ebp - 0x1254]
push eax
call fcn.6cdf7330
mov ecx, dword [ebp - 0x1244]
sub ecx, eax
inc eax
dec ecx
push ecx
push eax
lea eax, [ebp - 0x123c]
push eax
lea ecx, [ebp - 0x1254]
call fcn.6cdf7170
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1228], 8
jb 0x6cdf93b7
mov eax, dword [ebp - 0x123c]
test eax, eax
jne 0x6cdf93bd
push 0x80004005
call fcn.6cdc0090
lea eax, [ebp - 0x123c]
push eax
push dword [ebx]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x6cdf93ec
mov eax, dword [ebp + edi*4 - 0x1218]
mov ecx, dword [ebp - 0x125c]
mov dword [ebp - 0x1220], eax
lea eax, [ebp - 0x1220]
push eax
call fcn.6cdf95d0
mov eax, dword [ebp - 0x1228]
cmp eax, 8
jb 0x6cdf9404
inc eax
push eax
push dword [ebp - 0x123c]
call fcn.6cdbf220
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x123c], ax
mov eax, dword [ebp - 0x1240]
mov dword [ebp - 0x1228], 7
mov dword [ebp - 0x122c], 0
cmp eax, 8
jb 0x6cdf9440
inc eax
push eax
push dword [ebp - 0x1254]
call fcn.6cdbf220
mov eax, dword [ebp - 0x121c]
inc edi
shr eax, 2
cmp edi, eax
jb 0x6cdf9280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret