Function at 0x140038400
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, 0xb0
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
lea rax, [0x1400e36a0]
mov qword [rbp - 0x19], rax
mov rcx, rax
call fcn.140074f84
test eax, eax
jne 0x14003874f
mov dword [rbp - 0x49], 1
xor r13d, r13d
mov dword [rbp - 0x41], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x41]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rsi + 0x3d8]
lea rcx, [rbp - 0x11]
call fcn.14001dd80
mov rdx, rax
mov rcx, rsi
call fcn.1400305a0
lea rdx, [rsi + 0x3f8]
lea rcx, [rbp - 0x11]
call fcn.14001dd80
mov rdx, rax
mov rcx, rsi
call fcn.1400305a0
lea rdx, [rsi + 0x418]
lea rcx, [rbp - 0x11]
call fcn.14001dd80
mov rdx, rax
mov rcx, rsi
call fcn.1400305a0
lea rdx, [rsi + 0x438]
lea rcx, [rbp - 0x11]
call fcn.14001dd80
mov rdx, rax
mov rcx, rsi
call fcn.1400305a0
lea rdx, [rsi + 0x338]
lea rcx, [rbp - 0x11]
call fcn.14001dd80
mov rdx, rax
mov rcx, rsi
call fcn.1400305a0
lea r15, [rsi + 0x530]
mov r12, qword [r15 + 0x10]
test r12, r12
jne 0x140038635
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], SafeArrayDestroy
movsd xmm0, qword [str.Sep_16_2024]
movsd qword [rbp + 0xf], xmm0
movzx eax, word [0x1400c8fd8]
mov word [rbp + 0x17], ax
movzx eax, byte [0x1400c8fda]
mov byte [rbp + 0x19], al
mov byte [rbp + 0x1a], r12b
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140044ba0
nop
lea r9d, [r13 + 6]
lea r8, str.Build.
mov rcx, rax
call fcn.14002fe70
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], r13
mov ebx, 7
mov qword [rax + 0x18], rbx
mov word [rax], r13w
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.1400305a0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400385e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400385df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038757
call fcn.1400761b0
mov qword [rbp - 1], r13
mov qword [rbp + 7], rbx
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x1400386e7
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003862b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003875d
call fcn.1400761b0
jmp 0x1400386e7
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 6
jb 0x140038749
cmp qword [r15 + 0x18], 8
jb 0x140038659
mov r15, qword [r15]
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], r13
lea r14, [r12 + 6]
mov ebx, 7
lea rdi, [rbp + 0xf]
cmp r14, rbx
jbe 0x1400386a9
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x140038689
mov rbx, rcx
jmp 0x140038695
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0xf]
call fcn.14001de20
mov rdi, rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], rbx
movsd xmm0, qword [str.Build.]
movsd qword [rdi], xmm0
mov ecx, dword [0x1400c8fe8]
mov dword [rdi + 8], ecx
lea rcx, [rdi + 0xc]
lea r8, [r12 + r12]
mov rdx, r15
call fcn.1400785c0
mov word [rdi + r14*2], r13w
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400305a0
lea rdx, [rbp - 0x11]
call fcn.140038810
mov rdx, rax
mov rcx, rsi
call fcn.1400304e0
lea rdx, [rbp - 0x11]
call fcn.140038bf0
mov rdx, rax
mov rcx, rsi
call fcn.1400304e0
nop
lea rcx, [0x1400e36a0]
call fcn.140074f8c
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140076190
lea r11, [rsp + 0xb0]
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.140002550
nop
mov ecx, eax
call fcn.1400738b4
nop
call fcn.14007cacc
nop
call fcn.14007cacc
int3