Function at 0x180027170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
mov eax, reloc.LIBEAY32.dll_Ordinal_120
call fcn.18004b950
sub rsp, rax
mov rax, qword [0x180069200]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov rdi, rcx
mov rcx, qword [rcx + 0x88]
mov qword [rsp + 0x40], rax
movzx eax, dx
mov byte [rsp + 0x47], dl
shr ax, 8
lea rdx, [rsp + 0x40]
mov rbx, r9
mov byte [rsp + 0x46], al
mov rcx, qword [rcx + 0x260]
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x39], 0
mov byte [rsp + 0x3a], 0
mov byte [rsp + 0x3b], 0
mov byte [rsp + 0x3c], 0
mov byte [rsp + 0x3d], 0
mov byte [rsp + 0x3e], 0
mov byte [rsp + 0x3f], 0
call sub.LIBEAY32.dll_Ordinal_3454
test rax, rax
jne 0x1800271f7
mov dword [rbx], eax
jmp 0x180027417
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x68], r12
mov ebp, 1
mov dword [rbx], ebp
mov r12, qword [rax + 8]
mov rcx, qword [rdi + 0x50]
cmp dword [r12 + 0x14], 0
mov eax, dword [r12 + 4]
mov rdx, qword [r12 + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x60], r13
mov ebx, 0xc
cmovne ebx, ebp
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
lea r8d, [rbx + rax]
call fcn.18003cac0
mov r11d, dword [r12 + 4]
mov r8, qword [rdi + 0x88]
lea eax, [rbx + r11]
mov dword [rdi + 0x60], eax
mov ecx, dword [r12 + 4]
movzx eax, byte [r12]
mov r9d, dword [r12 + 0x10]
movzx edx, word [r12 + 8]
mov byte [r8 + 0x288], al
mov dword [r8 + 0x28c], ecx
mov word [r8 + 0x290], dx
mov dword [r8 + 0x298], r9d
mov dword [r8 + 0x294], 0
mov rax, qword [rdi + 0xf0]
mov r15, qword [rdi + 0xe8]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + reloc.LIBEAY32.dll_Ordinal_304]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x88]
movzx r13d, word [rax + 0x20a]
mov dword [rax + 0x334], ebp
mov rax, qword [r12 + 0x18]
mov rcx, qword [rdi + 0x88]
mov qword [rdi + 0xe8], rax
mov rax, qword [r12 + 0x20]
mov qword [rdi + 0xf0], rax
mov rax, qword [r12 + 0x28]
lea r14d, [r13 - 1]
mov qword [rdi + 0xf8], rax
mov rax, qword [r12 + 0x30]
mov qword [rdi + reloc.LIBEAY32.dll_Ordinal_304], rax
movzx eax, word [r12 + 0x38]
mov word [rcx + 0x20a], ax
movzx eax, word [r12 + 0x38]
cmp eax, r14d
jne 0x180027346
mov rax, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x80]
mov rcx, qword [rax + 0x22a]
mov rbx, qword [rdx + 0x54]
mov qword [rdx + 0x54], rcx
jmp 0x18002734b
mov rbx, qword [rsp + 0x38]
cmp dword [r12 + 0x14], 0
mov edx, 0x16
mov eax, 0x14
cmovne edx, eax
mov rcx, rdi
call fcn.180026800
mov rcx, qword [rdi + 0x88]
mov qword [rdi + 0xe8], r15
mov r15, qword [rsp + 0x50]
mov ebp, eax
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0xf0], rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov rax, qword [rsp + 0x28]
mov qword [rdi + reloc.LIBEAY32.dll_Ordinal_304], rax
mov word [rcx + 0x20a], r13w
movzx edx, word [r12 + 0x38]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp edx, r14d
mov r14, qword [rsp + 0x58]
jne 0x1800273e5
mov rdx, qword [rdi + 0x80]
mov r8, qword [rdi + 0x88]
mov rdx, qword [rdx + 0x54]
mov qword [r8 + 0x22a], rdx
mov rax, qword [rdi + 0x80]
mov qword [rax + 0x54], rbx
mov rax, qword [rdi + 0x88]
mov rcx, rdi
mov dword [rax + 0x334], 0
call sym.SSLEAY32.dll_SSL_get_wbio
xor r9d, r9d
lea edx, [r9 + 0xb]
mov rcx, rax
xor r8d, r8d
call sub.LIBEAY32.dll_Ordinal_52
mov eax, ebp
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003d0e0
add rsp, 0x78
pop rdi
pop rbx
ret