Function at 0x1400889b4
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
lea rbp, [rsp + 0x30]
mov qword [rbp + 0xa8], rbx
mov rax, qword [0x1402e8ed8]
xor rax, rbp
mov qword [rbp + 0x48], rax
xor r14d, r14d
mov r12, r8
and dword [rbp + 8], r14d
lea r8, str..exe
mov r15, rdx
or rbx, 0xffffffffffffffff
mov rdx, rbx
mov rsi, rcx
lea r13d, [r14 + 1]
lea r9d, [r14 + 4]
mov dword [rsp + 0x20], r13d
call fcn.1400a0b24
test eax, eax
jne 0x140088a99
lea rdi, [0x140311ca0]
mov r9, rsi
mov rcx, rdi
lea r8, [0x1402c004c]
mov edx, 0x118
call fcn.1400011e0
mov r9, rsi
lea r8, str._s.exe
mov edx, 0x1000
lea rcx, [0x1402f0ca0]
mov ebx, eax
call fcn.1400011e0
lea rax, [0x1402edca0]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x1402f0ca0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x14025c33c]
lea rdx, [0x1402edca0]
lea rcx, [rbp]
call fcn.1401d4a78
jmp 0x140088ae7
lea r8, [0x14025c114]
mov rdx, rbx
mov rcx, rsi
call fcn.1400a0c68
lea rdi, [0x140311ca0]
mov edx, 0x118
lea r8, [0x14025b994]
mov rcx, rdi
test eax, eax
jle 0x140088ad0
cdqe
lea r9, [rsi + 1]
add r9, rax
jmp 0x140088ad3
mov r9, rsi
call fcn.1400011e0
mov ebx, eax
add eax, 0xfffffffc
movsxd rcx, eax
sub ebx, 3
mov byte [rcx + rdi], 0x5f
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.140004630
test eax, eax
jne 0x140088b36
movsxd r11, ebx
lea edx, [rax + 0x30]
lea rcx, [rbp + 0x10]
lea r8, [r11 + rdi]
call fcn.140096bc4
lea rcx, [rdi + 0x10]
add rcx, r11
jne 0x140088b25
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
jmp 0x140088b36
mov eax, dword [str..exe]
mov dword [rcx], eax
mov al, byte [0x14026d4b0]
mov byte [rcx + 4], al
lea rax, [0x1402edca0]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x14025c33c]
lea rdx, [0x1402edca0]
lea rcx, [rbp]
call fcn.1401d4a78
mov r9, qword [rbp]
test r9, r9
je 0x140088e00
movsxd rcx, ebx
lea rax, [0x1402ec780]
mov qword [0x1402ec7d8], rax
add rcx, rdi
je 0x140088ba5
movups xmm0, xmmword [rcx]
movdqu xmmword [0x1402ec780], xmm0
jmp 0x140088bcb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1402ec780], xmm0
mov byte [0x1402ec790], al
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
mov r9, qword [rbp]
xor r8d, r8d
xor edx, edx
mov rcx, r9
call fcn.1401d5604
mov r9, qword [rbp]
lea rsi, [0x1402f0ca0]
mov edi, 2
mov rcx, rsi
mov r8d, edi
mov rdx, r13
call fcn.1401d7e8c
movzx ecx, word [0x1402f0ca0]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x4d5a
cmp ax, cx
jne 0x140088df7
mov rcx, qword [rbp]
lea edx, [rdi + 0x3a]
xor r8d, r8d
call fcn.1401d5604
mov r9, qword [rbp]
lea r8d, [rdi + 2]
mov rdx, r13
mov rcx, rsi
call fcn.1401d7e8c
mov edx, dword [0x1402f0ca0]
xor r8d, r8d
mov rcx, qword [rbp]
call fcn.1401d5604
mov r9, qword [rbp]
lea r8d, [rdi + 0x16]
mov rdx, r13
mov rcx, rsi
call fcn.1401d7e8c
cmp dword [0x1402f0ca0], 0x4550
jne 0x140088df7
movzx edx, word [0x1402f0cb4]
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140088c86
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401c9cb0
sub rsp, rcx
mov r9d, r13d
mov r8d, 8
lea rcx, [rsp + 0x30]
call fcn.140098bdc
mov rbx, rax
add rax, 8
mov r8, qword [rbx - 0x18]
mov qword [rbx], rax
cmp r8, 4
jae 0x140088cca
mov rcx, qword [rbp]
call fcn.1401d52bc
jmp 0x140088e0a
mov r9, qword [rbp]
mov rdx, r13
mov rcx, rbx
call fcn.1401d7e8c
mov eax, 0x10b
cmp word [rbx], ax
je 0x140088d0d
mov eax, 0x20b
cmp word [rbx], ax
jne 0x140088cbc
cmp qword [rbx - 0x18], 0x94
jb 0x140088cbc
mov edx, dword [rbx + 0x90]
mov rcx, qword [rbp]
test edx, edx
je 0x140088d1f
add edx, 0xfffffff0
xor r8d, r8d
jmp 0x140088d27
cmp qword [rbx - 0x18], 0x84
jb 0x140088cbc
mov edx, dword [rbx + 0x80]
jmp 0x140088cfd
mov edx, 0xfffffff0
mov r8d, edi
call fcn.1401d5604
mov r9, qword [rbp]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r13
mov rcx, rsi
call fcn.1401d7e8c
lea r8, [0x1402f1ca0]
mov edx, 0x20
lea rcx, str.B996015880544A19B7F7E9BE44914C18
call fcn.140096ccc
mov rax, qword [0x1402f0ca0]
cmp rax, qword [0x1402f1ca0]
jne 0x140088df7
mov rax, qword [0x1402f0ca8]
cmp rax, qword [0x1402f1ca8]
jne 0x140088df7
mov rcx, qword [rbp]
mov r8d, r13d
mov edx, 0xffffffec
call fcn.1401d5604
mov r9, qword [rbp]
lea rcx, [rbp + 8]
mov r8d, 4
mov rdx, r13
call fcn.1401d7e8c
mov ecx, dword [rbp + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp]
mov edx, 0xfffffffc
sub edx, eax
mov dword [rbp + 8], eax
mov r8d, r13d
call fcn.1401d5604
mov eax, dword [rbp + 8]
xor r9d, r9d
inc eax
xor r8d, r8d
movsxd rcx, eax
xor edx, edx
call fcn.140098eb8
movsxd r8, dword [rbp + 8]
mov rdx, r13
mov r9, qword [rbp]
mov rcx, rax
mov r14, rax
call fcn.1401d7e8c
movsxd rcx, dword [rbp + 8]
mov byte [rcx + r14], 0
mov rcx, qword [rbp]
call fcn.1401d52bc
mov eax, dword [rbp + 8]
mov qword [r15], r14
mov dword [r12], eax
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
call fcn.1401c9740
mov rbx, qword [rbp + 0xa8]
lea rsp, [rbp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret