Function at 0x140054030
Capabilities:
Get socket status

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x298
lea rbp, [rsp + 0x80]
mov rsi, r9
mov rdi, rcx
lea eax, [rcx + 1]
mov dword [rbp + 0x1dc], eax
mov dword [rbp + 0x1d8], r8d
movsxd rax, r8d
imul rcx, rax, 0x10624dd3
mov rbx, rcx
shr rbx, 0x3f
sar rcx, 0x26
add ecx, ebx
mov qword [rbp + 0x188], rcx
imul ecx, ecx, 0x3e8
sub eax, ecx
imul eax, eax, 0x3e8
mov dword [rbp + 0x1e0], eax
mov eax, 0x5f97b5c2
mov r14d, 0xf927b769
and dl, 1
mov byte [rbp + 0x215], dl
mov r12d, 0x82bf0231
jmp 0x1400540e0
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x62698ce7
mov ecx, 0x8b99a9ae
cmove eax, ecx
cmp dword [0x14035e154], 0xa
cmovl eax, ecx
nop word cs:[rax + rax]
nop
cmp eax, 0xf34e317
jg 0x140054130
cmp eax, 0xbf144879
jle 0x140054180
cmp eax, 0xdd09c6de
jg 0x14005424c
cmp eax, 0xce765b57
jg 0x140054377
cmp eax, 0xbf14487a
je 0x14005450a
cmp eax, 0xc8bc0721
je 0x140054522
cmp eax, 0xcc88f64e
jne 0x1400540e0
mov eax, 0x5b5796d3
jmp 0x1400540e0
cmp eax, 0x352671e6
jle 0x1400541f0
cmp eax, 0x5f97b5c1
jle 0x1400542a4
cmp eax, 0x79ede0ab
jg 0x1400543a2
cmp eax, 0x5f97b5c2
je 0x140054533
cmp eax, 0x62606b8e
je 0x1400541d6
cmp eax, 0x62698ce7
jne 0x1400540e0
mov eax, 0x8b99a9ae
jmp 0x1400540e0
cmp eax, 0x9fb8bc4c
jle 0x1400542e1
cmp eax, 0xbd28d881
jg 0x1400543dc
cmp eax, 0x9fb8bc4d
je 0x140054554
cmp eax, 0xb2c1c42e
je 0x14005458d
cmp eax, 0xb2e5b8e1
jne 0x1400540e0
mov rax, qword [rbp + 0x200]
mov ecx, dword [rbp + 0x1cc]
mov dword [rax], ecx
mov rax, qword [rbp + 0x200]
mov ecx, dword [rbp + 0x1e0]
mov dword [rax + 4], ecx
mov eax, 0x367fa24c
mov rbx, qword [rbp + 0x200]
jmp 0x1400540e0
cmp eax, 0x25687522
jle 0x140054329
cmp eax, 0x2b701713
jg 0x140054409
cmp eax, 0x25687523
je 0x140054642
cmp eax, 0x29f94dbf
je 0x140054660
cmp eax, 0x2a3ecf6e
jne 0x1400540e0
lea rax, [rbp - 0x80]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov dword [rax], 0
mov eax, 0x452c812b
xor r13d, r13d
jmp 0x1400540e0
cmp eax, 0xf46e2a78
jg 0x140054443
cmp eax, 0xdd09c6df
je 0x140054670
cmp eax, 0xf0663c7f
je 0x140054689
cmp eax, 0xf169de42
jne 0x1400540e0
cmp dword [rbp + 0x1d8], 0
setns byte [rbp + 0x210]
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdbd38fc2
mov ecx, 0xf9ea7f43
jmp 0x1400540c8
cmp eax, 0x452c812a
jle 0x14005446e
cmp eax, 0x452c812b
je 0x1400546b4
cmp eax, 0x529828ff
je 0x1400546dc
cmp eax, 0x5b5796d3
jne 0x1400540e0
mov rax, qword [rbp + 0x198]
mov eax, 0x89d94cc0
jmp 0x1400540e0
cmp eax, 0x89d94cbf
jle 0x14005449d
cmp eax, 0x89d94cc0
je 0x1400546f5
cmp eax, 0x8b99a9ae
je 0x14005470d
cmp eax, 0x9078bb0f
jne 0x1400540e0
mov eax, dword [rbp + 0x1d0]
add eax, 1
mov rcx, qword [rbp + 0x1e8]
mov dword [rcx], eax
mov eax, 0xf0663c7f
jmp 0x1400540e0
cmp eax, 0x172078d8
jle 0x1400544cf
cmp eax, 0x172078d9
je 0x140054736
cmp eax, 0x22ddd2fd
je 0x1400547e2
cmp eax, 0x2525dde5
jne 0x1400540e0
mov eax, dword [rbp + 0x20c]
lea rax, [rax*8 - 0x78]
add rax, rbp
mov qword [rbp + 0x1a0], rax
mov eax, 0xd14e29a3
jmp 0x1400540e0
cmp eax, 0xce765b58
je 0x1400540af
cmp eax, 0xd14e29a3
je 0x1400547ec
cmp eax, 0xdbd38fc2
jne 0x1400540e0
mov eax, 0xf169de42
jmp 0x1400540e0
cmp eax, 0x79ede0ac
je 0x14005480a
cmp eax, 0x7e27ab6b
je 0x14005482e
cmp eax, 0x7fa9fd91
jne 0x1400540e0
mov eax, dword [rbp + 0x20c]
add eax, 1
mov dword [rbp + 0x1d4], eax
mov eax, 0xc8bc0721
jmp 0x1400540e0
cmp eax, 0xbd28d882
je 0x14005483f
cmp eax, 0xbec3642e
je 0x140054858
cmp eax, 0xbef5d256
jne 0x1400540e0
mov eax, 0x367fa24c
xor ebx, ebx
jmp 0x1400540e0
cmp eax, 0x2b701714
je 0x140054872
cmp eax, 0x30d58b0d
je 0x140054890
cmp eax, 0x3366ee1f
jne 0x1400540e0
cmp byte [rbp + 0x216], 0
mov eax, 0x5b5796d3
mov ecx, 0x172078d9
cmovne eax, ecx
jmp 0x1400540e0
cmp eax, 0xf46e2a79
je 0x1400548a7
cmp eax, 0xf814bc49
je 0x1400548d6
cmp eax, 0xf9ea7f43
jne 0x1400540e0
mov eax, 0xdd09c6df
jmp 0x1400540e0
cmp eax, 0x367fa24c
je 0x1400548ef
cmp eax, 0x3f5256c6
jne 0x140054a93
cmp byte [rbp + 0x212], 0
mov eax, 0xf0663c7f
mov ecx, 0xbec3642e
cmovne eax, ecx
jmp 0x1400540e0
cmp eax, 0x80017531
je 0x14005494a
cmp eax, 0x832c8d23
jne 0x1400540e0
lea rax, [rbp - 0x80]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov eax, 0x2a3ecf6e
jmp 0x1400540e0
cmp eax, 0xf34e318
je 0x140054978
cmp eax, 0x130be381
jne 0x1400540e0
mov rax, qword [rbp + 0x190]
mov dword [rax], 0
mov rax, qword [rbp + 0x200]
mov dword [rax + 4], 0
mov eax, 0x9fb8bc4d
jmp 0x1400540e0
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x190], rax
mov eax, 0x25687523
jmp 0x1400540e0
mov eax, 0x452c812b
mov r13d, dword [rbp + 0x1d4]
jmp 0x1400540e0
mov eax, select
call fcn.1402e5fd0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x200], rax
mov eax, 0xce765b58
jmp 0x1400540e0
mov rax, qword [rbp + 0x190]
mov dword [rax], 0
mov rax, qword [rbp + 0x200]
mov dword [rax + 4], 0
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x130be381
mov ecx, 0x62606b8e
jmp 0x1400540c8
mov eax, dword [0x14035dff8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete byte [rbp + 0x217]
mov ecx, dword [0x14035dffc]
mov eax, 0xab16c8e1
cmove eax, r14d
cmp ecx, 0xa
setl byte [rbp + 0x1f8]
cmovl eax, r14d
mov ecx, 0x2334ec52
nop word cs:[rax + rax]
nop
cmp ecx, 0xe40631bc
jle 0x140054620
cmp ecx, 0xe40631bd
je 0x140054991
cmp ecx, 0xf927b769
je 0x140054637
cmp ecx, 0x2334ec52
jne 0x1400545d0
movzx edx, byte [rbp + 0x217]
cmp byte [rbp + 0x1f8], 0
mov ecx, 0xab16c8e1
cmovne ecx, r12d
test dl, dl
cmovne ecx, r12d
jmp 0x1400545d0
cmp ecx, 0x82bf0231
je 0x14005463e
cmp ecx, 0xab16c8e1
jne 0x1400545d0
mov ecx, 0x82bf0231
jmp 0x1400545d0
mov ecx, 0xe40631bd
jmp 0x1400545d0
mov ecx, eax
jmp 0x1400545d0
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x130be381
mov ecx, 0x9fb8bc4d
jmp 0x1400540c8
mov eax, 0x352671e7
mov r15d, 0xffffffff
jmp 0x1400540e0
cmp byte [rbp + 0x210], 0
mov eax, 0x22ddd2fd
mov ecx, 0x30d58b0d
cmovne eax, ecx
jmp 0x1400540e0
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov al, byte [rbp + 0x215]
mov byte [rbp + 0x216], al
mov eax, 0xbd28d882
jmp 0x1400540e0
mov dword [rbp + 0x20c], r13d
mov rax, qword [rbp + 0x1e8]
mov ecx, dword [rbp + 0x20c]
cmp ecx, dword [rax]
mov eax, 0x80017531
mov ecx, 0x2525dde5
cmovb eax, ecx
jmp 0x1400540e0
cmp byte [rbp + 0x211], 0
mov eax, 0xf0663c7f
mov ecx, 0x79ede0ac
cmovne eax, ecx
jmp 0x1400540e0
mov rax, qword [rbp + 0x1a8]
mov eax, 0x352671e7
mov r15d, dword [rbp + 0x1f4]
jmp 0x1400540e0
cmp rdi, 0xffffffffffffffff
sete byte [rbp + 0x214]
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x62698ce7
mov ecx, 0xf814bc49
jmp 0x1400540c8
mov eax, dword [0x14035dff8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete byte [rbp + 0x217]
mov ecx, dword [0x14035dffc]
mov eax, 0xab16c8e1
cmove eax, r14d
cmp ecx, 0xa
setl byte [rbp + 0x1f8]
cmovl eax, r14d
mov ecx, 0x2334ec52
nop
cmp ecx, 0xe40631bc
jle 0x1400547c0
cmp ecx, 0xe40631bd
je 0x1400549f9
cmp ecx, 0xf927b769
je 0x1400547d7
cmp ecx, 0x2334ec52
jne 0x140054770
movzx edx, byte [rbp + 0x217]
cmp byte [rbp + 0x1f8], 0
mov ecx, 0xab16c8e1
cmovne ecx, r12d
test dl, dl
cmovne ecx, r12d
jmp 0x140054770
cmp ecx, 0x82bf0231
je 0x1400547de
cmp ecx, 0xab16c8e1
jne 0x140054770
mov ecx, 0x82bf0231
jmp 0x140054770
mov ecx, 0xe40631bd
jmp 0x140054770
mov ecx, eax
jmp 0x140054770
mov eax, 0xbef5d256
jmp 0x1400540e0
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7e27ab6b
mov ecx, 0xf46e2a79
jmp 0x1400540c8
mov eax, dword [rbp + 0x20c]
mov qword [rbp + rax*8 - 0x78], rdi
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax]
mov dword [rbp + 0x1d0], eax
mov eax, 0x9078bb0f
jmp 0x1400540e0
mov rax, qword [rbp + 0x1a0]
mov eax, 0xf46e2a79
jmp 0x1400540e0
cmp byte [rbp + 0x216], 0
mov eax, 0x2b701714
mov ecx, 0xbf14487a
cmovne eax, ecx
jmp 0x1400540e0
mov eax, dword [rbp + 0x1e4]
cmp eax, 0x40
setb byte [rbp + 0x211]
mov eax, 0x529828ff
jmp 0x1400540e0
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xdbd38fc2
mov ecx, 0xf169de42
jmp 0x1400540c8
mov rax, qword [rbp + 0x188]
mov dword [rbp + 0x1cc], eax
mov eax, 0xb2e5b8e1
jmp 0x1400540e0
mov rax, qword [rbp + 0x1a0]
cmp qword [rax], rdi
sete byte [rbp + 0x213]
mov eax, dword [0x14035e150]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7e27ab6b
mov ecx, 0xf34e318
jmp 0x1400540c8
cmp byte [rbp + 0x214], 0
mov eax, 0x832c8d23
mov ecx, 0xb2c1c42e
cmovne eax, ecx
jmp 0x1400540e0
sub rsp, 0x30
mov qword [rsp + 0x20], rbx
mov ecx, dword [rbp + 0x1dc]
lea rdx, [rbp - 0x80]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x30
mov dword [rbp + 0x1f4], eax
mov edx, dword [rbp + 0x1f4]
sub rsp, 0x20
shr edx, 0x1f
mov rcx, rsi
call fcn.14004d100
add rsp, 0x20
cmp dword [rbp + 0x1f4], 0
mov eax, 0x5b5796d3
mov ecx, 0x3366ee1f
cmove eax, ecx
jmp 0x1400540e0
mov rax, qword [rbp + 0x1e8]
mov eax, dword [rax]
mov dword [rbp + 0x1e4], eax
mov eax, dword [rbp + 0x1e4]
mov ecx, dword [rbp + 0x20c]
cmp ecx, eax
sete byte [rbp + 0x212]
mov eax, 0x3f5256c6
jmp 0x1400540e0
cmp byte [rbp + 0x213], 0
mov eax, 0x7fa9fd91
mov ecx, 0x80017531
cmovne eax, ecx
jmp 0x1400540e0
lea rax, [0x140352178]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x1f8], rax
mov eax, 0x81f06290
nop word cs:[rax + rax]
nop dword [rax]
cmp eax, 0xdf872f88
je 0x140054a55
cmp eax, 0x81f06290
jne 0x1400549c0
mov r8, qword [rbp + 0x1f8]
sub rsp, 0x20
lea rcx, [rbp + 0x1b0]
mov edx, 0x2719
call fcn.14004d720
add rsp, 0x20
mov eax, 0xdf872f88
jmp 0x1400549c0
lea rax, [0x140352178]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x1f8], rax
mov eax, 0x81f06290
nop word [rax + rax]
cmp eax, 0xdf872f88
je 0x140054a74
cmp eax, 0x81f06290
jne 0x140054a20
mov r8, qword [rbp + 0x1f8]
sub rsp, 0x20
lea rcx, [rbp + 0x1b0]
mov edx, 0x2733
call fcn.14004d720
add rsp, 0x20
mov eax, 0xdf872f88
jmp 0x140054a20
mov rax, qword [rbp + 0x1c0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0x1b0]
movups xmmword [rsi], xmm0
mov eax, 0x29f94dbf
jmp 0x1400540e0
mov rax, qword [rbp + 0x1c0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0x1b0]
movups xmmword [rsi], xmm0
mov eax, 0xcc88f64e
jmp 0x1400540e0
cmp eax, 0x352671e7
jne 0x1400540e0
mov eax, r15d
lea rsp, [rbp + 0x218]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret