Function at 0x1400cf4b8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x3a0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rcx, qword [rcx + 8]
mov edx, 0x6ce
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, reloc.SHELL32.dll_ILGetSize
lea rcx, [rbp - 0x80]
mov r8d, ebx
xor edx, edx
mov r13, rax
call fcn.14012d4b0
mov rcx, qword [0x14022b560]
lea rax, str.Log_files__.csv_
mov qword [rbp - 0x68], rax
xor esi, esi
lea rax, [rbp + 0x80]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x80]
lea rax, str.Save_shell_and_processes_log...
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x28], rax
lea rax, [0x1401b5800]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x54], 1
mov word [rbp + 0x80], si
mov dword [rbp - 0x48], 0x104
mov dword [rbp - 0x20], 0x88080e
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x1400cf790
mov qword [rsp + 0x30], rsi
lea r15d, [rsi + 4]
mov dword [rsp + 0x28], esi
lea r8d, [rsi + 1]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x40000000
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400cf777
mov ecx, 0x80000
call fcn.140113e8c
xorps xmm0, xmm0
mov dword [rsp + 0x48], r15d
mov rdi, rax
mov dword [rsp + 0x40], esi
xor eax, eax
mov r14d, esi
mov dword [rsp + 0x7c], eax
movups xmmword [rsp + 0x4c], xmm0
movups xmmword [rsp + 0x5c], xmm0
movups xmmword [rsp + 0x6c], xmm0
test r14d, r14d
je 0x1400cf610
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, 2
lea rdx, [0x14019deec]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd r8, r14d
lea r9, [rsp + 0x48]
mov edx, 0x105f
mov qword [rsp + 0x58], rdi
mov rcx, r13
mov dword [rsp + 0x60], 0x40000
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400cf666
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x1400cf63b
add eax, eax
je 0x1400cf661
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc r14d
jmp 0x1400cf5eb
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, r15d
lea rdx, [0x1401759f4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14d, r14d
jle 0x1400cf764
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r12, eax
mov r15, rsi
test eax, eax
jle 0x1400cf764
lfence
xor ecx, ecx
test esi, esi
je 0x1400cf6d9
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x14019deec]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
mov word [rdi], cx
lea r9, [rbp + 0x20]
mov rcx, r13
mov dword [rbp + 0x28], esi
mov r8, r15
mov dword [rbp + 0x40], 0x40000
mov edx, 0x1073
mov qword [rbp + 0x38], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
or rax, 0xffffffffffffffff
xor ecx, ecx
inc rax
cmp word [rdi + rax*2], cx
jne 0x1400cf705
add eax, eax
je 0x1400cf72d
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rcx, rbx
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
inc esi
cmp esi, r14d
jl 0x1400cf6b3
xor esi, esi
lea r9, [rsp + 0x40]
lea rdx, [0x1401759f4]
mov qword [rsp + 0x20], rsi
mov rcx, rbx
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc r15
cmp r15, r12
jl 0x1400cf6b1
mov rcx, rdi
call fcn.140113e18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400cf790
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
lea rcx, str.Create_log_file_failed_
xor edx, edx
call fcn.140113304
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x3a0]
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