Function at 0x140011cb0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov qword [rsp + 0x138], r9
mov rdi, r8
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x20], 2
lea r9, [0x14036d402]
lea rcx, [rsp + 0x90]
call fcn.14000d560
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0xb8]
cmp rdx, r8
sete r9b
cmp qword [rsp + 0xb0], 0
je 0x14001200d
mov rsi, qword [rsp + 0xd8]
mov r11, rdi
cmp rsi, rdx
je 0x140012167
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x38], r12
mov rax, qword [rsp + 0xa8]
lea r9, [rax - 1]
mov qword [rsp + 0x48], r9
mov r12, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xd0]
mov qword [rsp + 0x40], r9
mov rbp, qword [rsp + 0xe8]
mov r10, qword [rsp + 0xc8]
mov r11, rax
mov r9, r10
mov qword [rsp + 0x160], r10
sub r11, r10
mov qword [rsp + 0x150], r11
lea r9, [r8 - 1]
mov qword [rsp + 0x148], r9
cmp r9, rax
setb byte [rsp + 0x37]
mov r9, rsi
sub r9, r8
mov qword [rsp + 0x78], r9
lea r14, [rcx + rsi]
lea rdi, [rcx + r8]
lea rbx, [r12 + r8]
lea r9, [r12 + r8]
dec r9
mov qword [rsp + 0x158], r9
lea r9, [r8 + rsi]
dec r9
mov qword [rsp + 0x130], r9
mov r11, rsi
lea r9, [rsi + rax]
dec r9
cmp r9, rdx
jae 0x14001211b
lea rsi, [r11 + rax]
mov r10, qword [rsp + 0x160]
add r10, r11
mov qword [rsp + 0x140], r10
cmp rbp, 0xffffffffffffffff
je 0x140011ef0
mov r13, r11
jmp 0x140011e36
xor ebp, ebp
mov r13, rsi
mov r9, qword [rsp + 0x48]
add r9, r13
cmp r9, rdx
jae 0x14001211b
cmp r11, r13
jne 0x14001211b
movzx r9d, byte [rcx + r9]
mov r10, qword [rsp + 0x40]
bt r10, r9
jae 0x140011e20
cmp r8, rbp
mov r9, rbp
cmova r9, r8
mov r10, r9
nop dword [rax]
cmp r10, rax
jae 0x140011e90
lea r15, [r11 + r10]
cmp r15, rdx
jae 0x1400128bf
lea r13, [r10 + 1]
movzx r15d, byte [r12 + r10]
cmp r15b, byte [r14 + r10]
mov r10, r13
je 0x140011e60
add r13, qword [rsp + 0x78]
xor ebp, ebp
jmp 0x140011e25
mov r10, r8
nop word cs:[rax + rax]
cmp rbp, r10
jae 0x140011ee0
dec r10
cmp r10, rax
jae 0x140011ff9
lea r9, [r10 + r11]
cmp r9, rdx
jae 0x1400128b3
movzx r15d, byte [r12 + r10]
cmp r15b, byte [rcx + r9]
je 0x140011ea0
mov rbp, qword [rsp + 0x150]
mov r13, qword [rsp + 0x140]
jmp 0x140011e25
xor ebp, ebp
jmp 0x140011fc7
mov r10, r11
jmp 0x140011f11
mov r9, qword [rsp + 0x48]
add r9, r10
cmp r9, rdx
jae 0x14001211b
cmp r11, r10
jne 0x14001211b
movzx r9d, byte [rcx + r9]
mov r10, qword [rsp + 0x40]
bt r10, r9
mov r10, rsi
jae 0x140011f00
xor r9d, r9d
mov rbp, r11
nop word cs:[rax + rax]
lea r10, [r8 + r9]
cmp r10, rax
jae 0x140011f70
lea r10, [r8 + rbp]
cmp r10, rdx
jae 0x1400128bc
movzx r15d, byte [rbx + r9]
lea r10, [rbp + 1]
inc r9
cmp r15b, byte [rdi + rbp]
mov rbp, r10
je 0x140011f40
jmp 0x140011f00
test byte [rsp + 0x37], 1
je 0x140011fe5
mov r9, qword [rsp + 0x130]
mov r10, qword [rsp + 0x158]
mov rbp, r8
nop word [rax + rax]
sub rbp, 1
jb 0x140011fc0
cmp r9, rdx
jae 0x1400128b3
movzx r13d, byte [r10]
dec r10
lea r15, [r9 - 1]
cmp r13b, byte [rcx + r9]
mov r9, r15
je 0x140011f90
mov r10, qword [rsp + 0x140]
jmp 0x140011f00
mov rbp, 0xffffffffffffffff
add qword [rsp + 0x78], rax
add r14, rax
add qword [rsp + 0x130], rax
cmp rsi, rdx
jne 0x140011dda
jmp 0x140012809
mov rbp, 0xffffffffffffffff
test r8, r8
je 0x140011fc7
mov r10, qword [rsp + 0x148]
lea r8, str._rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrarycore_src_strpattern.rs
mov rcx, r10
mov rdx, rax
call fcn.140035cf0
ud2
cmp byte [rsp + 0xca], 0
mov r11, rdi
jne 0x140012167
movzx eax, byte [rsp + 0xc8]
test r9b, 1
je 0x140012090
test r8, r8
je 0x14001213c
cmp rdx, r8
jbe 0x140012156
cmp byte [rcx + r8], 0xc0
jl 0x1400128da
mov r11, rdi
test al, al
je 0x140012167
nop word cs:[rax + rax]
xor al, 1
jne 0x140012060
jmp 0x140012164
movzx r10d, byte [rcx + r8]
test r10b, r10b
js 0x1400120b2
movzx r9d, r10b
mov r10d, eax
xor r10b, 1
test al, al
mov eax, r10d
je 0x14001212c
test r8, r8
je 0x140012070
cmp rdx, r8
jbe 0x1400128da
movzx r10d, byte [rcx + r8]
cmp r10b, 0xbf
jle 0x1400128da
test r10b, r10b
jns 0x14001207a
mov r9d, r10d
and r9b, 0x1f
movzx r9d, r9b
movzx esi, byte [rcx + r8 + 1]
and esi, 0x3f
cmp r10b, 0xe0
jb 0x140012103
movzx r11d, byte [rcx + r8 + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x14001210f
movzx r10d, byte [rcx + r8 + 3]
and r9d, 7
shl r9d, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or r9d, r10d
jmp 0x14001207e
shl r9d, 6
or r9d, esi
jmp 0x14001207e
shl r9d, 0xc
or r9d, r11d
jmp 0x14001207e
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
jmp 0x140012167
cmp r9d, 0x110000
cmove r8, rdi
mov r11, r8
jmp 0x140012167
mov r11, rdi
test al, al
je 0x140012167
nop word cs:[rax + rax]
xor al, 1
jne 0x140012150
jmp 0x140012164
mov r11, rdi
test al, al
je 0x140012167
nop dword [rax]
xor al, 1
jne 0x140012160
mov r11, rdi
sub rdi, r11
test dil, 1
jne 0x1400121f7
add rbx, r11
mov dword [rsp + 0x80], 3
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], 2
lea rsi, [rsp + 0x80]
mov qword [rsp + 0x128], rsi
lea r15, [rsp + 0x108]
mov rcx, r15
call fcn.140012960
test al, 1
jne 0x1400122b0
cmp dword [rsp + 0x80], 3
mov r13, qword [rsp + 0x138]
jne 0x14001241b
mov ebx, 1
xor ecx, ecx
xor r14d, r14d
jmp 0x14001240f
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x90], 0
lea rax, str.Odd_number_of_digits
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
lea rax, [0x14036fdc0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
lea rdx, fcn.14001bde0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x90]
call fcn.14000ac50
test al, al
jne 0x1400128ff
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov eax, 1
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], r13
mov qword [r12], rax
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, edx
mov rax, qword [rsp + 0x128]
cmp dword [rax], 3
jne 0x1400122d9
cmp qword [rsp + 0x118], 0
je 0x1400122d9
cmp qword [rsp + 0x120], 0
je 0x1400123d5
mov rcx, qword [0x14037d038]
test rcx, rcx
jne 0x1400122fe
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14001292d
mov rcx, rax
mov qword [0x14037d038], rax
mov r8d, 8
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14001292d
mov r13, rax
mov byte [rax], bl
mov qword [rsp + 0x60], 8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rsp + 0x108]
movups xmm1, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov r14d, 1
lea rbx, [rsp + 0x90]
lea rdi, [rsp + 0x60]
jmp 0x14001239d
mov r8d, 1
mov rcx, rdi
mov rdx, r14
call fcn.140036b70
mov r13, qword [rsp + 0x68]
nop dword [rax]
mov byte [r13 + r14], bpl
inc r14
mov qword [rsp + 0x70], r14
mov rcx, rbx
call fcn.140012960
test al, 1
je 0x1400123ef
mov ebp, edx
cmp r14, qword [rsp + 0x60]
jne 0x140012390
mov rax, qword [rsp + 0xb0]
cmp dword [rax], 3
jne 0x140012376
cmp qword [rsp + 0xa0], 0
je 0x140012376
cmp qword [rsp + 0xa8], 0
jne 0x140012376
lea rcx, str.attempt_to_divide_by_zero
lea r8, str._rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrarycore_src_sliceiter.rs
mov edx, 0x19
call fcn.140035d90
ud2
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
cmp dword [rsp + 0x80], 3
mov r13, qword [rsp + 0x138]
jne 0x140012641
cmp r14, r13
jne 0x140012430
xor eax, eax
jmp 0x140012289
mov rdi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
jmp 0x140012668
lea rsi, [rbx + r14]
test r14, r14
je 0x14001273c
js 0x14001294d
mov qword [rsp + 0x40], rcx
mov rcx, qword [0x14037d038]
test rcx, rcx
jne 0x14001246d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400128f0
mov rcx, rax
mov qword [0x14037d038], rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400128f0
mov r13, rax
mov qword [rsp + 0x38], r12
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.140027940
xor ecx, ecx
mov rax, r14
neg rax
sbb rcx, rcx
cmp rcx, 0x1f
mov eax, 0x1f
mov qword [rsp + 0x78], rcx
cmovb rax, rcx
cmp rax, 8
mov edi, 7
cmovae rdi, rax
movzx r15d, byte [rbx]
inc rdi
mov rcx, qword [0x14037d038]
test rcx, rcx
jne 0x1400124ed
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14001293e
mov rcx, rax
mov qword [0x14037d038], rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14001293e
mov r12, rax
lea rax, [r14 + r13]
mov byte [r12], r15b
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], 1
cmp rax, r13
mov qword [rsp + 0x48], r13
je 0x140012764
lea r13, [rbx + 1]
mov edi, 2
mov r15d, 0x1e
jmp 0x14001258f
mov qword [rsp + 0x40], r14
mov rbx, r13
lea rdx, [rdi - 1]
movzx ebp, byte [r13]
cmp rdx, qword [rsp + 0x90]
je 0x140012609
inc r13
mov byte [r12 + rdi - 1], bpl
mov qword [rsp + 0xa0], rdi
inc rdi
dec r15
cmp rdi, 0x21
je 0x140012731
cmp r13, rsi
jne 0x140012558
mov rax, qword [0x14037d038]
test rax, rax
jne 0x1400125b6
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400128f0
mov qword [0x14037d038], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400128f0
mov r13, rax
mov rcx, rax
mov rdx, qword [rsp + 0x48]
mov r8, r14
call fcn.140027940
mov rsi, r13
add rsi, r14
cmp qword [rsp + 0x40], 0
je 0x140012550
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140012550
mov rax, qword [rsp + 0x78]
cmp rax, r15
mov r8, r15
cmovb r8, rax
inc r8
test r15, r15
mov eax, 1
cmove r8, rax
lea rcx, [rsp + 0x90]
call fcn.140036b70
mov r12, qword [rsp + 0x98]
jmp 0x14001256f
mov rdi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
test rcx, rcx
je 0x140012668
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 0
test edi, edi
je 0x1400126a8
cmp edi, 1
je 0x140012212
mov qword [rsp + 0x90], 0
lea rax, str.Invalid_string_length
jmp 0x140012225
shr rdi, 0x20
mov dword [rsp + 0x104], edi
mov qword [rsp + 0x80], r14
lea rax, [rsp + 0x104]
mov qword [rsp + 0x108], rax
lea rax, [0x14000cea0]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rsi
lea rax, [fcn.140009f10]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x90], 0
lea rax, str.Invalid_character__at_position
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 2
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], 2
jmp 0x140012254
mov r13d, 0x20
jmp 0x140012866
test rcx, rcx
je 0x140012753
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov ebx, 1
xor ecx, ecx
xor r13d, r13d
xor eax, eax
jmp 0x140012289
mov ecx, 1
mov edi, 1
sub rdi, r14
mov eax, 2
mov r15d, 0x1e
lea rsi, [rsp + 0x90]
nop word cs:[rax + rax]
mov r9, rax
lea r13, [rax - 1]
add rax, rdi
cmp rax, 2
je 0x14001281b
movzx ebp, byte [rbx + r9 - 1]
cmp r13, qword [rsp + 0x90]
je 0x1400127cf
mov byte [r12 + r9 - 1], bpl
mov qword [rsp + 0xa0], r9
lea rax, [r9 + 1]
dec r15
cmp rax, 0x21
jne 0x140012790
jmp 0x140012863
mov rax, qword [rsp + 0x78]
cmp rax, r15
mov r8, r15
cmovb r8, rax
inc r8
cmp r9, 0x20
cmove r8, rcx
mov rcx, rsi
mov rdx, r13
mov r12, r9
call fcn.140036b70
mov ecx, 1
mov r9, r12
mov r12, qword [rsp + 0x98]
jmp 0x1400127b0
mov rdi, qword [rsp + 0x58]
mov r11, rdi
mov r12, qword [rsp + 0x38]
jmp 0x140012125
mov r12d, 1
mov ecx, 1
mov rdx, qword [rsp + 0x48]
mov r8, r14
call fcn.140027940
cmp qword [rsp + 0x40], 0
je 0x14001284d
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140012885
mov r13, r9
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.kernel32.dll_HeapFree]
mov r12, rbx
cmp qword [rsp + 0x40], 0
je 0x140012897
mov rcx, qword [0x14037d038]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
xor eax, eax
mov r12, qword [rsp + 0x38]
jmp 0x140012289
lea r8, str._rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrarycore_src_strpattern.rs
jmp 0x1400128d0
mov r9, r8
add r9, r11
cmp rdx, r9
cmova r9, rdx
lea r8, str._rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrarycore_src_strpattern.rs
mov rcx, r9
call fcn.140035cf0
ud2
lea rax, str._rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov r9, rdx
call fcn.1400361a0
ud2
mov edx, 1
mov rcx, r14
call fcn.140035300
ud2
lea rax, [0x14036cb10]
mov qword [rsp + 0x20], rax
lea rcx, str.a_Display_implementation_returned_an_error_unexpectedly
lea r9, [0x14036cb80]
lea r8, [rsp + 0x90]
mov edx, 0x37
call fcn.140035fb0
ud2
mov ecx, 8
mov edx, 1
call fcn.140035300
ud2
mov edx, 1
mov rcx, rdi
call fcn.140035300
ud2
call fcn.1400078a0
ud2