Function at 0x1802290c0
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
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
xor r14d, r14d
xor ecx, ecx
mov ebp, r14d
call qword [sym.imp.MSVCR100.dll__time64]
lea edx, [r14 + 4]
xorpd xmm2, xmm2
lea rcx, [rsp + 0x60]
mov r12d, r14d
mov dword [rsp + 0x60], eax
call sym.VBoxRT.dll_RAND_add
call sym.VBoxRT.dll_ERR_clear_error
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rbx + 0x148]
test rsi, rsi
jne 0x180229137
mov rax, qword [rbx + 0x158]
mov esi, r14d
mov rcx, qword [rax + 0x100]
test rcx, rcx
cmovne rsi, rcx
inc dword [rbx + 0x2c]
mov rcx, rbx
call sym.VBoxRT.dll_SSL_state
test eax, 0x3000
je 0x180229157
mov rcx, rbx
call sym.VBoxRT.dll_SSL_state
bt eax, 0xe
jae 0x18022915f
mov rcx, rbx
call sym.VBoxRT.dll_SSL_clear
mov r15d, 0x1110
mov r13d, dword [rbx + 0x48]
mov r9d, 0x11d0
lea rdx, [0x180000000]
lea edi, [r9 - 0x30]
mov ecx, r13d
cmp r13d, 0x1100
jg 0x1802291e9
cmp ecx, 0x1100
je 0x1802291ab
sub ecx, 3
je 0x180229856
sub ecx, 0xffd
je 0x18022971a
cmp ecx, 3
jmp 0x180229714
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
mov dword [rbx + 0x28], 2
call sym.VBoxRT.dll_BIO_ctrl
test eax, eax
jle 0x18022990c
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], 1
mov ecx, dword [rax + 0x3c0]
mov dword [rbx + 0x48], ecx
jmp 0x1802297ee
cmp ecx, 0x3004
jg 0x180229706
je 0x1802296ec
sub ecx, r15d
cmp ecx, 0xe1
ja case.0x18022921f.15
movsxd rax, ecx
movzx eax, byte [rdx + rax + 0x229990]
mov ecx, dword [rdx + rax*4 + 0x229950]
add rcx, rdx
jmp rcx
mov rcx, rbx
mov dword [rbx + 0x44], r14d
call sym.VBoxRT.dll_ssl3_init_finished_mac
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_client_hello
mov edi, eax
test eax, eax
jle 0x18022990f
mov rax, qword [rbx + 0x88]
cmp dword [rax], r14d
je 0x18022926d
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x48], 0x1100
mov dword [rax + 0x3c0], 0x1120
jmp 0x180229274
mov dword [rbx + 0x48], 0x1120
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x60], r14d
cmp rcx, rdx
je 0x1802297ee
call sym.VBoxRT.dll_BIO_push
mov qword [rbx + 0x18], rax
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_server_hello
mov edi, eax
test eax, eax
jle 0x18022990f
cmp dword [rbx + 0xa8], r14d
mov eax, 0x1126
mov ecx, 0x11d0
cmovne eax, ecx
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x48], eax
jmp 0x1802297ee
mov rcx, rbx
call fcn.1802288f0
mov edi, eax
test eax, eax
jle 0x18022990f
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_stop_timer
mov r11, qword [rbx + 0x88]
mov eax, 0x1130
cmp dword [r11], r14d
mov dword [rbx + 0x60], r14d
cmovne eax, r15d
mov dword [rbx + 0x48], eax
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_check_finished
mov edi, eax
test eax, eax
jle 0x18022990f
cmp eax, 2
jne 0x180229343
cmp dword [rbx + 0x1dc], r14d
mov eax, 0x11d0
mov ecx, 0x11e0
cmovne eax, ecx
mov dword [rbx + 0xa8], 1
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x48], eax
jmp 0x1802297ee
mov rax, qword [rbx + 0x80]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0x14], 0x800
jne 0x18022938c
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_server_certificate
mov edi, eax
test eax, eax
jle 0x18022990f
cmp dword [rbx + 0x1b8], r14d
mov eax, 0x1140
mov ecx, 0x11f0
cmovne eax, ecx
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x48], eax
jmp 0x1802297ee
mov r12d, 1
mov dword [rbx + 0x48], 0x1140
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_key_exchange
mov edi, eax
test eax, eax
jle 0x18022990f
mov rcx, rbx
mov dword [rbx + 0x48], 0x1150
mov dword [rbx + 0x60], r14d
call sym.VBoxRT.dll_ssl3_check_cert_and_algorithm
test eax, eax
je 0x18022990c
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_certificate_request
mov edi, eax
test eax, eax
jle 0x18022990f
mov dword [rbx + 0x48], 0x1160
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_server_done
mov edi, eax
test eax, eax
jle 0x18022990f
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_stop_timer
mov r11, qword [rbx + 0x80]
mov eax, 0x1180
cmp dword [r11 + 0x3c8], r14d
mov ecx, 0x1170
mov dword [rbx + 0x60], r14d
cmovne eax, ecx
mov dword [rbx + 0x48], eax
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_send_client_certificate
mov edi, eax
test eax, eax
jle 0x18022990f
mov dword [rbx + 0x48], 0x1180
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_send_client_key_exchange
mov edi, eax
test eax, eax
jle 0x18022990f
mov rax, qword [rbx + 0x80]
cmp dword [rax + 0x3c8], 1
jne 0x18022949b
mov dword [rbx + 0x48], 0x1190
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov ecx, 0x11a0
mov dword [rbx + 0x48], ecx
mov dword [rax + 0x1f8], r14d
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_send_client_verify
mov edi, eax
test eax, eax
jle 0x18022990f
mov rax, qword [rbx + 0x80]
mov ecx, 0x11a0
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x48], ecx
mov dword [rax + 0x1f8], r14d
jmp 0x1802297ee
cmp dword [rbx + 0xa8], r14d
jne 0x1802294fd
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov r8d, 0x11a1
mov edx, edi
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_send_change_cipher_spec
mov edi, eax
test eax, eax
jle 0x18022990f
mov rax, qword [rbx + 0x80]
mov rcx, qword [rbx + 0x128]
mov dword [rbx + 0x48], 0x11b0
mov dword [rbx + 0x60], r14d
mov rax, qword [rax + 0x3b0]
mov qword [rcx + 0xb8], rax
mov rax, qword [rbx + 0x128]
mov rcx, rbx
mov dword [rax + 0xb0], r14d
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 0xc8]
call qword [rdx + reloc.WS2_32.dll_recv]
test eax, eax
je 0x18022990c
mov rax, qword [rbx + 8]
mov edx, reloc.WS2_32.dll_select
mov rcx, rbx
mov r8, qword [rax + 0xc8]
call qword [r8 + 0x20]
test eax, eax
je 0x18022990c
mov edx, 2
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_reset_seq_numbers
jmp 0x1802297ee
cmp dword [rbx + 0xa8], r14d
jne 0x1802295a7
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_start_timer
mov rax, qword [rbx + 8]
mov edx, 0x11b0
mov rcx, rbx
mov r9, qword [rax + 0xc8]
lea r8d, [rdx + 1]
mov eax, dword [r9 + 0x48]
mov r9, qword [r9 + 0x40]
mov dword [rsp + 0x20], eax
call sym.VBoxRT.dll_dtls1_send_finished
mov edi, eax
test eax, eax
jle 0x18022990f
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x48], 0x1100
and dword [rax], 0xfffffffb
mov rax, qword [rbx + 0x80]
cmp dword [rbx + 0xa8], r14d
je 0x18022962e
mov dword [rax + 0x3c0], 3
mov rax, qword [rbx + 0x80]
test byte [rax], 2
je 0x180229647
mov dword [rbx + 0x48], 3
or dword [rax], 4
mov rax, qword [rbx + 0x80]
mov dword [rax + 4], r14d
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov ecx, 0x11e0
cmp dword [rbx + 0x1dc], r14d
jne 0x180229641
mov ecx, 0x11d0
mov dword [rax + 0x3c0], ecx
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_new_session_ticket
mov edi, eax
test eax, eax
jle 0x18022990f
mov ecx, 0x11d0
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x48], ecx
jmp 0x1802297ee
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_get_cert_status
mov edi, eax
test eax, eax
jle 0x18022990f
mov dword [rbx + 0x48], 0x1140
mov dword [rbx + 0x60], r14d
jmp 0x1802297ee
mov rax, qword [rbx + 0x88]
mov r8d, 0x11d1
mov edx, r9d
mov rcx, rbx
mov dword [rax + 0x348], 1
call sym.VBoxRT.dll_ssl3_get_finished
mov edi, eax
test eax, eax
jle 0x18022990f
mov rcx, rbx
call sym.VBoxRT.dll_dtls1_stop_timer
cmp dword [rbx + 0xa8], r14d
mov r11d, 3
mov ecx, 0x11a0
mov dword [rbx + 0x60], r14d
cmovne r11d, ecx
mov dword [rbx + 0x48], r11d
jmp 0x1802297ee
mov rax, qword [rbx + 0x158]
mov dword [rbx + 0x3c], 1
mov dword [rbx + 0x48], 0x1000
inc dword [rax + 0x64]
jmp 0x18022971a
cmp ecx, 0x4000
je 0x18022971a
cmp ecx, 0x5000
jne case.0x18022921f.15
mov dword [rbx + 0x38], r14d
test rsi, rsi
je 0x180229731
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
lea r8d, [rdx - 0xf]
call rsi
mov eax, dword [rbx]
and eax, 0xff00
cmp eax, 0xfe00
je 0x18022974a
cmp eax, 0x100
jne 0x1802298f0
mov dword [rbx + 4], 0x1000
cmp qword [rbx + 0x50], r14
jne 0x180229784
call sym.VBoxRT.dll_BUF_MEM_new
mov rbp, rax
test rax, rax
je 0x18022990c
mov edx, 0x4000
mov rcx, rax
call sym.VBoxRT.dll_BUF_MEM_grow
test eax, eax
je 0x18022990c
mov qword [rbx + 0x50], rbp
mov rbp, r14
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_setup_buffers
test eax, eax
je 0x18022990c
xor edx, edx
mov rcx, rbx
call sym.VBoxRT.dll_ssl_init_wbio_buffer
test eax, eax
je 0x18022990c
mov rax, qword [rbx + 0x158]
mov dword [rbx + 0x48], r15d
inc dword [rax + 0x60]
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x60], r14d
xor ecx, ecx
mov qword [rax + 0xb8], rcx
mov qword [rax + 0xc0], rcx
mov qword [rax + 0xc8], rcx
mov qword [rax + 0xd0], rcx
mov rax, qword [rbx + 0x88]
mov dword [rax], r14d
mov dword [rbx + 0xa8], r14d
mov rax, qword [rbx + 0x80]
cmp dword [rax + 0x3c4], r14d
jne 0x18022984e
test r12d, r12d
jne 0x18022984e
cmp dword [rbx + 0x160], r14d
je 0x18022982a
mov rcx, qword [rbx + 0x18]
lea edx, [r12 + 0xb]
xor r9d, r9d
xor r8d, r8d
call sym.VBoxRT.dll_BIO_ctrl
mov edi, eax
test eax, eax
jle 0x18022990f
test rsi, rsi
je 0x18022984e
mov edi, dword [rbx + 0x48]
cmp edi, r13d
je 0x18022984e
mov edx, 0x1001
mov r8d, 1
mov rcx, rbx
mov dword [rbx + 0x48], r13d
call rsi
mov dword [rbx + 0x48], edi
mov r12d, r14d
jmp 0x180229165
mov rcx, rbx
call sym.VBoxRT.dll_ssl3_cleanup_key_block
mov r11, qword [rbx + 0x80]
test byte [r11], 4
jne 0x180229873
mov rcx, rbx
call sym.VBoxRT.dll_ssl_free_wbio_buffer
mov edx, 1
mov rcx, rbx
mov dword [rbx + 0x60], r14d
mov dword [rbx + 0x3c], r14d
call sym.VBoxRT.dll_ssl_update_cache
cmp dword [rbx + 0xa8], r14d
je 0x18022989e
mov rax, qword [rbx + 0x158]
inc dword [rax + 0x84]
lea rax, [sym.VBoxRT.dll_dtls1_connect]
mov edi, 1
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x158]
inc dword [rax + 0x68]
test rsi, rsi
je 0x1802298c8
lea edx, [rdi + 0x1f]
mov r8d, edi
mov rcx, rbx
call rsi
mov rax, qword [rbx + 0x88]
mov word [rax + 0x244], r14w
mov rax, qword [rbx + 0x88]
mov word [rax + 0x242], r14w
jmp 0x18022990f
mov r8d, 0xff
jmp 0x1802298f6
mov r8d, 0x44
xor r9d, r9d
mov edx, 0xf9
mov dword [rsp + 0x20], r14d
lea ecx, [r9 + 0x14]
call sym.VBoxRT.dll_ERR_put_error
or edi, 0xffffffff
dec dword [rbx + 0x2c]
test rbp, rbp
je 0x18022991f
mov rcx, rbp
call sym.VBoxRT.dll_BUF_MEM_free
test rsi, rsi
je 0x180229931
mov r8d, edi
mov edx, 0x1002
mov rcx, rbx
call rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret