Function at 0x14005c6f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rdx
xor esi, esi
mov dword [rsp + 0x40], esi
lea r14, [rsi - 1]
cmp qword [rdx + 0x10], rsi
jne 0x14005cd48
lea rdx, [rcx + 0x80]
mov rax, qword [0x1400f5130]
sub rax, qword [0x1400f5128]
cmp rax, 0x20
jae 0x14005c77a
cmp rbx, rdx
je 0x14005cd48
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14005c76d
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.1400279c0
jmp 0x14005cd48
lea rdi, [rcx + 0x80]
mov qword [rsp + 0x48], rdi
mov r10, qword [rdi + 0x10]
mov r9, rdi
mov r11, qword [rdi + 0x18]
cmp r11, 8
jb 0x14005c79a
mov r9, qword [rdi]
test r10, r10
je 0x14005c7d0
lea rcx, [r10 - 1]
mov rax, r14
cmp rcx, r14
cmovb rax, rcx
lea r8, [r9 + rax*2]
cmp word [r8], 0x5c
je 0x14005c7c8
cmp r8, r9
je 0x14005c7d0
sub r8, 2
cmp word [r8], 0x5c
jne 0x14005c7b8
sub r8, r9
sar r8, 1
jmp 0x14005c7d3
mov r8, r14
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
cmp r10, r8
cmovb r8, r10
cmp r11, 8
jb 0x14005c7f7
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.1400279c0
mov r12d, 8
mov dword [rsp + 0x40], r12d
mov r13, qword [0x1400f5128]
mov rax, qword [0x1400f5130]
mov qword [rsp + 0x58], rax
mov r15, qword [rbp - 0x78]
cmp r13, rax
je 0x14005cce3
movabs r8, 0x7ffffffffffffffe
mov edx, 0xa
lea r14, [0x1400b9be4]
mov rdi, qword [r13 + 0x10]
mov r11, r13
mov rsi, qword [r13 + 0x18]
cmp rsi, 8
jb 0x14005c856
mov r11, qword [r13]
cmp rdi, 2
jb 0x14005c986
lea rbx, [rdi - 1]
lea rbx, [r11 + rbx*2]
mov rax, r11
nop dword [rax + rax]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x14005c89c
cmp word [rax], 0x3a
je 0x14005c899
cmp rcx, 1
je 0x14005c89c
dec rcx
add rax, 2
cmp word [rax], 0x3a
jne 0x14005c886
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14005c977
mov r9d, 2
mov rdx, r14
movzx ecx, word [rax]
mov r8d, 0x3a
cmp cx, r8w
jb 0x14005c8e8
mov r10, rax
sub r10, r14
cmp cx, r8w
ja 0x14005c8e8
cmp r9, 1
je 0x14005c8ee
dec r9
add rdx, 2
movzx ecx, word [rdx + r10]
movzx r8d, word [rdx]
cmp cx, r8w
jae 0x14005c8ca
add rax, 2
jmp 0x14005c870
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x14005c977
mov rbx, r13
cmp rsi, 8
jb 0x14005c907
mov rbx, qword [r13]
cmp rdi, 8
jae 0x14005c920
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
mov r14d, 7
mov rsi, qword [rbp - 0x38]
jmp 0x14005c95f
mov r14, rdi
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x38]
call fcn.140027720
mov rsi, rax
mov qword [rbp - 0x38], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.140087c80
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x28], rdi
lea rdi, [rbp - 0x38]
or r12d, 4
xor r15d, r15d
jmp 0x14005ca7c
movabs r8, 0x7ffffffffffffffe
mov edx, 0xa
mov rax, r8
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 1
jb 0x14005ce55
lea r14, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r14, r15
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
lea rsi, [rcx + 1]
mov ebx, 7
lea rdi, [rbp - 0x58]
cmp rsi, rbx
jbe 0x14005c9f9
mov rbx, rsi
or rbx, 7
cmp rbx, r8
jbe 0x14005c9d9
mov rbx, r8
jmp 0x14005c9e1
cmp rbx, 0xa
cmovb rbx, rdx
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x58]
call fcn.140027720
mov rdi, rax
mov qword [rbp - 0x58], rax
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.140087c80
mov eax, 0x5c
mov word [rbx + rdi], ax
mov word [rdi + rsi*2], r15w
or r12d, 0x10
or r12d, 1
mov dword [rsp + 0x40], r12d
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14005ca3c
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rbp - 0x58]
call fcn.140032c00
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or r12d, 0x20
lea rdi, [rbp - 0x18]
or r12d, 2
mov r14, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x38]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14005ca9d
mov rdi, qword [rdi]
cmp r15, 8
jae 0x14005cab5
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], 7
jmp 0x14005caf7
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x68]
call fcn.140027720
mov qword [rsp + 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140087c80
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], r15
test r12b, 4
je 0x14005cb47
and r12d, 0xfffffffb
mov dword [rsp + 0x40], r12d
cmp r14, 8
jb 0x14005cb47
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14005cb3e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce5b
mov rcx, rsi
call fcn.140085850
nop
test r12b, 2
je 0x14005cb97
and r12d, 0xfffffffd
mov dword [rsp + 0x40], r12d
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005cb97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce61
call fcn.140085850
nop
test r12b, 1
je 0x14005cbfa
and r12d, 0xfffffffe
mov dword [rsp + 0x40], r12d
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14005cbe6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cbe1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce67
call fcn.140085850
xor esi, esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
jmp 0x14005cbfc
xor esi, esi
lea rcx, [rsp + 0x68]
call fcn.14004cbf0
test al, al
jne 0x14005cc65
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14005cc4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce6d
call fcn.140085850
add r13, 0x20
mov r15, qword [rbp - 0x78]
cmp r13, qword [rsp + 0x58]
jne 0x14005c82b
mov rbx, qword [rsp + 0x50]
jmp 0x14005ccd7
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
cmp rbx, rax
je 0x14005cc92
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rbx
call fcn.1400279c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14005ccd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ccce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce6d
call fcn.140085850
mov r15, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x48]
mov r14, 0xffffffffffffffff
cmp qword [rbx + 0x10], 0
jne 0x14005cd09
cmp rbx, rdi
je 0x14005cd09
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14005ccfd
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rbx
call fcn.1400279c0
nop
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x14005cd48
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14005cd40
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ce73
mov rcx, r15
call fcn.140085850
mov rcx, rbx
call fcn.14004cbf0
test al, al
je 0x14005ce23
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005cd65
mov rcx, qword [rbx]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14005ce23
xor eax, eax
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005ce19
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140085ed8
mov rbx, rax
test rax, rax
je 0x14005cdd8
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140088330
xor eax, eax
jmp 0x14005cddb
mov rbx, rax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005ce07
movsxd rax, dword [rbx + 0x3c]
mov r14d, dword [rax + rbx + 8]
test rbx, rbx
je 0x14005ce14
mov rcx, rbx
call fcn.140085850
mov rbx, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rbx
call fcn.140027110
mov rax, r14
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140085e50
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140027420
nop
call fcn.14008c06c
nop
call fcn.14008c06c
nop
call fcn.14008c06c
nop
call fcn.14008c06c
nop
call fcn.14008c06c
int3