joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44feb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc220
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047589f
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004a0dc3
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x456d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c04cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.LString.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x14], edi
mov word [ecx], ax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea eax, [ebx + 4]
cmp ecx, eax
je 0x456d72
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x456d69
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00409940
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 1
mov dword [ebp + 8], esi
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0047589f
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 2
sub esp, 8
mov eax, dword [ebx + 0x2c]
mov ecx, esp
add eax, dword [ebx + 0x28]
sub esp, 0xc
mov edx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [ebx + 0x28]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [edx], eax
call fcn.0045ceb0
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e610
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov dword [ebp - 0x6c], edi
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov byte [edi + 8], 0
cmp dword [sym.XNewLook.exe_int_volatile_LMutexEx::mi_log_mark], 0x75bcd0d
je 0x45e744
cmp dword [sym.XNewLook.exe_int_volatile_LMutexEx::mi_log_mark], 0x75bcd0e
je 0x45e744
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x12
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.LVLMutexExLogMark
call fcn.00409940
push 0x20a
mov byte [ebp - 4], 2
call fcn.004759b9
add esp, 4
mov esi, eax
xor eax, eax
push 0x104
push esi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_wchar_t_const__
push esi
call fcn.004759e5
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x10
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
lea ecx, [ebp - 0x48]
neg eax
sbb eax, eax
add eax, 0x75bcd0e
mov dword [sym.XNewLook.exe_int_volatile_LMutexEx::mi_log_mark], eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
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.00475880
mov esp, ebp
pop ebp
ret
Function at 0x45e970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4fca28], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x124], edi
jne 0x45eb7f
cmp byte [0x4fca2d], 0
push esi
jne 0x45ea1d
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004773d0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
push eax
call esi
test eax, eax
jne 0x45e9f2
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45ea16
cmp dword [ebp - 0x118], 2
jb 0x45ea16
movzx eax, byte [0x4fca2c]
mov ecx, 1
cmp dword [ebp - 0x11c], 6
cmovae eax, ecx
mov byte [0x4fca2c], al
mov byte [0x4fca2d], 1
cmp byte [0x4fca2c], 0
je 0x45eb7e
lea eax, [ebp - 0x128]
mov dword [0x4fca28], 0
push eax
push str.S_1_1_0
mov dword [ebp - 0x130], 0
xor esi, esi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
je 0x45eb48
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x45eb59
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x45eb48
lea eax, [ebp - 0x12c]
push eax
push str.S_1_15_2_1
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
je 0x45eb48
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x45eb48
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x45eb48
push dword [ebp - 0x12c]
mov edi, dword [sym.imp.ADVAPI32.dll_GetLengthSid]
call edi
push dword [ebp - 0x128]
mov esi, eax
call edi
lea edi, [eax + 0x18]
add edi, esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x45eb42
push 2
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x45eb42
push dword [ebp - 0x128]
mov edi, dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
push 0x10000000
push 2
push esi
call edi
test eax, eax
je 0x45eb42
push dword [ebp - 0x12c]
push 0x10000000
push 2
push esi
call edi
mov edi, dword [ebp - 0x124]
test eax, eax
je 0x45eb48
mov dword [0x4fca28], esi
mov dword [ebp - 0x130], 1
jmp 0x45eb48
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x45eb59
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x45eb6a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x45eb7e
cmp dword [ebp - 0x130], 0
jne 0x45eb7e
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push dword [0x4fca28]
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [ebp - 4]
mov dword [edi + 4], ebx
xor ecx, ebp
mov dword [edi], 0xc
mov dword [edi + 8], 0
pop edi
pop ebx
call fcn.00475880
mov esp, ebp
pop ebp
ret
Function at 0x4651d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
push 0
push 2
mov dword [ebp - 0x234], eax
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x465215
or eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x465225
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.004773d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x465287
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x228], esi
je 0x465278
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x465260
jmp 0x465286
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x218]
mov dword [ecx], eax
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.00475880
mov esp, ebp
pop ebp
ret
Function at 0x465f90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1c96
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4f9008]
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]
test esi, esi
je 0x466116
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x466000
cmp edi, 0xffffffff
je 0x466000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x466116
lea eax, [esi - 2]
jmp 0x466118
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_unsigned_int_
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 0xd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.__error_code
call fcn.00409940
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_unsigned_int_
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x11
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.KillProcessByPID:
call fcn.00409940
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb8]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0xd4]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x24
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xd4]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
or eax, 0xffffffff
jmp 0x466118
xor eax, eax
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.00475880
mov esp, ebp
pop ebp
ret
Function at 0x466140
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1cd6
mov eax, dword fs:[0]
push eax
mov eax, 0x2f2c
call fcn.004b3620
mov eax, dword [0x4f9008]
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]
mov eax, 0x92492493
mov dword [ebp - 0x2f30], edi
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46630b
lea eax, [ebp - 0x2f38]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4661c0
mov eax, 0xfffffffe
jmp 0x46630d
mov esi, dword [ebp - 0x2f38]
xor eax, eax
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
shr esi, 2
mov dword [ebp - 0x2f34], esi
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], 7
mov word [ebp - 0x2f08], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x466300
lea ebx, [ebp - 0x2ef0]
nop dword [eax]
push dword [ebx]
lea eax, [ebp - 0x2f28]
push eax
call sym.XNewLook.exe_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x46624b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x46623c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.00409940
lea ecx, [ebp - 0x2f28]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov esi, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x2f2c], ecx
mov eax, 0x92492493
mov ecx, dword [edi + 4]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4662f0
xor edi, edi
lea eax, [edi + 4]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x46628d
mov eax, dword [eax]
cmp dword [ebp - 0x2ef4], 8
lea ecx, [ebp - 0x2f08]
push eax
cmovae ecx, dword [ebp - 0x2f08]
push ecx
call fcn.0047cdb1
add esp, 8
test eax, eax
jne 0x4662b9
push dword [ebx]
call sym.XNewLook.exe_int___cdecl_LProcess::KillProcessByPID_unsigned_long_int_
add esp, 4
mov eax, dword [ebp - 0x2f30]
add edi, 0x1c
inc dword [ebp - 0x2f2c]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f2c], eax
jb 0x466280
mov edi, dword [ebp - 0x2f30]
add ebx, 4
sub dword [ebp - 0x2f34], 1
jne 0x466210
lea ecx, [ebp - 0x2f0c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
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.00475880
mov esp, ebp
pop ebp
ret
Function at 0x466ab0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1e38
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4f9008]
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]
xor eax, eax
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 4]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x434], edi
mov dword [edi], vtable.LString.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x400
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x430], 1
push eax
call fcn.004773d0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x466b63
push 0x200
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 1
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466ba0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00409940
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 2
cmp ebx, eax
je 0x466bef
cmp dword [ebp - 0x414], 8
mov ecx, ebx
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
push eax
call fcn.00409940
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, edi
call fcn.00466950
mov eax, edi
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.00475880
mov esp, ebp
pop ebp
ret
Function at 0x466e00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1ed6
mov eax, dword fs:[0]
push eax
mov eax, 0x2f20
call fcn.004b3620
mov eax, dword [0x4f9008]
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 eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
lea edi, [eax + 4]
je 0x466f52
lea eax, [ebp - 0x2f2c]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x466f52
mov ebx, dword [ebp - 0x2f2c]
xor eax, eax
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
shr ebx, 2
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], 7
mov word [ebp - 0x2f08], ax
xor esi, esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x466f30
nop word [eax + eax]
push dword [ebp + esi*4 - 0x2ef0]
lea eax, [ebp - 0x2f28]
push eax
call sym.XNewLook.exe_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x466ef0
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x466ee1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.00409940
lea ecx, [ebp - 0x2f28]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x466f09
mov ecx, dword [edi]
cmp dword [ebp - 0x2ef4], 8
lea eax, [ebp - 0x2f08]
push ecx
cmovae eax, dword [ebp - 0x2f08]
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
je 0x466f41
inc esi
cmp esi, ebx
jb 0x466eb0
lea ecx, [ebp - 0x2f0c]
xor bl, bl
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
jmp 0x466f54
lea ecx, [ebp - 0x2f0c]
mov bl, 1
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
jmp 0x466f54
xor al, al
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.00475880
mov esp, ebp
pop ebp
ret
Function at 0x467c20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c212e
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4f9008]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x458], eax
mov dword [ebp - 4], 0
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x467c81
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x467c70
mov esi, dword [edi]
push 0x428
lea eax, [ebp - 0x454]
mov dword [edi + 4], esi
push 0
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004773d0
add esp, 0xc
push dword [ebp - 0x458]
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x467cbd
or eax, eax
jmp 0x467e03
lea eax, [ebp - 0x454]
mov dword [ebp - 0x454], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x467dfa
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467d21
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00409940
mov dword [ebp - 4], 2
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x467d99
mov dword [eax], vtable.LString.0
lea ecx, [eax + 4]
mov dword [ebp - 0x458], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp ecx, eax
je 0x467d93
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00409940
add dword [edi + 4], 0x1c
jmp 0x467da5
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.0040ff30
mov dword [ebp - 4], 0xffffffff
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x467de8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467dde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467e1f
push edx
push ecx
call fcn.00475891
add esp, 8
lea eax, [ebp - 0x454]
push eax
push esi
call ebx
test eax, eax
jne 0x467cf0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3