Function at 0x14003ac50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [rsp + 0x88]
xor r14d, r14d
mov dword [rdx + 8], 3
xorps xmm0, xmm0
mov rbx, r8
mov rbp, r9
mov qword [rdx + 0x80], rbx
mov rdi, rdx
mov qword [rdx + 0x78], r14
mov rsi, rcx
mov qword [rdx + 0x70], rax
mov dword [rdx + 0x88], r14d
mov qword [rdx + 0xa0], r14
mov qword [rdx + 0xa8], 0xffffffffffffffff
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
test dword [r8 + 0x58], 0x180000
je 0x14003acea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0xa0], rax
test rax, rax
je 0x14003af71
or rax, 1
mov qword [rdi + 0x58], rax
movups xmm0, xmmword [0x140314890]
mov r8, qword [rsp + 0x80]
movups xmmword [rdi + 0x90], xmm0
test r8, r8
jne 0x14003ad0c
movups xmmword [rsp + 0x30], xmm0
jmp 0x14003ad53
cmp r8, 1
jne 0x14003ad27
cmp dword [rsp + 0x90], r14d
jne 0x14003ad27
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x30], xmm0
jmp 0x14003ad53
lea rax, [rsp + 0x30]
mov rdx, rbp
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14003aac0
test eax, eax
jne 0x14003af5e
mov rdi, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x30]
mov ecx, dword [rbx + 0x58]
mov eax, ecx
and eax, 0x1100000
cmp eax, 0x1100000
jne 0x14003aded
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003ad98
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003af5e
mov qword [rdi + 0x60], r14
mov ecx, dword [rbx + 0x7c]
lea eax, [rcx + 1]
mov dword [rbx + 0x7c], eax
test ecx, ecx
jne 0x14003adc1
mov eax, dword [rbx + 0x58]
test al, 4
jne 0x14003adc1
or eax, 4
mov dword [rbx + 0x58], eax
test al, 8
je 0x14003adc1
mov rax, qword [rbx + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
lea r9, [rdi + 0x40]
inc dword [rbx + 0x78]
xor r8d, r8d
inc dword [rbx + 0x100]
xor edx, edx
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x14003af86
jmp 0x14003af5c
bt ecx, 0x18
jae 0x14003ae24
mov rdx, rdi
mov rcx, rbx
movups xmmword [rdi + 0x90], xmm0
call fcn.14003a9f0
cmp dword [rbx + 0x100], r14d
jne 0x14003ae13
call fcn.14003aa70
mov eax, dword [rsp + 0x30]
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
jmp 0x14003af2b
mov r10, qword [rbx + 0x118]
lea rax, [rdi + 0x40]
mov ebp, dword [rsp + 0x30]
xor r9d, r9d
mov rdx, qword [rsp + 0x38]
bt ecx, 0x14
mov rcx, r10
mov qword [rsp + 0x20], rax
mov r8d, ebp
jae 0x14003aec0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003aea6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14003ae83
mov eax, ebp
mov edx, 0xffffffff
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003aeaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0xa0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov qword [rdi + 0xa0], r14
jmp 0x14003af5e
mov qword [rdi + 0x60], r14
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xa0], r14
jmp 0x14003af2b
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003aee8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14003ad8d
mov rax, rbp
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
jmp 0x14003aeec
mov qword [rdi + 0x60], r14
test dword [rbx + 0x58], 0x80000
je 0x14003af2b
mov rdx, qword [rdi + 0xa0]
lea rcx, [rdi + 0xa8]
mov dword [rsp + 0x28], 4
lea r8, [0x140036440]
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x14003ad8d
mov ecx, dword [rbx + 0x7c]
lea eax, [rcx + 1]
mov dword [rbx + 0x7c], eax
test ecx, ecx
jne 0x14003af50
mov eax, dword [rbx + 0x58]
test al, 4
jne 0x14003af50
or eax, 4
mov dword [rbx + 0x58], eax
test al, 8
je 0x14003af50
mov rax, qword [rbx + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
inc dword [rbx + 0x78]
inc dword [rbx + 0x100]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400384a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [0x14041a8b0]
call fcn.1400384a0
int3