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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea rbp, [rcx + 0x254]
mov r14d, edx
mov rbx, rcx
mov edi, r15d
cmp dword [rbp], r15d
jg 0x1400955a5
or r13, 0xffffffffffffffff
lea esi, [r15 + 2]
lea r12d, [r15 + 1]
test edx, edx
je 0x140095316
mov rax, qword [rcx + 0x2a8]
test rax, rax
je 0x140094f52
cmp dword [rcx + 0x12dc], r15d
jne 0x140094f52
mov r8d, dword [rcx + 0x270]
mov r9d, esi
mov rdx, qword [rcx + 0x268]
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 5
jl 0x140094f16
mov rax, qword [rbx + 0x268]
cmp byte [rax], 0x16
jne 0x140094f16
cmp byte [rax + 1], r12b
jb 0x140094f16
cmp byte [rax + 5], sil
jbe 0x140094f44
mov rcx, qword [rbx + 0x2a8]
call fcn.14018ff20
mov rax, qword [rbx + 0x208]
mov qword [rbx + 0x2a8], r15
test rax, rax
je 0x140094f44
mov r8, qword [rbx + 0x240]
mov edx, r13d
mov rcx, rbx
call rax
mov rax, qword [rbx + 0x2a8]
mov dword [rbx + 0x12dc], r12d
mov dword [rsp + 0x80], 0x1c
test rax, rax
je 0x1400951c4
mov rcx, qword [rbx + 0x2b8]
mov edx, reloc.WS2_32.dll_ntohs
call fcn.1400d3090
mov rax, qword [rbx + 0x2c8]
mov rcx, qword [rbx + 0x68]
mov edx, dword [rax]
mov r8d, dword [rax + 0x10]
mov r9, qword [rax]
sub r8d, edx
lea rdx, [rbx + 0x2d8]
add rdx, r9
cmp word [rbx + 0x78], r12w
jne 0x140094faa
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
jmp 0x140094fcc
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r9
lea rax, [rbx + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test eax, eax
jle 0x140095190
mov rcx, qword [rbx + 0x2c8]
cdqe
add qword [rcx], rax
cmp dword [rbx + 0x12d8], r15d
jne 0x140095073
mov rcx, qword [rbx + 0x2a8]
call fcn.14018fe50
test eax, eax
je 0x14009506a
cmp eax, r12d
je 0x140095023
mov rcx, qword [rbx + 0x2a8]
mov edx, eax
call fcn.140190450
cmp eax, r12d
jne 0x14009504c
mov dword [rbx + 0x2a0], r12d
mov edi, r13d
jmp 0x140095073
mov rax, qword [rbx + 0x208]
mov dword [rbx + 0x12d8], r12d
mov dword [rbx + 0x2a4], r12d
test rax, rax
je 0x14009504c
mov r8, qword [rbx + 0x240]
mov edx, r13d
mov rcx, rbx
call rax
mov rcx, rbx
call fcn.140094cf8
jmp 0x140095073
mov r8d, 0x1000
lea rdx, [0x1402f0ca0]
mov ecx, eax
call fcn.1400cb830
call fcn.1400cba90
test eax, eax
jne 0x140095056
cmp dword [rbx + 0x12d8], r12d
jne 0x140095190
mov rax, qword [rbx + 0x2c8]
cmp qword [rax], r15
jbe 0x140095190
movsxd rax, dword [rbx + 0x260]
mov r8d, dword [rbx + 0x270]
mov rdx, rax
add rdx, qword [rbx + 0x268]
sub r8d, eax
mov rcx, qword [rbx + 0x2a8]
call fcn.140190e10
test eax, eax
jle 0x14009516c
add dword [rbx + 0x260], eax
mov ecx, dword [rbx + 0x270]
cmp ecx, dword [rbx + 0x260]
jne 0x140095136
mov eax, dword [rbx + 0x28c]
add ecx, 0x1000
cmp ecx, eax
jl 0x1400950ea
test eax, eax
cmove eax, ecx
mov ecx, eax
mov rsi, qword [rbx + 0x268]
mov dword [rbx + 0x270], ecx
movsxd rdx, ecx
mov rcx, rsi
call fcn.1401dd350
mov qword [rbx + 0x268], rax
test rax, rax
je 0x1400955bd
cmp rax, rsi
je 0x140095136
mov r9, qword [rbx + 0x230]
test r9, r9
je 0x140095136
mov rdx, qword [rbx + 0x240]
sub rax, rsi
mov r8, rax
mov rcx, rbx
call r9
movsxd rax, dword [rbx + 0x260]
mov r8d, dword [rbx + 0x270]
mov rdx, rax
add rdx, qword [rbx + 0x268]
sub r8d, eax
mov rcx, qword [rbx + 0x2a8]
call fcn.140190e10
test eax, eax
jg 0x1400950bf
mov esi, 2
test eax, eax
jns 0x140095190
mov rcx, qword [rbx + 0x2a8]
mov edx, eax
call fcn.140190450
mov rax, qword [rbx + 0x2d0]
cmp qword [rax], r15
jbe 0x140095190
mov rcx, rbx
call fcn.140094cf8
mov rax, qword [rbx + 0x2c8]
cmp qword [rax], r15
jne 0x140095316
mov rcx, qword [rbx + 0x2b8]
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
call fcn.1400d30c0
mov rax, qword [rbx + 0x2c8]
mov qword [rax], r15
jmp 0x140095316
movsxd rax, dword [rbx + 0x260]
mov r8d, dword [rbx + 0x270]
mov rdx, rax
add rdx, qword [rbx + 0x268]
sub r8d, eax
mov rcx, qword [rbx + 0x68]
cmp word [rbx + 0x78], r12w
jne 0x1400951f5
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
jmp 0x140095217
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r9
lea rax, [rbx + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp word [rbx + 0x78], r12w
je 0x140095261
cmp word [rbx + 0xb0], 0x17
jne 0x140095261
mov rax, qword [rbx + 0xb8]
cmp rax, qword [0x1402e9c18]
jne 0x140095261
mov eax, dword [rbx + 0xc0]
cmp eax, dword [0x1402e9c20]
jne 0x140095261
mov ecx, dword [rbx + 0xc4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0xb4], eax
mov word [rbx + 0xb0], si
test edi, edi
jle 0x140095316
add dword [rbx + 0x260], edi
jmp 0x140095316
cmp dword [rbp], r15d
jg 0x140095320
movsxd rdx, dword [rbx + 0x25c]
mov r9d, dword [rbx + 0x260]
cmp edx, r9d
je 0x140095320
test r9d, r9d
je 0x140095320
mov r10, qword [rbx + 0x200]
mov dword [rsp + 0x90], r15d
test r10, r10
je 0x140095316
lea rax, [rbx + 0x240]
mov qword [rsp + 0x30], rbp
lea rcx, [rbx + 0x220]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x90]
sub r9d, edx
mov rcx, rbx
add rdx, qword [rbx + 0x268]
call r10
cmp qword [rbx + 0x268], r15
je 0x140095316
mov eax, dword [rbx + 0x260]
mov edx, dword [rbx + 0x25c]
sub eax, edx
mov ecx, dword [rsp + 0x90]
cmp ecx, eax
jg 0x140095316
test ecx, ecx
je 0x140095320
lea eax, [rdx + rcx]
mov dword [rbx + 0x25c], eax
cmp qword [rbx + 0x68], r13
jne 0x140095274
mov eax, dword [rbx + 0x25c]
mov ecx, dword [rbx + 0x260]
cmp eax, ecx
jne 0x14009533d
mov qword [rbx + 0x25c], r15
mov eax, r15d
mov ecx, r15d
test edi, edi
jg 0x14009548c
test r14d, r14d
je 0x14009548c
cmp edi, r13d
jne 0x140095364
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
je 0x1400955a5
mov rcx, rbx
call fcn.140093fb8
mov rcx, qword [rbx + 0x68]
mov edx, esi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
mov qword [rbx + 0x68], r13
call fcn.140093fb8
mov rdi, qword [rbx + 0x2a8]
test rdi, rdi
je 0x1400953c1
mov rcx, rdi
call fcn.14018ff20
jmp 0x1400953a6
pause
xor eax, eax
lock cmpxchg dword [rbx + 0x288], r12d
je 0x1400953a4
mov qword [rbx + 0x2a8], r15
mov dword [rbx + 0x288], r15d
mov qword [rbx + 0x12f0], r15
mov dword [rbx + 0x12e8], r15d
test rdi, rdi
je 0x140095404
mov eax, dword [rbx + 0x2a4]
test eax, eax
jne 0x140095432
mov rax, qword [rbx + 0x208]
test rax, rax
je 0x14009544a
mov r8, qword [rbx + 0x240]
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rbx + 0x2a4]
test eax, eax
je 0x14009544a
jmp 0x140095432
mov eax, dword [rbx + 0x258]
test eax, eax
jg 0x140095432
mov rax, qword [rbx + 0x208]
test rax, rax
je 0x14009544a
mov r8, qword [rbx + 0x240]
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rbx + 0x258]
test eax, eax
jle 0x14009544a
mov rax, qword [rbx + 0x210]
test rax, rax
je 0x14009544a
mov rdx, qword [rbx + 0x240]
mov rcx, rbx
call rax
mov rcx, qword [rbx + 0x268]
mov dword [rbx + 0x2a4], r15d
mov dword [rbx + 0x258], r15d
test rcx, rcx
je 0x1400955a5
lea rax, [0x140301ca0]
cmp rcx, rax
je 0x140095479
call fcn.1401d6b80
mov qword [rbx + 0x268], r15
mov dword [rbx + 0x270], r15d
jmp 0x1400955a5
test eax, eax
je 0x140095529
mov r9, qword [rbx + 0x268]
movsxd rdi, eax
add rdi, r9
sub ecx, eax
movsxd rax, dword [rbx + 0x270]
movsxd r8, ecx
je 0x1400954e8
test r9, r9
jne 0x1400954c6
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
jmp 0x1400954e8
test rdi, rdi
je 0x1400954b4
cmp rax, r8
jae 0x1400954dd
call fcn.1401d6a54
mov dword [rax], 0x22
jmp 0x1400954bf
mov rdx, rdi
mov rcx, r9
call fcn.1401cb620
mov eax, dword [rbx + 0x25c]
sub dword [rbx + 0x260], eax
mov rax, qword [rbx + 0x230]
mov ecx, dword [rbx + 0x260]
mov dword [rbx + 0x25c], r15d
test rax, rax
je 0x140095529
sub rdi, qword [rbx + 0x268]
mov rcx, rbx
mov rdx, qword [rbx + 0x240]
mov r8, rdi
call rax
mov ecx, dword [rbx + 0x260]
mov edx, dword [rbx + 0x270]
mov eax, edx
sub eax, ecx
cmp eax, 0x400
jge 0x1400955a5
mov eax, dword [rbx + 0x28c]
test eax, eax
je 0x140095548
cmp edx, eax
jge 0x1400955a5
lea ecx, [rdx + 0x1000]
cmp ecx, eax
jl 0x140095559
test eax, eax
cmove eax, ecx
mov ecx, eax
mov rdi, qword [rbx + 0x268]
mov dword [rbx + 0x270], ecx
movsxd rdx, ecx
mov rcx, rdi
call fcn.1401dd350
mov qword [rbx + 0x268], rax
test rax, rax
je 0x140095603
cmp rax, rdi
je 0x1400955a5
mov r9, qword [rbx + 0x230]
test r9, r9
je 0x1400955a5
mov rdx, qword [rbx + 0x240]
sub rax, rdi
mov r8, rax
mov rcx, rbx
call r9
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncSocket.c
mov edi, 0x513
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a1918
mov r8d, edi
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, ebx
call fcn.1401d00dc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncSocket.c
mov edi, 0x5d9
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a1918
mov r8d, edi
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, ebx
call fcn.1401d00dc
int3