Function at 0x1400a4d4c
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x98
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 7], rax
mov eax, 0x7fffffff
mov qword [rbp - 0x51], rdx
mov qword [rbp - 0x39], rcx
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov r13, rcx
cmp r8, rax
ja 0x1400a4f28
mov r15, qword [rbp + 0x7f]
cmp r15, rax
ja 0x1400a4f28
xor ebx, ebx
test rcx, rcx
je 0x1400a4f28
cmp r8, 1
jbe 0x1400a4dbd
cmp byte [r8 + rdx - 1], bl
jne 0x1400a4dbd
dec rsi
mov rcx, qword [rcx + 0x1018]
mov r12d, 0xffffffff
test rcx, rcx
je 0x1400a4f54
mov r9d, esi
mov dword [rsp + 0x20], ebx
mov r8, rdx
call fcn.1400a04f8
test rax, rax
je 0x1400a4df8
mov rdi, qword [rax + 0x28]
test rdi, rdi
jne 0x1400a4ef4
mov rdi, qword [rbp - 0x51]
lea rcx, [rsi + 4]
mov qword [rbp - 0x49], rbx
mov eax, 0xffffffff
mov r12, rbx
cmp rcx, rax
jae 0x1400a4e2c
mov eax, 0xfffffffb
cmp rax, rsi
je 0x1400a4e2c
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x1400a4e2c
lea rcx, [rsi + 0x1c]
call fcn.1401d7f54
jmp 0x1400a4e2f
mov rax, rbx
movsxd rdx, esi
xor r9d, r9d
add rdx, 4
xor r8d, r8d
mov rcx, rax
call fcn.140098bdc
mov r9, rsi
mov qword [rbp - 0x41], rax
mov r8, rdi
mov rcx, rax
mov rdx, qword [rax - 0x18]
call section..text
mov r8d, esi
mov rdx, rdi
xor ecx, ecx
call fcn.1400b3bc4
mov rcx, qword [rbp - 0x41]
mov r8, rcx
mov dword [rsp + 0x20], ebx
mov dword [rsi + rcx], eax
mov r9d, dword [rcx - 0x18]
mov rcx, qword [r13 + 0x1018]
call fcn.1400a04f8
test rax, rax
je 0x1400a4eea
mov r13, qword [rax + 0x28]
mov rdi, r13
test r13, r13
je 0x1400a4ed3
movsxd rdx, dword [r13 + 0x30]
lea rcx, [r13 + 0x34]
lea r9, [rbp - 0x49]
xor r8d, r8d
call fcn.14005112c
mov r12, qword [rbp - 0x49]
test r14, r14
je 0x1400a4ed3
movsxd rax, r12d
cmp r15, rax
jb 0x1400a4ed3
movsxd rdx, dword [r13 + 0x30]
lea r9, [rbp - 0x49]
mov r8, r14
lea rcx, [r13 + 0x34]
call fcn.14005112c
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
call fcn.140098cbc
test r12, r12
je 0x1400a4eef
mov eax, r12d
jmp 0x1400a4f2a
mov rdi, rbx
jmp 0x1400a4ed7
test rdi, rdi
je 0x1400a4f4a
test r14, r14
je 0x1400a4f23
movsxd r9, dword [rdi + 0x30]
cmp r15, r9
jb 0x1400a4f23
lea r8, [rdi + 0x34]
mov rdx, r15
mov rcx, r14
call section..text
movsxd rax, dword [rdi + 0x30]
cmp r15, rax
jbe 0x1400a4f2a
mov byte [rax + r14], bl
mov eax, dword [rdi + 0x30]
jmp 0x1400a4f2a
test r15, r15
je 0x1400a4f1e
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdi, qword [rbp - 0x51]
mov r12d, 0xffffffff
mov rcx, qword [r13 + 0x1010]
mov r9d, esi
mov r8, rdi
mov dword [rsp + 0x20], ebx
call fcn.1400a04f8
test rax, rax
je 0x1400a4f80
mov rdi, qword [rax + 0x28]
test rdi, rdi
jne 0x1400a5027
mov rdi, qword [rbp - 0x51]
lea rax, [rsi + 4]
cmp rax, r12
jae 0x1400a4fa8
mov ecx, 0xfffffffb
cmp rcx, rsi
je 0x1400a4fa8
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x1400a4fa8
lea rcx, [rsi + 0x1c]
call fcn.1401d7f54
jmp 0x1400a4fab
mov rax, rbx
movsxd rdx, esi
xor r9d, r9d
add rdx, 4
xor r8d, r8d
mov rcx, rax
call fcn.140098bdc
mov r8, rdi
mov qword [rbp - 0x41], rax
mov r9, rsi
mov rcx, rax
mov rdi, rax
mov rdx, qword [rax - 0x18]
call section..text
mov r8d, esi
mov rdx, rdi
xor ecx, ecx
call fcn.1400b3bc4
mov dword [rsi + rdi], eax
mov r8, rdi
mov r9d, dword [rdi - 0x18]
mov rcx, qword [r13 + 0x1010]
mov dword [rsp + 0x20], ebx
call fcn.1400a04f8
test rax, rax
je 0x1400a500b
mov rdi, qword [rax + 0x28]
jmp 0x1400a500e
mov rdi, rbx
mov rcx, qword [rbp - 0x41]
call fcn.140098cbc
test rdi, rdi
je 0x1400a4f28
mov ecx, 1
jmp 0x1400a5029
mov ecx, ebx
test r14, r14
je 0x1400a50c5
movsxd rax, dword [rdi]
cmp r15, rax
jb 0x1400a50c5
test ecx, ecx
jne 0x1400a50c9
mov rdx, qword [rdi + 0x38]
xor r8d, r8d
mov rcx, qword [r13]
call fcn.1401d55fc
test eax, eax
jne 0x1400a4f28
movsxd r8, dword [rdi]
lea edx, [rax + 1]
mov r9, qword [r13]
mov rcx, r14
call fcn.1401d7e8c
test rax, rax
je 0x1400a4f28
movsxd rdx, dword [rdi]
lea r8, [rbp - 0x29]
mov rcx, r14
call fcn.140096b5c
lea rdx, [rdi + 4]
mov r8d, 0x30
lea rcx, [rbp - 0x29]
call fcn.1401cbe70
test eax, eax
jne 0x1400a4f28
movsxd rax, dword [rdi]
cmp r15, rax
jbe 0x1400a50af
mov byte [rax + r14], bl
test r15, r15
je 0x1400a50bc
movsxd rax, dword [rdi]
cmp r15, rax
jb 0x1400a50be
mov ebx, dword [rdi]
mov eax, ebx
jmp 0x1400a4f2a
test ecx, ecx
je 0x1400a50af
movsxd rax, dword [rdi]
mov rcx, rax
cmp rax, r12
jae 0x1400a50ee
mov edx, 0xffffffe7
cmp rax, rdx
jae 0x1400a50ee
add rcx, 0x18
call fcn.1401d7f54
mov rcx, rax
mov eax, dword [rdi]
jmp 0x1400a50f1
mov rcx, rbx
movsxd rdx, eax
xor r9d, r9d
xor r8d, r8d
call fcn.140098bdc
mov rdx, qword [rdi + 0x38]
xor r8d, r8d
mov rcx, qword [r13]
mov rsi, rax
mov qword [rbp - 0x51], r15
call fcn.1401d55fc
test eax, eax
jne 0x1400a4f28
movsxd r8, dword [rdi]
lea edx, [rax + 1]
mov r9, qword [r13]
mov rcx, rsi
call fcn.1401d7e8c
test rax, rax
je 0x1400a4f28
movsxd rdx, dword [rdi]
lea r9, [rbp - 0x51]
mov r8, r14
mov rcx, rsi
call fcn.14005112c
mov rcx, rsi
test eax, eax
jne 0x1400a518f
call fcn.140098cbc
test r14, r14
je 0x1400a5187
movsxd rdx, dword [rbp - 0x51]
lea r8, [rbp - 0x29]
mov rcx, r14
call fcn.140096b5c
lea rdx, [rdi + 4]
mov r8d, 0x30
lea rcx, [rbp - 0x29]
call fcn.1401cbe70
test eax, eax
jne 0x1400a4f28
mov eax, dword [rbp - 0x51]
jmp 0x1400a4f2a
call fcn.140098cbc
jmp 0x1400a4f28