Function at 0x452440
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push esi
push ebx
sub esp, 0x34
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], 1
cmp ebx, 0xffffffff
je 0x452508
mov eax, esi
mov dword [esp], ebx
shr eax, 3
and eax, 1
mov dword [esp + 4], eax
call fcn.00452090
test eax, eax
je 0x452545
test esi, 4
jne 0x452550
and esi, 0x10
je 0x4524bf
lea eax, [esp + 0x2c]
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.WSOCK32.DLL_setsockopt]
sub esp, 0x14
test eax, eax
jne 0x4526b0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00583d30
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00583d10
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.WSOCK32.DLL_connect]
mov edx, eax
sub esp, 0xc
mov eax, 1
cmp edx, 0xffffffff
je 0x452610
add esp, 0x34
pop ebx
pop esi
ret
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x54
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
mov dword [esp + 8], 0
mov dword [esp + 4], 0x87
mov dword [esp], 0x20
call fcn.0049b230
xor eax, eax
add esp, 0x34
pop ebx
pop esi
ret
lea eax, [esp + 0x2c]
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.WSOCK32.DLL_setsockopt]
sub esp, 0x14
test eax, eax
je 0x452486
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x5e
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [esp + 8], str.calling_setsockopt__
mov dword [esp + 4], eax
mov dword [esp], 2
call fcn.0049b230
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x60
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
mov dword [esp + 8], 0
mov dword [esp + 4], 0x89
mov dword [esp], 0x20
call fcn.0049b230
xor eax, eax
jmp 0x452547
mov dword [esp], 0xffffffff
call fcn.00454740
test eax, eax
jne 0x452545
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x72
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [esp + 8], str.calling_connect__
mov dword [esp + 4], eax
mov dword [esp], 2
call fcn.0049b230
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x74
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
mov dword [esp + 8], 0
mov dword [esp + 4], 0x67
mov dword [esp], 0x20
call fcn.0049b230
xor eax, eax
jmp 0x452547
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x68
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [esp + 8], str.calling_setsockopt__
mov dword [esp + 4], eax
mov dword [esp], 2
call fcn.0049b230
call fcn.0049b030
mov dword [esp + 8], str.BIO_connect
mov dword [esp + 4], 0x6a
mov dword [esp], str..._crypto_bio_bio_sock2.c
call fcn.0049b150
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8a
mov dword [esp], 0x20
call fcn.0049b230
xor eax, eax
jmp 0x452547