Function at 0x14000aba0
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rbp + 0x47], rax
test byte [0x14020d0d8], 1
jne 0x14000ae42
lock bts qword [0x14020d0d8], 0x1f
jae 0x14000abf9
test byte [0x14020d0d8], 1
nop dword [rax]
jne 0x14000ae42
xor edx, edx
lea rcx, [0x14020d0d8]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x14000ae42
mov qword ss:[rsp + 0xf0], rbx
lea rcx, [rbp - 0x39]
xor r9d, r9d
mov qword [rsp + 0xf8], r14
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov edx, 0x1f0003
call qword [sym.imp.ntdll.dll_NtCreateEvent]
xor r14d, r14d
test eax, eax
js 0x14000aca7
mov r8, qword ds:[rbp - 0x39]
lea rdx, [0x14000aae0]
lea rcx, [rbp - 0x31]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
js 0x14000ac9d
mov rbx, qword [rbp - 0x31]
mov rcx, rbx
call fcn.14000a990
test al, al
je 0x14000ac88
lea r9d, [r14 + 0x10]
mov qword [rsp + 0x20], r14
lea r8, [rbp - 1]
mov rcx, rbx
lea edx, [r14 + 0x15]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
movzx edx, word [0x14020d0e8]
test eax, eax
cmovns dx, word [rbp + 7]
mov word [0x14020d0e8], dx
mov rcx, qword [rbp - 0x39]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntdll.dll_NtClose]
xor r9d, r9d
mov byte [rsp + 0x20], r14b
xor r8d, r8d
lea rcx, [rbp - 0x39]
mov edx, 0x1f0003
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x14000ad49
mov r8, qword ds:[rbp - 0x39]
lea rdx, [0x14000ab10]
lea rcx, [rbp - 0x31]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
js 0x14000ad3f
mov rbx, qword [rbp - 0x31]
mov rcx, rbx
call fcn.14000a990
test al, al
je 0x14000ad2a
mov r9d, 0x10
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x17]
mov rcx, rbx
lea edx, [r9 + 5]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
movzx edx, word [0x14020d0f0]
test eax, eax
cmovns dx, word [rbp + 0x1f]
mov word [0x14020d0f0], dx
mov rcx, qword [rbp - 0x39]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntdll.dll_NtClose]
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x21]
call fcn.140121cf0
nop dword [rax]
test eax, eax
js 0x14000ae26
mov r8, qword [rbp - 0x21]
lea rdx, [0x14000ab50]
lea rcx, [rbp - 0x31]
call sym.ProcessHacker.exe_PhCreateThreadEx
nop dword [rax]
test eax, eax
js 0x14000ae0f
mov rbx, qword [rbp - 0x31]
mov rcx, rbx
mov dword [rbp - 0x29], r14d
call fcn.14000a990
test al, al
je 0x14000adcd
mov r9d, 0x10
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x2f]
mov rcx, rbx
lea edx, [r9 + 5]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
movzx ecx, word [0x14020d0ec]
test eax, eax
cmovns cx, word [rbp + 0x37]
mov word [0x14020d0ec], cx
mov rcx, qword ds:[rbp - 0x19]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x30], 4
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp - 0x19]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x14020d0d8]
call sym.ProcessHacker.exe_PhfSetEvent
mov r14, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140161390
add rsp, 0xe0
pop rbp
ret