Function at 0x1401d8ee0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rsi
push r12
push r13
sub rsp, 0x1d0
mov rax, qword [0x140300da0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp dword [rcx + 0x58], 0
mov r13d, r8d
mov r12, rdx
mov rsi, rcx
je 0x1401d921d
mov qword [r11 - 0x20], rbp
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x38], r15
xor r15d, r15d
mov edi, 1
lea rcx, str.C:AEFilters.log
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov edx, 0x40000000
mov r8d, edi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
jne 0x1401d8fa0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r15
lea rcx, str.C:AEFilters.log
xor r9d, r9d
mov r8d, edi
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x1401d9205
mov qword [rsp + 0x208], rbx
mov ebx, r15d
mov qword [rsp + 0x1b8], r14
cmp dword [rsi + 4], ebx
cmovne ebx, edi
cmp dword [rsi + 8], r15d
je 0x1401d8fc2
add ebx, 2
cmp dword [rsi + 0xc], r15d
je 0x1401d8fcb
add ebx, 4
cmp dword [rsi + 0x10], r15d
je 0x1401d8fd4
add ebx, 8
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rax, [rsp + 0x90]
lea r9, str.ddMMMyy
lea r8, [rsp + 0x68]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x38], r15
lea rdi, [rsp + 0x90]
lea r14, [0x140293c50]
lea r8, [rsp + 0x90]
repne scasw ax, word [rdi]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], r14
not rcx
mov edx, 0x400
mov dword [rsp + 0x28], 0x14
mov r9d, ecx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x90]
lea r9, str.HH:mm:ss
lea r8, [rsp + 0x68]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
lea rdi, [rsp + 0x90]
lea r8, [rsp + 0x90]
repne scasw ax, word [rdi]
lea rax, [rsp + 0x78]
mov edx, 0x400
not rcx
mov dword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp r13d, 0xffffffff
mov r14, qword [rsp + 0x1b8]
jne 0x1401d9132
mov eax, dword [rsi + 0x18]
movzx ecx, word [rsp + 0x76]
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x78]
lea r9, [rsi + 0x68]
lea r8, str._s__s__s._i:__s___i____i__r_n
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
mov edx, 0xc8
mov qword [rsp + 0x20], rax
call fcn.140219230
jmp 0x1401d9184
mov eax, dword [rsi + 0x18]
movzx ecx, word [rsp + 0x76]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x78]
lea r9, [rsi + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
lea r8, str._s__s__s._i:__s___i____i____i__r_n
lea rcx, [rsp + 0xd0]
mov edx, 0xc8
mov qword [rsp + 0x20], rax
call fcn.140219230
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [rsp + 0x210], r15d
mov rbx, qword [rsp + 0x208]
je 0x1401d91ca
lea r9, [rsp + 0x60]
lea rdx, [0x140293e44]
mov r8d, 2
mov rcx, rbp
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0xd0]
not rcx
mov qword [rsp + 0x20], r15
lea r8, [rcx - 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x1c0]
mov rbp, qword [rsp + 0x1c8]
mov r15, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140216200
add rsp, 0x1d0
pop r13
pop r12
pop rsi
ret