Function at 0x140002c39
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], rcx
mov qword [rbp + 0x1a8], rdx
mov qword [rbp + 0x1b0], r8
mov dword [rbp + 0x1b8], r9d
mov dword [rbp + 0x17c], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov dword [rbp + 0x178], 0
mov qword [rbp - 0x28], 0
cmp qword [rbp + 0x1a0], 0
jne 0x140002cc6
lea r8, str.directory___NULL
lea rax, str.program_Iterate
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_return_if_fail_warning]
call rax
jmp 0x140003605
cmp qword [rbp + 0x1a8], 0
jne 0x140002cf4
lea r8, str.settings___NULL
lea rax, str.program_Iterate
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_return_if_fail_warning]
call rax
jmp 0x140003605
cmp qword [rbp + 0x1c0], 0
jne 0x140002d22
lea r8, str.thread_pool___NULL
lea rax, str.program_Iterate
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_return_if_fail_warning]
call rax
jmp 0x140003605
mov dword [rbp + 0x17c], 0
mov qword [rbp + 0x160], 0
lea rdx, [rbp - 0x28]
mov rax, qword [rbp + 0x1a0]
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_dir_open]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x140002de0
mov rax, qword [rbp - 0x28]
mov ebx, dword [rax + 4]
mov rax, qword [rbp - 0x28]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_quark_to_string]
call rax
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x34d
lea r9, str.C:_msys64_home_poco_main_thread.vala.c
lea r8, [0x14001b070]
mov edx, 8
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_log]
call rax
lea rax, [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
jmp 0x140003605
mov dword [rbp + 0x14c], 0
mov qword [rbp + 0x140], 0
mov dword [rbp + 0x174], 0
mov dword [rbp + 0x170], 0
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x138]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_dir_read_name]
call rax
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
je 0x14000343a
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
mov edx, 0
mov rcx, rax
call sym.string_get
cmp al, 0x2e
sete al
movzx eax, al
mov dword [rbp + 0x14c], eax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x1a0]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_build_filename]
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_file_test]
call rax
test eax, eax
je 0x140002f3c
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_EncryptHiddenFiles
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
mov dword [rbp + 0x100], eax
cmp dword [rbp + 0x100], 0
sete al
movzx eax, al
and eax, dword [rbp + 0x14c]
test eax, eax
sete al
movzx eax, al
mov dword [rbp + 0x170], eax
jmp 0x140002f46
mov dword [rbp + 0x170], 0
cmp dword [rbp + 0x170], 0
je 0x140003076
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_IncludeFiles
mov dword [rbp + 0xf4], eax
mov eax, dword [rbp + 0xf4]
mov dword [rbp + 0xf0], eax
lea rdx, [rbp - 0x2c]
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_FileSet
mov qword [rbp + 0xe8], rax
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xd8], rax
mov eax, dword [rbp + 0xe4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_IncludeExtensions
mov dword [rbp + 0xd0], eax
mov eax, dword [rbp + 0xd0]
mov dword [rbp + 0xcc], eax
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_ExtensionsSet
mov qword [rbp + 0xc0], rax
mov eax, dword [rbp - 0x30]
mov dword [rbp + 0xbc], eax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0xb0], rax
mov eax, dword [rbp + 0xbc]
mov dword [rbp + 0xac], eax
mov r9d, dword [rbp + 0xd4]
mov r8, qword [rbp + 0xd8]
mov edx, dword [rbp + 0xf0]
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rbp + 0xac]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbp + 0xcc]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call sym.program_Filter
mov dword [rbp + 0x174], eax
jmp 0x140003080
mov dword [rbp + 0x174], 0
cmp dword [rbp + 0x174], 0
je 0x14000327f
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x58], rax
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x58]
mov rcx, rax
call sym.task_data_new
mov qword [rbp + 0x50], rax
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x1c0]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_thread_pool_push]
call rax
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1400031a3
mov rax, qword [rbp - 0x28]
mov ebx, dword [rax]
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_thread_error_quark]
call rax
cmp ebx, eax
je 0x1400031af
mov rax, qword [rbp + 0x140]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x140], 0
cmp qword [rbp + 0x158], 0
je 0x140003137
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_dir_close]
call rax
mov qword [rbp + 0x158], 0
mov rax, qword [rbp - 0x28]
mov ebx, dword [rax + 4]
mov rax, qword [rbp - 0x28]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_quark_to_string]
call rax
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x3a1
lea r9, str.C:_msys64_home_poco_main_thread.vala.c
lea r8, [0x14001b2b8]
mov edx, 8
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_log]
call rax
lea rax, [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
jmp 0x140003605
mov dword [rbp + 0x17c], 1
jmp 0x1400031c0
nop
lea rax, [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x140003417
mov rax, qword [rbp + 0x140]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x140], 0
cmp qword [rbp + 0x158], 0
je 0x140003213
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_dir_close]
call rax
mov qword [rbp + 0x158], 0
mov rax, qword [rbp - 0x28]
mov ebx, dword [rax + 4]
mov rax, qword [rbp - 0x28]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_quark_to_string]
call rax
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x3b0
lea r9, str.C:_msys64_home_poco_main_thread.vala.c
lea r8, [0x14001b070]
mov edx, 8
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_log]
call rax
lea rax, [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
jmp 0x140003605
mov dword [rbp + 0x16c], 0
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_file_test]
call rax
test eax, eax
je 0x1400032f7
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_EncryptHiddenDirectories
mov dword [rbp + 0x9c], eax
mov eax, dword [rbp + 0x9c]
mov dword [rbp + 0x98], eax
cmp dword [rbp + 0x98], 0
sete al
movzx eax, al
and eax, dword [rbp + 0x14c]
test eax, eax
sete al
movzx eax, al
mov dword [rbp + 0x16c], eax
jmp 0x140003301
mov dword [rbp + 0x16c], 0
cmp dword [rbp + 0x16c], 0
je 0x140003417
mov dword [rbp + 0x168], 0
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_IncludeDirectories
mov dword [rbp + 0x94], eax
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x90], eax
cmp dword [rbp + 0x90], 0
jne 0x1400033ac
mov dword [rbp - 0x34], 0
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x88], rax
lea rdx, [rbp - 0x34]
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_DirectorySet
mov qword [rbp + 0x80], rax
mov eax, dword [rbp - 0x34]
mov dword [rbp + 0x7c], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x70], rax
mov eax, dword [rbp + 0x7c]
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x6c]
movsxd rdx, eax
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x70]
mov r8, rcx
mov rcx, rax
call sym._vala_string_array_contains
mov dword [rbp + 0x168], eax
jmp 0x1400033b6
mov dword [rbp + 0x168], 0
cmp dword [rbp + 0x168], 0
je 0x1400033df
mov rax, qword [rbp + 0x140]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x140], 0
jmp 0x140003435
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x60], rax
mov r9d, dword [rbp + 0x1b8]
mov r8, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x1c0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call sym.program_Iterate
mov rax, qword [rbp + 0x140]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x140], 0
jmp 0x140002de0
nop
cmp dword [rbp + 0x17c], 0
je 0x1400034c9
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_NoteFilename
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x40], rax
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x1a0]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_build_filename]
call rax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov edx, 0x10
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_file_test]
call rax
test eax, eax
sete al
movzx eax, al
mov dword [rbp + 0x178], eax
mov rax, qword [rbp + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x30], 0
jmp 0x1400034d3
mov dword [rbp + 0x178], 0
cmp dword [rbp + 0x178], 0
je 0x1400035dc
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sym.settings_get_NoteFilename
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x18], rax
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x1a0]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_build_filename]
call rax
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
lea rdx, [0x14001b2e8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_fopen]
call rax
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 8], 0
mov rax, qword [rbp - 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1400035c1
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x1b8]
movsxd rdx, eax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x1b0]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.fflush
cmp qword [rbp + 0x28], 0
je 0x1400035dc
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sym.fclose
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x158], 0
je 0x140003604
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_dir_close]
call rax
mov qword [rbp + 0x158], 0
nop
add rsp, 0x208
pop rbx
pop rbp
ret