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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbx, rdx
mov edx, dword [rdx + 0x58]
mov rbp, rcx
mov rcx, qword [r8 + 0x40]
mov rsi, r8
mov eax, edx
mov r8d, ecx
and eax, 0xfffeffff
mov dword [rbx + 0x58], eax
test ecx, ecx
js 0x140074fd0
test edx, 0x40000
je 0x140074f98
mov esi, 0x21
lea r12, [rsp + 0x40]
lea rdi, [rsp + 0x60]
mov r13, qword [sym.imp.WS2_32.dll_WSARecv]
jmp 0x140074f58
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.140082e40
mov r8, rdi
mov edx, 0x10000
mov rcx, rbx
movdqu xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm0
call qword [rbx + 0x68]
cmp qword [rsp + 0x68], 0
je 0x140075158
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140075158
lea rax, [rsp + 0x5c]
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x58]
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
mov rdx, rdi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
call r13
cmp eax, 0xffffffff
je 0x140075170
mov edx, dword [rsp + 0x58]
mov rax, qword [rbx + 0x70]
test edx, edx
je 0x1400751e8
mov r8, rdi
mov rcx, rbx
call rax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x58], eax
mov eax, dword [rbx + 0x58]
jb 0x140074f66
test ah, 0x10
je 0x140074f7a
sub esi, 1
jne 0x140074eb0
mov edx, eax
and edx, 0x11000
cmp edx, 0x1000
je 0x140075118
sub dword [rbx + 0x78], 1
jne 0x140074f88
test al, 1
jne 0x140075070
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [rsi + 0x48]
mov r9, qword [rbx + 0x70]
test rcx, rcx
je 0x1400750a0
mov rdx, rcx
lea r8, [rbx + 0x120]
mov rcx, rbx
call r9
mov eax, dword [rbx + 0x120]
cmp qword [rsi + 0x48], rax
mov eax, dword [rbx + 0x58]
jae 0x140074e8d
jmp 0x140074f66
mov ecx, edx
and ecx, 0x41000
cmp ecx, 0x40000
je 0x140074f7a
mov ecx, edx
and ecx, 0xfffeefff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x140075018
test dl, 1
jne 0x140075018
test dl, 4
je 0x140075018
mov ecx, edx
and ecx, 0xfffeeffb
and edx, 8
mov dword [rbx + 0x58], ecx
je 0x140075018
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
nop dword [rax + rax]
and ecx, 0x40000
jne 0x140075130
movdqu xmm1, xmmword [rbx + 0x120]
movaps xmmword [rsp + 0x60], xmm1
mov ecx, r8d
call fcn.14007f790
mov rsi, qword [rbx + 0x70]
cmp eax, 0x2745
mov ecx, eax
mov eax, 0x2746
cmove ecx, eax
call fcn.1400605e0
lea r8, [rsp + 0x60]
mov rcx, rbx
movsxd rdx, eax
call rsi
mov eax, dword [rbx + 0x58]
jmp 0x140074f7a
test al, 0x20
jne 0x140074f88
or eax, 0x20
mov dword [rbx + 0x58], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rbp + 0x50], rbx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test dh, 0x10
je 0x1400750d0
mov eax, edx
and eax, 0xfffeefff
sub dword [rbx + 0x7c], 1
jne 0x1400750d0
test dl, 1
jne 0x1400750d0
test dl, 4
je 0x1400750d0
test dl, 8
je 0x1400750c9
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
mov eax, edx
and eax, 0xfffeeffb
and ah, 0xbf
mov rdx, 0xfffffffffffff001
mov rcx, rbx
mov qword [rsp + 0x68], 0
mov dword [rbx + 0x58], eax
lea r8, [rbx + 0x120]
mov dword [rsp + 0x60], 0
call r9
mov eax, dword [rbx + 0x58]
mov edx, eax
and edx, 0x11000
cmp edx, 0x1000
jne 0x140074f7a
nop word [rax + rax]
mov rdx, rbx
mov rcx, rbp
call fcn.140073770
mov eax, dword [rbx + 0x58]
jmp 0x140074f7a
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140082e40
movdqu xmm2, xmmword [rsp + 0x40]
mov r8d, dword [rsi + 0x40]
movaps xmmword [rsp + 0x60], xmm2
jmp 0x140075031
mov r8, rdi
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x140074f66
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp eax, 0x2733
je 0x140075237
mov edx, dword [rbx + 0x58]
mov eax, edx
and ah, 0xef
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], eax
jne 0x1400751b8
test dl, 1
jne 0x1400751b8
test dl, 4
je 0x1400751b8
mov eax, edx
and eax, 0xffffeffb
and edx, 8
mov dword [rbx + 0x58], eax
je 0x1400751b8
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
nop dword [rax]
cmp ecx, 0x2745
mov eax, 0x2746
mov rsi, qword [rbx + 0x70]
cmove ecx, eax
call fcn.1400605e0
mov r8, rdi
mov rcx, rbx
movsxd rdx, eax
call rsi
mov eax, dword [rbx + 0x58]
jmp 0x140074f66
mov ecx, dword [rbx + 0x58]
mov edx, ecx
and dh, 0xaf
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x140075220
test cl, 1
jne 0x140075220
test cl, 4
je 0x140075220
mov edx, ecx
and edx, 0xffffaffb
and ecx, 8
mov dword [rbx + 0x58], edx
je 0x140075220
mov rdx, qword [rbx + 8]
sub dword [rdx + 8], 1
nop dword [rax + rax]
mov r8, rdi
mov rdx, 0xfffffffffffff001
mov rcx, rbx
call rax
mov eax, dword [rbx + 0x58]
jmp 0x140074f66
mov r8, rdi
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x140074f66