Function at 0x140010310
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, 0xb0
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
lea rsi, [0x140081860]
mov qword [rbp + 7], rsi
mov rcx, rsi
call fcn.1400366d4
test eax, eax
jne 0x1400105bd
cmp dword [0x1400818ac], 0x7fffffff
je 0x1400105c8
mov dword [rbp - 0x29], 1
mov dword [rbp - 0x21], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x21]
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x29]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbx + 0x380]
lea rcx, [rbp + 0xf]
call fcn.140012560
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea rdx, [rbx + 0x3a0]
lea rcx, [rbp + 0xf]
call fcn.140012560
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea rdx, [rbx + 0x3c0]
lea rcx, [rbp + 0xf]
call fcn.140012560
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea rdx, [rbx + 0x3e0]
lea rcx, [rbp + 0xf]
call fcn.140012560
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea rdx, [rbx + 0x300]
lea rcx, [rbp + 0xf]
call fcn.140012560
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea r8, [rbx + 0x4d8]
cmp qword [r8 + 0x10], rdi
jne 0x140010546
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x140073110]
movdqu xmmword [rbp + 0x3f], xmm1
movsd xmm0, qword [str.Jun__6_2024]
movsd qword [rbp + 0x2f], xmm0
movzx eax, word [0x14006c338]
mov word [rbp + 0x37], ax
movzx eax, byte [0x14006c33a]
mov byte [rbp + 0x39], al
mov byte [rbp + 0x3a], dil
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140016480
nop
lea r9d, [rdi + 6]
lea r8, str.Build.
mov rcx, rax
call fcn.1400079a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14000bd60
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x1400104fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400105dd
call fcn.140036ed0
movdqa xmm0, xmmword [0x140073070]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x140010561
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001053f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400105b7
call fcn.140036ed0
jmp 0x140010561
lea rdx, str.Build.
lea rcx, [rbp + 0xf]
call fcn.140002500
mov rdx, rax
mov rcx, rbx
call fcn.14000bd60
lea rdx, [rbp + 0xf]
call fcn.1400106b0
mov rdx, rax
mov rcx, rbx
call fcn.14000bca0
lea rdx, [rbp + 0xf]
call fcn.1400109d0
mov rdx, rax
mov rcx, rbx
call fcn.14000bca0
nop
mov rcx, rsi
call fcn.1400366dc
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140036eb0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14003ddcc
nop
mov ecx, 5
call fcn.140036598
int3
mov dword [0x1400818ac], 0x7ffffffe
mov ecx, 6
call fcn.140036598
nop
call fcn.14003ddcc
int3