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

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x134
push 0xffffffffffffffff
push 0x1002924b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x10040cf8]
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 0x1001d781
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 0x1001d76c
mov edi, 0x10040134
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 0x1001d750
cmp dword [ebp - 0x14], 8
jne 0x1001d750
lea ecx, [ebp + 0x128]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1001d750
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
jne 0x1001d750
push 0
push esi
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1004118c], 1
jne 0x1001d63b
push 1
push 0x40
push 8
push 0x100352ac
lea ecx, [ebp - 0x184]
call fcn.100049c0
lea eax, [ebp - 0x184]
mov dword [ebp - 4], 0
push str._nD_Scan:
push eax
call fcn.10004550
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.10004550
add esp, 0x10
lea ecx, [ebp - 0x180]
call fcn.100054a0
test eax, eax
jne 0x1001d629
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.10004fb0
cmp dword [0x1004119c], 1
jne 0x1001d723
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 0x100352d0
call fcn.100049c0
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 1
push 0x100352d4
push eax
call fcn.10004550
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10004550
lea eax, [ebp - 0xd4]
push str.D_Scan:
push eax
call fcn.10004550
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10004550
lea eax, [ebp - 0xd4]
push 0x100352f4
push eax
call fcn.10004550
add esp, 0x2c
lea ecx, [ebp - 0xd0]
call fcn.100054a0
test eax, eax
jne 0x1001d701
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 0x1003531c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.10004fb0
mov esi, dword [ebp - 0x18]
mov eax, dword [0x10041190]
cmp eax, 1
je 0x1001d815
cmp eax, 2
je 0x1001d808
cmp eax, 3
je 0x1001d7e0
cmp eax, 4
je 0x1001d7ad
test eax, eax
je 0x1001d7d8
add ebx, 0xc
add edi, 0xc
cmp ebx, 0xbc4
jb 0x1001d564
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 0x1001d540
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.10026c20
lea esp, [ebp + 0x134]
pop ebp
ret
push 0
push 0
push 0
push 0x10026220
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 0x1001d930
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 0x1001d830
jmp 0x1001d7eb
push 0
push 0
push 0
push 0x1001d8b0
jmp 0x1001d7eb