Function at 0x140024140
Capabilities:
Create thread
Delete file
Inject thread
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x170
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x40], esi
mov rbx, rcx
mov dword [rsp + 0x44], esi
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
test eax, eax
jne 0x140024183
lea eax, [rsi + 2]
jmp 0x14002427e
test byte [rsp + 0x44], 0x11
je 0x140024194
mov eax, 1
jmp 0x14002427e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
jne 0x1400241b5
lea eax, [r8 + 4]
jmp 0x14002427e
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400241d2
lea eax, [rbx + 3]
jmp 0x14002427e
mov qword [rsp + 0x30], rsi
lea rcx, str.window_hider.dll
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov qword [rsp + 0x188], rdi
mov dword [rsp + 0x48], esi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
test rax, rax
je 0x140024271
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rsi
mov r8d, 0x3800
lea rdx, [0x140091070]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140024271
cmp dword [rsp + 0x48], esi
jbe 0x140024271
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x14002429f
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 5
mov rdi, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14006cea0
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rsi
ret
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x1400242e3
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [rdi + 6]
jmp 0x140024276
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x104
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14002433a
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 8
jmp 0x140024276
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], esi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140024399
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 7
jmp 0x140024276
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140024276