Function at 0x1400549b0
Capabilities:
Read file on windows
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
call fcn.1400525c0
mov rcx, qword [rsp + 0xb0]
call fcn.1400696f0
add rax, 0x11
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140069adc
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140054a0f
lea rcx, str.Failed_to_allocate_memory
call fcn.14006b244
mov eax, 1
jmp 0x140054d8a
mov r9, qword [rsp + 0xb0]
lea r8, str.C:_Windows__s.evtx
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
call fcn.140014840
mov qword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x20]
call fcn.140052880
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, str._n_s_n
call fcn.140054e40
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call fcn.140054690
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140054acd
mov qword [rsp + 0x60], 0
jmp 0x140054aa3
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x60], rax
jae 0x140054acb
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rax + rcx*8]
lea rcx, str.Identifier__decimal_:__llu_n
call fcn.140054e40
jmp 0x140054a96
jmp 0x140054ad9
lea rcx, str.No_identifiers_found_or_an_error_occurred._n
call fcn.140054e40
mov dword [rsp + 0x50], 1
lea rdx, [0x1400a3a6c]
mov rcx, qword [rsp + 0x20]
call fcn.14006aa3c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140054b24
mov rdx, qword [rsp + 0x20]
lea rcx, str.Error:_Fail_to_open_input_file:__s_n
call fcn.140054e40
mov rcx, qword [rsp + 0x28]
call fcn.14006434c
mov eax, 1
jmp 0x140054d8a
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140065528
mov rcx, qword [rsp + 0x38]
call fcn.14006b070
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.140069adc
mov qword [rsp + 0x48], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140065528
movsxd rax, dword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.140065120
mov rcx, qword [rsp + 0x38]
call fcn.140064674
mov qword [rsp + 0x40], 0
jmp 0x140054ba4
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x40], rax
jae 0x140054c13
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + rcx*8]
lea rcx, str._nDeleting_event_record_identifier:__llu_n
call fcn.140054e40
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + rcx*8]
mov rcx, qword [rsp + 0x48]
call fcn.140053b40
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140054c11
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + rcx*8]
lea rcx, str.Error:_Failed_to_delete_record_number:__llu_n
call fcn.140054e40
mov rcx, qword [rsp + 0x20]
call fcn.14006b2d0
jmp 0x140054b97
lea rdx, [0x1400a3af8]
mov rcx, qword [rsp + 0x20]
call fcn.14006aa3c
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140054c60
mov rdx, qword [rsp + 0x20]
lea rcx, str.Error:_Failed_to_reopen_input_file_for_writing:__s_n
call fcn.140054e40
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.14006434c
mov eax, 1
jmp 0x140054d8a
mov edx, 2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x140054c99
mov rdx, qword [rsp + 0x20]
lea rcx, str.Error:_Failed_to_set_file_as_hidden:__s_n
call fcn.140054e40
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov eax, 1
jmp 0x140054d8a
movsxd rax, dword [rsp + 0x30]
mov r9, qword [rsp + 0x70]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.140065934
mov rcx, qword [rsp + 0x70]
call fcn.140064674
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.14006434c
lea rcx, str._nParsing_and_computing_checksums_for_output_file:_n_n
call fcn.140054e40
lea rdx, [0x1400a3b9c]
mov rcx, qword [rsp + 0x20]
call fcn.14006aa3c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140054d11
lea rcx, str.Error:_Failed_to_open_output_file_for_checksum_verification
call fcn.14006b244
mov eax, 1
jmp 0x140054d8a
call fcn.140052750
mov rcx, qword [rsp + 0x58]
call fcn.140052f90
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x90], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.1400530f0
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.140053500
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x78]
call fcn.14006434c
mov rcx, qword [rsp + 0x58]
call fcn.140064674
mov rcx, qword [rsp + 0x20]
call fcn.140054810
xor eax, eax
add rsp, 0xa8
ret