Function at 0x43d9d0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x170
call fcn.004403c0
mov eax, dword [0x470324]
xor eax, esp
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
push ebx
mov dword [esp + 0x28], eax
mov ebx, 1
mov eax, dword [esp + 0x190]
push ebp
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x198]
push esi
mov esi, dword [esp + 0x188]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0xc], 0
call sub.libcrypto_1_1.dll_BIO_sock_init
cmp eax, ebx
je 0x43da59
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.004403ed
add esp, 0x170
ret
push edi
mov edi, dword [esp + 0x194]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x19c]
push edi
push dword [esp + 0x19c]
push 1
push esi
push dword [esp + 0x4c]
call sub.libcrypto_1_1.dll_BIO_lookup_ex
add esp, 0x1c
test eax, eax
jne 0x43da9d
push dword [0x4703fc]
call sub.libcrypto_1_1.dll_ERR_print_errors
add esp, 4
xor eax, eax
jmp 0x43de99
mov esi, dword [esp + 0x190]
test esi, esi
je 0x43dab8
push dword [esp + 0x10]
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_family
add esp, 4
cmp esi, eax
jne 0x43dae7
test edi, edi
je 0x43dacc
push dword [esp + 0x10]
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_socktype
add esp, 4
cmp edi, eax
jne 0x43dae7
mov esi, dword [esp + 0x198]
test esi, esi
je 0x43dafe
push dword [esp + 0x10]
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_protocol
add esp, 4
cmp esi, eax
je 0x43dafe
push 0xe9
push str.apps_s_socket.c
push str.assertion_failed:__family__AF_UNSPEC__family__BIO_ADDRINFO_family_res_____type__0__type__BIO_ADDRINFO_socktype_res_____protocol__0__protocol__BIO_ADDRINFO_protocol_res__
call sub.libcrypto_1_1.dll_OPENSSL_die
add esp, 0xc
push dword [esp + 0x10]
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_family
push dword [esp + 0x14]
mov edi, eax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_socktype
push dword [esp + 0x18]
mov dword [esp + 0x30], eax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_protocol
push dword [esp + 0x1c]
mov dword [esp + 0x30], eax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_address
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_next
add esp, 0x14
mov esi, eax
cmp edi, 0x17
mov eax, 3
cmove ebx, eax
test esi, esi
je 0x43dba9
push esi
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_socktype
add esp, 4
cmp eax, dword [esp + 0x24]
jne 0x43dba9
push esi
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_protocol
add esp, 4
cmp eax, dword [esp + 0x20]
jne 0x43dba9
cmp edi, 2
jne 0x43db8d
push esi
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_family
add esp, 4
cmp eax, 0x17
jne 0x43dba9
push esi
mov edi, eax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_address
add esp, 4
mov esi, eax
jmp 0x43dbad
cmp edi, 0x17
jne 0x43dba9
push esi
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_family
mov esi, dword [esp + 0x18]
add esp, 4
cmp eax, 2
jne 0x43dbad
and ebx, 0xfffffffd
jmp 0x43dbad
mov esi, dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push dword [esp + 0x2c]
push edi
call sub.libcrypto_1_1.dll_BIO_socket
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x43de41
push ebx
push esi
push edi
call sub.libcrypto_1_1.dll_BIO_listen
add esp, 0xc
test eax, eax
je 0x43de41
push esi
call sub.libcrypto_1_1.dll_BIO_ADDR_rawport
push dword [esp + 0x14]
movzx esi, ax
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_free
add esp, 8
mov dword [esp + 0x10], 0
test esi, esi
jne 0x43dcda
xor ebp, ebp
xor ebx, ebx
call sub.libcrypto_1_1.dll_BIO_ADDR_new
mov dword [esp + 0x14], eax
test eax, eax
je 0x43dc82
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call sub.libcrypto_1_1.dll_BIO_sock_info
add esp, 0xc
test eax, eax
je 0x43dc82
push 1
push dword [esp + 0x18]
call sub.libcrypto_1_1.dll_BIO_ADDR_hostname_string
mov esi, eax
add esp, 8
test esi, esi
je 0x43dc82
push 1
push dword [esp + 0x18]
call sub.libcrypto_1_1.dll_BIO_ADDR_service_string
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43dc82
push ebp
push esi
push 0x3a
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov edx, str.ACCEPT___s_:_s_n
test eax, eax
mov ecx, str.ACCEPT__s:_s_n
cmovne ecx, edx
push ecx
push dword [esp + 0x34]
call sub.libcrypto_1_1.dll_BIO_printf
add esp, 0x10
mov ecx, 1
test eax, eax
cmovg ebx, ecx
push 0
push 0
push 0xb
push dword [esp + 0x34]
call sub.libcrypto_1_1.dll_BIO_ctrl
push 0x134
push str.apps_s_socket.c
push esi
call sub.libcrypto_1_1.dll_CRYPTO_free
push 0x135
push str.apps_s_socket.c
push ebp
call sub.libcrypto_1_1.dll_CRYPTO_free
push dword [esp + 0x3c]
call sub.libcrypto_1_1.dll_BIO_ADDR_free
add esp, 0x2c
test ebx, ebx
jne 0x43dcf4
push edi
call sub.libcrypto_1_1.dll_BIO_closesocket
push dword [0x4703fc]
call sub.libcrypto_1_1.dll_ERR_print_errors
add esp, 8
jmp 0x43de66
push str.ACCEPT_n
push ebp
call sub.libcrypto_1_1.dll_BIO_printf
push 0
push 0
push 0xb
push ebp
call sub.libcrypto_1_1.dll_BIO_ctrl
add esp, 0x18
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43dcfe
mov dword [eax], edi
mov ebp, dword [esp + 0x1a4]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov eax, dword [esp + 0x194]
cmp eax, 1
jne 0x43ddf6
push dword [0x471794]
call sub.libcrypto_1_1.dll_BIO_ADDR_free
add esp, 4
call sub.libcrypto_1_1.dll_BIO_ADDR_new
mov dword [0x471794], eax
test eax, eax
je 0x43dcc1
nop dword [eax]
push 0
push eax
push edi
call sub.libcrypto_1_1.dll_BIO_accept_ex
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x43dd6a
push esi
call sub.libcrypto_1_1.dll_BIO_sock_should_retry
add esp, 4
test eax, eax
je 0x43de2b
mov eax, dword [0x471794]
jmp 0x43dd40
push 1
push esi
call sub.libcrypto_1_1.dll_BIO_set_tcp_ndelay
push dword [esp + 0x20]
push dword [esp + 0x1a4]
push 1
push esi
call dword [esp + 0x48]
add esp, 0x18
mov dword [esp + 0x1c], eax
push 1
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
mov dword [esp + 0x28], 0
lea ebx, [esi + 1]
mov dword [esp + 0x2c], 0x7a120
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], esi
push eax
push 0
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 1
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x43dde3
push 0
push 0x40
lea eax, [esp + 0x144]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x43dda7
push esi
call sub.libcrypto_1_1.dll_BIO_closesocket
mov ebx, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x18]
jmp 0x43de09
push esi
push dword [esp + 0x19c]
push eax
push edi
call dword [esp + 0x40]
add esp, 0x10
mov ebx, eax
cmp ebp, 0xffffffff
lea eax, [ebp - 1]
cmove eax, ebp
mov ebp, eax
test ebx, ebx
js 0x43de20
test ebp, ebp
jne 0x43dd10
push edi
call sub.libcrypto_1_1.dll_BIO_closesocket
add esp, 4
jmp 0x43de68
push dword [0x4703fc]
call sub.libcrypto_1_1.dll_ERR_print_errors
push edi
call sub.libcrypto_1_1.dll_BIO_closesocket
add esp, 8
jmp 0x43de66
push dword [esp + 0x10]
call sub.libcrypto_1_1.dll_BIO_ADDRINFO_free
push dword [0x4703fc]
call sub.libcrypto_1_1.dll_ERR_print_errors
add esp, 8
cmp edi, 0xffffffff
je 0x43de66
push edi
call sub.libcrypto_1_1.dll_BIO_closesocket
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x190], 1
jne 0x43de7f
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
add esp, 4
push dword [0x471794]
call sub.libcrypto_1_1.dll_BIO_ADDR_free
add esp, 4
mov dword [0x471794], 0
mov eax, ebx
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004403ed
add esp, 0x170
ret