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

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x134
push 0xffffffffffffffff
push 0x10029c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x10040bd0]
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 0x1001e2e1
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 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x1001e2cc
mov edi, 0x1004000c
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 0x1001e2b0
cmp dword [ebp - 0x14], 8
jne 0x1001e2b0
lea ecx, [ebp + 0x128]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1001e2b0
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
jne 0x1001e2b0
push 0
push esi
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x1004106c], 1
jne 0x1001e19b
push 1
push 0x40
push 8
push 0x10035834
lea ecx, [ebp - 0x184]
call fcn.10004a10
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.100054f0
test eax, eax
jne 0x1001e189
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.10005000
cmp dword [0x1004107c], 1
jne 0x1001e283
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 0x10035858
call fcn.10004a10
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 1
push 0x1003585c
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 0x1003587c
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xd0]
call fcn.100054f0
test eax, eax
jne 0x1001e261
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 0x100358a4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.10005000
mov esi, dword [ebp - 0x18]
mov eax, dword [0x10041070]
cmp eax, 1
je 0x1001e375
cmp eax, 2
je 0x1001e368
cmp eax, 3
je 0x1001e340
cmp eax, 4
je 0x1001e30d
test eax, eax
je 0x1001e338
add ebx, 0xc
add edi, 0xc
cmp ebx, 0xbc4
jb 0x1001e0c4
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 0x1001e0a0
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.10027810
lea esp, [ebp + 0x134]
pop ebp
ret
push 0
push 0
push 0
push 0x10026da0
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 0x1001e490
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 0x1001e390
jmp 0x1001e34b
push 0
push 0
push 0
push 0x1001e410
jmp 0x1001e34b