Function at 0x1401f948c
Capabilities:
Get socket status

Disassembly:
jmp 0x1402630c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a8]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x540], rax
lea rcx, [0x142007100]
call fcn.140205606
mov rax, qword [rbp + 0x570]
add rax, 0x10
mov rcx, rax
call fcn.1401fe3ab
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x570]
add rax, 0x10
mov rcx, rax
call fcn.140204e04
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 8], rax
je 0x140263432
mov dword [rbp + 0x314], 0
mov dword [rbp + 0x2f4], 0
mov dword [rbp + 0xb0], 0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x140263277
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x28]
add rax, 8
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140200ec6
mov dword [rbp + 0x2d4], eax
cmp dword [rbp + 0x2d4], 0xffffffff
je 0x140263272
mov dword [rbp + 0x3a4], 0
jmp 0x1402631d4
mov eax, dword [rbp + 0x3a4]
inc eax
mov dword [rbp + 0x3a4], eax
mov eax, dword [rbp + 0xb0]
cmp dword [rbp + 0x3a4], eax
jae 0x1402631fc
mov eax, dword [rbp + 0x3a4]
mov ecx, dword [rbp + 0x2d4]
cmp qword [rbp + rax*8 + 0xb8], rcx
jne 0x1402631fa
jmp 0x1402631fc
jmp 0x1402631c6
mov eax, dword [rbp + 0xb0]
cmp dword [rbp + 0x3a4], eax
jne 0x140263235
cmp dword [rbp + 0xb0], 0x40
jae 0x140263235
mov eax, dword [rbp + 0x2d4]
mov ecx, dword [rbp + 0x3a4]
mov qword [rbp + rcx*8 + 0xb8], rax
mov eax, dword [rbp + 0xb0]
inc eax
mov dword [rbp + 0xb0], eax
xor eax, eax
test eax, eax
jne 0x1402631ba
mov eax, dword [rbp + 0x2d4]
cmp dword [rbp + 0x2f4], eax
jge 0x140263259
mov eax, dword [rbp + 0x2d4]
mov dword [rbp + 0x2f4], eax
mov eax, dword [rbp + 0x314]
inc eax
mov dword [rbp + 0x314], eax
cmp dword [rbp + 0x314], 0x40
jl 0x140263272
jmp 0x140263277
jmp 0x14026316b
mov dword [rbp + 0x338], 0
mov dword [rbp + 0x33c], 1
cmp dword [rbp + 0x314], 0
jle 0x140263425
cmp dword [rbp + 0x2f4], 0
jle 0x140263425
mov eax, dword [rbp + 0x2f4]
inc eax
lea rcx, [rbp + 0x338]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x140263425
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
je 0x140263425
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 8]
add rax, 8
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x384], reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x68]
call fcn.140200ec6
mov dword [rbp + 0x2d4], eax
cmp dword [rbp + 0x2d4], 0xffffffff
je 0x140263420
movsxd rax, dword [rbp + 0x2d4]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x140263420
lea r8, [rbp + 0x384]
lea rdx, [rbp + 0x358]
mov rcx, qword [rbp + 0x68]
call fcn.1401f901d
mov dword [rbp + 0x2d4], eax
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x570]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rbp + 0x538], rax
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x358]
mov edx, dword [rbp + 0x2d4]
mov rcx, qword [rbp + 0x570]
call qword [rbp + 0x538]
cmp qword [rbp + 0x88], 0
je 0x140263420
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x570]
mov qword [rax + 0x40], rcx
mov rax, qword [rbp + 0x570]
mov eax, dword [rax + 8]
inc eax
mov dword [rbp + 0x534], eax
mov rax, qword [rbp + 0x570]
mov ecx, dword [rbp + 0x534]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0x534]
mov dword [rax + 0x10050], ecx
mov rax, qword [rbp + 0x570]
add rax, 0x30
mov qword [rbp + 0x538], rax
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x538]
call fcn.1401fbbe7
jmp 0x1402632d6
mov rax, qword [rbp + 0x28]
mov qword [rbp + 8], rax
jmp 0x140263137
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.140202ef1
mov rcx, qword [rbp + 0x540]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret