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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
mov eax, Ordinal_52
call fcn.18004b950
sub rsp, rax
mov rax, qword [rcx + 0x50]
xor ebp, ebp
cmp dword [rcx + 0x48], 0x1110
mov dword [rsp + 0x50], ebp
mov r13, qword [rax + 8]
mov rdi, rcx
jne 0x180006a76
mov rcx, qword [rcx + reloc.LIBEAY32.dll_Ordinal_304]
test rcx, rcx
je 0x1800066b7
mov eax, dword [rdi]
cmp dword [rcx], eax
jne 0x1800066b7
cmp dword [rcx + 0x44], ebp
jne 0x1800066af
cmp qword [rcx + reloc.LIBEAY32.dll_Ordinal_304], rbp
je 0x1800066b7
cmp dword [rcx + 0xa0], ebp
je 0x1800066c5
xor edx, edx
mov rcx, rdi
call fcn.180030300
test eax, eax
je 0x180006717
mov rax, qword [rdi + 8]
cmp dword [rax], 0x1ffff
jne 0x18000678b
mov ecx, dword [rdi + 0x19c]
bt ecx, 0x1b
jae 0x18000676e
mov rax, qword [rdi + reloc.LIBEAY32.dll_Ordinal_256]
test dword [rax + 0x54], 0x30000
je 0x180006726
mov edx, 0x83
lea r9, [0x18005a8d0]
mov r8d, 0x183
lea ecx, [rdx - 0x6f]
mov dword [rsp + 0x20], Ordinal_718
call sub.LIBEAY32.dll_Ordinal_252
mov dword [rdi + 0x48], 0x3005
or eax, 0xffffffff
jmp 0x180006a8a
bt ecx, 0x1a
jae 0x18000675d
mov edx, 0x83
lea r9, [0x18005a8e0]
mov r8d, reloc.LIBEAY32.dll_Ordinal_266
lea ecx, [rdx - 0x6f]
mov dword [rsp + 0x20], 0x2d0
call sub.LIBEAY32.dll_Ordinal_252
mov dword [rdi + 0x48], 0x3005
or eax, 0xffffffff
jmp 0x180006a8a
call sym.SSLEAY32.dll_DTLSv1_client_method
mov dword [rdi], 0xfeff
mov qword [rdi + 8], rax
jmp 0x180006783
bt ecx, 0x1a
jae 0x18000677d
call sym.SSLEAY32.dll_DTLSv1_2_client_method
mov qword [rdi + 8], rax
mov dword [rdi], 0xfefd
mov eax, dword [rdi]
mov dword [rdi + 0x1ac], eax
mov rax, qword [rdi + 8]
mov r8, qword [rdi + 0x80]
mov rcx, qword [rax + 0xc8]
add r8, 0xc0
test byte [rcx + 0x70], 8
je 0x1800067c0
mov rax, rbp
nop
cmp byte [rax + r8], bpl
jne 0x1800067d6
add rax, 1
cmp rax, 0x20
jb 0x1800067b0
xor edx, edx
mov rcx, rdi
lea r9d, [rdx + 0x20]
call fcn.180015e30
test eax, eax
jle 0x180006717
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0xc8]
mov rax, qword [rdi + 0x50]
mov esi, dword [rcx + 0x74]
add rsi, qword [rax + 8]
mov eax, dword [rdi + 0x1ac]
sar eax, 8
mov r12, rsi
mov byte [rsi], al
movzx eax, byte [rdi + 0x1ac]
mov byte [rsi + 1], al
mov rcx, qword [rdi + 0x80]
mov rax, qword [rcx + 0xc0]
mov qword [rsi + 2], rax
mov rax, qword [rcx + 0xc8]
mov qword [rsi + 0xa], rax
mov rax, qword [rcx + 0xd0]
mov qword [rsi + 0x12], rax
mov rax, qword [rcx + 0xd8]
mov qword [rsi + 0x1a], rax
cmp dword [rdi + 0x3c], ebp
je 0x180006840
mov eax, ebp
jmp 0x18000684a
mov rax, qword [rdi + reloc.LIBEAY32.dll_Ordinal_304]
mov eax, dword [rax + 0x44]
mov byte [rsi + 0x22], al
add rsi, 0x23
test eax, eax
je 0x1800068a5
cmp eax, 0x20
jle 0x180006889
mov dword [rsp + 0x20], Ordinal_822
lea r9, [0x18005a8f0]
mov edx, 0x83
lea ecx, [rdx - 0x6f]
lea r8d, [rdx - 0x3f]
call sub.LIBEAY32.dll_Ordinal_252
mov dword [rdi + 0x48], 0x3005
or eax, 0xffffffff
jmp 0x180006a8a
mov rdx, qword [rdi + reloc.LIBEAY32.dll_Ordinal_304]
movsxd rbx, eax
mov rcx, rsi
add rdx, 0x48
mov r8, rbx
call fcn.18003cac0
add rsi, rbx
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0xc8]
test byte [rcx + 0x70], 8
je 0x180006913
mov rax, qword [rdi + 0x88]
cmp dword [rax + 0x204], reloc.LIBEAY32.dll_Ordinal_256
jbe 0x1800068da
mov dword [rsp + 0x20], 0x33a
lea r9, [0x18005a900]
jmp 0x180006869
movzx eax, byte [rax + 0x204]
add rsi, 1
mov byte [rsi - 1], al
mov rdx, qword [rdi + 0x88]
mov rcx, rsi
mov r8d, dword [rdx + 0x204]
add rdx, 4
call fcn.18003cac0
mov r11, qword [rdi + 0x88]
mov eax, dword [r11 + 0x204]
add rsi, rax
mov rcx, rdi
call sym.SSLEAY32.dll_SSL_get_ciphers
lea r8, [rsi + 2]
xor r9d, r9d
mov rdx, rax
mov rcx, rdi
call fcn.180029910
test eax, eax
movsxd r11, eax
jne 0x180006963
mov edx, 0x83
lea r9, [0x18005a910]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x32]
mov dword [rsp + 0x20], 0x345
call sub.LIBEAY32.dll_Ordinal_252
mov dword [rdi + 0x48], 0x3005
or eax, 0xffffffff
jmp 0x180006a8a
mov eax, r11d
mov byte [rsi + 1], r11b
lea rbx, [rsi + r11 + 2]
sar eax, 8
mov byte [rsi], al
bt dword [rdi + 0x19c], 0x11
jb 0x18000699a
mov rax, qword [rdi + reloc.LIBEAY32.dll_Ordinal_368]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x18000699a
call sub.LIBEAY32.dll_Ordinal_1654
mov esi, eax
jmp 0x18000699c
mov esi, ebp
lea eax, [rsi + 1]
add rbx, 1
test esi, esi
mov byte [rbx - 1], al
jle 0x1800069d6
nop
nop
mov rcx, qword [rdi + reloc.LIBEAY32.dll_Ordinal_368]
mov edx, ebp
mov rcx, qword [rcx + 0xf8]
call sub.LIBEAY32.dll_Ordinal_1653
add ebp, 1
add rbx, 1
cmp ebp, esi
movzx ecx, byte [rax]
mov byte [rbx - 1], cl
jl 0x1800069b0
mov rcx, rdi
mov byte [rbx], 0
call fcn.18001a590
test eax, eax
jg 0x180006a11
mov edx, 0x83
lea r9, [0x18005a920]
mov dword [rsp + 0x20], 0x36a
lea ecx, [rdx - 0x6f]
lea r8d, [rdx + 0x5f]
call sub.LIBEAY32.dll_Ordinal_252
mov dword [rdi + 0x48], 0x3005
or eax, 0xffffffff
jmp 0x180006a8a
lea r8, [r13 + 0x4000]
lea rdx, [rbx + 1]
lea r9, [rsp + 0x50]
mov rcx, rdi
call fcn.180018400
mov rcx, rdi
test rax, rax
mov r11, rax
jne 0x180006a55
mov r8d, dword [rsp + 0x50]
lea edx, [rax + 2]
call fcn.180010c20
mov dword [rsp + 0x20], Ordinal_887
lea r9, [0x18005a930]
jmp 0x180006869
mov rax, qword [rdi + 8]
sub r11d, r12d
mov edx, 1
mov r9, qword [rax + 0xc8]
mov r8d, r11d
call qword [r9 + reloc.LIBEAY32.dll_Ordinal_120]
mov dword [rdi + 0x48], reloc.LIBEAY32.dll_Ordinal_4369
mov rax, qword [rdi + 8]
mov rcx, rdi
mov rdx, qword [rax + 0xc8]
call qword [rdx + reloc.LIBEAY32.dll_Ordinal_128]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret