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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
cmp dword [rcx + 0x48], 0x1110
mov rax, qword [rcx + 0x50]
mov rdi, rcx
mov r12, qword [rax + 8]
jne 0x1802288c5
mov rcx, qword [rcx + 0x128]
test rcx, rcx
je 0x18022863c
mov eax, dword [rdi]
cmp dword [rcx], eax
jne 0x18022863c
cmp dword [rcx + 0x44], 0
jne 0x180228633
cmp qword [rcx + 0xf8], 0
je 0x18022863c
cmp dword [rcx + 0x8c], 0
je 0x18022864e
xor edx, edx
mov rcx, rdi
call sym.VBoxRT.dll_ssl_get_new_session
test eax, eax
je 0x180228748
mov rbx, qword [rdi + 0x80]
xor r14d, r14d
mov ecx, r14d
cmp byte [rbx + 0xb8], cl
jne 0x1802286b9
cmp ecx, 0x20
jae 0x180228677
inc ecx
cmp byte [rcx + rbx + 0xb8], r14b
je 0x180228663
cmp ecx, 0x20
jne 0x1802286b9
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
mov edx, 0x1c
mov ecx, eax
shr ecx, 0x18
mov byte [rbx + 0xb8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rbx + 0xb9], cl
mov ecx, eax
shr ecx, 8
mov byte [rbx + 0xba], cl
lea rcx, [rbx + 0xbc]
mov byte [rbx + 0xbb], al
call sym.VBoxRT.dll_RAND_pseudo_bytes
mov eax, dword [rdi]
lea rsi, [r12 + 0xc]
sar eax, 8
mov r13, rsi
mov byte [rsi], al
movzx eax, byte [rdi]
mov byte [rsi + 1], al
mov rcx, qword [rdi + 0x80]
mov eax, dword [rdi]
mov dword [rdi + 0x194], eax
mov rax, qword [rcx + 0xb8]
mov qword [rsi + 2], rax
mov rax, qword [rcx + 0xc0]
mov qword [rsi + 0xa], rax
mov rax, qword [rcx + 0xc8]
mov qword [rsi + 0x12], rax
mov rax, qword [rcx + 0xd0]
mov qword [rsi + 0x1a], rax
cmp dword [rdi + 0x3c], r14d
je 0x180228714
mov eax, r14d
jmp 0x18022871e
mov rax, qword [rdi + 0x128]
mov eax, dword [rax + 0x44]
mov byte [rsi + 0x22], al
add rsi, 0x23
test eax, eax
je 0x18022876b
cmp eax, 0x20
jbe 0x180228750
xor r9d, r9d
mov edx, 0xf8
mov dword [rsp + 0x20], r14d
lea ecx, [r9 + 0x14]
lea r8d, [r9 + 0x44]
call sym.VBoxRT.dll_ERR_put_error
or eax, 0xffffffff
jmp 0x1802288d2
mov rdx, qword [rdi + 0x128]
mov r8d, eax
mov rcx, rsi
add rdx, 0x48
mov ebx, eax
call sub.MSVCR100.dll_memcpy
add rsi, rbx
mov rax, qword [rdi + 0x88]
cmp dword [rax + 0x204], 0x100
ja 0x18022872e
movzx eax, byte [rax + 0x204]
inc rsi
mov byte [rsi - 1], al
mov rdx, qword [rdi + 0x88]
mov rcx, rsi
mov r8d, dword [rdx + 0x204]
add rdx, 4
call sub.MSVCR100.dll_memcpy
mov r11, qword [rdi + 0x88]
mov rcx, rdi
mov eax, dword [r11 + 0x204]
add rsi, rax
call sym.VBoxRT.dll_SSL_get_ciphers
lea r8, [rsi + 2]
xor r9d, r9d
mov rcx, rdi
mov rdx, rax
call sym.VBoxRT.dll_ssl_cipher_list_to_bytes
mov r11d, eax
test eax, eax
jne 0x1802287f8
mov edx, 0xf8
lea ecx, [rax + 0x14]
xor r9d, r9d
lea r8d, [rdx - 0x43]
mov dword [rsp + 0x20], r14d
call sym.VBoxRT.dll_ERR_put_error
or eax, 0xffffffff
jmp 0x1802288d2
mov eax, r11d
mov byte [rsi + 1], r11b
mov qword [rsp + 0x50], rbp
shr eax, 8
lea rbx, [rsi + r11 + 2]
mov byte [rsi], al
mov rax, qword [rdi + 0x158]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
jne 0x180228826
mov ebp, r14d
jmp 0x18022882d
call sym.VBoxRT.dll_sk_num
mov ebp, eax
lea ecx, [rbp + 1]
inc rbx
mov esi, r14d
mov byte [rbx - 1], cl
test ebp, ebp
je 0x180228864
nop dword [rax]
mov rcx, qword [rdi + 0x158]
mov edx, esi
mov rcx, qword [rcx + 0xf8]
call sym.VBoxRT.dll_sk_value
inc esi
inc rbx
movzx ecx, byte [rax]
mov byte [rbx - 1], cl
cmp esi, ebp
jb 0x180228840
lea r8, [r12 + 0x4000]
lea rdx, [rbx + 1]
mov rcx, rdi
mov byte [rbx], r14b
call sym.VBoxRT.dll_ssl_add_clienthello_tlsext
mov rbp, qword [rsp + 0x50]
mov rbx, rax
test rax, rax
je 0x18022872e
mov r9d, eax
mov r8b, 1
mov rdx, r12
sub r9d, r13d
mov rcx, rdi
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r14d
call sym.VBoxRT.dll_dtls1_set_message_header
sub ebx, r12d
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x48], 0x1111
mov dword [rdi + 0x64], r14d
mov dword [rdi + 0x60], ebx
call sym.VBoxRT.dll_dtls1_buffer_message
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rdi
call sym.VBoxRT.dll_dtls1_do_write
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret