Function at 0x1400530f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4e8
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0x30], 0x80
mov rax, qword [rsp + 0x510]
mov qword [rax], 0
mov rax, qword [rsp + 0x508]
mov qword [rax], 0
mov r9, qword [rsp + 0x500]
mov r8d, 0x400
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.140065120
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1400534d5
mov qword [rsp + 0x20], 0
jmp 0x14005318a
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
sub rax, 8
cmp qword [rsp + 0x20], rax
ja 0x1400534bb
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xd0]
mov r8d, 8
lea rdx, str.ElfChnk
mov rcx, rax
call fcn.140060060
test eax, eax
jne 0x1400534b6
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xd0]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xd8]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xe0]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xe8]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xf0]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xf8]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0xfc]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x74]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0x100]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0x104]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x7c]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0x108]
mov r8d, 0x40
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0x148]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax + 0x14c]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0xc4]
call fcn.14005e800
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, str.Found_ElfChnk_at_offset:__018llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x50]
lea rcx, str.__First_Event_Record_Number:__018llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x58]
lea rcx, str.__Last_Event_Record_Number:__018llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x60]
lea rcx, str.__First_Event_Record_Identifier:__018llx_n
call fcn.140054e40
mov rdx, qword [rsp + 0x68]
lea rcx, str.__Last_Event_Record_Identifier:__018llx_n
call fcn.140054e40
mov edx, dword [rsp + 0x70]
lea rcx, str.__Header_Size:__010lx_n
call fcn.140054e40
mov edx, dword [rsp + 0x74]
lea rcx, str.__Last_Event_Record_Data_Offset:__010lx_n
call fcn.140054e40
mov edx, dword [rsp + 0x78]
lea rcx, str.__Free_Space_Offset:__010lx_n
call fcn.140054e40
mov edx, dword [rsp + 0x7c]
lea rcx, str.__Event_Records_Checksum:__010lx_n
call fcn.140054e40
mov edx, dword [rsp + 0xc0]
lea rcx, str.__Unknown_Flag:__010lx_n
call fcn.140054e40
mov edx, dword [rsp + 0xc4]
lea rcx, str.__Checksum:__010lx_n
call fcn.140054e40
lea rcx, [0x1400a36d8]
call fcn.140054e40
mov rax, qword [rsp + 0x510]
mov rax, qword [rax]
inc rax
imul rax, rax, 0x88
mov rdx, rax
mov rax, qword [rsp + 0x508]
mov rcx, qword [rax]
call fcn.140069ae4
mov rcx, qword [rsp + 0x508]
mov qword [rcx], rax
mov rax, qword [rsp + 0x510]
imul rax, qword [rax], 0x88
mov rcx, qword [rsp + 0x508]
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x88
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x510]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x510]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
add rax, 0x7f
mov qword [rsp + 0x20], rax
jmp 0x1400534bb
jmp 0x14005317d
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x140053141
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x4e8
pop rdi
pop rsi
ret