Function at 0x1401eed80
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rsi
push r12
push r13
sub rsp, 0x1d0
mov rax, qword [0x14031eda0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp dword [rcx + 0x58], 0
mov r13d, r8d
mov r12, rdx
mov rsi, rcx
je 0x1401ef0bd
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 0x1401eee40
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 0x1401ef0a5
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 0x1401eee62
add ebx, 2
cmp dword [rsi + 0xc], r15d
je 0x1401eee6b
add ebx, 4
cmp dword [rsi + 0x10], r15d
je 0x1401eee74
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, [0x1402aef50]
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 0x1401eefd2
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.14022e6d0
jmp 0x1401ef024
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.14022e6d0
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 0x1401ef06a
lea r9, [rsp + 0x60]
lea rdx, [0x1402af144]
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.14022b9b0
add rsp, 0x1d0
pop r13
pop r12
pop rsi
ret