Function at 0x48d0a0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x527e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0xc0], ebx
mov eax, dword [0x569c90]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
push ecx
call fcn.004231f0
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_s
push ecx
mov byte [esp + 0x2c], 1
call fcn.005054dc
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call fcn.00507d3a
mov eax, dword [0x570844]
cmp eax, ebx
jne 0x48d13e
push 1
push 0x8015
mov ecx, edi
call fcn.0048aa50
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x570844], eax
jne 0x48d13e
push 2
push 0x154d
jmp 0x48d4d4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SSL_CreateClientEx
push eax
call esi
mov dword [edi + 0xe0], eax
mov eax, dword [0x570844]
push str.SSL_Connect
push eax
call esi
mov dword [edi + 0xcc], eax
mov ecx, dword [0x570844]
push str.SSL_ShutDown
push ecx
call esi
mov dword [edi + 0xd4], eax
mov edx, dword [0x570844]
push str.SSL_Read
push edx
call esi
mov dword [edi + 0xd8], eax
mov eax, dword [0x570844]
push str.SSL_Write
push eax
call esi
mov dword [edi + 0xdc], eax
mov ecx, dword [0x570844]
push str.SSL_ShouldRetry
push ecx
call esi
mov dword [edi + 0xe4], eax
mov edx, dword [0x570844]
push str.SSL_SetClientCert
push edx
call esi
mov dword [0x570808], eax
mov eax, dword [0x570844]
push str.SSL_verify_callback
push eax
call esi
mov ecx, dword [0x570844]
push str.SSL_verify_func
push ecx
mov dword [0x57080c], eax
call esi
mov edx, dword [0x570844]
push str.SSL_GetCertInfo
push edx
mov dword [0x570810], eax
call esi
mov dword [0x570814], eax
mov eax, dword [0x570844]
push str.SSL_SaveStore
push eax
call esi
mov ecx, dword [0x570844]
push str.SSL_StorePeerCert
push ecx
mov dword [0x570818], eax
call esi
mov edx, dword [0x570844]
push str.SSL_GetServerCert
push edx
mov dword [0x57081c], eax
call esi
mov dword [edi + 0xe8], eax
mov eax, dword [0x570844]
push str.SSL_GetSocketBySSL
push eax
call esi
mov ecx, dword [0x570844]
push str.SSL_GetSocketByStoreCTX
push ecx
mov dword [0x570820], eax
call esi
mov edx, dword [0x570844]
push str.SSL_Init
push edx
mov dword [0x570824], eax
call esi
mov dword [0x57083c], eax
mov eax, dword [0x570844]
push str.SSL_Destroy
push eax
call esi
mov ecx, dword [0x570844]
push str.cert_info_st_FREE
push ecx
mov dword [0x570840], eax
call esi
mov edx, dword [0x570844]
push str.SSL_Delete
push edx
mov dword [0x570828], eax
call esi
mov dword [0x57082c], eax
mov eax, dword [0x570844]
push str.SSL_X509Free
push eax
call esi
mov ecx, dword [0x570844]
push str.SSL_GetCurrentCipher
push ecx
mov dword [0x570830], eax
call esi
mov dword [edi + 0xec], eax
mov edx, dword [0x570844]
push str.SSL_CheckCertValid
push edx
call esi
mov dword [edi + 0xf0], eax
mov eax, dword [0x570844]
push str.SSL_ConnectEx
push eax
call esi
mov dword [edi + 0xd0], eax
mov ecx, dword [0x570844]
push str.SSL_X509_GetEncodedBuffer
push ecx
call esi
mov edx, dword [0x570844]
push str.SSL_X509_FreeEncodedBuffer
push edx
mov dword [0x570834], eax
call esi
mov dword [0x570838], eax
mov ecx, dword [edi + 0xcc]
cmp ecx, ebx
pop esi
je 0x48d4cd
cmp dword [edi + 0xd4], ebx
je 0x48d4cd
cmp dword [edi + 0xe0], ebx
je 0x48d4cd
cmp dword [edi + 0xd8], ebx
je 0x48d4cd
cmp dword [edi + 0xdc], ebx
je 0x48d4cd
cmp dword [edi + 0xe4], ebx
je 0x48d4cd
cmp dword [0x570808], ebx
je 0x48d4cd
cmp dword [0x57080c], ebx
je 0x48d4cd
cmp dword [0x570810], ebx
je 0x48d4cd
cmp dword [0x570814], ebx
je 0x48d4cd
cmp dword [0x570818], ebx
je 0x48d4cd
cmp dword [0x57081c], ebx
je 0x48d4cd
cmp dword [edi + 0xe8], ebx
je 0x48d4cd
cmp dword [0x570820], ebx
je 0x48d4cd
cmp dword [0x570824], ebx
je 0x48d4cd
cmp dword [0x57083c], ebx
je 0x48d4cd
cmp dword [0x570840], ebx
je 0x48d4cd
cmp dword [0x570828], ebx
je 0x48d4cd
cmp dword [0x57082c], ebx
je 0x48d4cd
cmp dword [0x570830], ebx
je 0x48d4cd
cmp dword [edi + 0xec], ebx
je 0x48d4cd
cmp dword [edi + 0xf0], ebx
je 0x48d4cd
cmp dword [0x570834], ebx
je 0x48d4cd
cmp eax, ebx
je 0x48d4cd
mov eax, dword [0x570848]
mov ecx, eax
inc eax
test ecx, ecx
mov dword [0x570848], eax
jne 0x48d49a
push 0x5707b4
mov dword [esp + 0x24], 0x5707ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov byte [esp + 0x1c], 2
call dword [0x57083c]
add esp, 4
mov ecx, 0x5707ac
test eax, eax
mov byte [esp + 0x18], bl
je 0x48d490
mov dword [edi + 0xc0], 1
mov edx, dword [0x5707ac]
call dword [edx + 0x14]
jmp 0x48d4a4
mov eax, dword [0x5707ac]
call dword [eax + 0x14]
jmp 0x48d4db
mov dword [edi + 0xc0], 1
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00507d3a
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push 2
push 0x154e
mov ecx, edi
call fcn.0048aa50
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4