Function at 0x1400c49bb
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, 0x158
movaps xmmword [rsp + 0x140], xmm6
mov rbx, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400bd57b
test rax, rax
js 0x1400c501b
mov rdi, rax
mov qword [rsp + 0x68], rsi
mov rcx, rax
mov dl, 1
call fcn.140272bf2
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rdx
mov rax, qword [rbx]
mov qword [rsp + 0xe8], rax
mov r14, qword [rbx + 8]
mov r13, qword [rbx + 0x10]
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbx + 0x1c]
movzx ebp, byte [rbx + 0x24]
xor r8d, r8d
lea edx, [rcx*4]
shl eax, 2
imul rax, rdx
cmp ebp, 1
mov r9d, 4
sbb r9, r8
mov qword [rsp + 0x80], r8
mul r9
mov rdx, 0xffffffffffffffff
cmovno rdx, rax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
cmp rdx, rdi
jne 0x1400c51d9
xor r15d, r15d
test bpl, bpl
setne r15b
shl r15, 4
add r15, 0x30
imul r15, rcx
cmp r15, 2
mov eax, 1
cmovae rax, r15
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x1400c4ff6
xor eax, eax
test bpl, bpl
setne al
lea rbx, [rax*8 + 8]
imul rbx, rcx
lea rax, [rbx*4]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x78], rax
mov rax, rbx
shr rax, 3
mov rcx, rax
shl rcx, 4
lea rcx, [rcx + rcx*2]
mov qword [rsp + 0xd8], rcx
mov r12, rbx
and r12, 0xfffffffffffffff0
shl rax, 2
lea rsi, [rax + rax*2]
xorps xmm6, xmm6
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xe0], r14
mov dword [rsp + 0x5c], ebp
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x100]
cmp rdi, rax
cmovb rax, rdi
xor ecx, ecx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rcx
cmp r15, rax
jne 0x1400c5151
mov rcx, rbx
mov dl, 1
call fcn.140272bf2
cmp r13, r14
mov r8, r14
cmovb r8, r13
mov rcx, r14
sub rcx, r8
mov qword [rsp + 0x108], rcx
cmp rcx, rbx
mov qword [rsp + 0x48], rdx
jae 0x1400c4b93
lea rbx, str.failed_to_fill_whole_buffer
test rax, rax
jne 0x1400c4fc0
jmp 0x1400c5042
mov qword [rsp + 0xf0], rdi
mov rdi, rax
add r8, qword [rsp + 0xe8]
mov rcx, rdx
mov rdx, r8
mov r8, rbx
call fcn.14038a820
test ebp, ebp
mov qword [rsp + 0xf8], r13
je 0x1400c4ced
cmp ebp, 1
jne 0x1400c4dc0
test bl, 8
jne 0x1400c517c
cmp qword [rsp + 0x78], r15
ja 0x1400c518c
mov r8, rdi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
test rbx, rbx
je 0x1400c4f97
mov ebx, 0x10
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
mov eax, 0x10
cmp r13, 0x10
cmovb rax, r13
jb 0x1400c5112
lea rbp, [rcx + rax]
sub r13, rax
lea rax, [rcx + 8]
mov r8d, 8
xor edx, edx
movzx r9d, byte [rcx + r8 - 1]
shl rdx, 8
or rdx, r9
dec r8
jne 0x1400c4c47
xor ecx, ecx
mov r8, rdx
shr r8, cl
and r8b, 0xf
movzx r8d, r8b
mov r9d, r8d
shl r9d, 4
add r9d, r8d
mov byte [rsp + rcx + 0x93], r9b
add rcx, 4
cmp rcx, 0x40
jne 0x1400c4c5b
mov r8d, 0x40
mov rcx, rax
lea rdx, [rsp + 0x90]
xor r9d, r9d
call fcn.1400f4530
xor eax, eax
xor ecx, ecx
mov r8, rdi
mov rdx, rbx
add rdx, rax
je 0x1400c50c5
cmp rdx, r15
ja 0x1400c50ce
movups xmm0, xmmword [rsp + rcx + 0x90]
movups xmmword [r14 + rax], xmm0
add rcx, 0x10
add rax, r12
cmp rcx, 0x40
jne 0x1400c4ca5
add r14, 0x10
add rbx, 0x10
mov rcx, rbp
test r13, r13
jne 0x1400c4c21
jmp 0x1400c4f97
cmp qword [rsp + 0xd8], r15
ja 0x1400c519c
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
test rbx, rbx
je 0x1400c4db8
mov rbx, qword [rsp + 0x40]
xor r14d, r14d
mov r13, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
mov eax, 8
cmp r13, 8
cmovb rax, r13
jb 0x1400c5122
lea rbp, [rcx + rax]
sub r13, rax
mov r8d, 0x30
lea rdx, [rsp + 0x90]
mov r9b, 1
call fcn.1400f4530
mov rax, rbx
mov rcx, r14
xor r8d, r8d
lea rdx, [rcx + 0xc]
cmp rcx, 0xfffffffffffffff3
ja 0x1400c50d7
cmp rdx, r15
ja 0x1400c50e0
mov edx, dword [rsp + r8 + 0x98]
mov dword [rax + 8], edx
mov rdx, qword [rsp + r8 + 0x90]
mov qword [rax], rdx
add r8, 0xc
add rcx, rsi
add rax, rsi
cmp r8, 0x30
jne 0x1400c4d67
add r14, 0xc
add rbx, 0xc
mov rcx, rbp
test r13, r13
jne 0x1400c4d2e
mov r8, rdi
jmp 0x1400c4f97
test bl, 8
jne 0x1400c51ac
cmp qword [rsp + 0x78], r15
ja 0x1400c51c1
mov r8, rdi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
test rbx, rbx
je 0x1400c4f97
mov r13d, 0x10
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
mov rax, qword [rsp + 0x48]
mov ecx, 0x10
cmp r14, 0x10
cmovb rcx, r14
jb 0x1400c5137
lea rbx, [rax + rcx]
sub r14, rcx
mov ecx, 7
xor edx, edx
movzx r8d, byte [rax + rcx]
shl rdx, 8
or rdx, r8
dec rcx
cmp rcx, 1
jne 0x1400c4e36
mov cl, byte [rax]
movzx r9d, cl
movzx ecx, byte [rax + 1]
mov byte [rsp + 0x30], r9b
mov byte [rsp + 0x31], cl
lea r8, [rsp + 0x32]
mov byte [r8 + 4], 0
mov dword [r8], 0
mov byte [rsp + 0x37], 0xff
cmp r9b, cl
jbe 0x1400c4ece
lea r8d, [r9 + r9]
lea r8d, [r8 + r8*2]
movzx ecx, cx
add r8d, ecx
sub ecx, r9d
mov r9d, 2
movzx r10d, r8w
imul r10d, r10d, 0x2493
shr r10d, 0x10
movsx r11d, cx
add r11d, r8d
sub r8d, r10d
movzx r8d, r8w
shr r8d, 1
add r8d, r10d
shr r8d, 2
mov byte [rsp + r9 + 0x30], r8b
lea r10, [r9 + 1]
mov r8d, r11d
mov r9, r10
cmp r10, 8
jne 0x1400c4e90
jmp 0x1400c4f06
movzx r9d, r9w
movzx ecx, cx
lea r8d, [rcx + r9*4]
sub ecx, r9d
xor r9d, r9d
movzx r10d, r8w
imul r10d, r10d, 0xcccd
shr r10d, 0x12
mov byte [rsp + r9 + 0x32], r10b
inc r9
movsx r10d, cx
add r10d, r8d
mov r8d, r10d
cmp r9, 4
jne 0x1400c4edf
add rax, 8
lea r8, [rsp + 0x93]
xor ecx, ecx
mov r9, rdx
shr r9, cl
and r9d, 7
mov r9b, byte [rsp + r9 + 0x30]
mov byte [r8], r9b
add rcx, 3
add r8, 4
cmp rcx, 0x30
jne 0x1400c4f14
mov r8d, 0x40
mov rcx, rax
lea rdx, [rsp + 0x90]
xor r9d, r9d
call fcn.1400f4530
xor eax, eax
xor ecx, ecx
mov r8, rdi
mov rdx, r13
add rdx, rax
je 0x1400c50e9
cmp rdx, r15
ja 0x1400c50fe
movups xmm0, xmmword [rsp + rcx + 0x90]
movups xmmword [rbp + rax], xmm0
add rcx, 0x10
add rax, r12
cmp rcx, 0x40
jne 0x1400c4f54
add rbp, 0x10
add r13, 0x10
mov rax, rbx
test r14, r14
jne 0x1400c4e15
mov r13, qword [rsp + 0xf8]
add r13, qword [rsp + 0x28]
mov rbx, r15
test r8, r8
mov r14, qword [rsp + 0xe0]
mov ebp, dword [rsp + 0x5c]
mov rdi, qword [rsp + 0xf0]
je 0x1400c4fd4
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x108]
cmp rax, qword [rsp + 0x28]
jb 0x1400c5049
add qword [rsp + 0x40], r15
sub rdi, r15
mov rbx, qword [rsp + 0x28]
jne 0x1400c4b1e
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x38], 0xc
jmp 0x1400c5026
mov qword [rsi], 3
mov byte [rsi + 0x38], 9
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, str.failed_to_fill_whole_buffer
mov rdx, qword [rsp + 0x68]
mov qword [rdx], rbx
movups xmm0, xmmword [rsp + 0x110]
movups xmm1, xmmword [rsp + 0x120]
movups xmm2, xmmword [rsp + 0x130]
movups xmmword [rdx + 8], xmm0
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 0x28], xmm2
mov eax, dword [rsp + 0xd1]
mov ecx, dword [rsp + 0xd4]
mov dword [rdx + 0x39], eax
mov dword [rdx + 0x3c], ecx
mov byte [rdx + 0x38], 0xb
cmp qword [rsp + 0x60], 0
je 0x1400c5026
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c50f0
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c5105
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c50f7
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c5105
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov rcx, 0xfffffffffffffff0
call fcn.14038ebd0
ud2
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov rcx, rdx
mov rdx, r15
call fcn.14038e940
ud2
lea rcx, str.assertion_failed:_source.len____16__dest.len____64P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c5145
lea rcx, str.assertion_failed:_source.len____8__dest.len____48
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov edx, 0x37
jmp 0x1400c514a
lea rcx, str.assertion_failed:_source.len____16__dest.len____64P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov edx, 0x38
call fcn.14038e950
ud2
lea r8, [rsp + 0x90]
mov qword [r8 + 0x10], 0
lea r9, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x30]
call fcn.140390e53
ud2
lea rcx, str.assertion_failed:_source.len_____16__0P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c51ba
lea rcx, str.assertion_failed:_dest.len_____block_count__64P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c51cf
lea rcx, str.assertion_failed:_dest.len_____block_count__48P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c51cf
lea rcx, str.assertion_failed:_source.len_____16__0P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov edx, 0x28
jmp 0x1400c514a
lea rcx, str.assertion_failed:_dest.len_____block_count__64P
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
mov edx, 0x30
jmp 0x1400c514a
lea r8, [rsp + 0x90]
mov qword [r8 + 0x10], 0
lea r9, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsdxt.rs
jmp 0x1400c5168