Function at 0x1001eb20
Capabilities:
Create thread
Enumerate processes
Set file attributes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x134
push 0xffffffffffffffff
push 0x1002a92b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x10041bd0]
xor eax, ebp
mov dword [ebp + 0x130], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xor bl, bl
push 2
mov byte [ebp - 0xd], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x1001edd1
lea eax, [ebp]
mov dword [ebp], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
nop dword [eax]
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x1001edbc
mov edi, 0x1004100c
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push 8
lea eax, [ebp + 0x128]
push eax
push dword [edi - 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1001eda0
cmp dword [ebp - 0x14], 8
jne 0x1001eda0
lea ecx, [ebp + 0x128]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1001eda0
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
jne 0x1001eda0
push 0
push esi
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1004206c], 1
jne 0x1001ec8b
push 1
push 0x40
push 8
push 0x1003684c
lea ecx, [ebp - 0x184]
call fcn.10004a20
lea eax, [ebp - 0x184]
mov dword [ebp - 4], 0
push str._nD_Scan:
push eax
call fcn.100045b0
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x180]
call fcn.10005500
test eax, eax
jne 0x1001ec79
push eax
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x184]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
cmp dword [0x1004207c], 1
jne 0x1001ed73
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xd4]
mov esi, eax
push 1
push 0x40
push 8
push 0x10036870
call fcn.10004a20
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 1
push 0x10036874
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xd4]
push str.D_Scan:
push eax
call fcn.100045b0
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xd4]
push 0x10036894
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xd0]
call fcn.10005500
test eax, eax
jne 0x1001ed51
push eax
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x100368bc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
mov esi, dword [ebp - 0x18]
mov eax, dword [0x10042070]
cmp eax, 1
je 0x1001ee65
cmp eax, 2
je 0x1001ee58
cmp eax, 3
je 0x1001ee30
cmp eax, 4
je 0x1001edfd
test eax, eax
je 0x1001ee28
add ebx, 0xc
add edi, 0xc
cmp ebx, 0xbc4
jb 0x1001ebb4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001eb90
mov bl, byte [ebp - 0xd]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x130]
xor ecx, ebp
call fcn.100282d0
lea esp, [ebp + 0x134]
pop ebp
ret
push 0
push 0
push 0
push 0x10027880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.D_Scan
lea eax, [ebp + 0x24]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x1001ef80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x1001ee80
jmp 0x1001ee3b
push 0
push 0
push 0
push 0x1001ef00
jmp 0x1001ee3b