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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
mov rbx, rcx
lea rax, [rbp + 0x198]
mov qword [rbp + 0x190], rax
xor edi, edi
mov word [rbp + 0x198], di
lea rax, [rbp + 0x220]
mov qword [rbp + 0x218], rax
mov word [rbp + 0x220], di
lea rax, [rbp + 0x2a8]
mov qword [rbp + 0x2a0], rax
mov word [rbp + 0x2a8], di
lea rax, [rbp + 0x330]
mov qword [rbp + 0x328], rax
mov word [rbp + 0x330], di
mov qword [rbp + 0x3ec], rdi
lea rax, [rbp + 0x410]
mov qword [rbp + 0x408], rax
mov word [rbp + 0x410], di
lea rcx, [rbp + 0x190]
call fcn.1400ba880
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.1400b9dc0
lea rax, [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov word [rbp + 0x78], di
or r8d, 0xffffffff
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rbp + 0x70]
call fcn.1400c2e90
nop
mov ebx, edi
mov esi, edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], di
or r8d, 0xffffffff
mov rdx, qword [0x1404435d0]
lea rcx, [rsp + 0x50]
call fcn.1400c2e90
nop
mov rdx, qword [str.h6D_]
lea rcx, [rsp + 0x50]
cmp word [rdx], di
jne 0x1400fba85
mov rdx, qword [rbp + 0x70]
call fcn.1400c2d30
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400fba2d
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400fbc58
call fcn.14027b988
jmp 0x1400fbc58
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test eax, eax
je 0x1400fba10
mov dword [rsp + 0x40], edi
mov ecx, esi
call fcn.140125a94
mov rbx, rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], esi
je 0x1400fbc3b
mov rcx, rbx
call fcn.140125e14
mov rbx, rdi
jmp 0x1400fba10
call fcn.1400c2d30
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400fba9c
mov r14, qword [0x140457478]
jmp 0x1400fbb14
lea rax, [rbp + 0x108]
mov qword [rbp + 0x100], rax
mov word [rbp + 0x108], di
or r8d, 0xffffffff
mov rdx, qword [0x1404436f0]
lea rcx, [rbp + 0x100]
call fcn.1400c2e90
nop
mov rcx, qword [rbp + 0x100]
call fcn.1400c29c0
mov r15, rax
mov r9, rax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rsp + 0x50]
call fcn.1400d21a0
mov r14, rax
test r15, r15
je 0x1400fbafc
mov rcx, r15
call fcn.140125e14
nop
lea rax, [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
cmp rcx, rax
je 0x1400fbb14
call fcn.14027b988
test r14, r14
je 0x1400fba10
mov dword [rsp + 0x40], edi
lea rax, [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], di
or r8d, 0xffffffff
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.1400c2e90
nop
lea r8, [0x14034b08c]
lea rdx, [0x14034b0a4]
lea rcx, [rbp - 0x20]
call fcn.1400c3270
cmp dword [r14], 1
je 0x1400fbb68
mov dword [0x140457d08], 0x80000
jmp 0x1400fbb90
lea rax, [rbp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [r14 + 8]
call fcn.1400d1ec0
mov dword [0x140457d08], eax
test eax, eax
je 0x1400fbbab
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x1400fba10
call fcn.14027b988
jmp 0x1400fba10
mov esi, dword [rbp + 0x6bc]
test esi, esi
je 0x1400fbb90
mov ecx, esi
call fcn.140125a94
mov rbx, rax
cmp dword [r14], 1
je 0x1400fbbd1
mov dword [0x140457d08], 0x80000
jmp 0x1400fbbf5
mov r9d, esi
mov r8, rbx
mov edx, dword [rsp + 0x40]
mov rcx, qword [r14 + 8]
call fcn.1400d1fc0
mov dword [0x140457d08], eax
test eax, eax
je 0x1400fbc16
cmp eax, 0x600
je 0x1400fbc16
mov rcx, rbx
call fcn.140125e14
mov rbx, rdi
cmp byte [reloc.WS2_32.dll_accept], dil
jne 0x1400fbb90
mov rcx, r14
call fcn.1400d2330
jmp 0x1400fbb90
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x1400fbc28
mov rcx, r14
call fcn.1400d2330
nop
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x1400fbc3b
call fcn.14027b988
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400fbc4f
call fcn.14027b988
test rbx, rbx
jne 0x1400fbce3
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400fbcde
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test eax, eax
je 0x1400fbcde
mov dword [rsp + 0x44], edi
mov ecx, esi
call fcn.140125a94
mov rbx, rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x44]
mov r8d, esi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], esi
je 0x1400fbcde
mov rcx, rbx
call fcn.140125e14
mov rbx, rdi
test rbx, rbx
je 0x1400fbcf9
mov edx, esi
mov rcx, rbx
call fcn.1400fbdc0
mov rdi, rax
mov rcx, rbx
call fcn.140125e14
nop
lea rax, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp rcx, rax
je 0x1400fbd0c
call fcn.14027b988
nop
lea rax, [rbp + 0x410]
mov rcx, qword [rbp + 0x408]
cmp rcx, rax
je 0x1400fbd24
call fcn.14027b988
lea rax, [rbp + 0x330]
mov rcx, qword [rbp + 0x328]
cmp rcx, rax
je 0x1400fbd3c
call fcn.14027b988
lea rax, [rbp + 0x2a8]
mov rcx, qword [rbp + 0x2a0]
cmp rcx, rax
je 0x1400fbd54
call fcn.14027b988
lea rax, [rbp + 0x220]
mov rcx, qword [rbp + 0x218]
cmp rcx, rax
je 0x1400fbd6c
call fcn.14027b988
lea rax, [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
cmp rcx, rax
je 0x1400fbd84
call fcn.14027b988
mov rax, rdi
mov rcx, qword [rbp + 0x6c0]
xor rcx, rsp
call fcn.140125a70
lea r11, [rsp + 0x7d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret