Function at 0x140039030
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 [0x1400e9380]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor esi, esi
lea rbx, [0x1400ebc40]
mov qword [rbp + 7], rbx
mov rcx, rbx
call fcn.140078f1c
test eax, eax
jne 0x140039367
cmp dword [0x1400ebc8c], 0x7fffffff
je 0x140039372
lea edx, [rsi + 1]
mov rcx, rdi
call fcn.140042cc0
lea rdx, [rdi + 0x3d8]
lea rcx, [rbp + 0xf]
call fcn.140008a40
mov rdx, rax
mov rcx, rdi
call fcn.14003e2b0
lea rdx, [rdi + 0x3f8]
lea rcx, [rbp + 0xf]
call fcn.140008a40
mov rdx, rax
mov rcx, rdi
call fcn.14003e2b0
lea rdx, [rdi + 0x418]
lea rcx, [rbp + 0xf]
call fcn.140008a40
mov rdx, rax
mov rcx, rdi
call fcn.14003e2b0
lea rdx, [rdi + 0x438]
lea rcx, [rbp + 0xf]
call fcn.140008a40
mov rdx, rax
mov rcx, rdi
call fcn.14003e2b0
lea rdx, [rdi + 0x338]
lea rcx, [rbp + 0xf]
call fcn.140008a40
mov rdx, rax
mov rcx, rdi
call fcn.14003e2b0
lea r8, [rdi + 0x530]
mov rcx, qword [rdi + 0x540]
test rcx, rcx
jne 0x14003925e
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x1400addc0]
movdqu xmmword [rbp + 0x3f], xmm1
movsd xmm0, qword [str.Sep_13_2024]
movsd qword [rbp + 0x2f], xmm0
movzx eax, word [0x1400b1e18]
mov word [rbp + 0x37], ax
movzx eax, byte [0x1400b1e1a]
mov byte [rbp + 0x39], al
mov byte [rbp + 0x3a], cl
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140045ea0
nop
lea r9d, [rsi + 6]
lea r8, str.Build.
xor edx, edx
mov rcx, rax
call fcn.1400423d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14003e2b0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140039209
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039204
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039387
call fcn.14007ab4c
movdqa xmm0, xmmword [0x1400add10]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x140039305
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039254
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003938d
call fcn.14007ab4c
jmp 0x140039305
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 6
jb 0x140039361
mov rax, r8
cmp qword [rdi + 0x548], 7
jbe 0x140039285
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 + 0x2f]
call fcn.1400339c0
mov dword [rbp - 0x1d], esi
mov eax, dword [rbp + 0x3f]
add eax, eax
mov dword [rbp - 0x29], eax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x1d]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp + 0x3f]
lea r8d, [rax + rax]
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x1d]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp + 0x2f]
call fcn.1400289e0
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.1400382d0
mov rdx, rax
mov rcx, rdi
call fcn.14003e1e0
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.1400386b0
mov rdx, rax
mov rcx, rdi
call fcn.14003e1e0
nop
mov rcx, rbx
call fcn.140078f24
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14007afc0
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.140028e50
nop
mov ecx, 5
call fcn.140079198
int3
mov dword [0x1400ebc8c], 0x7ffffffe
mov ecx, 6
call fcn.140079198
nop
call fcn.140081b40
nop
call fcn.140081b40
int3