Function at 0x1400024e0
Capabilities:
Check if file exists
Enumerate processes
Get file attributes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp ecx, 3
jge 0x140002516
lea rcx, str.Please_supply_arguments__proc__and__lib_path__n
call fcn.140001010
mov eax, 1
jmp 0x14000275a
mov qword [rsp + 0x280], rbp
mov rbp, qword [rdx + 0x10]
mov rcx, rbp
mov qword [rsp + 0x290], rsi
mov rsi, qword [rdx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140002555
mov rdx, rbp
lea rcx, str.The_file__ls_does_not_exist._n
call fcn.140002480
mov eax, 1
jmp 0x14000274a
lea rax, [0x1400030a0]
mov qword [rsp + 0x298], rdi
mov qword [0x140006080], rax
lea rcx, str.kernel32.dll
lea rax, [0x1400030d0]
mov qword [0x140006078], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400025a0
lea rdx, str.LibInjector
lea rcx, str.__s_:_Couldnt_retrieve_kernel32_address_n
call fcn.140001010
jmp 0x1400025d2
lea rdx, str.TlsGetValue
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400025d7
lea r8, str.TlsGetValue
lea rdx, str.LibInjector
lea rcx, str.__s_:_Couldnt_retrieve__s_address_n
call fcn.140001010
mov ebx, 1
mov r8, rbx
lea rdx, str.LibInjector
lea rcx, str.__s_:_hookable_func:__p_n
call fcn.140001010
mov edx, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualLock]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000263f
lea rdx, str.LibInjector
lea rcx, str.__s_:_Unable_to_create_snapshot_n
call fcn.140001010
mov rdx, rsi
lea rcx, str.__s_:_Failed_to_find_process__s_n
call fcn.140001010
lea rcx, str.__s_:_Failed_to_inject_library_n
jmp 0x140002734
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140002690
lea rdx, str.LibInjector
lea rcx, str.__s_:_Unable_to_retrieve_proc_info_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str.__s_:_Failed_to_find_process__s_n
call fcn.140001010
lea rcx, str.__s_:_Failed_to_inject_library_n
jmp 0x140002734
lea rax, [rsp + 0x4c]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400026b4
add rax, 2
test ecx, ecx
jne 0x1400026a0
mov rcx, rdi
test edx, edx
je 0x140002706
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002690
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov r8d, edi
lea rdx, str.LibInjector
lea rcx, str.__s_:_Target_pid:__d_n
call fcn.140001010
mov r8, rbp
mov edx, edi
mov rcx, rbx
call fcn.140001fd0
cmp eax, 1
jne 0x14000272d
lea rcx, str.__s_:_Failed_to_inject_library_n
jmp 0x140002734
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x28]
cmp edi, 1
jne 0x1400026d5
mov rdx, rsi
lea rcx, str.__s_:_Failed_to_find_process__s_n
call fcn.140001010
lea rcx, str.__s_:_Failed_to_inject_library_n
jmp 0x140002734
lea rcx, str.__s_:_Succesfully_injected_library_n
lea rdx, str.LibInjector
call fcn.140001010
mov rdi, qword [rsp + 0x298]
xor eax, eax
mov rbp, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003110
add rsp, 0x270
pop rbx
ret