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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rsi, r8
mov rdi, rdx
mov r15, rcx
lea rcx, [rbp - 0x80]
call fcn.14000cca0
mov r8, rax
lea rdx, [rsp + 0x58]
mov rcx, r15
call fcn.140074530
lea rcx, [r15 + 0x60]
mov rdx, rax
call fcn.140005c80
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14007475d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074a63
call fcn.140133e68
cmp r15, rsi
je 0x14007477b
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14007476f
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, r15
call fcn.1400157e0
lea rcx, [r15 + 0x20]
cmp rcx, rdi
je 0x14007479a
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140074791
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.1400157e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14000cca0
mov r14, rax
mov qword [rsp + 0x78], rax
xor bl, bl
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400747ce
mov rcx, qword [rax]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140074899
mov dword [rbp + 0x68], r13d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r13d, eax
mov ecx, eax
mov r9, qword [rsp + 0x48]
mov r8, r9
mov rdx, qword [rsp + 0x40]
sub r8, rdx
cmp r13, r8
jae 0x140074832
add rcx, rdx
mov qword [rsp + 0x48], rcx
jmp 0x140074872
jbe 0x140074872
mov rax, qword [rsp + 0x50]
sub rax, rdx
cmp rcx, rax
jbe 0x140074854
lea r8, [rbp + 0x50]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14000ef10
jmp 0x14007486d
sub rcx, r8
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.140137f50
mov qword [rsp + 0x48], rbx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x68]
mov r8d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
xor r13d, r13d
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400748d3
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1400748ce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140074a6f
mov rcx, r8
call fcn.140133e68
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
test bl, bl
je 0x14007496f
lea rcx, [rbp - 0x60]
call fcn.1400205f0
nop
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub r8, rdx
lea rcx, [rbp - 0x60]
call fcn.140020670
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.1400209d0
nop
lea rcx, [rbp - 0x60]
call fcn.140020630
lea rcx, [r15 + 0x40]
lea rdx, [rsp + 0x58]
call fcn.140005c80
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14007496f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074969
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074a69
call fcn.140133e68
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400749b9
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400749a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074a75
call fcn.140133e68
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400749ef
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400749ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140074a57
mov rcx, r8
call fcn.140133e68
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140074a34
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140074a2f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140074a5d
mov rcx, r8
call fcn.140133e68
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401462a8
nop
call fcn.1401462a8
nop
call fcn.1401462a8
nop
call fcn.1401462a8
int3
call fcn.1401462a8
nop
call fcn.1401462a8
int3