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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
cmp dword [rdx + 0x10], 0xf
mov rsi, rcx
mov rbx, rdx
mov rdi, r8
je 0x140163be8
mov r8d, 0x1c5
lea rdx, str.src_win_udp.c
lea rcx, str.handle__type__UV_UDP
call qword [sym.imp.msvcrt.dll__assert]
mov edx, dword [rbx + 0x58]
mov rcx, qword [rdi + 0x40]
mov eax, edx
and eax, 0xfffeffff
mov dword [rbx + 0x58], eax
test ecx, ecx
js 0x140163cc0
and edx, 0x40000
je 0x140163c50
test ah, 0x10
jne 0x140163d60
mov eax, dword [rbx + 0x58]
and eax, 0x11000
cmp eax, 0x1000
je 0x140163c84
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x140163c96
sub eax, 1
mov edx, dword [rbx + 0x58]
mov dword [rbx + 0x78], eax
jne 0x140163c3c
test dl, 1
jne 0x140163d00
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [rbx + 0x188]
mov r10, qword [rdi + 0x48]
lea r9, [rbx + 0x100]
mov dword [rsp + 0x20], edx
mov rcx, rbx
lea r8, [rbx + 0xf0]
mov rdx, r10
call rax
mov eax, dword [rbx + 0x58]
and eax, 0x11000
cmp eax, 0x1000
jne 0x140163c21
mov rdx, rbx
mov rcx, rsi
call fcn.140163400
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x140163c28
mov r8d, 0x22b
lea rdx, str.src_win_udp.c
lea rcx, str.handle__reqs_pending___0
call qword [sym.imp.msvcrt.dll__assert]
mov eax, dword [rbx + 0x78]
jmp 0x140163c28
call fcn.1401680b0
mov r12d, eax
mov eax, dword [rbx + 0x58]
cmp r12d, 0x2738
je 0x140163d30
mov edx, r12d
and edx, 0xfffffffd
cmp edx, 0x2744
jne 0x140163e70
test eax, 0x40000
jne 0x140163c09
jmp 0x140163c15
test dl, 0x20
jne 0x140163c3c
mov rax, qword [rsi + 0x50]
or edx, 0x20
mov dword [rbx + 0x58], edx
mov qword [rbx + 0x50], rax
mov qword [rsi + 0x50], rbx
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov edx, eax
and edx, 0x40000
jne 0x140163c09
mov ecx, dword [rdi + 0x40]
mov rax, qword [rbx + 0x188]
test ecx, ecx
mov ecx, 2
cmovs edx, ecx
jmp 0x140163c57
xor r8d, r8d
lea rcx, [rsp + 0x50]
lea r12, [rsp + 0x70]
xor edx, edx
call fcn.140141b80
mov r8, r12
mov edx, 0x10000
mov rcx, rbx
movdqu xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
call qword [rbx + 0x190]
cmp qword [rsp + 0x78], 0
je 0x140163e40
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140163e40
xor eax, eax
mov ecx, 0x10
lea r9, [rsp + 0x64]
mov rdx, r12
lea rbp, [rsp + 0x80]
mov dword [rsp + 0x6c], pe_nt_image_headers64
mov r8d, 1
mov rdi, rbp
mov dword [rsp + 0x68], 0
rep stosq qword [rdi], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rbp
mov rcx, qword [rbx + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x140163ed0
mov edx, dword [rsp + 0x64]
mov r9, rbp
mov r8, r12
mov rcx, rbx
mov dword [rsp + 0x20], 0
call qword [rbx + 0x188]
jmp 0x140163c12
xor r9d, r9d
mov r8, r12
mov rdx, 0xfffffffffffff024
mov rcx, rbx
mov dword [rsp + 0x20], 0
call qword [rbx + 0x188]
mov eax, dword [rbx + 0x58]
jmp 0x140163c15
test ah, 0x10
je 0x140163c15
mov rcx, rbx
call fcn.140144040
test byte [rbx + 0x5a], 4
jne 0x140163f0f
movdqu xmm1, xmmword [rbx + 0xf0]
movaps xmmword [rsp + 0x70], xmm1
mov ecx, r12d
mov rdi, qword [rbx + 0x188]
call fcn.140146240
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rcx, rbx
movsxd rdx, eax
mov dword [rsp + 0x20], 0
call rdi
mov eax, dword [rbx + 0x58]
jmp 0x140163c15
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r13d, eax
cmp eax, 0x2738
je 0x140163f2e
cmp eax, 0x2733
je 0x140163ef1
and eax, 0xfffffffd
cmp eax, 0x2744
jne 0x140163f4e
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, r12
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x188]
jmp 0x140163c12
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.140141b80
movdqu xmm2, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm2
jmp 0x140163e98
mov edx, dword [rsp + 0x64]
mov r9, rbp
mov r8, r12
mov rcx, rbx
mov dword [rsp + 0x20], 2
call qword [rbx + 0x188]
jmp 0x140163c12
mov rcx, rbx
call fcn.140144040
mov ecx, r13d
mov rbp, qword [rbx + 0x188]
call fcn.140146240
xor r9d, r9d
mov r8, r12
mov rcx, rbx
mov dword [rsp + 0x20], 0
movsxd rdx, eax
call rbp
jmp 0x140163c12