Function at 0x1400b69b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0x98]
xor r15d, r15d
movups xmm0, xmmword [0x140393c48]
mov rbp, qword [rsp + 0x90]
mov rbx, r8
mov qword [rdx + 0x70], rax
mov r12, r9
xor eax, eax
mov dword [rdx + 8], 3
mov qword [rdx + 0x80], rbx
mov rdi, rdx
mov qword [rdx + 0x78], r15
mov rsi, rcx
mov dword [rdx + 0x88], r15d
mov r13d, 0xffffffff
mov qword [rdx + 0xa0], r15
mov qword [rdx + 0xa8], 0xffffffffffffffff
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rax
mov qword [rdx + 0x50], rax
mov qword [rdx + 0x58], rax
movups xmmword [rdx + 0x90], xmm0
test rbp, rbp
je 0x1400b6b8d
cmp rbp, 1
jne 0x1400b6a66
cmp dword [rsp + 0xa0], eax
jne 0x1400b6a66
movups xmm0, xmmword [r9]
jmp 0x1400b6b8d
mov rsi, r15
mov ecx, r15d
test rbp, rbp
je 0x1400b6a93
add rax, rax
inc ecx
mov eax, dword [r9 + rax*8]
add rsi, rax
mov eax, ecx
cmp rax, rbp
jb 0x1400b6a71
cmp rsi, r13
jbe 0x1400b6a93
mov eax, 0x2747
jmp 0x1400b6e2a
lea rcx, [rsi + 0xb8]
test rcx, rcx
je 0x1400b6e25
call qword [fcn.140220234]
mov r13, rax
test rax, rax
je 0x1400b6e25
movups xmm0, xmmword [rdi]
mov r14d, 0xb8
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rax + 0x70], xmm0
movups xmm1, xmmword [rdi + 0x80]
movups xmmword [rax + 0x80], xmm1
movups xmm0, xmmword [rdi + 0x90]
movups xmmword [rax + 0x90], xmm0
movups xmm1, xmmword [rdi + 0xa0]
mov qword [rax + 0xb0], rdi
movups xmmword [rax + 0xa0], xmm1
mov dword [rax + 0x88], 1
add rax, r14
test rbp, rbp
je 0x1400b6b6e
xor edi, edi
nop
add rdi, rdi
lea rcx, [r14 + r13]
mov r8d, dword [r12 + rdi*8]
mov rdx, qword [r12 + rdi*8 + 8]
call fcn.14021ce50
mov eax, dword [r12 + rdi*8]
inc r15d
add r14, rax
mov edi, r15d
cmp rdi, rbp
jb 0x1400b6b40
lea rax, [r13 + 0xb8]
mov dword [rsp + 0x30], esi
mov rdi, r13
mov rsi, qword [rsp + 0x70]
mov r13d, 0xffffffff
mov qword [rsp + 0x38], rax
xor r15d, r15d
movaps xmm0, xmmword [rsp + 0x30]
mov ecx, dword [rbx + 0x58]
mov eax, ecx
and eax, 0x1100000
movaps xmmword [rsp + 0x30], xmm0
cmp eax, 0x1100000
jne 0x1400b6c2f
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x98]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b6bda
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400b6e2a
mov qword [rdi + 0x60], r15
mov ecx, dword [rbx + 0x7c]
lea eax, [rcx + 1]
mov dword [rbx + 0x7c], eax
test ecx, ecx
jne 0x1400b6c03
mov eax, dword [rbx + 0x58]
test al, 4
jne 0x1400b6c03
or eax, 4
mov dword [rbx + 0x58], eax
test al, 8
je 0x1400b6c03
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 0x1400b6e48
jmp 0x1400b6d6a
bt ecx, 0x18
jae 0x1400b6c8e
movups xmmword [rdi + 0x90], xmm0
mov qword [rdi + 0x68], r15
mov rax, qword [rbx + 0x208]
test rax, rax
je 0x1400b6c61
mov rax, qword [rax + 0x68]
mov qword [rdi + 0x68], rax
mov rax, qword [rbx + 0x208]
mov qword [rax + 0x68], rdi
jmp 0x1400b6c65
mov qword [rdi + 0x68], rdi
mov qword [rbx + 0x208], rdi
cmp dword [rbx + 0x100], 0
jne 0x1400b6c7d
mov rcx, rbx
call fcn.1400b6940
mov eax, dword [rsp + 0x30]
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
jmp 0x1400b6d39
xor r9d, r9d
bt ecx, 0x14
jae 0x1400b6d71
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x58], rax
test rax, rax
je 0x1400b6e5d
mov r14d, dword [rsp + 0x30]
lea rax, [rdi + 0x40]
mov rdx, qword [rsp + 0x38]
mov r8d, r14d
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
test eax, eax
jne 0x1400b6d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400b6d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400b6e2a
test ebp, ebp
je 0x1400b6d13
mov qword [rdi + 0x60], r15
jmp 0x1400b6d2f
mov rax, r14
mov edx, r13d
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400b6cf0
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbx + 0x7c]
lea eax, [rcx + 1]
mov dword [rbx + 0x7c], eax
test ecx, ecx
jne 0x1400b6d5e
mov eax, dword [rbx + 0x58]
test al, 4
jne 0x1400b6d5e
or eax, 4
mov dword [rbx + 0x58], eax
test al, 8
je 0x1400b6d5e
mov rax, qword [rbx + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
inc dword [rbx + 0x78]
inc dword [rbx + 0x100]
xor eax, eax
jmp 0x1400b6e2a
mov r14d, dword [rsp + 0x30]
lea rax, [rdi + 0x40]
mov rdx, qword [rsp + 0x38]
mov r8d, r14d
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
test eax, eax
jne 0x1400b6dab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400b6bcf
test ebp, ebp
je 0x1400b6db5
mov qword [rdi + 0x60], r15
jmp 0x1400b6dc0
mov rax, r14
mov qword [rdi + 0x60], rax
add qword [rbx + 0x60], rax
test dword [rbx + 0x58], 0x80000
je 0x1400b6d39
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 0x1400b6e72
mov rdx, qword [rdi + 0x58]
lea rcx, [rdi + 0xa8]
mov dword [rsp + 0x28], 4
lea r8, [0x1400b1ab0]
mov r9, rdi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x1400b6d39
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400b6e2a
mov eax, 8
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [0x14039b408]
call fcn.1400b8560
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400b8560
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400b8560
int3