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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x100
cmp dword [rdx + 0x10], 0xf
mov rsi, rcx
mov rbx, rdx
mov rdi, r8
je 0x45eb65
lea rdx, str.src_win_udp.c
lea rcx, str.handle__type__UV_UDP
mov r8d, 0x1cf
call fcn.00480c40
mov edx, dword [rbx + 0x58]
mov rcx, qword [rdi + 0x40]
mov eax, edx
and eax, 0xfffdffff
test ecx, ecx
mov dword [rbx + 0x58], eax
js 0x45ec60
mov ecx, edx
and ecx, 0x80000
je 0x45ebd0
test ah, 1
jne 0x45ecc0
mov eax, dword [rbx + 0x58]
and eax, 0x20100
cmp eax, 0x100
je 0x45ec01
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x45ec13
sub eax, 1
mov edx, dword [rbx + 0x58]
test eax, eax
mov dword [rbx + 0x78], eax
jne 0x45ebb9
test dl, 1
jne 0x45ec34
add rsp, 0x100
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbx + 0x188]
mov rdx, qword [rdi + 0x48]
lea r9, [rbx + 0x100]
mov dword [rsp + 0x20], ecx
lea r8, [rbx + 0xf0]
mov rcx, rbx
call rax
mov eax, dword [rbx + 0x58]
and eax, 0x20100
cmp eax, 0x100
jne 0x45eba0
mov rdx, rbx
mov rcx, rsi
call fcn.0045e150
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x45eba7
lea rdx, str.src_win_udp.c
lea rcx, str.handle__reqs_pending___0
mov r8d, 0x235
call fcn.00480c40
mov eax, dword [rbx + 0x78]
jmp 0x45eba7
test dl, 8
jne 0x45ebb9
mov rax, qword [rsi + 0x50]
or edx, 8
mov dword [rbx + 0x58], edx
mov qword [rbx + 0x50], rax
mov qword [rsi + 0x50], rbx
add rsp, 0x100
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.004622b0
mov ebp, eax
mov eax, dword [rbx + 0x58]
cmp ebp, 0x2738
je 0x45ec93
mov edx, ebp
and edx, 0xfffffffd
cmp edx, 0x2744
jne 0x45ed30
test eax, 0x80000
je 0x45eb94
jmp 0x45eb88
mov ecx, eax
and ecx, 0x80000
jne 0x45eb88
mov edx, dword [rdi + 0x40]
mov rax, qword [rbx + 0x188]
test edx, edx
mov edx, 2
cmovs ecx, edx
jmp 0x45ebd7
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rbp, [rsp + 0x70]
call fcn.0043ecb0
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rax
mov edx, 0x10000
call qword [rbx + 0x190]
cmp qword [rsp + 0x78], 0
jne 0x45ed91
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbp
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + 0x188]
mov eax, dword [rbx + 0x58]
jmp 0x45eb94
test ah, 1
je 0x45eb94
mov rcx, rbx
call fcn.0043ffd0
test byte [rbx + 0x5a], 8
jne 0x45ee2a
mov rax, qword [rbx + 0xf0]
mov rdx, qword [rbx + 0xf8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
mov ecx, ebp
mov rdi, qword [rbx + 0x188]
call fcn.00441a00
mov dword [rsp + 0x20], 0
movsxd rdx, eax
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rcx, rbx
call rdi
mov eax, dword [rbx + 0x58]
jmp 0x45eb94
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x45ed05
lea r12, [rsp + 0x80]
xor eax, eax
mov ecx, 0x10
mov dword [rsp + 0x6c], pe_nt_image_headers64
mov dword [rsp + 0x68], 0
lea r9, [rsp + 0x64]
mov rdi, r12
mov r8d, 1
mov rdx, rbp
rep stosq qword [rdi], rax
lea rax, [rsp + 0x6c]
mov rcx, qword [rbx + 0x70]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x45ee52
mov edx, dword [rsp + 0x64]
mov dword [rsp + 0x20], 0
mov r9, r12
mov r8, rbp
mov rcx, rbx
call qword [rbx + 0x188]
jmp 0x45eb91
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.0043ecb0
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
jmp 0x45ed63
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov edi, eax
jne 0x45ee81
mov edx, dword [rsp + 0x64]
mov dword [rsp + 0x20], 2
mov r9, r12
mov r8, rbp
mov rcx, rbx
call qword [rbx + 0x188]
jmp 0x45eb91
cmp eax, 0x2733
jne 0x45eea6
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbp
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x188]
jmp 0x45eb91
and eax, 0xfffffffd
cmp eax, 0x2744
je 0x45ee88
mov rcx, rbx
call fcn.0043ffd0
mov ecx, edi
mov r12, qword [rbx + 0x188]
call fcn.00441a00
mov dword [rsp + 0x20], 0
movsxd rdx, eax
xor r9d, r9d
mov r8, rbp
mov rcx, rbx
call r12
jmp 0x45eb91