Function at 0x1402024e2
Capabilities:
Get socket status

Disassembly:
jmp 0x14043ced0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x968
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x18e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x988]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0x920], rax
lea rcx, [0x142007a91]
call fcn.140205606
xor ecx, ecx
call fcn.14043fe70
mov qword [rbp + 0x588], rax
mov dword [rbp + 0xc4], 0
mov dword [rbp + 0xe4], 0
call fcn.1401fd6c2
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x950]
add rax, 0x30
mov qword [rbp + 0x918], rax
xor edx, edx
mov rcx, qword [rbp + 0x918]
call fcn.1401fb818
mov rax, qword [rbp + 0x950]
add rax, 0x30
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1402063d5
mov rdx, rax
mov rcx, qword [rbp + 0x918]
call fcn.1401f834d
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1401fbda9
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1402064b6
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 8], rax
je 0x14043d179
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140200ec6
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x84]
cmp rax, 0xffffffffffffffff
jne 0x14043d06e
mov rax, qword [rbp + 0x950]
add rax, 0x58
mov qword [rbp + 0x918], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x918]
call fcn.1401ff8aa
mov rax, qword [rbp + 0x950]
add rax, 8
mov qword [rbp + 0x918], rax
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x918]
call fcn.1401fe80b
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1402064b6
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x950]
call fcn.1401fe83d
jmp 0x14043cfc9
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e74]
test eax, eax
jne 0x14043d168
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e76]
test eax, eax
jne 0x14043d168
mov rcx, qword [rbp + 0x68]
call fcn.1402020f5
mov dword [rbp + 0x914], eax
cmp dword [rbp + 0x914], 1
je 0x14043d0c7
cmp dword [rbp + 0x914], 2
je 0x14043d0f9
cmp dword [rbp + 0x914], 0x66
je 0x14043d12b
cmp dword [rbp + 0x914], 0x68
je 0x14043d134
mov rax, qword [rbp + 0x68]
add rax, 0x19e78
mov qword [rbp + 0x918], rax
mov r8d, 0xfa
mov rdx, qword [rbp + 0x5e8]
mov rcx, qword [rbp + 0x918]
call fcn.140201f06
mov byte [rbp + 0x5c4], al
jmp 0x14043d13b
mov rax, qword [rbp + 0x68]
add rax, 0x19e78
mov qword [rbp + 0x918], rax
mov r8d, 0x1f4
mov rdx, qword [rbp + 0x5e8]
mov rcx, qword [rbp + 0x918]
call fcn.140201f06
mov byte [rbp + 0x5c4], al
jmp 0x14043d13b
mov byte [rbp + 0x5c4], 1
jmp 0x14043d13b
mov byte [rbp + 0x5c4], 1
movzx eax, byte [rbp + 0x5c4]
test eax, eax
je 0x14043d168
mov rax, qword [rbp + 0x950]
add rax, 0x30
mov qword [rbp + 0x918], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x918]
call fcn.1401ff8aa
mov rax, qword [rbp + 8]
add rax, 8
mov qword [rbp + 8], rax
jmp 0x14043cfc9
mov rax, qword [rbp + 0x950]
add rax, 0x30
mov rcx, rax
call fcn.1401fbda9
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x950]
add rax, 0x30
mov rcx, rax
call fcn.1402064b6
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 8], rax
je 0x14043d476
mov dword [rbp + 0x5a4], 0
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0x110], 0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x14043d313
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x28]
add rax, 8
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e76]
test eax, eax
jne 0x14043d30e
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e74]
test eax, eax
jne 0x14043d30e
mov rcx, qword [rbp + 0x68]
call fcn.140200ec6
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x84]
cmp rax, 0xffffffffffffffff
je 0x14043d30e
mov dword [rbp + 0x604], 0
jmp 0x14043d26e
mov eax, dword [rbp + 0x604]
inc eax
mov dword [rbp + 0x604], eax
mov eax, dword [rbp + 0x110]
cmp dword [rbp + 0x604], eax
jae 0x14043d297
mov eax, dword [rbp + 0x604]
movsxd rcx, dword [rbp + 0x84]
cmp qword [rbp + rax*8 + 0x118], rcx
jne 0x14043d295
jmp 0x14043d297
jmp 0x14043d260
mov eax, dword [rbp + 0x110]
cmp dword [rbp + 0x604], eax
jne 0x14043d2d1
cmp dword [rbp + 0x110], 0x40
jae 0x14043d2d1
movsxd rax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0x604]
mov qword [rbp + rcx*8 + 0x118], rax
mov eax, dword [rbp + 0x110]
inc eax
mov dword [rbp + 0x110], eax
xor eax, eax
test eax, eax
jne 0x14043d254
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0xa4], eax
jge 0x14043d2f5
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0x5a4]
inc eax
mov dword [rbp + 0x5a4], eax
cmp dword [rbp + 0x5a4], 0x40
jl 0x14043d30e
jmp 0x14043d313
jmp 0x14043d1db
cmp dword [rbp + 0x5a4], 0
jle 0x14043d469
mov rax, qword [rbp + 0x950]
mov eax, dword [rax + 0x8c]
add eax, dword [rbp + 0x5a4]
mov rcx, qword [rbp + 0x950]
mov dword [rcx + 0x8c], eax
mov r8d, 0x208
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x340]
call fcn.1401fe76b
mov dword [rbp + 0x568], 0
mov dword [rbp + 0x56c], 0
cmp dword [rbp + 0xa4], 0
jl 0x14043d469
mov eax, dword [rbp + 0xa4]
inc eax
lea rcx, [rbp + 0x568]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x340]
lea rdx, [rbp + 0x110]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x14043d469
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
je 0x14043d469
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 8]
add rax, 8
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140200ec6
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x84]
cmp rax, 0xffffffffffffffff
je 0x14043d464
movsxd rax, dword [rbp + 0x84]
lea rdx, [rbp + 0x110]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x14043d431
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e74]
inc ax
mov rcx, qword [rbp + 0x68]
mov word [rcx + 0x19e74], ax
movsxd rax, dword [rbp + 0x84]
lea rdx, [rbp + 0x340]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x14043d464
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e76]
inc ax
mov rcx, qword [rbp + 0x68]
mov word [rcx + 0x19e76], ax
jmp 0x14043d3af
mov rax, qword [rbp + 0x28]
mov qword [rbp + 8], rax
jmp 0x14043d1a7
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1401fbda9
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1402064b6
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 8], rax
je 0x14043d5ad
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e74]
test eax, eax
jle 0x14043d4e5
mov rcx, qword [rbp + 0x68]
call fcn.14020494f
movzx eax, al
test eax, eax
je 0x14043d4e5
mov rcx, qword [rbp + 0x68]
call fcn.140204512
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x19e76]
test eax, eax
jle 0x14043d51f
mov rcx, qword [rbp + 0x68]
call fcn.14020494f
movzx eax, al
test eax, eax
je 0x14043d51f
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x588]
mov qword [rax + 0x197a8], rcx
mov rcx, qword [rbp + 0x68]
call fcn.1402055d4
mov rcx, qword [rbp + 0x68]
call fcn.14020494f
movzx eax, al
test eax, eax
jne 0x14043d59c
mov rax, qword [rbp + 0x950]
add rax, 0x58
mov qword [rbp + 0x918], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x918]
call fcn.1401ff8aa
mov rax, qword [rbp + 0x950]
add rax, 8
mov qword [rbp + 0x918], rax
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x918]
call fcn.1401fe80b
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x950]
add rax, 8
mov rcx, rax
call fcn.1402064b6
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x950]
call fcn.1401fe83d
jmp 0x14043d5a8
mov rax, qword [rbp + 8]
add rax, 8
mov qword [rbp + 8], rax
jmp 0x14043d4a4
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140202ef1
mov rcx, qword [rbp + 0x920]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0x938]
pop rdi
pop rbp
ret