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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1401b97ba
mov al, byte [rbx]
cmp al, 0x14
jne 0x1401bd931
lea rbx, [rsp + 0x28]
movzx r8d, word [rbx + 2]
mov rcx, rbx
mov rdx, rdi
call fcn.1401b9629
cmp qword [rbx], 0
je 0x1401bd971
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 8], xmm0
jmp 0x1401bd956
mov cl, byte [rsp + 0x29]
movzx edx, word [rsp + 0x2a]
mov r8d, dword [rsp + 0x3c]
mov dword [rsi + 0x1c], r8d
movups xmm0, xmmword [rsp + 0x2c]
movups xmmword [rsi + 0xc], xmm0
mov byte [rsi + 8], al
mov byte [rsi + 9], cl
mov word [rsi + 0xa], dx
mov qword [rsi], 1
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x2a]
mov rax, qword [rcx + 0x16]
movups xmm0, xmmword [rcx + 6]
lea rdi, [rsp + 0xb0]
movaps xmmword [rdi], xmm0
lea rcx, [rsp + 0x98]
and qword [rcx], 0
mov qword [rcx + 8], 8
and qword [rcx + 0x10], 0
mov qword [rdi + 0x10], rax
mov r15d, 8
lea r14, [rsp + 0x28]
xor ebp, ebp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0xb8]
jae 0x1401bde21
mov rcx, r14
mov rdx, rdi
call fcn.1401bd0ee
mov bl, byte [rsp + 0x28]
cmp bl, 0x14
jne 0x1401bdddd
movzx esi, word [rsp + 0x2a]
movzx r13d, word [rsp + 0x2c]
mov rcx, r14
mov rdx, rdi
call fcn.1401b97ba
mov bl, byte [rsp + 0x28]
cmp bl, 0x14
jne 0x1401bdddd
movzx r8d, word [rsp + 0x2a]
mov rcx, r14
mov rdx, rdi
call fcn.1401b9629
cmp qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
jne 0x1401bddfe
movzx edx, si
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
lea rax, [rdx - 5]
cmp rax, 0x1f
ja case.default.0x1401bda77
lea rcx, [0x140254a28]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r12w, 8
jmp 0x1401bdb96
mov r12w, 1
test rdx, rdx
je 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401b9413
mov word [rsp + 0x40], si
mov word [rsp + 0x42], r13w
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r12w, 0xe
jmp 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401bd2b5
cmp qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
jne 0x1401bddfe
xor r12d, r12d
jmp 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401bd5d1
cmp qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r12w, 4
je 0x1401bdb96
jmp 0x1401bddfe
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401bbfe3
cmp qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r12w, 9
je 0x1401bdb96
jmp 0x1401bddfe
mov r12w, 7
jmp 0x1401bdb96
mov r12w, 2
jmp 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401b97ba
mov bl, byte [rsp + 0x28]
cmp bl, 0x14
jne 0x1401bdddd
movzx eax, word [rsp + 0x2a]
mov r12w, 6
jmp 0x1401bdb96
mov r12w, 0xd
mov rdx, qword [rsp + 0x70]
mov word [rsp + 0x28], r12w
mov word [rsp + 0x2a], ax
mov word [rsp + 0x2c], cx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r8
cmp rdx, qword [rsp + 0x68]
jb 0x1401bde47
mov rsi, r8
lea rcx, [rsp + 0x2a]
movzx eax, word [rcx + 4]
mov ecx, dword [rcx]
mov dword [rsp + 0x80], ecx
mov word [rsp + 0x84], ax
cmp rbp, qword [rsp + 0x98]
jne 0x1401bdc11
lea rcx, [rsp + 0x98]
mov rdx, rbp
call fcn.1401b82da
mov r15, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov edx, ebx
shr edx, 8
mov eax, ebx
shr eax, 0x10
mov dword [rsp + 0x58], eax
mov rcx, rbx
shr rcx, 0x20
mov rax, rbx
shr rax, 0x30
mov qword [rsp + 0x88], rax
mov rax, rbx
movabs r8, 0xffff000000000000
and rax, r8
mov qword [rsp + 0x90], rcx
movzx ecx, cx
shl rcx, 0x20
or rcx, rax
mov eax, ebx
and eax, 0xffff0000
or rax, rcx
mov dword [rsp + 0x5c], edx
movzx ecx, dl
shl rcx, 8
or rcx, rax
movzx eax, bl
or rax, rcx
imul rcx, rbp, 0x28
mov word [r15 + rcx], r12w
mov edx, dword [rsp + 0x80]
mov dword [r15 + rcx + 2], edx
movzx edx, word [rsp + 0x84]
mov word [r15 + rcx + 6], dx
mov qword [r15 + rcx + 8], rax
mov qword [r15 + rcx + 0x10], rdi
mov qword [r15 + rcx + 0x18], r14
mov qword [r15 + rcx + 0x20], rsi
inc rbp
mov qword [rsp + 0xa8], rbp
lea rdi, [rsp + 0xb0]
lea r14, [rsp + 0x28]
jmp 0x1401bd9d0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401bc1a3
mov bl, byte [rsp + 0x28]
cmp bl, 0x14
jne 0x1401bdddd
movzx eax, word [rsp + 0x2a]
movzx ecx, word [rsp + 0x2c]
mov r12w, 0xa
jmp 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401bcf2c
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r12w, 5
movabs rax, 0x8000000000000000
cmp rbx, rax
je 0x1401bded1
mov r8, rdx
jmp 0x1401bdb96
lea rcx, [rsp + 0x60]
call fcn.1401b9464
mov rsi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.1401abb9f
mov rbx, rax
mov rdi, rdx
mov rcx, rdx
mov rdx, rsi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov r12w, 0xb
jmp 0x1401bdb96
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x60]
call fcn.1401b9839
cmp qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r12w, 3
je 0x1401bdb96
jmp 0x1401bddfe
lea rcx, [rsp + 0x60]
call fcn.1401b9464
mov rsi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.1401abb9f
mov rbx, rax
mov rdi, rdx
mov rcx, rdx
mov rdx, rsi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov r12w, 0xc
jmp 0x1401bdb96
mov r8b, byte [rsp + 0x29]
movzx r9d, word [rsp + 0x2a]
movzx ecx, word [rsp + 0x2c]
movzx eax, word [rsp + 0x2e]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
jmp 0x1401bde1a
mov r8d, ebx
shr r8d, 8
mov r9d, ebx
shr r9d, 0x10
mov rcx, rbx
shr rcx, 0x20
mov rax, rbx
shr rax, 0x30
mov rdx, qword [rsp + 0x50]
jmp 0x1401bde7f
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rcx + 8], xmm0
and qword [rcx], 0
jmp 0x1401bd95d
lea rcx, [rsp + 0x28]
call fcn.1401b5b6f
lea rdi, str.ServerExtensionClientHelloPayload
mov r14d, 0xf
mov bl, 0xe
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x88]
movzx eax, ax
shl rax, 0x30
movzx ecx, cx
shl rcx, 0x20
or rcx, rax
movzx eax, r9w
shl rax, 0x10
or rax, rcx
movzx ecx, r8b
shl rcx, 8
or rcx, rax
movzx eax, bl
or rax, rcx
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], r14
mov qword [rdx], 1
lea rcx, [rsp + 0x98]
call fcn.1401b653a
jmp 0x1401bd95d
mov r8d, edi
shr r8d, 8
mov r9d, edi
shr r9d, 0x10
mov rcx, rdi
shr rcx, 0x20
mov rax, rdi
shr rax, 0x30
mov ebx, edi
mov rdi, r14
mov r14, rdx
jmp 0x1401bde1a