Function at 0x140016630
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 [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
lea rsi, [0x1400819f0]
mov qword [rbp + 7], rsi
mov rcx, rsi
call fcn.140033608
test eax, eax
jne 0x14001690d
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 + 0x420]
lea rcx, [rbp + 0xf]
call fcn.140018420
mov rdx, rax
mov rcx, rbx
call fcn.140012310
lea rdx, [rbx + 0x440]
lea rcx, [rbp + 0xf]
call fcn.140018420
mov rdx, rax
mov rcx, rbx
call fcn.140012310
lea rdx, [rbx + 0x460]
lea rcx, [rbp + 0xf]
call fcn.140018420
mov rdx, rax
mov rcx, rbx
call fcn.140012310
lea rdx, [rbx + 0x480]
lea rcx, [rbp + 0xf]
call fcn.140018420
mov rdx, rax
mov rcx, rbx
call fcn.140012310
lea rdx, [rbx + 0x2e0]
lea rcx, [rbp + 0xf]
call fcn.140018420
mov rdx, rax
mov rcx, rbx
call fcn.140012310
lea rcx, [rbx + 0x578]
mov rdx, qword [rbx + 0x588]
test rdx, rdx
jne 0x14001685e
mov qword [rbp + 0x47], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x3f], SafeArrayDestroy
movsd xmm0, qword [str.Jun_21_2022]
movsd qword [rbp + 0x2f], xmm0
movzx eax, word [0x140070698]
mov word [rbp + 0x37], ax
movzx eax, byte [0x14007069a]
mov byte [rbp + 0x39], al
mov byte [rbp + 0x3a], dl
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.14001b020
nop
lea r9d, [rdi + 6]
lea r8, str.Build.
mov rcx, rax
call fcn.14000db00
mov qword [rbp - 0x19], rdi
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.140012310
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14001680d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016808
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016915
call fcn.140034040
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x1400168b1
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001691b
call fcn.140034040
jmp 0x1400168b1
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 6
jb 0x140016907
cmp qword [rbx + 0x590], 8
jb 0x140016882
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.1400070f0
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.140012310
lea rdx, [rbp + 0xf]
call fcn.1400169d0
mov rdx, rax
mov rcx, rbx
call fcn.140012250
lea rdx, [rbp + 0xf]
call fcn.140016c10
mov rdx, rax
mov rcx, rbx
call fcn.140012250
nop
mov rcx, rsi
call fcn.140033610
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140034020
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.1400012a0
nop
mov ecx, eax
call fcn.140033190
nop
call fcn.14003aa14
nop
call fcn.14003aa14
int3