Function at 0x140003200
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xe0], 0
jne 0x140003236
int 0x2c
mov dword [rsp + 0x70], 0
jmp 0x14000323e
mov dword [rsp + 0x70], 1
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
movzx eax, al
test eax, eax
je 0x140003257
int 0x2c
mov dword [rsp + 0x74], 0
jmp 0x14000325f
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x38
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExEnterCriticalRegionAndAcquireResourceExclusive]
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xe0]
add rax, 0x30
lea rdx, [rsp + 0xa8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x78], rax
jne 0x1400032e6
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
jmp 0x1400032fa
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov byte [rax + rcx], 0
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140003464
mov rcx, qword [rsp + 0x58]
call fcn.140003b50
mov byte [rsp + 0x50], al
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140004110
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x1400033b2
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x140003435
call fcn.140002f80
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x140003448
mov rcx, qword [rsp + 0x58]
call fcn.140002f90
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x58], rax
jmp 0x140003368
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x38
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceAndLeaveCriticalRegion]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140001860
add rsp, 0xd0
pop rdi
ret