Function at 0x140011078
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x140015890
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140034098]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14004601f]
call fcn.140011555
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rbp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0xffffffffffffffff
jne 0x140015924
mov byte [rbp + 0x114], 1
jmp 0x14001592b
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
test eax, eax
je 0x140015942
mov dword [rbp + 0x118], 1
jmp 0x14001594c
mov dword [rbp + 0x118], 0
cmp dword [rbp + 0x118], 0
jne 0x140015962
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
jne 0x1400159c6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbp + 0x158]
mov dword [rcx], eax
mov dword [rbp + 0x28], 0xffffffff
mov eax, dword [section..data]
add eax, 9
mov dword [rbp + 0x114], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0x158]
mov ecx, dword [rcx]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rbp + 0x114]
mov r9d, ecx
lea r8, str.unsigned_int___cdecl_SmbRecvNetbiosSize_unsigned___int64__unsigned_int__
lea rdx, str.____function__S_failed_on_line__u_with_error_0x_08X_n
mov rcx, rax
call fcn.140011483
mov eax, dword [rbp + 0x28]
jmp 0x140015adc
mov r9d, 2
mov r8d, 4
lea rdx, [rbp + 0x44]
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0xffffffff
jne 0x1400159f8
mov byte [rbp + 0x114], 1
jmp 0x1400159ff
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
test eax, eax
je 0x140015a16
mov dword [rbp + 0x118], 1
jmp 0x140015a20
mov dword [rbp + 0x118], 0
cmp dword [rbp + 0x118], 0
jne 0x140015a2f
cmp dword [rbp + 0x28], 0
jne 0x140015a90
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbp + 0x158]
mov dword [rcx], eax
mov dword [rbp + 0x28], 0xffffffff
mov eax, dword [section..data]
add eax, 0x13
mov dword [rbp + 0x114], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0x158]
mov ecx, dword [rcx]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rbp + 0x114]
mov r9d, ecx
lea r8, str.unsigned_int___cdecl_SmbRecvNetbiosSize_unsigned___int64__unsigned_int__
lea rdx, str.____function__S_failed_on_line__u_with_error_0x_08X_n
mov rcx, rax
call fcn.140011483
mov eax, dword [rbp + 0x28]
jmp 0x140015adc
movzx eax, word [rbp + 0x46]
sar eax, 8
and eax, 0xff
movzx ecx, word [rbp + 0x46]
and ecx, 0xff
shl ecx, 8
or eax, ecx
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x46]
mov word [rbp + 6], ax
mov rax, qword [rbp + 0x158]
mov dword [rax], 0
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 4]
add rax, 4
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400114b0
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011299
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret