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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
cmp dword [rdx + 0x10], 0xc
mov r14, rcx
mov rbx, rdx
mov rsi, r8
je 0x4547b6
lea rdx, str.src_win_tcp.c
lea rcx, str.handle__type__UV_TCP
mov r8d, 0x3b8
call fcn.00472160
mov ecx, dword [rbx + 0x58]
mov eax, ecx
and eax, 0xfffdffff
mov dword [rbx + 0x58], eax
mov edx, dword [rsi + 0x40]
test edx, edx
js 0x454962
test ecx, 0x80000
je 0x4548b1
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x70]
lea r13, [rsp + 0x68]
lea r12, [rsp + 0x6c]
mov rbp, qword [sym.imp.WS2_32.dll_WSARecv]
jmp 0x4548a6
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.0043d540
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 0x454a60
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x454a60
mov dword [rsp + 0x6c], 0
mov rcx, qword [rbx + 0x110]
mov r9, r13
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov r8d, 1
mov qword [rsp + 0x20], r12
mov rdx, rsi
call rbp
cmp eax, 0xffffffff
je 0x454af0
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x454b70
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 0x4548f5
test ah, 1
jne 0x454800
jmp 0x4548f5
mov rdx, qword [rsi + 0x48]
test rdx, rdx
jne 0x454a93
test ch, 1
jne 0x454a10
and ah, 0x7f
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
mov dword [rbx + 0x58], eax
lea r8, [rbx + 0x120]
mov rdx, 0xfffffffffffff001
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
and eax, 0x20100
cmp eax, 0x100
je 0x454a83
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x454944
sub eax, 1
mov edx, dword [rbx + 0x58]
test eax, eax
mov dword [rbx + 0x78], eax
jne 0x454935
test dl, 1
je 0x454935
test dl, 8
jne 0x454935
mov rax, qword [r14 + 0x50]
or edx, 8
mov dword [rbx + 0x58], edx
mov qword [rbx + 0x50], rax
mov qword [r14 + 0x50], rbx
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, str.src_win_tcp.c
lea rcx, [0x0051c72f]
mov r8d, 0x42e
call fcn.00472160
mov eax, dword [rbx + 0x78]
jmp 0x45490c
mov eax, ecx
and eax, 0x80100
cmp eax, 0x80000
je 0x454905
mov edx, ecx
and edx, 0xfffdfeff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x454ac0
test cl, 1
jne 0x4549b0
test cl, 0x40
je 0x4549b0
mov edx, ecx
and edx, 0xfffdfebf
and ecx, 0x20
mov dword [rbx + 0x58], edx
je 0x4549b0
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
nop word [rax + rax]
and edx, 0x80000
jne 0x454c00
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.00460650
mov edx, 0x2746
cmp eax, 0x2745
mov rsi, qword [rbx + 0x70]
cmove eax, edx
mov ecx, eax
call fcn.00440300
lea r8, [rsp + 0x70]
movsxd rdx, eax
mov rcx, rbx
call rsi
jmp 0x454905
mov edi, dword [rbx + 0x7c]
mov eax, ecx
and eax, 0xfffdfeff
mov dword [rbx + 0x58], eax
lea edx, [rdi - 1]
test edx, edx
mov dword [rbx + 0x7c], edx
jne 0x454bd0
test cl, 1
jne 0x4548c7
test cl, 0x40
je 0x4548c7
mov eax, ecx
and eax, 0xfffdfebf
and ecx, 0x20
mov dword [rbx + 0x58], eax
je 0x4548c7
mov rdx, qword [rbx + 8]
sub dword [rdx + 8], 1
jmp 0x4548c7
mov r8, rsi
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
and eax, 0x20100
cmp eax, 0x100
jne 0x454905
mov rdx, rbx
mov rcx, r14
call fcn.00452e70
jmp 0x454905
lea r8, [rbx + 0x120]
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x120]
cmp qword [rsi + 0x48], rax
mov eax, dword [rbx + 0x58]
jb 0x4548f5
jmp 0x4547da
jns 0x4549b0
lea rdx, str.src_win_tcp.c
lea rcx, [0x0051c869]
mov r8d, 0x3c1
call fcn.00472160
mov edx, dword [rbx + 0x58]
jmp 0x4549b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x454c74
mov ecx, dword [rbx + 0x58]
mov edi, dword [rbx + 0x7c]
mov edx, ecx
and dh, 0xfe
mov dword [rbx + 0x58], edx
lea edx, [rdi - 1]
test edx, edx
mov dword [rbx + 0x7c], edx
jne 0x454c48
test cl, 1
jne 0x454b40
test cl, 0x40
je 0x454b40
mov edx, ecx
and edx, 0xfffffebf
and ecx, 0x20
mov dword [rbx + 0x58], edx
je 0x454b40
mov rdx, qword [rbx + 8]
sub dword [rdx + 8], 1
nop
cmp eax, 0x2745
mov edx, 0x2746
mov rdi, qword [rbx + 0x70]
cmove eax, edx
mov ecx, eax
call fcn.00440300
mov r8, rsi
movsxd rdx, eax
mov rcx, rbx
call rdi
mov eax, dword [rbx + 0x58]
jmp 0x4548f5
mov edx, dword [rbx + 0x58]
mov eax, edx
and ah, 0x7e
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], eax
jne 0x454c28
test dl, 1
jne 0x454bb0
test dl, 0x40
je 0x454bb0
mov eax, edx
and eax, 0xffff7ebf
and edx, 0x20
mov dword [rbx + 0x58], eax
je 0x454bb0
mov rax, qword [rbx + 8]
sub dword [rax + 8], 1
nop word cs:[rax + rax]
mov r8, rsi
mov rdx, 0xfffffffffffff001
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4548f5
jns 0x4548c7
lea rdx, str.src_win_tcp.c
lea rcx, [0x0051c869]
mov r8d, 0x3e2
call fcn.00472160
mov eax, dword [rbx + 0x58]
jmp 0x4548c7
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.0043d540
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
jmp 0x4549d4
jns 0x454bb0
lea rdx, str.src_win_tcp.c
lea rcx, [0x0051c869]
mov r8d, 0x409
call fcn.00472160
jmp 0x454bb0
jns 0x454b40
lea rdx, str.src_win_tcp.c
lea rcx, [0x0051c869]
mov r8d, 0x416
mov dword [rsp + 0x4c], eax
call fcn.00472160
mov eax, dword [rsp + 0x4c]
jmp 0x454b40
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x70]
mov eax, dword [rbx + 0x58]
jmp 0x4548f5