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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x428]
sub rsp, 0x500
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea r8d, [r12 + 1]
lea rdx, [0x1400c61c8]
lea rcx, [rsp + 0x68]
call fcn.140003250
nop
lea rdx, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rbp - 0x80]
cmp rsi, 8
cmovae rdx, rbx
lea rdi, [r15 + 0x68]
mov rcx, rdi
call fcn.14002a0b0
mov qword [rbp - 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov r8d, eax
cmp qword [rdi + 0x10], r8
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140045965
mov rdx, qword [rdi]
lea rcx, [rbp - 0x78]
call fcn.140003250
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400459b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400459ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e35
call fcn.140079b70
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x58], xmm1
movabs rax, 0x7ffffffffffffffe
movq rcx, xmm1
sub rax, rcx
mov rdx, qword [rsp + 0x78]
cmp rax, rdx
jb 0x140045e3b
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r9, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
cmp rsi, 8
cmovae rax, rbx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call fcn.140003500
nop
mov r8d, 9
lea rdx, str.asu.trace
lea rcx, [rbp - 0x58]
call fcn.140003670
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140045a88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045a83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e41
call fcn.140079b70
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x58], xmm7
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140045ad2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045acd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e47
call fcn.140079b70
mov eax, dword [r15 + 0x88]
cmp eax, 0xa
je 0x140045af2
mov ecx, 0xa00000
mov r14d, 0x1400000
cmp eax, 0x14
cmovne r14d, ecx
jmp 0x140045af8
mov r14d, 0x3200000
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x30]
call fcn.14007cb40
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea r8, str.rb__ccsUTF_8
lea rcx, [rsp + 0x40]
call fcn.14008f1e0
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140045b56
mov edx, 1
lea r8d, [rdx + 8]
lea rcx, [rbp - 0x30]
call fcn.140090eb4
mov rcx, qword [rsp + 0x40]
call fcn.14008f364
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140045b63
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r12
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 rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140045d73
lea rdx, [rbp - 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rsi
test eax, eax
je 0x140045d6d
mov rbx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov sil, 1
cmp rbx, r14
jl 0x140045d76
mov byte [r15 + 0x130], sil
mov rcx, qword [r15 + 0x90]
test rcx, rcx
je 0x140045bde
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140004480
nop
lea rcx, [rbp - 0x58]
call fcn.14005a820
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.140045710
test al, al
je 0x140045c77
mov r8b, 1
mov rcx, rdi
call fcn.140042b20
test eax, eax
je 0x140045c27
cmp eax, 1
jne 0x140045c77
movzx edx, al
mov rcx, rdi
call fcn.14003b560
test al, al
je 0x140045c77
cmp qword [rdi + 0x18], 8
jb 0x140045c31
mov rdi, qword [rdi]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x200080
mov dword [rsp + 0x20], 5
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r15 + 0x90], rax
test rax, rax
je 0x140045c77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0x90], r12
mov rax, qword [r15]
lea rdx, [r15 + 0x90]
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x140049d6d.0]
movzx esi, al
mov qword [rbp - 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov r8d, 8
lea rdx, str.keeplogs
lea rcx, [rbp - 0x78]
call fcn.140008310
nop
lea r9, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
cmp rdi, 0x10
cmovae r9, rbx
lea rax, [rbp - 0x30]
sub r9, rax
nop
movzx r8d, byte [rax]
movzx edx, byte [rax + r9]
sub r8d, edx
jne 0x140045ce5
inc rax
test edx, edx
jne 0x140045cd0
test r8d, r8d
je 0x140045cf3
mov rcx, r15
call fcn.14002fba0
nop
cmp rdi, 0x10
jb 0x140045d2b
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140045d22
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e4d
mov rcx, rbx
call fcn.140079b70
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140045d76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045d66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e53
call fcn.140079b70
jmp 0x140045d76
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor sil, sil
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140045db8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e59
call fcn.140079b70
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140045df6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045df1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045e2f
call fcn.140079b70
movzx eax, sil
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140079b50
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.1400015a0
nop
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
int3