Function at 0x401020
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute command
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [0x403178]
mov ecx, 0xf
movq xmm0, qword [str.ExitLagDll.dll]
push ebx
push esi
mov dword [esp + 0x14], eax
mov ax, word [0x40317c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x24]
push edi
mov word [esp + 0x1c], ax
lea eax, [esp + 0x10]
push ecx
push eax
mov word [esp + 0x26], 0
mov dword [esp + 0x28], 0xe
movq qword [esp + 0x18], xmm0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x4010c4
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4010ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4010ba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004015ae
add esp, 8
test esi, esi
jne 0x401270
push esi
lea eax, [esp + 0x184]
push eax
push 0x104
push str.ExitLagDll.dll
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x40127a
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401176
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40116b
nop dword [eax]
mov eax, str.ExitLag.exe
lea ecx, [esp + 0x7c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401150
test dl, dl
je 0x40114c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401150
add ecx, 2
add eax, 2
test dl, dl
jne 0x401130
xor eax, eax
jmp 0x401155
sbb eax, eax
or eax, 1
test eax, eax
je 0x401167
lea eax, [esp + 0x58]
push eax
push esi
call edi
test eax, eax
jne 0x401120
jmp 0x40116b
mov ebx, dword [esp + 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4011a4
push 0x403200
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.___Please_open_ExitLag_...__n
call fcn.004012b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4010f3
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x401284
push 0x40
push 0x3000
push 0x104
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x40128e
push 0
push 0x104
lea eax, [esp + 0x188]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401298
push 0
push 0
push edi
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x403200
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.___Injected_Successflly___n
call fcn.004012b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040159b
mov esp, ebp
pop ebp
ret
mov ecx, str.Cant_find_ExitLagDll.dll._nerror_code:_0x0
call fcn.00401000
mov ecx, str.Some_Thing_Wrong_with_path._nerror_code:_0x1
call fcn.00401000
mov ecx, str.Some_Thing_Wrong_with_handle._nerror_code:_0x2
call fcn.00401000
mov ecx, str.Some_Thing_Wrong_with_VirtualAlloc._nerror_code:_0x3
call fcn.00401000
mov ecx, str.Some_Thing_Wrong_with_Write_Process._nerror_code:_0x4
call fcn.00401000
int3