Function at 0x14003e5d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400ea5c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x49], rcx
xor r15d, r15d
lea rbx, [0x1400ecd20]
mov qword [rbp - 0x21], rbx
mov rcx, rbx
call fcn.140083f7c
test eax, eax
jne 0x14003e9e5
cmp dword [0x1400ecd6c], 0x7fffffff
je 0x14003e9f0
lea edx, [rax + 1]
mov rcx, rdi
call fcn.140046e70
lea rdx, [rdi + 0x498]
lea rcx, [rbp - 0x19]
call fcn.140006d80
mov rdx, rax
mov rcx, rdi
call fcn.1400425f0
lea rdx, [rdi + 0x4b8]
lea rcx, [rbp - 0x19]
call fcn.140006d80
mov rdx, rax
mov rcx, rdi
call fcn.1400425f0
lea rdx, [rdi + 0x4d8]
lea rcx, [rbp - 0x19]
call fcn.140006d80
mov rdx, rax
mov rcx, rdi
call fcn.1400425f0
lea rdx, [rdi + 0x4f8]
lea rcx, [rbp - 0x19]
call fcn.140006d80
mov rdx, rax
mov rcx, rdi
call fcn.1400425f0
lea rdx, [rdi + 0x328]
lea rcx, [rbp - 0x19]
call fcn.140006d80
mov rdx, rax
mov rcx, rdi
call fcn.1400425f0
lea r8, [rdi + 0x5f0]
mov rcx, qword [rdi + 0x600]
test rcx, rcx
jne 0x14003e8d3
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], SafeArrayDestroy
mov qword [rbp + 0x1f], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [str.Feb_18_2024]
movsd qword [rbp + 7], xmm0
movzx eax, word [0x1400b8d88]
mov word [rbp + 0xf], ax
movzx eax, byte [0x1400b8d8a]
mov byte [rbp + 0x11], al
mov byte [rbp + 0x12], cl
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.140048f30
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 6
jb 0x14003e7d5
lea rax, [r8 + 6]
mov qword [rsi + 0x10], rax
mov r12, rsi
cmp rcx, 8
jb 0x14003e758
mov r12, qword [rsi]
lea rax, [0x1400b8d9c]
mov r14d, 6
lea r13, str.Build.
cmp rax, r12
jbe 0x14003e78a
lea rax, [r12 + r8*2]
cmp r13, rax
ja 0x14003e78a
cmp r12, r13
jbe 0x14003e78d
mov r15, r12
sub r15, r13
sar r15, 1
jmp 0x14003e78d
mov r15, r14
lea rcx, [r12 + 0xc]
lea r8, [r8*2 + 2]
mov rdx, r12
call fcn.140087e40
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r13
mov rcx, r12
call fcn.140087e40
lea rdx, [r13 + 0xc]
lea rdx, [rdx + r15*2]
lea rcx, [rdi + r12]
sub r14, r15
lea r8, [r14 + r14]
call fcn.140087e40
mov rdi, qword [rbp - 0x49]
xor r15d, r15d
jmp 0x14003e802
mov r14d, 6
mov qword [rsp + 0x28], r14
lea r13, str.Build.
mov qword [rsp + 0x20], r13
xor r9d, r9d
movzx r8d, byte [rbp - 0x59]
mov edx, r14d
mov rcx, rsi
call fcn.140035ac0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r15
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.1400425f0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14003e87d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ea05
call fcn.140085b38
movdqa xmm0, xmmword [0x1400b4bd0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r15w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14003e97b
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e8c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ea0b
call fcn.140085b38
jmp 0x14003e97b
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 6
jb 0x14003e9df
mov rax, r8
cmp qword [rdi + 0x608], 8
jb 0x14003e8fa
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov r14d, 6
mov qword [rsp + 0x20], r14
lea r9, str.Build.
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.140039840
mov dword [rbp - 0x49], r15d
mov eax, dword [rbp + 0x17]
add eax, eax
mov dword [rbp - 0x51], eax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x49]
lea r8d, [r14 - 2]
lea rdx, [rbp - 0x51]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp + 0x17]
lea r8d, [rax + rax]
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp + 7]
call fcn.140027ad0
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14003d9f0
mov rdx, rax
mov rcx, rdi
call fcn.140042520
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14003ddd0
mov rdx, rax
mov rcx, rdi
call fcn.140042520
nop
mov rcx, rbx
call fcn.140083f84
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140085fc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140027f40
nop
mov ecx, 5
call fcn.1400840d4
int3
mov dword [0x1400ecd6c], 0x7ffffffe
mov ecx, 6
call fcn.1400840d4
nop
call fcn.14008c674
nop
call fcn.14008c674
int3