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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f23b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x100525c0]
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
push 0
xor bl, bl
push 2
mov byte [ebp - 0x141], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x150], edi
cmp edi, 0xffffffff
je 0x10013236
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
nop word [eax + eax]
push dword [ebp - 0x138]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x14c], esi
test esi, esi
je 0x1001321b
mov edi, 0x1005233c
xor ebx, ebx
nop word [eax + eax]
lea eax, [ebp - 0x148]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [edi - 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100131fc
cmp dword [ebp - 0x148], 8
jne 0x100131fc
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100131fc
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
jne 0x100131fc
push 0
push esi
mov byte [ebp - 0x141], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x100537bc], 1
jne 0x1001308e
push 1
push 0x40
push 8
push str.rez_UI_Scripts_1.s
lea ecx, [ebp - 0x2b8]
call fcn.10001830
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 0
push 0x100417b0
push eax
call fcn.10001100
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.10001100
add esp, 0x10
lea ecx, [ebp - 0x2b8]
call fcn.100032c0
push 2
push 0x100406a0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.10002330
mov eax, dword [ebp - 0x2b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10016b61
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100537cc], 1
jne 0x100131cf
lea eax, [ebp - 0x158]
push eax
call fcn.1001dcd5
lea eax, [ebp - 0x158]
push eax
call fcn.1001dcae
add esp, 8
lea ecx, [ebp - 0x208]
mov esi, eax
push 1
push 0x40
push 8
push 0x100406a4
call fcn.10001830
lea eax, [ebp - 0x208]
mov dword [ebp - 4], 2
push str._nLocal_Time:
push eax
call fcn.10001100
push esi
call fcn.1001d9c9
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10001100
lea eax, [ebp - 0x208]
push 0x100417b8
push eax
call fcn.10001100
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10001100
lea eax, [ebp - 0x208]
push str._n__________________
push eax
call fcn.10001100
add esp, 0x2c
lea ecx, [ebp - 0x208]
call fcn.100032c0
push 2
push 0x100406a4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x20c], eax
lea ecx, [ebp - 0x204]
call fcn.10002330
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x20c], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10016b61
mov esi, dword [ebp - 0x14c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100537c0]
cmp eax, 1
je 0x100132c6
cmp eax, 2
je 0x100132b9
cmp eax, 3
je 0x10013291
cmp eax, 4
je 0x1001325b
test eax, eax
je 0x10013289
add ebx, 0xc
add edi, 0xc
cmp ebx, 0x204
jb 0x10012f50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x150]
lea eax, [ebp - 0x140]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10012f20
mov bl, byte [ebp - 0x141]
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 - 0x10]
xor ecx, ebp
call fcn.10017143
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0x10015d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push 0x10040444
lea eax, [ebp - 0x11c]
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 0x10002b20
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 0x100132e0
jmp 0x1001329c
push 0
push 0
push 0
push 0x10002af0
jmp 0x1001329c