Function at 0x1400054c0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, qword [rbp + 0x1f0]
mov rax, r8
mov qword [rsp + 0x48], rax
movzx r13d, dl
mov qword [rsp + 0x50], r9
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14000557e
mov rcx, qword [0x140012130]
lea rdi, [0x140012128]
xor r14d, r14d
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140005549
mov rax, qword [0x140012128]
mov edx, 0x2719
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x14000554b
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x40], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x14000597e
mov qword [rsp + 0x2c8], r12
movzx r12d, r13b
and r12b, 0x10
cmp byte [rbp + 0x1e8], 0
je 0x1400055bc
test r12b, r12b
je 0x1400055bc
xorps xmm0, xmm0
xor r14d, r14d
movups xmmword [rbx], xmm0
mov qword [rsp + 0x40], r14
xor eax, eax
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
jmp 0x140005976
xor r14d, r14d
lea rdi, [0x140012128]
movabs r15, 0x4d54ee85da812030
mov r8, r9
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, rsi
call fcn.140005230
test r12b, r12b
je 0x1400055f0
test eax, eax
je 0x1400058d0
test eax, eax
jns 0x140005974
test r13b, 1
jne 0x140005970
mov r10, qword [0x140012130]
lea rax, [r10 + r15]
cmp rax, 1
jbe 0x14000562e
mov rax, qword [0x140012128]
mov edx, 0x2733
mov rcx, rdi
call qword [rax + 0x30]
mov r10, qword [0x140012130]
jmp 0x140005630
mov al, 1
mov r8, qword [rbx + 0x10]
cmp r8, 1
movzx r9d, al
sete cl
cmp r9, 0xffffffffffffffff
sete al
cmp cl, al
jne 0x140005743
cmp r8, 1
jne 0x1400056b8
cmp r9, 0xffffffffffffffff
jne 0x14000567c
mov rax, qword [rbx + 8]
cmp qword [rax + 8], r10
jne 0x140005675
cmp dword [rbx], 0x2733
jne 0x140005675
movzx eax, r8b
jmp 0x14000573b
xor al, al
jmp 0x14000573b
mov rcx, qword [rbx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
mov eax, 0x2733
imul r11d, ecx, 0x3e8
add r11d, dword [rbx]
jmp 0x1400056fb
mov r11d, dword [rbx]
cmp r9, 0xffffffffffffffff
je 0x1400056c8
mov eax, 0x2733
jmp 0x1400056fb
movabs rax, 0x4800144005b3
mov rcx, rdi
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, 0x2733
cmp r11d, eax
jne 0x140005743
cmp r9, 0xffffffffffffffff
lea rax, [0x1400120f0]
mov rcx, rax
cmovne rcx, rdi
test r8, r8
jne 0x14000571c
mov rax, rdi
jmp 0x140005726
cmp r8, 1
je 0x140005726
mov rax, qword [rbx + 8]
mov rdx, qword [rcx + 8]
test rdx, rdx
jne 0x140005734
cmp rax, rcx
jmp 0x140005738
cmp qword [rax + 8], rdx
sete al
test al, al
jne 0x140005881
lea rax, [r10 + r15]
cmp rax, 1
jbe 0x140005768
mov rax, qword [0x140012128]
mov edx, 0x4d5
mov rcx, rdi
call qword [rax + 0x30]
mov r10, qword [0x140012130]
jmp 0x14000576a
mov al, 1
mov r8, qword [rbx + 0x10]
cmp r8, 1
movzx r9d, al
sete cl
cmp r9, 0xffffffffffffffff
sete al
cmp cl, al
jne 0x140005970
cmp r8, 1
jne 0x1400057f2
cmp r9, 0xffffffffffffffff
jne 0x1400057b6
mov rax, qword [rbx + 8]
cmp qword [rax + 8], r10
jne 0x1400057af
cmp dword [rbx], 0x4d5
jne 0x1400057af
movzx eax, r8b
jmp 0x140005879
xor al, al
jmp 0x140005879
mov rcx, qword [rbx + 8]
movabs rax, 0x4800144005b3
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
mov eax, 0x4d5
imul r10d, ecx, 0x3e8
add r10d, dword [rbx]
jmp 0x140005835
mov r10d, dword [rbx]
cmp r9, 0xffffffffffffffff
je 0x140005802
mov eax, 0x4d5
jmp 0x140005835
movabs rax, 0x4800144005b3
mov rcx, rdi
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, 0x4d5
cmp r10d, eax
jne 0x140005970
cmp r9, 0xffffffffffffffff
lea rax, [0x1400120f0]
mov rcx, rax
cmovne rcx, rdi
test r8, r8
jne 0x14000585a
mov rax, rdi
jmp 0x140005864
cmp r8, 1
je 0x140005864
mov rax, qword [rbx + 8]
mov rdx, qword [rcx + 8]
test rdx, rdx
jne 0x140005872
cmp rax, rcx
jmp 0x140005876
cmp qword [rax + 8], rdx
sete al
test al, al
je 0x140005970
lea ecx, [rsi + 1]
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov dword [rsp + 0x60], 1
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x140005914
mov rax, qword [rsp + 0x48]
xorps xmm0, xmm0
mov r9, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rsp + 0x40], r14
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
jmp 0x1400055d0
mov rcx, qword [0x1400120c0]
lea rdi, [0x1400120b8]
add rcx, r15
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140005908
mov rax, qword [0x1400120b8]
mov edx, 2
mov rcx, rdi
call qword [rax + 0x30]
mov dword [rsp + 0x30], 2
jmp 0x14000594c
mov al, 1
mov dword [rsp + 0x30], 2
jmp 0x14000594c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x140012130]
mov esi, eax
add rdx, r15
mov dword [rsp + 0x34], r14d
cmp rdx, 1
jbe 0x140005943
mov r8, qword [0x140012128]
mov edx, eax
mov rcx, rdi
call qword [r8 + 0x30]
jmp 0x140005948
test esi, esi
setne al
mov dword [rsp + 0x30], esi
movzx eax, al
mov qword [rsp + 0x38], rdi
add rax, 2
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
xor eax, eax
jmp 0x140005976
cdqe
mov r12, qword [rsp + 0x2c8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000a570
add rsp, 0x280
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret