Function at 0x140007570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rdx, [0x14002948c]
mov rdi, r9
mov r13, rcx
call fcn.14000e5f8
mov r14, rax
test rax, rax
je 0x14000763d
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14000f5d0
mov rcx, r14
call fcn.14000f3c0
xor r8d, r8d
mov r12d, eax
xor edx, edx
mov rcx, r14
call fcn.14000f5d0
movsxd rcx, r12d
call fcn.14000e534
xor r15d, r15d
mov rsi, rax
test r12d, r12d
jle 0x14000761e
mov ebx, r15d
mov ebp, r12d
nop
mov edx, 1
lea rcx, [rbx + rsi]
mov r8d, edx
mov r9, r14
call fcn.14000f838
cmp rax, 1
je 0x140007615
mov rcx, rsi
call fcn.14000e274
mov rsi, r15
inc rbx
sub rbp, 1
jne 0x1400075f0
mov rcx, r14
call fcn.14000e688
test rsi, rsi
je 0x14000763d
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x14000765c
mov rcx, rsi
call fcn.14000e274
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rsi + 0x3c]
mov r11d, dword [rsi + rax + 0x58]
lea r14, [rsi + rax]
test r11d, r11d
je 0x1400076fc
cmp r12d, dword [r14 + 0x50]
je 0x1400076fc
lea ecx, [rax + 0x58]
mov rdx, r15
mov r8, r15
test r12d, r12d
je 0x1400076c8
mov r10d, ecx
movabs rbx, 0x100000000
cmp r8, r10
je 0x1400076bf
mov ecx, dword [r8 + rsi]
mov rax, rdx
shr rax, 0x20
add rcx, rax
mov edx, edx
add rdx, rcx
cmp rdx, rbx
jbe 0x1400076bf
mov rcx, rdx
mov edx, edx
shr rcx, 0x20
add rdx, rcx
add r8, 4
cmp r8, r12
jl 0x140007696
movzx eax, dx
mov rcx, rdx
shr rcx, 0x10
add rcx, rax
mov rax, rcx
shr rax, 0x10
add eax, ecx
movzx r9d, ax
add r9d, r12d
cmp r11d, r9d
je 0x1400076fc
mov r8d, r11d
lea rcx, str._ninvalid_checksum:__s__lx___lx_n_n
mov rdx, r13
call fcn.1400010e0
mov ebp, 0x14c
cmp word [r14 + 4], bp
jne 0x14000770e
mov r13d, dword [r14 + 0x34]
jmp 0x140007712
mov r13, qword [r14 + 0x30]
mov ecx, dword [r14 + 0x50]
call fcn.14000e534
mov r8d, dword [r14 + 0x54]
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.14000c3d0
cmp word [r14 + 4], bp
mov eax, 0x108
mov r12d, 0xf8
movzx ebp, r15w
cmovne r12d, eax
add r12, r14
cmp r15w, word [r14 + 6]
jae 0x140007782
nop
movzx eax, bp
lea rcx, [rax + rax*4]
mov eax, dword [r12 + rcx*8 + 0x10]
test eax, eax
je 0x140007778
mov edx, dword [r12 + rcx*8 + 0x14]
mov r8d, eax
mov ecx, dword [r12 + rcx*8 + 0xc]
add rdx, rsi
add rcx, rbx
call fcn.14000c3d0
inc bp
cmp bp, word [r14 + 6]
jb 0x140007750
mov rcx, rsi
call fcn.14000e274
mov rcx, qword [rsp + 0x60]
mov rax, rbx
mov ebp, dword [rbx + 0x3c]
sub rax, r13
add rbp, rbx
mov r10, rcx
sub r10, r13
test rcx, rcx
cmove r10, rax
test r10, r10
je 0x140007b08
mov r13d, 0x14c
mov eax, 0xb0
cmp word [rbp + 4], r13w
mov r12d, 0xa0
cmovne r12d, eax
mov ecx, dword [r12 + rbp + 4]
test ecx, ecx
je 0x140007b08
mov eax, dword [r12 + rbp]
test eax, eax
je 0x140007b08
lea rdx, [rbx + rax]
mov eax, dword [rbx + rax]
cmp eax, 0xcdcdcdcd
je 0x140007b08
test eax, eax
je 0x140007b08
lea r11, [rdx + rcx]
cmp rdx, r11
jae 0x14000786a
mov eax, dword [rdx + 4]
test eax, eax
je 0x14000786a
lea r9, [rax - 8]
shr r9, 1
lea r8, [rdx + 8]
je 0x140007862
nop dword [rax + rax]
movzx eax, word [r8]
movzx ecx, ax
shr cx, 0xc
cmp cx, 0xa
jne 0x140007841
mov ecx, dword [rdx]
and eax, 0xfff
add rax, rbx
add qword [rcx + rax], r10
jmp 0x140007855
cmp cx, 3
jne 0x140007855
mov ecx, dword [rdx]
and eax, 0xfff
add rax, rbx
add dword [rcx + rax], r10d
add r8, 2
sub r9, 1
jne 0x140007820
mov eax, dword [rdx + 4]
add rdx, rax
cmp rdx, r11
jb 0x140007807
lea r14, [rbp + 0xf8]
cmp word [rbp + 4], r13w
je 0x14000787f
lea r14, [rbp + 0x108]
cmp r15w, word [rbp + 6]
jae 0x140007b08
nop word [rax + rax]
movzx eax, r15w
lea rdx, str.GFIDS
lea rcx, [rax + rax*4]
lea rsi, [r14 + rcx*8]
mov rcx, rsi
call fcn.140010ac0
test eax, eax
je 0x1400078c2
inc r15w
cmp r15w, word [rbp + 6]
jb 0x140007890
mov rax, rbx
jmp 0x14000763f
test rsi, rsi
je 0x140007b08
lea rax, [rbp + 0xc8]
cmp word [rbp + 4], r13w
je 0x1400078e0
lea rax, [rbp + 0xd8]
mov ecx, dword [rax]
test ecx, ecx
je 0x140007b08
cmp dword [rax + 4], 0
je 0x140007b08
mov ecx, dword [rcx + rbx + 0xe0]
test ecx, ecx
je 0x140007b08
lea rax, [rbx + rcx]
mov ecx, dword [r12 + rbp]
add rcx, rax
mov ebp, dword [rcx + 4]
lea rsi, [rcx + 8]
add rbp, rcx
cmp rsi, rbp
jae 0x140007b08
mov rcx, qword [rsi]
test rcx, rcx
je 0x140007b08
cmp rcx, 7
je 0x140007af5
mov edx, dword [rsi + 8]
lea rax, [rsi + 0xc]
cmp rcx, 5
jne 0x1400079a7
lea r10, [rax + rdx]
cmp rax, r10
jae 0x140007af5
cmp dword [rax], 0
je 0x140007af5
mov ecx, dword [rax + 4]
lea r8, [rax + 8]
lea r9, [rax + rcx]
cmp r8, r9
jae 0x14000799a
nop word [rax + rax]
movzx edx, word [r8]
add r8, 2
mov ecx, dword [rax]
and edx, 0xfff
add rdx, rcx
mov ecx, dword [rdx + rdi]
mov dword [rdx + rbx], ecx
movzx ecx, byte [rdx + rdi + 4]
mov byte [rdx + rbx + 4], cl
cmp r8, r9
jb 0x140007970
mov ecx, dword [rax + 4]
add rax, rcx
cmp rax, r10
jb 0x140007951
jmp 0x140007af5
cmp rcx, 4
jne 0x140007a28
lea r10, [rax + rdx]
cmp rax, r10
jae 0x140007af5
nop word [rax + rax]
cmp dword [rax], 0
je 0x140007af5
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x140007af5
lea r9, [rax + rcx]
lea r8, [rax + 8]
cmp r8, r9
jae 0x140007a1b
nop dword [rax]
nop word [rax + rax]
movzx edx, word [r8]
add r8, 2
mov ecx, dword [rax]
and edx, 0xfff
add rdx, rcx
mov ecx, dword [rdx + rdi]
mov dword [rdx + rbx], ecx
movzx ecx, word [rdx + rdi + 4]
mov word [rdx + rbx + 4], cx
cmp r8, r9
jb 0x1400079f0
mov ecx, dword [rax + 4]
add rax, rcx
cmp rax, r10
jb 0x1400079c0
jmp 0x140007af5
cmp rcx, 3
jne 0x140007aa8
lea r10, [rdx + rax]
cmp rax, r10
jae 0x140007af5
nop dword [rax + rax]
cmp dword [rax], 0
je 0x140007af5
mov edx, dword [rax + 4]
test edx, edx
je 0x140007af5
lea r9, [rax + 8]
add r9, rdx
lea r8, [rax + 8]
cmp r8, r9
jae 0x140007a9c
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r8]
add r8, 4
mov ecx, dword [rax]
and edx, 0xfff
add rdx, rcx
movsd xmm0, qword [rdx + rdi]
movsd qword [rdx + rbx], xmm0
mov ecx, dword [rdx + rdi + 8]
mov dword [rdx + rbx + 8], ecx
cmp r8, r9
jb 0x140007a70
mov edx, dword [rax + 4]
mov ecx, edx
add rax, rcx
cmp rax, r10
jb 0x140007a40
jmp 0x140007af5
lea r11, [rdx + rax]
cmp rax, r11
jae 0x140007af5
cmp dword [rax], 0
je 0x140007af5
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x140007af5
lea r10, [rax + rcx]
lea r9, [rax + 8]
cmp r9, r10
jae 0x140007aed
nop word [rax + rax]
movzx r8d, word [r9]
add r9, 2
mov ecx, dword [rax]
add r8, rcx
mov rcx, qword [r8 + rdi]
mov qword [r8 + rbx], rcx
cmp r9, r10
jb 0x140007ad0
mov ecx, dword [rax + 4]
add rax, rcx
cmp rax, r11
jb 0x140007ab1
mov eax, dword [rsi + 8]
add rsi, 0xc
add rsi, rax
cmp rsi, rbp
jb 0x140007921
mov rax, rbx
jmp 0x14000763f