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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x170
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx esi, dl
xor ebp, ebp
lea rdx, [rsp + 0x44]
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x44], ebp
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
test eax, eax
jne 0x140025094
lea eax, [rbp + 2]
jmp 0x1400251a2
test byte [rsp + 0x44], 0x11
je 0x1400250aa
test sil, sil
je 0x1400250aa
mov eax, 1
jmp 0x1400251a2
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
jne 0x1400250cb
lea eax, [r8 + 4]
jmp 0x1400251a2
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400250e8
lea eax, [rbx + 3]
jmp 0x1400251a2
mov qword [rsp + 0x30], rbp
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 + 0x1a0], rdi
mov dword [rsp + 0x48], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
test rax, rax
je 0x140025195
lea rax, [0x140098080]
mov qword [rsp + 0x20], rbp
test sil, sil
lea rdx, [0x14009b880]
lea r9, [rsp + 0x48]
mov r8d, 0x3800
cmovne rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140025195
cmp dword [rsp + 0x48], ebp
jbe 0x140025195
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 0x1400251bd
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 5
mov rdi, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14006cea0
add rsp, 0x170
pop rsi
pop rbp
pop rbx
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 0x140025201
lea rcx, str.window_hider.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [rdi + 6]
jmp 0x14002519a
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x104
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140025258
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 0x14002519a
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], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1400252b7
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 0x14002519a
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 0x14002519a