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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
cmp dword [rdx + 0x10], 0xc
mov rdi, rcx
mov rbx, rdx
mov rsi, r8
je 0x4564b2
lea rdx, str.src_win_tcp.c
lea rcx, str.handle__type__UV_TCP
mov r8d, 0x3b5
call fcn.00480c40
mov ecx, dword [rbx + 0x58]
mov edx, dword [rsi + 0x40]
mov eax, ecx
and eax, 0xfffdffff
test edx, edx
mov dword [rbx + 0x58], eax
js 0x456653
test ecx, 0x80000
je 0x4565e4
lea rbp, [rsp + 0x50]
lea rsi, [rsp + 0x70]
mov r12, qword [sym.imp.WS2_32.dll_WSARecv]
jmp 0x45659e
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.0043ecb0
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov r8, rsi
mov rcx, rbx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rax
mov edx, 0x10000
call qword [rbx + 0x68]
cmp qword [rsp + 0x78], 0
je 0x456753
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x456753
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x6c], 0
mov rcx, qword [rbx + 0x110]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r8d, 1
mov rdx, rsi
call r12
cmp eax, 0xffffffff
je 0x4567a0
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x4567c4
mov r8, rsi
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x58]
ja 0x4565b0
test ah, 1
jne 0x4564f0
nop word [rax + rax]
and eax, 0x20100
cmp eax, 0x100
je 0x456620
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x456632
sub eax, 1
mov edx, dword [rbx + 0x58]
test eax, eax
mov dword [rbx + 0x78], eax
jne 0x4565d9
test dl, 1
jne 0x4566f0
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [rsi + 0x48]
lea rbp, [rbx + 0x120]
test rdx, rdx
je 0x456833
mov r8, rbp
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x120]
cmp qword [rsi + 0x48], rax
mov eax, dword [rbx + 0x58]
jae 0x4564d6
and eax, 0x20100
cmp eax, 0x100
jne 0x4565bc
mov rdx, rbx
mov rcx, rdi
call fcn.00454a80
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x4565c3
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b24af]
mov r8d, 0x42b
call fcn.00480c40
mov eax, dword [rbx + 0x78]
jmp 0x4565c3
mov eax, ecx
and eax, 0x80100
cmp eax, 0x80000
je 0x4565bc
mov edx, ecx
and edx, 0xfffdfeff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
je 0x456720
jns 0x456698
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25e9]
mov r8d, 0x3be
call fcn.00480c40
mov edx, dword [rbx + 0x58]
and edx, 0x80000
jne 0x456770
mov rax, qword [rbx + 0x120]
mov rdx, qword [rbx + 0x128]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsi + 0x40]
call fcn.004622b0
mov edx, 0x2746
cmp eax, 0x2745
mov rsi, qword [rbx + 0x70]
cmove eax, edx
mov ecx, eax
call fcn.00441a00
lea r8, [rsp + 0x70]
movsxd rdx, eax
mov rcx, rbx
call rsi
jmp 0x4565bc
test dl, 8
jne 0x4565d9
mov rax, qword [rdi + 0x50]
or edx, 8
mov dword [rbx + 0x58], edx
mov qword [rbx + 0x50], rax
mov qword [rdi + 0x50], rbx
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test cl, 1
jne 0x456698
test cl, 0x40
je 0x456698
mov edx, ecx
and edx, 0xfffdfebf
and ecx, 0x20
mov dword [rbx + 0x58], edx
je 0x456698
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
jmp 0x456698
mov r8, rsi
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4565b0
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 0x4566bc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x45689f
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4565b0
mov edx, dword [rbx + 0x58]
mov eax, edx
and ah, 0x7e
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], eax
jne 0x456800
test dl, 1
jne 0x45681b
test dl, 0x40
je 0x45681b
mov eax, edx
and eax, 0xffff7ebf
and edx, 0x20
mov dword [rbx + 0x58], eax
je 0x45681b
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
jmp 0x45681b
jns 0x45681b
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25e9]
mov r8d, 0x406
call fcn.00480c40
mov r8, rsi
mov rdx, 0xfffffffffffff001
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4565b0
test ch, 1
je 0x456870
mov eax, ecx
and eax, 0xfffdfeff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], eax
jne 0x4568fd
test cl, 1
jne 0x456870
test cl, 0x40
je 0x456870
mov eax, ecx
and eax, 0xfffdfebf
and ecx, 0x20
mov dword [rbx + 0x58], eax
je 0x456870
mov rdx, qword [rbx + 8]
sub dword [rdx + 8], 1
nop dword [rax]
and ah, 0x7f
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
mov dword [rbx + 0x58], eax
mov r8, rbp
mov rdx, 0xfffffffffffff001
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4565b0
mov ecx, dword [rbx + 0x58]
mov edx, ecx
and dh, 0xfe
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x456924
test cl, 1
jne 0x4568d2
test cl, 0x40
je 0x4568d2
mov edx, ecx
and edx, 0xfffffebf
and ecx, 0x20
mov dword [rbx + 0x58], edx
je 0x4568d2
mov rdx, qword [rbx + 8]
sub dword [rdx + 8], 1
cmp eax, 0x2745
mov edx, 0x2746
mov rbp, qword [rbx + 0x70]
cmove eax, edx
mov ecx, eax
call fcn.00441a00
mov r8, rsi
movsxd rdx, eax
mov rcx, rbx
call rbp
mov eax, dword [rbx + 0x58]
jmp 0x4565b0
jns 0x456870
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25e9]
mov r8d, 0x3df
call fcn.00480c40
mov eax, dword [rbx + 0x58]
jmp 0x456870
jns 0x4568d2
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25e9]
mov r8d, 0x413
mov dword [rsp + 0x4c], eax
call fcn.00480c40
mov eax, dword [rsp + 0x4c]
jmp 0x4568d2