Function at 0x6b430830
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], 1
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
mov esi, dword [esp + 0x48]
cmp ebx, 0xffffffff
je 0x6b4309b0
mov eax, esi
mov dword [esp], ebx
shr eax, 3
and eax, 1
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BIO_socket_nbio
test eax, eax
je 0x6b4309a0
test esi, 4
jne 0x6b430910
and esi, 0x10
je 0x6b4308bf
lea eax, [esp + 0x28]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
jne 0x6b430a60
mov dword [esp], edi
call sym._BIO_ADDR_sockaddr_size
mov dword [esp], edi
mov esi, eax
call sym._BIO_ADDR_sockaddr
mov dword [esp], ebx
mov ebx, 1
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_connect]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6b4309e8
mov eax, dword [esp + 0x2c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b430ac1
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
lea eax, [esp + 0x28]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 8
mov dword [esp + 4], 0xffff
mov dword [esp], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
je 0x6b430886
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x5c
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], eax
mov dword [esp + 4], 0xe
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x5d
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], 0x89
mov dword [esp + 4], 0x8a
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
nop
xor ebx, ebx
jmp 0x6b4308f3
mov dword [esp + 0x10], 0x52
xor ebx, ebx
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], 0x87
mov dword [esp + 4], 0x8a
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4308f3
mov dword [esp], 0xffffffff
call sym.libcrypto_1_1.dll_BIO_sock_should_retry
mov ebx, eax
test eax, eax
jne 0x6b4309a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x6e
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x6f
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], 0x67
mov dword [esp + 4], 0x8a
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4308f3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], 0x65
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 4], 0xe
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x10], 0x66
mov dword [esp + 0xc], str.crypto_bio_b_sock2.c
mov dword [esp + 8], 0x8a
mov dword [esp + 4], 0x8a
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b4308f3
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]