Function at 0x14005a580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1401360c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor esi, esi
lea rbx, [0x14014aad0]
mov qword [rbp + 7], rbx
mov rcx, rbx
call fcn.14009ffa0
test eax, eax
jne 0x14005a872
cmp dword [0x14014ab1c], 0x7fffffff
je 0x14005a87d
mov dword [rbp - 0x29], 1
mov dword [rbp - 0x21], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x21]
lea r8d, [rsi + 4]
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x3d8]
lea rcx, [rbp + 0xf]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rdi + 0x3f8]
lea rcx, [rbp + 0xf]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rdi + 0x418]
lea rcx, [rbp + 0xf]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rdi + 0x438]
lea rcx, [rbp + 0xf]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rdi + 0x338]
lea rcx, [rbp + 0xf]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rcx, [rdi + 0x530]
mov rdx, qword [rdi + 0x540]
test rdx, rdx
jne 0x14005a7c3
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x140122880]
movdqu xmmword [rbp + 0x3f], xmm1
movsd xmm0, qword [str.Jun_27_2024]
movsd qword [rbp + 0x2f], xmm0
movzx eax, word [0x1401176a8]
mov word [rbp + 0x37], ax
movzx eax, byte [0x1401176aa]
mov byte [rbp + 0x39], al
mov byte [rbp + 0x3a], dl
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140065e70
nop
lea r9d, [rsi + 6]
lea r8, str.Build.
mov rcx, rax
call fcn.140052710
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140052fb0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14005a771
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a76c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a892
call fcn.1400a0ff0
movdqa xmm0, xmmword [0x1401227e0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14005a816
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a7bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a898
call fcn.1400a0ff0
jmp 0x14005a816
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 6
jb 0x14005a86c
cmp qword [rdi + 0x548], 7
jbe 0x14005a7e7
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 6
lea r9, str.Build.
lea rcx, [rbp + 0xf]
call fcn.14004df30
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rbp + 0xf]
call fcn.14005a960
mov rdx, rax
mov rcx, rdi
call fcn.140052ef0
lea rdx, [rbp + 0xf]
call fcn.14005ad30
mov rdx, rax
mov rcx, rdi
call fcn.140052ef0
nop
mov rcx, rbx
call fcn.14009ffa8
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400a0fd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400033b0
nop
mov ecx, 5
call fcn.14009fef0
int3
mov dword [0x14014ab1c], 0x7ffffffe
mov ecx, 6
call fcn.14009fef0
nop
call fcn.1400a80e0
nop
call fcn.1400a80e0
int3