Function at 0x14000d990
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 [0x14007e080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
lea rsi, [0x14007fc20]
mov qword [rbp + 7], rsi
mov rcx, rsi
call fcn.140036f00
test eax, eax
jne 0x14000dc97
cmp dword [0x14007fc6c], 0x7fffffff
je 0x14000dca2
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.140011cd0
lea rdx, [rbx + 0x360]
lea rcx, [rbp + 0x2f]
call fcn.14000a270
mov rdx, rax
mov rcx, rbx
call fcn.140011610
lea rdx, [rbx + 0x380]
lea rcx, [rbp + 0x2f]
call fcn.14000a270
mov rdx, rax
mov rcx, rbx
call fcn.140011610
lea rdx, [rbx + 0x3a0]
lea rcx, [rbp + 0x2f]
call fcn.14000a270
mov rdx, rax
mov rcx, rbx
call fcn.140011610
lea rdx, [rbx + 0x3c0]
lea rcx, [rbp + 0x2f]
call fcn.14000a270
mov rdx, rax
mov rcx, rbx
call fcn.140011610
lea rdx, [rbx + 0x2d8]
lea rcx, [rbp + 0x2f]
call fcn.14000a270
mov rdx, rax
mov rcx, rbx
call fcn.140011610
lea r8, [rbx + 0x4b8]
mov rcx, qword [rbx + 0x4c8]
test rcx, rcx
jne 0x14000db8e
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x140062140]
movdqu xmmword [rbp + 0x1f], xmm1
movsd xmm0, qword [str.Apr__9_2024]
movsd qword [rbp + 0xf], xmm0
movzx eax, word [0x140061f20]
mov word [rbp + 0x17], ax
movzx eax, byte [0x140061f22]
mov byte [rbp + 0x19], al
mov byte [rbp + 0x1a], cl
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.140018e00
nop
mov r8, rax
lea rdx, str.Build.
lea rcx, [rbp - 0x19]
call fcn.140002ed0
mov rdx, rax
mov rcx, rbx
call fcn.140011610
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x14000db39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dcb7
call fcn.1400378b8
movdqa xmm0, xmmword [0x14005e8b0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000dc35
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dcbd
call fcn.1400378b8
jmp 0x14000dc35
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 6
jb 0x14000dc91
mov rax, r8
cmp qword [rbx + 0x4d0], 7
jbe 0x14000dbb5
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.Build.
movzx edx, byte [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.14000a3a0
mov dword [rbp - 0x1d], edi
mov eax, dword [rbp + 0x1f]
add eax, eax
mov dword [rbp - 0x29], eax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x1d]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
mov r8d, dword [rbp + 0x1f]
add r8d, r8d
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x1d]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp + 0xf]
call fcn.1400029a0
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14000d0e0
mov rdx, rax
mov rcx, rbx
call fcn.140011540
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14000d4c0
mov rdx, rax
mov rcx, rbx
call fcn.140011540
nop
mov rcx, rsi
call fcn.140036f08
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400379d0
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.140002a10
nop
mov ecx, 5
call fcn.140037228
int3
mov dword [0x14007fc6c], 0x7ffffffe
mov ecx, 6
call fcn.140037228
nop
call fcn.14003e7f4
nop
call fcn.14003e7f4
int3