Function at 0x140373000
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm8
movups xmmword [rsp + 0x80], xmm10
pxor xmm0, xmm0
mov eax, dword [rcx + 0x18]
mov r12d, dword [rcx + 0x1c]
not eax
mov rbp, rcx
mov rbx, rdx
lea r13, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
test eax, 0x40080000
je 0x1403731b0
mov edi, r12d
mov ecx, 2
mov rdx, rdi
call sym.calloc
mov rsi, rax
test rax, rax
je 0x140373292
mov r8, qword [rbx + 0x70]
mov r9, qword [rbx + 0x78]
mov ecx, 8
add r12d, r12d
movdqu xmm4, xmmword [rbx]
mov qword [rax], 0
mov eax, 8
mov rdx, qword [rbx + 0x80]
movdqu xmm2, xmmword [rbx + 0x10]
mov word [rsi + 0xa], ax
lea rax, [rsi + rdi]
movdqu xmm6, xmmword [rbx + 0x20]
movdqu xmm8, xmmword [rbx + 0x30]
mov qword [rsi + 0x80], r8
movdqu xmm10, xmmword [rbx + 0x40]
movdqu xmm0, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x10], xmm4
mov r11, qword [rbx + 0x68]
mov r10, qword [rbx + 0x60]
movups xmmword [rsi + 0x20], xmm2
mov qword [rsi + 0x88], r9
mov qword [rsi + 0x90], rdx
mov qword [rsi + 0x70], r10
mov qword [rsi + 0x78], r11
movups xmmword [rsi + 0x30], xmm6
movups xmmword [rsi + 0x40], xmm8
movups xmmword [rsi + 0x50], xmm10
movups xmmword [rsi + 0x60], xmm0
mov word [rax + 0xa], cx
mov qword [rax], 1
movups xmmword [rax + 0x10], xmm4
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x40], xmm8
movups xmmword [rax + 0x50], xmm10
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], r10
mov rcx, qword [rbp]
mov qword [rax + 0x80], r8
mov r8d, r12d
mov qword [rax + 0x88], r9
lea r9, [rsp + 0x3c]
mov qword [rax + 0x90], rdx
mov rdx, rsi
mov qword [rax + 0x78], r11
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1403731a0
cmp r12d, dword [rsp + 0x3c]
mov ebx, 0x1c
mov eax, 0
cmove ebx, eax
mov rcx, rsi
call sym.free
nop
movups xmm6, xmmword [rsp + 0x60]
movups xmm8, xmmword [rsp + 0x70]
mov eax, ebx
movups xmm10, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140373167
mov rax, qword [rcx + 0x40]
movdqu xmm1, xmmword [rdx]
mov r8d, 8
mov r9d, 8
movups xmmword [rax + 0x10], xmm1
movdqu xmm3, xmmword [rdx + 0x10]
mov qword [rax], 0
movups xmmword [rax + 0x20], xmm3
movdqu xmm5, xmmword [rdx + 0x20]
mov word [rax + 0xa], r8w
movups xmmword [rax + 0x30], xmm5
movdqu xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x40], xmm1
movdqu xmm3, xmmword [rdx + 0x40]
movups xmmword [rax + 0x50], xmm3
movdqu xmm5, xmmword [rdx + 0x50]
movups xmmword [rax + 0x60], xmm5
movdqu xmm1, xmmword [rdx + 0x60]
movups xmmword [rax + 0x70], xmm1
movdqu xmm3, xmmword [rdx + 0x70]
movups xmmword [rax + 0x80], xmm3
mov rdx, qword [rdx + 0x80]
mov qword [rax + 0x90], rdx
movdqu xmm5, xmmword [rbx]
add rax, r12
mov qword [rax], 1
movups xmmword [rax + 0x10], xmm5
movdqu xmm2, xmmword [rbx + 0x10]
mov word [rax + 0xa], r9w
movups xmmword [rax + 0x20], xmm2
movdqu xmm4, xmmword [rbx + 0x20]
movups xmmword [rax + 0x30], xmm4
movdqu xmm6, xmmword [rbx + 0x30]
movups xmmword [rax + 0x40], xmm6
movdqu xmm1, xmmword [rbx + 0x40]
movups xmmword [rax + 0x50], xmm1
movdqu xmm3, xmmword [rbx + 0x50]
movups xmmword [rax + 0x60], xmm3
movdqu xmm5, xmmword [rbx + 0x60]
movups xmmword [rax + 0x70], xmm5
movdqu xmm2, xmmword [rbx + 0x70]
movups xmmword [rax + 0x80], xmm2
mov rdx, qword [rbx + 0x80]
xor ebx, ebx
mov qword [rax + 0x90], rdx
jmp 0x140373170
mov ebx, 0xc
jmp 0x140373170