Function at 0x1400bca11
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, 0x108
mov r9, rdx
shr r9, 0x10
mov r11, rdx
shr r11, 0x30
lea eax, [r11 + r9]
mov qword [rsp + 0xa8], r9
cmp ax, r9w
jle 0x1400bd70d
mov rsi, rdx
shr rsi, 0x20
mov r9, qword [rcx + 8]
mov qword [rsp + 0xa0], r9
mov r9, qword [rcx + 0x10]
mov qword [rsp + 0xf8], r9
movsx rax, ax
mov qword [rsp + 0xe0], rax
movzx r9d, word [r8 + 0x10]
movzx edi, word [r8 + 0x12]
mov r10d, dword [r8 + 0x14]
mov eax, edi
or eax, r9d
mov dword [rsp + 0x74], eax
mov eax, r11d
or eax, esi
mov dword [rsp + 0x70], eax
movsx rax, dx
mov qword [rsp + 0x98], rax
lea rax, [rax*4]
add rax, qword [rcx]
mov qword [rsp + 0xf0], rax
mov eax, 0xff
mov edx, r10d
mov ecx, r10d
and ecx, eax
mov dword [rsp + 0x6c], ecx
mov ecx, r10d
mov ebp, r10d
shr ecx, 0x10
and ecx, eax
mov dword [rsp + 0x68], ecx
mov qword [rsp + 0xc0], r9
mov eax, r9d
shl eax, 8
mov dword [rsp + 0x5c], eax
movzx eax, word [r8 + 0x18]
mov qword [rsp + 0xb8], rax
shl rax, 8
mov qword [rsp + 0xd0], rax
movzx eax, si
movsx rcx, ax
dec rax
mov qword [rsp + 0x80], rax
mov rbx, qword [r8]
mov r10, qword [r8 + 8]
movzx eax, byte [r8 + 0x1b]
mov dl, byte [r8 + 0x1c]
movzx r8d, byte [r8 + 0x1a]
mov dword [rsp + 0x38], r8d
shl r8d, 0x18
mov dword [rsp + 0x54], r8d
mov qword [rsp + 0xd8], rdi
mov r8d, edi
shl r8d, 8
mov dword [rsp + 0x58], r8d
movsx r9, word [rsp + 0xa8]
mov qword [rsp + 0x78], rdx
dec edx
mov dword [rsp + 0x64], edx
mov qword [rsp + 0x88], rsi
movzx edx, si
mov dword [rsp + 0x50], edx
mov edx, ebp
mov dword [rsp + 0x3c], ebp
movzx edx, dh
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x90], rcx
lea rcx, [rcx*4]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0xb0], rax
mov eax, eax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x20], r10
mov qword [rsp + 0xe8], r11
mov rcx, qword [rsp + 0xf8]
imul rcx, r9
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
jb 0x1400bd863
cmp word [rsp + 0x74], 0
js 0x1400bd853
cmp word [rsp + 0x70], 0
js 0x1400bd853
mov r8d, r9d
sub r8w, word [rsp + 0xa8]
js 0x1400bd877
mov rax, rdx
sub rax, qword [rsp + 0x98]
jb 0x1400bd88f
cmp rax, qword [rsp + 0x90]
jb 0x1400bd8a3
movzx edx, r8w
mov rax, qword [rsp + 0xf0]
lea r12, [rax + rcx*4]
mov rax, rdx
not rax
add rax, r11
mov ecx, dword [rsp + 0x64]
cmp cl, 2
cmovae rax, rdx
movzx ebp, word [rsp + 0x38]
movzx edx, word [rsp + 0x6c]
mov dword [rsp + 0x2c], edx
movzx esi, word [rsp + 0x60]
movzx edx, word [rsp + 0x68]
mov dword [rsp + 0x28], edx
test cl, 0xfd
mov qword [rsp + 0x100], r9
je 0x1400bcd85
test r11w, r11w
je 0x1400bd7b4
cmp word [rsp + 0x88], 0
je case.default.0x1400bccdb
imul rax, qword [rsp + 0xd8]
xor edx, edx
div r11
mov rcx, rax
mov eax, dword [rsp + 0x5c]
xor edx, edx
div dword [rsp + 0x50]
imul rcx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x80]
imul rdi, rax
mov r15, rax
neg r15
cmp byte [rsp + 0x78], 2
cmovb r15, rax
mov eax, 0
cmovb rdi, rax
add rdi, rcx
mov rax, qword [rsp + 0xc8]
lea rcx, [0x1402eb3f0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rsi, qword [rsp + 0x30]
mov rax, rdi
shr rax, 8
lea rcx, [rax + rax*2]
add rcx, 3
cmp rcx, r10
ja 0x1400bd82c
lea rax, [rax + rax*2]
movzx edx, byte [rbx + rax]
movzx ecx, byte [rbx + rax + 1]
movzx eax, byte [rbx + rax + 2]
cmp byte [rsp + 0x38], 0xff
je 0x1400bcd5c
imul edx, ebp
imul edx, edx, 0x8081
shr edx, 0x17
imul ecx, ebp
imul ecx, ecx, 0x8081
imul eax, ebp
imul eax, eax, 0x8081
shr eax, 7
and eax, 0x1ff0000
shr ecx, 0xf
and ecx, 0x1ff00
or ecx, edx
movzx edx, cx
or edx, eax
or edx, dword [rsp + 0x54]
mov rcx, r12
call fcn.1400bd92f
mov r10, qword [rsp + 0x20]
jmp 0x1400bcd6f
shl edx, 0x10
shl ecx, 8
or ecx, edx
add eax, ecx
add eax, 0xff000000
mov dword [r12], eax
add r12, 4
add rdi, r15
add rsi, 0xfffffffffffffffc
jne 0x1400bcce2
jmp 0x1400bd6ec
test r11w, r11w
je 0x1400bd804
imul rax, qword [rsp + 0xc0]
xor edx, edx
div r11
cmp word [rsp + 0x88], 0
je case.default.0x1400bce15
mov r13, rax
mov r8, qword [rsp + 0xb0]
lea rax, [0x1403b6438]
mov rax, qword [rax + r8*8]
imul r13, rax
imul rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x58]
xor edx, edx
div dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
imul rcx, rax
mov rdx, rax
neg rdx
cmp byte [rsp + 0x78], 2
mov edi, 0
cmovae rdi, rcx
cmovb rdx, rax
mov qword [rsp + 0x40], rdx
lea rcx, [0x1402eb400]
movsxd rax, dword [rcx + r8*4]
add rax, rcx
jmp rax
mov rsi, qword [rsp + 0x30]
mov rax, rdi
shr rax, 8
imul rax, qword [rsp + 0x48]
lea rcx, [rax + r13]
lea rdx, [rax + r13]
add rdx, 3
cmp rcx, 0xfffffffffffffffc
ja 0x1400bd835
cmp rdx, r10
ja 0x1400bd841
movzx r8d, byte [rbx + rcx]
movzx edx, byte [rbx + rcx + 1]
movzx eax, byte [rbx + rcx + 2]
cmp byte [rsp + 0x38], 0xff
je 0x1400bcea9
imul r8d, ebp
imul ecx, r8d, 0x8081
shr ecx, 0x17
imul edx, ebp
imul edx, edx, 0x8081
imul eax, ebp
imul eax, eax, 0x8081
shr eax, 7
and eax, 0x1ff0000
shr edx, 0xf
and edx, 0x1ff00
or edx, ecx
movzx edx, dx
or edx, eax
or edx, dword [rsp + 0x54]
mov rcx, r12
call fcn.1400bd92f
mov r10, qword [rsp + 0x20]
jmp 0x1400bcebe
shl r8d, 0x10
shl edx, 8
or edx, r8d
add eax, edx
add eax, 0xff000000
mov dword [r12], eax
add r12, 4
add rdi, qword [rsp + 0x40]
add rsi, 0xfffffffffffffffc
jne 0x1400bce1c
jmp 0x1400bd6ec
mov r9, qword [rsp + 0x100]
inc r9
cmp r9, qword [rsp + 0xe0]
mov r11, qword [rsp + 0xe8]
jne 0x1400bcbaa
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.attempt_to_divide_by_zeroassertion_failed:_mid___self.len___home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ttf_parser_0.20.0_src_tables_cff_argstack.rs
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
jmp 0x1400bd822
lea rcx, str.attempt_to_divide_by_zeroassertion_failed:_mid___self.len___home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ttf_parser_0.20.0_src_tables_cff_argstack.rs
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
jmp 0x1400bd822
lea rcx, str.attempt_to_divide_by_zeroassertion_failed:_mid___self.len___home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ttf_parser_0.20.0_src_tables_cff_argstack.rs
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
jmp 0x1400bd822
lea rcx, str.attempt_to_divide_by_zeroassertion_failed:_mid___self.len___home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ttf_parser_0.20.0_src_tables_cff_argstack.rs
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
mov edx, 0x19
call fcn.14007aaa0
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
jmp 0x1400bd84b
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
call fcn.14007ec10
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
mov rcx, rdx
mov rdx, r10
call fcn.14007a270
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_synconce.rs
lea r8, [0x14034f4a0]
jmp 0x1400bd885
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer.rssoftware_b
mov rdx, qword [rsp + 0xa0]
call fcn.140079340
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_synconce.rs
lea r8, [0x14034abe8]
mov edx, 0x2b
call fcn.14007aaa0
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
mov rcx, qword [rsp + 0x98]
call fcn.140079340
lea r8, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_i_slint_core_1.4.1_software_renderer_draw_functions.rs
mov rcx, qword [rsp + 0x90]
mov rdx, rax
call fcn.14007a270
int3