Function at 0x140003c01
Capabilities:
Write clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x738
movaps xmmword [rsp + 0x720], xmm6
mov rsi, rcx
movzx eax, byte [rcx + 0x28]
test eax, eax
je 0x140003c48
cmp eax, 1
jne 0x140003e86
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.0h_v_
mov edx, 0x23
jmp 0x140004653
lea rdi, [rsp + 0x1a0]
lea rax, [0x1400afc19]
mov qword [rdi], rax
mov rcx, qword [rdi]
movabs rax, 0x19df276f2afb81e2
mov qword [rdi], rax
mov rdx, qword [rdi]
call fcn.140001811
xorps xmm0, xmm0
and dword [rdi + 0x20], 0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
xor edx, edx
lea rcx, [0x1400b6903]
cmp rdx, 0x20
jae 0x140003ca5
mov r8, qword [rdx + rcx]
xor r8, qword [rax + rdx]
mov qword [rsp + rdx + 0x1a0], r8
add rdx, 8
jmp 0x140003c89
mov edx, 0x20
cmp rdx, 0x23
ja 0x140003cdb
movzx r8d, byte [rdx + rcx + 2]
shl r8d, 0x10
movzx r9d, word [rdx + rcx]
add r8d, r9d
add r8d, 0x78000000
xor r8d, dword [rax + rdx]
mov dword [rsp + rdx + 0x1a0], r8d
add rdx, 4
jmp 0x140003caa
lea rdi, [rsp + 0x228]
mov eax, dword [rdi - 0x68]
lea rbx, [rsp + 0x50]
mov dword [rbx + 0x20], eax
movaps xmm0, xmmword [rdi - 0x88]
movaps xmm1, xmmword [rdi - 0x78]
movaps xmmword [rbx + 0x10], xmm1
movaps xmmword [rbx], xmm0
mov word [rdi - 0x1e], 0x202
mov byte [rdi - 0x1c], 2
mov byte [rdi - 0x28], 3
mov r14d, 1
mov qword [rdi - 0x78], r14
mov qword [rdi - 0x70], 0xa00000
mov eax, 2
mov qword [rdi - 0x68], rax
mov qword [rdi - 0x88], r14
mov qword [rdi - 0x80], 0x200000
mov dword [rdi - 0x1b], 0x2020202
mov qword [rdi - 0x58], rax
mov qword [rdi - 0x48], rax
mov word [rdi - 0x17], 0x302
xor r12d, r12d
mov byte [rdi - 0x20], r12b
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
movabs rax, 0x101000000000000
mov qword [rdi - 0xb], rax
mov byte [rdi - 0xc], 0xa
mov dword [rdi - 0x10], 0xfa
mov byte [rdi - 3], r12b
mov qword [rdi], 8
mov edx, 1
mov rcx, rdi
call fcn.1400339f7
mov rax, qword [rdi]
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], 0x24
and qword [rsp + 0xf0], 0
mov r13, qword [rdi + 0x10]
mov qword [rsp + 0xf8], r14
imul rcx, r13, 0x18
lea rbp, [rcx + rax]
add rbp, 0x10
cmp r12, 0x10
je 0x140003e0f
mov rdi, qword [rsp + r12 + 0xe0]
mov rbx, qword [rsp + r12 + 0xe8]
mov rcx, rbx
call fcn.140081d39
mov r14, rax
mov r15, rdx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r15
mov qword [rbp], rbx
inc r13
add r12, 0x10
add rbp, 0x18
jmp 0x140003dc4
lea rdx, [rsp + 0x1a0]
mov qword [rdx + 0x98], r13
lea rdi, [rsp + 0xe0]
mov r8d, 0xa0
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rdi
call fcn.14002f3e4
mov r14, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x98]
mov rcx, r14
call fcn.140005620
mov rdx, qword [rdi + 0x90]
mov rcx, r14
call fcn.1400061d4
mov rcx, rdi
call fcn.14002f3bd
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov byte [rsi + 0x20], 0
mov r13, qword [rsi]
mov rdi, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x80], rax
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
call fcn.140026337
mov rax, qword [rsi]
mov qword [rsp + 0xb8], rax
test rax, rax
jne 0x140003ef7
movups xmm0, xmmword [rsp + 0x1a8]
lea r8, [rsp + 0xe0]
movups xmmword [r8], xmm0
lea rax, str.srcmain.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, fcn.1400014b2
mov edx, 0x2b
call fcn.1400b23a0
ud2
mov qword [rsp + 0xa0], rdi
lea rax, [rsp + 0x1a0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb0], rax
lea r15, [rsp + 0xc8]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm6, xmm6
mov qword [rsp + 0x78], r12
mov rcx, r15
call fcn.140026337
mov rdi, qword [rsp + 0xc8]
test rdi, rdi
je 0x140004057
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc0], rax
mov rbx, qword [rsp + 0xd8]
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
call fcn.140083a1c
test al, al
jne 0x140004610
test r13, r13
je 0x14000465e
lock inc qword [r13]
jle 0x14000465a
mov rsi, qword [r13 + 0x10]
lock inc qword [rsi]
jle 0x14000465a
mov r14, r15
mov r15, qword [r13 + 0x18]
mov ecx, 0x10
mov edx, 8
call fcn.1400805ae
mov qword [rax], rsi
mov qword [rax + 8], r15
mov rcx, rax
lea rdx, [0x1400befc0]
call fcn.1400649a8
lock inc qword [r12]
jle 0x14000465a
mov rbp, rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rax
and dword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rbx
and qword [rsp + 0xf8], 0
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x100], rbx
mov byte [rsp + 0x108], 1
mov rax, qword [r13 + 0x20]
mov rax, qword [rax + 0xa0]
cmp qword [rax], 0
je 0x140004092
cmp qword [rax + 8], rbx
jbe 0x140004079
lea rcx, [rsp + 0x50]
call fcn.14000112e
mov r15, r14
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004610
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x1a0], xmm0
lea rcx, [rsp + 0x1a0]
call fcn.1400014b2
jmp 0x140004620
test byte [rax + 0x3c], 1
je 0x140004092
test byte [rax + 0x40], 2
je 0x140004092
cmp qword [rax + 0x10], 0
je 0x140004092
cmp qword [rax + 0x18], rbx
jb 0x14000403e
xor ecx, ecx
call fcn.140001000
mov eax, dword [0x140127234]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r12, qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
cmp r12, rax
jne 0x1400040d6
mov qword [rbp + 0x28], 1
mov sil, 1
xor ebx, ebx
lea r15, [rsp + 0x1a0]
jmp 0x140004233
test rax, rax
lea r15, [rsp + 0x1a0]
jne 0x140004127
xor eax, eax
mov ecx, 1
lock cmpxchg qword [rbp + 0x28], rcx
jne 0x140004127
mov rdx, qword [rbp]
mov rax, qword [rbp + 8]
mov rcx, r15
call qword [rax + 0x28]
lea rsi, [rbp + 0x30]
mov rcx, rsi
call fcn.140001668
mov r8d, 0x578
mov rcx, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov sil, 1
xor ebx, ebx
jmp 0x140004233
mov r8, qword [rbp + 0x20]
test r8, r8
je 0x140004630
mov rax, r12
xor edx, edx
div r8
mov rax, rdx
mov rcx, qword [rbp + 0x10]
mov rdx, r8
mov r8, rax
lea r9, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilpool.rsC:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprefilter_byteset.rs
call fcn.140001835
mov rcx, r15
mov rdx, rax
call fcn.140035705
cmp qword [rsp + 0x1a0], 0
je 0x1400041b9
mov rcx, r15
call fcn.1400010aa
mov rdx, qword [rbp]
mov rax, qword [rbp + 8]
mov rcx, r15
call qword [rax + 0x28]
mov al, byte [0x140127230]
mov ecx, 0x578
mov edx, 8
call fcn.140004ae0
test rax, rax
je 0x140004713
mov r12, rax
mov r8d, 0x578
mov rcx, rax
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov bl, 1
xor esi, esi
jmp 0x140004233
mov rcx, qword [rsp + 0x1a8]
mov dl, byte [rsp + 0x1b0]
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400041e9
lea r8, [rax - 1]
mov qword [rcx + 0x20], r8
mov r8, qword [rcx + 0x10]
mov r12, qword [r8 + rax*8 - 8]
call fcn.140001070
jmp 0x14000422e
call fcn.140001070
mov rdx, qword [rbp]
mov rax, qword [rbp + 8]
mov rcx, r15
call qword [rax + 0x28]
mov al, byte [0x140127230]
mov ecx, 0x578
mov edx, 8
call fcn.140004ae0
test rax, rax
je 0x140004713
mov r12, rax
mov r8d, 0x578
mov rcx, rax
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov sil, 1
mov bl, 1
mov rcx, qword [r13 + 0x10]
mov rax, qword [r13 + 0x18]
mov rdx, qword [rax + 0x10]
dec rdx
and rdx, 0xfffffffffffffff0
test bl, bl
je 0x14000424f
mov r8, r12
jmp 0x140004256
mov r8, rbp
add r8, 0x30
add rdx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x88]
lea r9, [rsp + 0xe0]
call qword [rax + 0x70]
test bl, bl
je 0x1400042dd
test sil, sil
je 0x1400042f2
xor ecx, ecx
call fcn.140001000
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140004640
mov rax, qword [rax]
xor edx, edx
div rcx
mov rsi, rdx
mov ebx, 0xa
sub ebx, 1
jb 0x1400042f2
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x20]
mov r8, rsi
lea r9, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilpool.rsC:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprefilter_byteset.rs
call fcn.140001835
mov rcx, r15
mov rdx, rax
call fcn.140035705
cmp qword [rsp + 0x1a0], 0
je 0x1400044b7
mov rcx, r15
call fcn.1400010aa
jmp 0x14000429d
mov qword [rsp + 0x30], r12
cmp r12, 2
je 0x1400046e6
mov qword [rbp + 0x28], r12
jmp 0x1400042fa
mov rcx, r12
call fcn.140001649
mov r15, r14
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14000112e
test rsi, rsi
mov r12, qword [rsp + 0x78]
je 0x140004610
mov ecx, 1
call fcn.140081d39
mov rbp, rax
mov rbx, rdx
mov byte [rax], 0x32
call fcn.140026672
mov r15, rax
test rax, rax
jne 0x1400045dd
mov qword [rsp + 0xa8], rbx
mov rax, rbp
inc rax
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rax
and word [rsp + 0x98], 0
lea rbx, [rsp + 0x88]
mov rcx, rbx
call fcn.140026168
test ax, ax
je 0x140004502
mov esi, edx
lea rcx, [rsp + 0x1a0]
mov rdx, rbx
call fcn.140026235
mov r12, qword [rsp + 0x1a0]
inc r12
mov rax, 0xffffffffffffffff
cmove r12, rax
cmp r12, 5
mov eax, 4
cmovb r12, rax
mov rax, r12
shr rax, 0x3e
jne 0x14000471f
lea rbx, [r12 + r12]
mov ecx, 2
mov rdx, rbx
call fcn.140026756
test rax, rax
je 0x140004726
mov r15, rax
mov word [rax], si
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 1
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0xe0], xmm0
mov ebx, 1
mov r12, qword [rsp + 0x78]
lea rcx, [rsp + 0xe0]
call fcn.140026168
cmp ax, 1
jne 0x140004497
mov esi, edx
cmp rbx, qword [rsp + 0x58]
jne 0x140004488
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + 0xe0]
call fcn.140026235
mov r8, qword [rsp + 0x1a0]
inc r8
mov rax, 0xffffffffffffffff
cmove r8, rax
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140026278
mov rcx, rax
call fcn.140004d96
mov r15, qword [rsp + 0x50]
mov word [r15 + rbx*2], si
inc rbx
mov qword [rsp + 0x60], rbx
jmp 0x140004427
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
cmp rax, rdx
je 0x140004515
jmp 0x140004524
mov rsi, qword [rsp + 0x1a8]
mov bl, byte [rsp + 0x1b0]
mov rdx, qword [rsi + 0x20]
cmp rdx, qword [rsi + 0x18]
jne 0x1400044dd
lea rcx, [rsi + 0x10]
call fcn.140084862
mov rdx, qword [rsi + 0x20]
mov r15, r14
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsi + 0x10]
mov qword [rax + rdx*8], r12
inc qword [rsi + 0x20]
mov rcx, rsi
mov edx, ebx
call fcn.140001070
jmp 0x140004304
mov qword [rsp + 0x30], 2
lea rax, [rsp + 0x38]
movups xmmword [rax], xmm6
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14002631c
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
and word [rbx + rax*2], 0
lea r15, [rax + rax]
add r15, 2
mov ecx, 0x42
mov rdx, r15
call sub.KERNEL32.dll_GlobalAlloc
test rax, rax
je 0x140004585
mov rsi, rax
mov rcx, rax
call sub.KERNEL32.dll_GlobalLock
mov rcx, rax
mov rdx, rbx
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call sub.KERNEL32.dll_GlobalUnlock
call sub.USER32.dll_EmptyClipboard
mov ecx, 0xd
mov rdx, rsi
call sub.USER32.dll_SetClipboardData
test rax, rax
je 0x140004598
xor r15d, r15d
jmp 0x1400045b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
jmp 0x1400045b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, rsi
call sub.KERNEL32.dll_GlobalFree
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x1400045cb
add r8, r8
mov edx, 2
mov rcx, rbx
call fcn.1400017f6
call fcn.140026780
test r15, r15
mov rbx, qword [rsp + 0xa8]
je 0x14000462c
mov rcx, r15
call fcn.1400260cc
mov rsi, rax
test rbx, rbx
je 0x1400045fd
mov edx, 1
mov rcx, rbp
mov r8, rbx
call fcn.1400017f6
test rsi, rsi
mov r15, r14
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
jne 0x1400046c4
mov rcx, rdi
mov rdx, qword [rsp + 0xc0]
call fcn.14008076e
mov ecx, 0x3e8
call rbp
jmp 0x140003f2a
xor esi, esi
jmp 0x1400045e8
lea rcx, [0x1400b6510]
lea r8, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilpool.rsC:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprefilter_byteset.rs
jmp 0x14000464e
lea rcx, [0x1400b6510]
lea r8, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilpool.rsC:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprefilter_byteset.rs
mov edx, 0x39
call fcn.1400b2110
ud2
ud2
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
jne 0x14000466f
xor eax, eax
jmp 0x14000468e
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
mov r8, qword [rsp + 0x80]
call fcn.140025df0
mov rax, qword [rsi]
mov r12, qword [rsi + 8]
lea r8, [rsp + 0x1a0]
mov rcx, qword [r8 + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], r12
mov qword [r8 + 0x10], rcx
lea rax, str.srcmain.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1400b6630]
jmp 0x140003eeb
lea r8, [rsp + 0x1a0]
mov qword [r8], rsi
lea rax, [0x1400ba2f0]
mov qword [r8 + 8], rax
lea rax, str.srcmain.rs
jmp 0x140003ed8
lea r9, [rsp + 0x1a0]
and qword [r9], 0
lea rax, str.C:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilpool.rsC:Userslightning.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.3_srcutilprefilter_byteset.rs
mov qword [rsp + 0x20], rax
lea rdx, [0x1401221d0]
lea r8, [rsp + 0x30]
mov cl, 1
call fcn.1400b4368
ud2
mov ecx, 8
mov edx, 0x578
jmp 0x14000472e
call fcn.140025680
ud2
mov ecx, 2
mov rdx, rbx
call fcn.1400b1d80
ud2