Function at 0x10062ef0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 8
call fcn.1011d0a0
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 1
mov dword [esp + 8], 4
cmp esi, 0xffffffff
jne 0x10062f39
push 0xa0
push str.crypto_bio_b_sock2.c
push 0x87
push 0x8b
push 0x20
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x14
xor eax, eax
pop esi
add esp, 8
ret
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push 0x1008
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x10063133
cmp dword [esp + 8], 4
jne 0x10063133
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 3
and eax, 1
push eax
push esi
call sym.libcrypto_1_1.dll_CIO_socket_nbio
add esp, 8
test eax, eax
jne 0x10062f88
pop ebx
pop esi
add esp, 8
ret
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x10062fd4
push 4
lea eax, [esp + 0x10]
push eax
push 8
push 0xffff
push esi
call ebp
test eax, eax
je 0x10062fd4
push 0xbe
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xe
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xbf
push str.crypto_bio_b_sock2.c
push 0x89
jmp 0x10063014
test bl, 0x10
je 0x1006302c
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push esi
call ebp
test eax, eax
je 0x1006302c
push 0xc6
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xe
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xc7
push str.crypto_bio_b_sock2.c
push 0x8a
push 0x8b
push 0x20
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x28
xor eax, eax
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
mov edi, dword [esp + 0x20]
push edi
call sym.libcrypto_1_1.dll_CIO_ADDR_family
add esp, 4
cmp eax, 0x17
jne 0x10063088
push 4
lea eax, [esp + 0x14]
shr ebx, 1
push eax
push 0x1b
push 0x29
and ebx, 1
push esi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
je 0x10063088
push 0xd4
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xe
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xd5
push str.crypto_bio_b_sock2.c
push 0x88
jmp 0x1006310d
push edi
call fcn.10060620
add esp, 4
push eax
push edi
call sym.libcrypto_1_1.dll_C509_REVOKED_get0_serialNumber
add esp, 4
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x100630cf
push 0xdc
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 6
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xdd
push str.crypto_bio_b_sock2.c
push 0x75
jmp 0x1006310d
cmp dword [esp + 0x1c], 2
je 0x10063126
push closesocket
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x10063126
push 0xe2
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 7
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xe3
push str.crypto_bio_b_sock2.c
push 0x77
push 0x8b
push 0x20
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x28
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
push 0xa6
push str.crypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0xf
push 2
call sym.libcrypto_1_1.dll_CRR_put_error
push 0xa7
push str.crypto_bio_b_sock2.c
push 0x86
push 0x8b
push 0x20
call sym.libcrypto_1_1.dll_CRR_put_error
add esp, 0x28
xor eax, eax
pop esi
add esp, 8
ret