Function at 0x1400919ec
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
lea rdx, str.EtwEventWritesrcetwpatch.rs
lea rsi, [rsp + 0x38]
mov r8d, 0xd
mov rcx, rsi
call fcn.14003f110
movabs rax, 0x8000000000000000
cmp qword [rsi], rax
jne 0x140091b5e
mov rdi, qword [rsp + 0x40]
lea rcx, [0x140333d20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140091b9a
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140091bec
mov dl, byte [rax]
xor ecx, ecx
mov r8d, edx
mov dl, byte [rax + rcx + 1]
inc rcx
cmp r8b, 0xc3
jne 0x140091a56
cmp dl, 0xcc
jne 0x140091a56
cmp byte [rax + rcx - 1], 0xe8
lea rcx, [rcx - 1]
jne 0x140091a6b
mov rdx, rax
add rdx, rcx
movzx eax, byte [rax + rcx + 1]
add rax, rdx
add rax, 5
lea rdi, [rsp + 0x58]
mov qword [rdi], rax
mov qword [rsp + 0x38], rdi
lea rax, [0x140050d70]
mov qword [rsp + 0x40], rax
lea rax, str.Call_destination_address:_0x
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov qword [rcx + 8], 2
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 1
call fcn.140180d10
lea r9, [rsp + 0x34]
mov dword [r9], 0
mov rdi, qword [rdi]
mov edx, 3
mov rcx, rdi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140091c04
mov rax, qword [rsp + 0x58]
mov word [rax], 0xc033
mov byte [rax + 2], 0xc3
lea r9, [rsp + 0x34]
mov r8d, dword [r9]
mov edx, 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140091c73
lea rax, str.__t__
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call fcn.140180d10
nop
add rsp, 0xa8
pop rdi
pop rsi
ret
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
lea r8, [rsp + 0x60]
movaps xmmword [r8 + 0x10], xmm1
movaps xmmword [r8], xmm0
lea rax, [0x140240898]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueC:Usersdiddy.cargo_registry_srcindex.crates.io_6f17d22bba15001fzopfli_0.8.1_srccache.rs
lea r9, [0x140240340]
mov edx, 0x2b
call fcn.1402320b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
mov eax, 0x535f4f4b
cmovne eax, ecx
lea r8, [rsp + 0x60]
mov qword [r8], 0
mov dword [r8 + 8], eax
lea rax, [0x1402408d0]
mov qword [rsp + 0x20], rax
lea rcx, str.____GetModuleHandleA_Failed
lea r9, [0x140240300]
mov edx, 0x1b
call fcn.1402320b0
lea rcx, str.____GetProcAddress_Failed
lea r8, [0x1402408e8]
mov edx, 0x19
call fcn.1402321d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
mov eax, 0x535f4f4b
cmovne eax, ecx
xor edx, edx
lea rcx, [rsp + 0x98]
mov qword [rcx], rdx
mov dword [rcx + 8], eax
mov qword [rsp + 0x38], rcx
lea rax, case.0x140137cc1.1905
mov qword [rsp + 0x40], rax
lea rax, str.____VirtualProtect_Failed_With_Error:
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rax
lea rdx, [0x140240968]
call fcn.140231c40
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
mov eax, 0x535f4f4b
cmovne eax, ecx
xor edx, edx
lea rcx, [rsp + 0x98]
mov qword [rcx], rdx
mov dword [rcx + 8], eax
mov qword [rsp + 0x38], rcx
lea rax, case.0x140137cc1.1905
mov qword [rsp + 0x40], rax
lea rax, str.____VirtualProtect_Failed_With_Error:
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rax
lea rdx, [0x140240980]
call fcn.140231c40
int3