Function at 0x140015f45
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, 0x818
movaps xmmword [rsp + 0x800], xmm6
mov rbx, rcx
mov rbp, qword [rsp + 0x880]
mov ecx, dword [rbp + 0x48]
lea eax, [rcx - 0x4000]
cmp eax, 0xffc000
jae 0x140016559
mov r10, qword [rbp + 0x38]
mov rax, r10
shr rax, 0x20
jne 0x140016571
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x90], r9
mov qword [rsp + 0xb0], rcx
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbp + 0x4c]
mov qword [rsp + 0x98], rax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x2c], eax
mov rax, qword [rbp]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x78], rax
movzx r14d, byte [rbp + 0x51]
mov qword [rsp + 0x48], 2
xor r8d, r8d
mov qword [rsp + 0x68], r8
lea rax, [rsp + 0xd0]
mov ecx, 9
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
xorps xmm0, xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x88], xmm0
movups xmmword [rax + 0x98], xmm0
mov qword [rax + 0xa8], r8
mov ecx, 0x4000
xor edx, edx
call fcn.14004660e
mov rsi, rax
mov qword [rsp + 0xa8], rdx
mov rcx, rax
shr rcx, 0xa
mov edi, 0x40
mov eax, 0x40
je 0x140016063
bsr rax, rcx
xor rax, 0x3f
mov dword [rsp + 0x38], r14d
mov r14d, 0x40
sub r14, rax
cmp r14, 7
mov r15d, 7
cmovae r14, r15
mov ecx, 0x2000
xor edx, edx
call fcn.14004660e
mov r12, rax
mov qword [rsp + 0xa0], rdx
shr rax, 0xa
je 0x1400160a4
bsr rdi, rax
xor rdi, 0x3f
lea r14, [r14*4 + 1]
mov eax, 0x40
sub rax, rdi
cmp rax, 7
cmovb r15, rax
mov r13d, 0x40
lea rdi, [r15*4 + 1]
xorps xmm6, xmm6
movups xmmword [rsp + 0x2d8], xmm6
mov r15d, 0x1000
mov ecx, 0x1000
xor edx, edx
call fcn.14004660e
mov r8, rax
shr r8, 0xa
mov ecx, 0x40
je 0x1400160fd
bsr rcx, r8
xor rcx, 0x3f
sub r13, rcx
cmp r13, 7
mov ecx, 7
cmovb rcx, r13
lea r9, [rcx*4 + 1]
mov ecx, 2
mov qword [rsp + 0x118], rcx
xor r8d, r8d
mov qword [rsp + 0x130], r8
mov r10d, 8
mov qword [rsp + 0x138], r10
mov qword [rsp + 0x150], r10
mov qword [rsp + 0x180], r15
mov r11d, 3
mov qword [rsp + 0x188], r11
mov qword [rsp + 0x1d0], 4
mov r13, qword [rsp + 0xa8]
mov qword [rsp + 0x218], r13
mov qword [rsp + 0x220], r8
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x230], r14
mov qword [rsp + 0x238], r8
mov dword [rsp + 0x240], 0x4000
mov byte [rsp + 0x244], r8b
mov qword [rsp + 0x248], 1
mov qword [rsp + 0x250], r8
mov qword [rsp + 0x258], 0x4000
mov qword [rsp + 0x260], r11
mov qword [rsp + 0x268], r8
mov qword [rsp + 0x270], 9
mov byte [rsp + 0x278], 1
mov qword [rsp + 0x280], r8
mov r11, qword [rsp + 0xa0]
mov qword [rsp + 0x290], r11
mov qword [rsp + 0x298], r8
mov qword [rsp + 0x2a0], r12
mov qword [rsp + 0x2a8], rdi
mov word [rsp + 0x2b0], 0
mov byte [rsp + 0x2b2], r8b
mov qword [rsp + 0x2c8], r8
movups xmmword [rsp + 0x2b8], xmm6
mov qword [rsp + 0x2d0], r10
mov qword [rsp + 0x2e8], r8
mov qword [rsp + 0x2f0], r15
mov qword [rsp + 0x2f8], rdx
mov qword [rsp + 0x300], r8
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x310], r9
mov qword [rsp + 0x318], r15
mov qword [rsp + 0x320], rcx
mov qword [rsp + 0x460], 0x1000000
mov r14, qword [rsp + 0xb0]
lea rax, [r14 - 0x4000]
cmp rax, 0xffc000
jae 0x140016589
lea rcx, [rsp + 0x118]
mov qword [rcx + 0x140], r14
mov r12, qword [rsp + 0x98]
mov qword [rcx + 0x348], r12
lea rdx, [rsp + 0x468]
mov dword [rdx + 4], r8d
mov dword [rdx + 0xc], r8d
mov eax, dword [rsp + 0x30]
mov dword [rdx + 0x14], eax
mov eax, dword [rsp + 0x2c]
mov dword [rdx + 0x18], eax
mov eax, 1
mov dword [rdx + 0x1c], eax
mov r15d, dword [rsp + 0x3c]
mov dword [rdx + 0x20], r15d
mov dword [rdx + 0x24], eax
mov dword [rdx + 0x28], r14d
mov dword [rdx + 0x2c], eax
mov dword [rdx + 0x30], r12d
mov r13d, dword [rsp + 0x38]
mov dword [rdx + 0x34], r13d
mov dword [rdx + 0x38], eax
mov byte [rdx + 0x3c], 0
mov byte [rdx], 4
call fcn.1400c9451
cmp al, 0xc
jne 0x1400165a1
mov rdi, qword [rsp + 0x888]
lea rcx, [rsp + 0x468]
lea rdx, [rsp + 0xd0]
mov r8d, 0x398
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x48]
cmp rax, 2
je 0x14001638b
lea rdx, [rsp + 0x60]
test rax, rax
je 0x14001637e
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x140016388
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x68]
cmp qword [rsp + 0x70], 0
mov eax, 0x14
mov rsi, qword [rsp + 0x78]
cmove rsi, rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x28], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x18], xmm1
movups xmmword [rbx + 8], xmm0
mov eax, dword [rsp + 0x41]
mov ecx, dword [rsp + 0x44]
mov dword [rbx + 0x461], eax
mov dword [rbx + 0x464], ecx
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x468]
mov r8d, 0x398
call sub.VCRUNTIME140.dll_memcpy
mov eax, 2
mov qword [rbx + 0x3d0], rax
mov rcx, qword [rsp + 0xc8]
mov qword [rbx + 0x3e8], rcx
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rbx + 0x3d8], xmm0
mov qword [rbx + 0x3f0], 0
mov qword [rbx + 0x558], rdi
mov rcx, qword [rsp + 0x890]
mov qword [rbx + 0x560], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rbx + 0x548], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rbx + 0x550], rcx
mov qword [rbx], rax
mov qword [rbx + 0x30], 3
mov eax, 1
mov dword [rbx + 0x3f8], eax
mov ecx, dword [rsp + 0x34]
mov dword [rbx + 0x3fc], ecx
mov qword [rbx + 0x400], 0x1e
xor ecx, ecx
mov dword [rbx + 0x408], ecx
mov qword [rbx + 0x410], 0xa
mov qword [rbx + 0x418], rsi
mov rdx, qword [rsp + 0x88]
mov qword [rbx + 0x420], rdx
mov dword [rbx + 0x428], ecx
mov dword [rbx + 0x430], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rbx + 0x438], ecx
mov ecx, dword [rsp + 0x2c]
mov dword [rbx + 0x43c], ecx
mov dword [rbx + 0x440], eax
mov dword [rbx + 0x444], r15d
mov dword [rbx + 0x448], eax
mov dword [rbx + 0x44c], r14d
mov dword [rbx + 0x450], eax
mov dword [rbx + 0x454], r12d
mov dword [rbx + 0x458], r13d
mov dword [rbx + 0x45c], eax
movzx eax, byte [rbp + 0x50]
mov byte [rbx + 0x460], 0
mov dword [rbx + 0x468], eax
mov dword [rbx + 0x46c], r15d
mov rax, qword [rbp + 0x18]
mov qword [rbx + 0x470], rax
mov eax, dword [rbp + 0x20]
mov dword [rbx + 0x478], eax
mov rax, qword [rbp + 0x28]
mov qword [rbx + 0x480], rax
mov eax, dword [rbp + 0x30]
mov dword [rbx + 0x488], eax
mov byte [rbx + 0x490], 1
movaps xmm6, xmmword [rsp + 0x800]
add rsp, 0x818
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_DEFAULT_MAX_FRAME_SIZE___val__val___MAX_MAX_FRAME_SIZEC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.19_src_frame_settings.rs
lea r8, [0x140124a08]
mov edx, 0x4c
call fcn.140101580
lea rcx, str.assertion_failed:_max___std::u32::MAX_as_usize
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.19_src_server.rs
mov edx, 0x2f
call fcn.140101580
lea rcx, str.assertion_failed:_DEFAULT_MAX_FRAME_SIZE_as_usize___val__val___MAX_MAX_FRAME_SIZE_as_usizeC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.19_srccodec_framed_read.rs
lea r8, [0x140137ef8]
mov edx, 0x5e
call fcn.140101580
lea r8, [rsp + 0x468]
mov byte [r8], al
lea rax, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.19_src_server.rs
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_SETTINGS_frame
lea r9, [0x14010b318]
mov edx, 0x16
call fcn.1401018d0
int3