Function at 0x1400a49c0
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
xor r13d, r13d
movsxd rbp, r8d
mov rsi, rdx
mov rbx, rcx
mov edi, r13d
mov r14, rcx
mov r15d, r13d
test rcx, rcx
je 0x1400a4d8f
mov rax, qword [rcx + 0x68]
test rax, rax
je 0x1400a4a20
mov r8, rdx
mov dword [rsp + 0x28], 1
lea edx, [r13 + 2]
mov dword [rsp + 0x20], r13d
mov r9d, ebp
call rax
mov edi, eax
test eax, eax
jle 0x1400a4d91
mov qword [rsp + 0x68], r12
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1400a4a3c
cmp byte [rbx + 0x90], 3
je 0x1400a4a3c
mov rbx, rax
jmp 0x1400a4a25
mov r12, qword [rsp + 0x60]
lea r9, [0x140000000]
mov r8d, 0xffffffff
nop
test edi, edi
js 0x1400a4d66
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400a4a85
mov r9, qword [rax + 0x110]
test r9, r9
je 0x1400a4a7e
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call r9
jmp 0x1400a4d3a
lea r9, [0x140000000]
movzx edx, byte [rbx + 0x90]
lea eax, [rdx - 2]
cmp eax, 6
ja case.default.0x1400a4aa5
cdqe
mov ecx, dword [r9 + rax*4 + 0xa4da8]
add rcx, r9
jmp rcx
test r15d, r15d
jle case.default.0x1400a4aa5
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8, rsi
mov edx, r15d
mov rcx, rsi
call fcn.14010f210
mov edi, dword [rsp + 0x60]
test eax, eax
mov r8d, 0xffffffff
cmovne edi, r8d
jmp case.default.0x1400a4aa5
mov edi, 0xfffffffe
cmp dl, 4
jne 0x1400a4aef
mov edi, r13d
jmp case.default.0x1400a4aa5
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400a4b75
test ebp, ebp
jne 0x1400a4b0c
movsxd r12, dword [rcx + 0x7c]
mov edi, r13d
add r12, qword [rcx + 0x40]
jmp case.default.0x1400a4aa5
movsxd rax, dword [rcx + 0x7c]
mov edi, dword [rcx + 0x78]
mov r12, rax
add r12, qword [rcx + 0x40]
test edi, edi
jle 0x1400a4b25
cmp eax, edi
jl 0x1400a4b25
mov edi, dword [rcx + 0x70]
sub edi, eax
test edi, edi
jne 0x1400a4b33
mov edi, r8d
jmp case.default.0x1400a4aa5
cmp ebp, edi
cmovl edi, ebp
add eax, edi
mov dword [rcx + 0x7c], eax
mov rcx, qword [rbx + 0x30]
mov eax, dword [rcx + 0x70]
cmp dword [rcx + 0x7c], eax
jne 0x1400a4b5d
mov dword [rcx + 0x7c], r13d
mov rcx, qword [rbx + 0x30]
mov eax, dword [rcx + 0x70]
cmp dword [rcx + 0x78], eax
jne 0x1400a4b5d
mov dword [rcx + 0x78], r13d
mov rcx, qword [rbx + 0x30]
mov eax, dword [rcx + 0x78]
cmp dword [rcx + 0x7c], eax
jne 0x1400a4b75
mov dword [rcx + 0x7c], r13d
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x78], r13d
test edi, edi
jle case.default.0x1400a4aa5
movsxd r8, edi
mov rdx, r12
mov rcx, rsi
call fcn.14014cbf0
jmp 0x1400a4d3c
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call fcn.140096120
jmp 0x1400a4d3a
mov r9, qword [rbx + 0x40]
test r9, r9
je 0x1400a4bc4
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140043128
mov rdi, rax
jmp 0x1400a4d3c
mov edi, 0xffffff52
jmp case.default.0x1400a4aa5
cmp dword [r14 + 0x88], r13d
jne 0x1400a4d20
and dword [rbx + 0x8c], 0xffffffef
mov rdi, qword [rbx + 0x40]
test rdi, rdi
je 0x1400a4c53
mov rax, qword [rdi + 0xeaa0]
test rax, rax
je 0x1400a4c15
mov edx, 4
mov rcx, rdi
lea r8d, [rdx - 3]
call rax
mov r8d, 0xffffffff
mov dword [rdi + 0xeaa8], 4
test rsi, rsi
je 0x1400a4c53
test ebp, ebp
js 0x1400a4c53
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call fcn.1400ce840
mov edi, eax
mov r8d, 0xffffffff
test eax, eax
jns 0x1400a4c3d
mov edi, r8d
jmp 0x1400a4c58
jne case.default.0x1400a4aa5
mov dword [r14 + 0x88], 1
jmp case.default.0x1400a4aa5
mov edi, 0xffffff53
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400a4c43
mov edx, dword [rcx + 0xe8d8]
lea eax, [rdx + 0x147]
test eax, 0xfffffffb
je 0x1400a4c92
cmp edx, 0xfffffea9
je 0x1400a4c43
mov eax, 0x100
test word [rcx + 0xea7a], ax
jne 0x1400a4c43
lea eax, [rdx - 2]
cmp eax, 1
ja 0x1400a4c43
or dword [rbx + 0x8c], 0x10
jmp case.default.0x1400a4aa5
mov r9, qword [rbx + 0x40]
test r9, r9
je 0x1400a4d07
cmp dword [r9 + 0x320], r13d
jne 0x1400a4ce4
cmp qword [0x1401c8768], r13
lea rax, [0x1401c8760]
je 0x1400a4cd5
mov ecx, dword [r9 + 0x310]
cmp ecx, dword [rax]
je 0x1400a4d02
add rax, 0x10
cmp qword [rax + 8], r13
jne 0x1400a4cc7
mov ecx, dword [r9 + 0x310]
cmp ecx, 0x357
jne 0x1400a4d07
mov r8d, edi
mov rdx, rsi
mov rcx, r9
call fcn.1400a2990
cmp eax, 1
je 0x1400a4d3c
mov r8d, 0xffffffff
mov edi, r8d
jmp case.default.0x1400a4aa5
mov ecx, dword [rax + 4]
jmp 0x1400a4cdc
movsxd r8, edi
mov rdx, rsi
mov rcx, r9
call fcn.1400a1140
mov r8d, 0xffffffff
cmp eax, 1
je case.default.0x1400a4aa5
mov edi, r8d
jmp case.default.0x1400a4aa5
mov ecx, dword [rbx + 0x84]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov r8d, 0xffffffff
cmp rbx, r14
je 0x1400a4d66
mov rbx, qword [rbx + 0x20]
lea r9, [0x140000000]
test edi, edi
mov eax, edi
cmovle eax, r15d
mov r15d, eax
test rbx, rbx
jne 0x1400a4a50
mov rax, qword [r14 + 0x68]
mov r12, qword [rsp + 0x68]
test rax, rax
je 0x1400a4d8f
mov dword [rsp + 0x28], edi
mov r9d, ebp
mov r8, rsi
mov dword [rsp + 0x20], r13d
mov edx, 0x82
mov rcx, r14
call rax
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret