Function at 0x5db920
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668610
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
xor edi, edi
cmp dword [0x75f8d0], edi
jne 0x5db97f
mov dword [ebp - 4], edi
push 0x75f840
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x75f8d0], edi
je 0x5db986
push 0x75f840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x5dbc69
cmp dword [0x75f8cc], edi
jne 0x5dba0a
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc58]
cmp eax, edi
jne 0x5db9ac
mov eax, 0x75dc5c
push edi
push eax
push str._slibcrypto.dll
lea ecx, [ebp - 0x20]
call fcn.004021a0
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x5db9c5
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x75f8cc], eax
cmp eax, edi
jne 0x5db9fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push 0x75f840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, 0x7588
jmp 0x5dbc69
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
xor bl, bl
push str.ERR_get_error
mov ecx, dword [0x75f8cc]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x75f87c], eax
cmp eax, edi
jne 0x5dba2b
mov bl, 1
cmp dword [0x75f8c8], edi
jne 0x5dbac9
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
xor edx, edx
mov word [ebp - 0x28], dx
mov byte [ebp - 4], 2
mov eax, dword [0x75dc58]
cmp eax, edi
jne 0x5dba55
mov eax, 0x75dc5c
push edi
push eax
push str._slibssl.dll
lea ecx, [ebp - 0x2c]
call fcn.004021a0
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x5dba6e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x75f8c8], eax
cmp eax, edi
jne 0x5dbabd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov edx, dword [0x75f8cc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x75f8cc], edi
push 0x75f840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov eax, 0x7588
jmp 0x5dbc69
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
push str.SSL_new
mov eax, dword [0x75f8c8]
push eax
call esi
mov dword [0x75f8a8], eax
cmp eax, edi
jne 0x5dbae1
mov bl, 1
push str.SSL_CTX_new
mov ecx, dword [0x75f8c8]
push ecx
call esi
mov dword [0x75f8a4], eax
cmp eax, edi
jne 0x5dbafa
mov bl, 1
push str.TLS_method
mov edx, dword [0x75f8c8]
push edx
call esi
mov dword [0x75f8a0], eax
cmp eax, edi
jne 0x5dbb13
mov bl, 1
push str.SSL_CTX_free
mov eax, dword [0x75f8c8]
push eax
call esi
mov dword [0x75f89c], eax
cmp eax, edi
jne 0x5dbb2b
mov bl, 1
push str.SSL_free
mov ecx, dword [0x75f8c8]
push ecx
call esi
mov dword [0x75f898], eax
cmp eax, edi
jne 0x5dbb44
mov bl, 1
push str.SSL_get_error
mov edx, dword [0x75f8c8]
push edx
call esi
mov dword [0x75f894], eax
cmp eax, edi
jne 0x5dbb5d
mov bl, 1
push str.SSL_shutdown
mov eax, dword [0x75f8c8]
push eax
call esi
mov dword [0x75f890], eax
cmp eax, edi
jne 0x5dbb75
mov bl, 1
push str.SSL_set_fd
mov ecx, dword [0x75f8c8]
push ecx
call esi
mov dword [0x75f88c], eax
cmp eax, edi
jne 0x5dbb8e
mov bl, 1
push str.SSL_connect
mov edx, dword [0x75f8c8]
push edx
call esi
mov dword [0x75f888], eax
cmp eax, edi
jne 0x5dbba7
mov bl, 1
push str.SSL_write
mov eax, dword [0x75f8c8]
push eax
call esi
mov dword [0x75f884], eax
cmp eax, edi
jne 0x5dbbbf
mov bl, 1
push str.SSL_read
mov ecx, dword [0x75f8c8]
push ecx
call esi
mov dword [0x75f880], eax
cmp eax, edi
je 0x5dbbda
test bl, bl
je 0x5dbc13
mov edx, dword [0x75f8c8]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov dword [0x75f8c8], edi
mov eax, dword [0x75f8cc]
cmp eax, edi
je 0x5dbbfb
push eax
call esi
mov dword [0x75f8cc], edi
push 0x75f840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x7589
jmp 0x5dbc69
push str.SSL_ctrl
mov eax, dword [0x75f8c8]
push eax
call esi
mov dword [0x75f858], eax
mov esi, 1
mov dword [0x75f8d0], esi
push 0x75f840
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov dword [0x75f8d0], esi
xor eax, eax
jmp 0x5dbc69
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret