Function at 0x140038350
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rbx, rcx
cmp byte [rdx + 0x4d], 0
je 0x140038387
mov qword [rbx], 0
mov r12, qword [rdx + 0x10]
test r12, r12
je 0x14003836c
movabs rax, 0x555555555555555
cmp r12, rax
ja 0x140039deb
mov r13, qword [rdx]
lea rax, [r12*8]
lea rdi, [rax + rax*2]
test rdi, rdi
mov qword [rsp + 0xc8], rdx
je 0x140038411
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x1400383e7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140038402
mov rcx, rax
mov qword [0x1404a3498], rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
mov rdx, qword [rsp + 0xc8]
jne 0x140038416
mov ecx, 8
mov rdx, rdi
call fcn.140389330
ud2
mov esi, 8
mov qword [rsp + 0x50], rbx
xor ebp, ebp
mov qword [rsp + 0x28], r12
jmp 0x14003847e
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140039ddc
dec r12
add r13, 0x18
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + rbp], r15
mov qword [rsi + rbp + 8], rbx
mov qword [rsi + rbp + 0x10], rbx
add rbp, 0x18
test r12, r12
mov rdx, qword [rsp + 0xc8]
je 0x1400384db
cmp rdi, rbp
je 0x1400384db
mov r14, qword [r13]
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x1400384d0
js 0x140039deb
movzx eax, byte [0x1404a3530]
mov rax, qword [0x1404a3498]
test rax, rax
jne 0x140038430
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039ddc
mov qword [0x1404a3498], rax
jmp 0x140038430
mov r15d, 1
jmp 0x14003844a
mov rdi, qword [rdx + 0x18]
mov rbx, qword [rdx + 0x28]
test rbx, rbx
mov qword [rsp + 0x68], rbx
je 0x14003854e
mov rax, rbx
shr rax, 0x3d
jne 0x140039deb
lea r14, [rbx*4]
test r14, r14
je 0x14003855d
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x14003852f
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14003853f
mov rcx, rax
mov qword [0x1404a3498], rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
jne 0x140038562
mov ecx, 4
mov rdx, r14
call fcn.140389330
ud2
lea r14, [rbx*4]
mov eax, 4
jmp 0x140038567
mov eax, 4
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x110], rsi
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], rbx
mov rax, qword [rsp + 0xc8]
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmmword [rsp + 0x140], xmm0
movzx eax, byte [rax + 0x48]
mov byte [rsp + 0x150], al
test al, al
mov r14, rbx
je 0x140038619
lea rax, [rsp + 0x110]
mov qword [rsp + 0xd0], rax
cmp r14, 0x15
jae 0x140038640
cmp r14, 1
jbe 0x1400394fc
lea r9, [rsp + 0xd0]
mov r8d, 1
mov rdx, r14
call fcn.14002bec0
jmp 0x1400394fc
cmp r14, 0x15
jae 0x140038dd2
cmp r14, 1
jbe 0x1400394fc
mov r8d, 1
mov rdx, r14
call fcn.14002bfd0
jmp 0x1400394fc
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x14003866c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039eb7
mov rcx, rax
mov qword [0x1404a3498], rax
lea rax, [r14 + r14]
movabs r8, 0x7ffffffffffffffc
and r8, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140039eb7
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x1400386bf
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039ed1
mov rcx, rax
mov qword [0x1404a3498], rax
mov r8d, 0x100
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039ed1
mov rdi, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax - 0x10]
mov qword [rsp + 0xe8], rcx
lea rcx, [rax + 0x10]
mov qword [rsp + 0xe0], rcx
lea rcx, [rax - 4]
mov qword [rsp + 0x78], rcx
mov ecx, 0x10
mov qword [rsp + 0x70], rcx
xor r13d, r13d
xor r11d, r11d
jmp 0x14003872a
mov r11d, 1
mov r13, qword [rsp + 0x60]
cmp r13, r14
mov rax, qword [rsp + 0x40]
jae 0x1400394d7
mov r8, r14
sub r8, r13
lea rcx, [rax + r13*4]
cmp r8, 2
mov rbx, rdi
jae 0x1400387b0
mov rdx, r14
mov rsi, rdx
sub rsi, r13
jb 0x140039df2
cmp rdx, r14
ja 0x140039df2
jae 0x140038850
cmp r8, 0xa
jae 0x140038850
lea rsi, [r13 + 0xa]
cmp rsi, r14
cmovae rsi, r14
mov qword [rsp + 0x60], rsi
sub rsi, r13
jb 0x140039e76
mov r15, r11
cmp r8, 1
adc r8, 0
mov rdx, rsi
lea r9, [rsp + 0xd0]
call fcn.14002bec0
mov rdi, rbx
mov r11, r15
cmp r11, qword [rsp + 0x70]
je 0x140038860
jmp 0x1400388e0
mov eax, dword [rcx + 4]
mov r10, qword [rsp + 0xd0]
mov rdx, qword [r10 + 0x10]
cmp rdx, rax
jbe 0x140039bf6
mov r9d, dword [rcx]
cmp rdx, r9
jbe 0x140039c07
mov r15, r11
mov rsi, qword [r10]
lea rax, [rax + rax*2]
mov r10, qword [rsi + rax*8 + 0x10]
lea rax, [r9 + r9*2]
mov r11, qword [rsi + rax*8 + 0x10]
cmp r10, r11
jbe 0x140038c23
cmp r8, 3
jb 0x140038c91
mov edi, 2
nop word cs:[rax + rax]
mov eax, dword [rcx + rdi*4]
cmp rdx, rax
jbe 0x140039bf6
mov r9d, dword [rcx + rdi*4 - 4]
cmp rdx, r9
jbe 0x140039c07
lea rax, [rax + rax*2]
mov rax, qword [rsi + rax*8 + 0x10]
lea r9, [r9 + r9*2]
cmp rax, qword [rsi + r9*8 + 0x10]
jbe 0x140038c79
inc rdi
cmp r8, rdi
jne 0x140038810
jmp 0x140038c76
mov qword [rsp + 0x60], rdx
cmp r11, qword [rsp + 0x70]
jne 0x1400388e0
movzx eax, byte [0x1404a3530]
mov rax, qword [0x1404a3498]
test rax, rax
jne 0x14003888f
mov rdi, r11
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039e0c
mov qword [0x1404a3498], rax
mov r11, rdi
mov r8, r11
shl r8, 5
mov rcx, rax
xor edx, edx
mov r15, r11
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039e0c
mov rdi, rax
lea rax, [r15 + r15]
mov qword [rsp + 0x70], rax
mov r8, r15
shl r8, 4
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r11, r15
mov rax, r11
shl rax, 4
mov qword [rdi + rax], rsi
mov qword [rdi + rax + 8], r13
inc r11
mov rax, r11
cmp r11, 2
mov qword [rsp + 0xf0], rdi
jae 0x14003898f
jmp 0x140038717
mov r14, rsi
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0xf0]
add r13, rbx
lea rsi, [rbx + rbp]
lea rdi, [rbx + rbp]
add rdi, 8
sub r8, rdx
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x58]
add rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rax, qword [rsp + 0xf8]
mov qword [rdi], rax
lea rdx, [r13 + 0x10]
mov rax, qword [rsp + 0x48]
not rax
mov r8, qword [rsp + 0x108]
add r8, rax
shl r8, 4
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov rdi, rbx
mov rax, qword [rsp + 0x100]
cmp rax, 1
mov r14, qword [rsp + 0x68]
jbe 0x140038711
mov r11, rax
lea r10, [rax - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rdi + rcx]
mov rcx, qword [rdi + rcx + 8]
add rcx, rax
cmp rcx, r14
je 0x140038a00
mov rdx, r11
shl rdx, 4
mov r8, qword [rdx + rdi - 0x20]
cmp r8, rax
jbe 0x140038a00
cmp r11, 2
jbe 0x140038ce8
lea rsi, [r11 - 3]
mov rcx, rsi
shl rcx, 4
mov rcx, qword [rdi + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140038a15
cmp r11, 3
jbe 0x140038dc7
add r8, rcx
cmp qword [rdx + rdi - 0x40], r8
jbe 0x140038a15
jmp 0x140038717
cmp r11, 3
jb 0x140038a1a
lea rsi, [r11 - 3]
mov rcx, rsi
shl rcx, 4
mov rcx, qword [rdi + rcx]
cmp rcx, rax
jb 0x140038a1e
lea rsi, [r11 - 2]
cmp r11, rsi
jbe 0x140039ce3
lea rbp, [rsi + 1]
cmp r11, rbp
mov rax, qword [rsp + 0x40]
jbe 0x140039d30
mov r13, rsi
shl r13, 4
mov rcx, qword [rdi + r13 + 8]
shl rbp, 4
mov rdx, qword [rdi + rbp]
mov r15, qword [rdi + rbp + 8]
add r15, rdx
mov rbx, r15
sub rbx, rcx
jb 0x140039db5
mov qword [rsp + 0x48], rsi
cmp r15, r14
ja 0x140039dc6
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x100], r10
mov qword [rsp + 0x108], r11
mov rdx, qword [rdi + r13]
mov qword [rsp + 0xf8], rcx
lea r14, [rax + rcx*4]
lea rsi, [r14 + rdx*4]
mov r12, rbx
sub r12, rdx
cmp r12, rdx
mov qword [rsp + 0x30], rdx
jae 0x140038b70
lea r8, [r12*4]
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rdi + r12*4]
cmp qword [rsp + 0x30], 0
jle 0x140038910
test r12, r12
jle 0x140038910
mov r9, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x78]
lea r10, [rax + r15*4]
nop
mov ecx, dword [r8 - 4]
mov rdx, qword [r9 + 0x10]
cmp rdx, rcx
jbe 0x140039493
mov eax, dword [rsi - 4]
cmp rdx, rax
jbe 0x1400394b2
mov rdx, qword [r9]
lea rcx, [rcx + rcx*2]
mov rcx, qword [rdx + rcx*8 + 0x10]
lea rax, [rax + rax*2]
mov rax, qword [rdx + rax*8 + 0x10]
xor edx, edx
xor r11d, r11d
cmp rcx, rax
setbe dl
seta r11b
shl r11, 2
sub rsi, r11
shl rdx, 2
sub r8, rdx
cmp rcx, rax
mov rax, r8
cmova rax, rsi
mov eax, dword [rax]
mov dword [r10], eax
cmp rsi, r14
jbe 0x140038910
add r10, 0xfffffffffffffffc
cmp r8, qword [rsp + 0x28]
ja 0x140038af0
jmp 0x140038910
lea r8, [rdx*4]
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
lea r8, [rdi + rax*4]
test rax, rax
jle 0x140038913
cmp rbx, rax
jle 0x140038913
mov rax, qword [rsp + 0x40]
lea r10, [rax + r15*4]
mov r11, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x28]
nop dword [rax]
mov ecx, dword [rsi]
mov r9, qword [r11 + 0x10]
cmp r9, rcx
jbe 0x1400394a1
mov eax, dword [rdx]
cmp r9, rax
jbe 0x1400394c3
mov rbx, qword [r11]
lea r9, [rcx + rcx*2]
mov r15, qword [rbx + r9*8 + 0x10]
lea r12, [rax + rax*2]
xor edi, edi
xor r9d, r9d
cmp r15, qword [rbx + r12*8 + 0x10]
setbe dil
seta bl
cmova eax, ecx
mov dword [r14], eax
add r14, 4
lea rdx, [rdx + rdi*4]
cmp rdx, r8
jae 0x140038918
mov r9b, bl
lea rsi, [rsi + r9*4]
cmp rsi, r10
jb 0x140038bc0
jmp 0x140038918
cmp r8, 3
jb 0x140038cd3
mov edi, 2
nop word cs:[rax + rax]
mov eax, dword [rcx + rdi*4]
cmp rdx, rax
jbe 0x140039bf6
mov r9d, dword [rcx + rdi*4 - 4]
cmp rdx, r9
jbe 0x140039c07
lea rax, [rax + rax*2]
mov rax, qword [rsi + rax*8 + 0x10]
lea r9, [r9 + r9*2]
cmp rax, qword [rsi + r9*8 + 0x10]
ja 0x140038c79
inc rdi
cmp r8, rdi
jne 0x140038c40
mov rdi, r8
lea rdx, [rdi + r13]
mov r8, rdi
cmp r10, r11
mov rdi, rbx
mov r11, r15
jbe 0x140038740
jmp 0x140038ca1
lea rdx, [r13 + 2]
mov r8d, 2
mov rdi, rbx
mov r11, r15
cmp r13, rdx
ja 0x140039eeb
cmp rdx, r14
ja 0x140039e3c
cmp r8, 2
jb 0x140038740
mov r12, rdx
mov rax, r8
shr rax, 1
cmp r8, 0x10
jae 0x140038cf3
xor edx, edx
jmp 0x140038d76
lea rdx, [r13 + 2]
mov r8d, 2
mov rdi, rbx
mov r11, r15
jmp 0x140038740
mov r11d, 2
jmp 0x140038717
mov rdx, rax
and rdx, 0xfffffffffffffff8
lea r9, [r8 + r13]
mov r10, qword [rsp + 0xe8]
lea r9, [r10 + r9*4]
mov r10, qword [rsp + 0xe0]
lea r10, [r10 + r13*4]
xor r11d, r11d
nop dword [rax]
movdqu xmm0, xmmword [r10 + r11*4 - 0x10]
movdqu xmm1, xmmword [r10 + r11*4]
movdqu xmm2, xmmword [r9 - 0x10]
movdqu xmm3, xmmword [r9]
pshufd xmm3, xmm3, 0x1b
pshufd xmm2, xmm2, 0x1b
movdqu xmmword [r10 + r11*4 - 0x10], xmm3
movdqu xmmword [r10 + r11*4], xmm2
pshufd xmm0, xmm0, 0x1b
movdqu xmmword [r9], xmm0
pshufd xmm0, xmm1, 0x1b
movdqu xmmword [r9 - 0x10], xmm0
add r11, 8
add r9, 0xffffffffffffffe0
cmp rdx, r11
jne 0x140038d20
cmp rax, rdx
je 0x140038db9
neg rax
mov r9, rdx
neg r9
shl rdx, 2
lea rdx, [rdx + r13*4]
add rdx, qword [rsp + 0x40]
lea r10, [r8 + r13]
mov r11, qword [rsp + 0x78]
lea r10, [r11 + r10*4]
nop dword [rax]
mov r11d, dword [rdx]
mov esi, dword [r10 + r9*4]
mov dword [rdx], esi
mov dword [r10 + r9*4], r11d
dec r9
add rdx, 4
cmp rax, r9
jne 0x140038da0
mov rdi, rbx
mov r11, r15
mov rdx, r12
jmp 0x140038740
mov r11d, 3
jmp 0x140038717
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x140038dfe
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039eb7
mov rcx, rax
mov qword [0x1404a3498], rax
lea rax, [r14 + r14]
movabs r8, 0x7ffffffffffffffc
and r8, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039eb7
mov rbx, rax
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x140038e4f
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039ed1
mov rcx, rax
mov qword [0x1404a3498], rax
mov r8d, 0x100
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039ed1
mov rbp, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax - 0x10]
mov qword [rsp + 0xe8], rcx
lea rcx, [rax + 0x10]
mov qword [rsp + 0xe0], rcx
lea rcx, [rax - 4]
mov qword [rsp + 0x78], rcx
mov ecx, 0x10
mov qword [rsp + 0x70], rcx
xor esi, esi
xor r12d, r12d
mov qword [rsp + 0x58], rbx
jmp 0x140038ec9
mov r12d, 1
mov rsi, qword [rsp + 0x60]
cmp rsi, r14
mov rax, qword [rsp + 0x40]
jae 0x140039470
mov r8, r14
sub r8, rsi
lea rcx, [rax + rsi*4]
cmp r8, 2
jae 0x140038ef0
mov rdx, r14
jmp 0x140039070
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
cmp edx, eax
jae 0x140038f10
cmp r8, 2
jne 0x140038f25
lea rdx, [rsi + 2]
mov r8d, 2
jmp 0x140038f79
cmp r8, 2
jne 0x140038f46
lea rdx, [rsi + 2]
mov r8d, 2
jmp 0x140039070
mov r9d, 2
mov r10d, edx
nop
mov r11d, r10d
mov r10d, dword [rcx + r9*4]
cmp r10d, r11d
jae 0x140038f67
inc r9
cmp r8, r9
jne 0x140038f30
jmp 0x140038f64
mov r9d, 2
mov r10d, edx
nop
mov r11d, r10d
mov r10d, dword [rcx + r9*4]
cmp r10d, r11d
jb 0x140038f67
inc r9
cmp r8, r9
jne 0x140038f50
mov r9, r8
lea r10, [r9 + rsi]
mov r8, r9
cmp edx, eax
mov rdx, r10
jae 0x140039070
cmp rsi, rdx
ja 0x140039e50
cmp rdx, r14
ja 0x140039e3c
cmp r8, 2
jb 0x140039070
mov r15, rdx
mov rax, r8
shr rax, 1
cmp r8, 0x10
jae 0x140038fa8
xor edx, edx
jmp 0x140039026
mov rdx, rax
and rdx, 0xfffffffffffffff8
lea r9, [rsi + r8]
mov r10, qword [rsp + 0xe8]
lea r9, [r10 + r9*4]
mov r10, qword [rsp + 0xe0]
lea r10, [r10 + rsi*4]
xor r11d, r11d
nop
movdqu xmm0, xmmword [r10 + r11*4 - 0x10]
movdqu xmm1, xmmword [r10 + r11*4]
movdqu xmm2, xmmword [r9 - 0x10]
movdqu xmm3, xmmword [r9]
pshufd xmm3, xmm3, 0x1b
pshufd xmm2, xmm2, 0x1b
movdqu xmmword [r10 + r11*4 - 0x10], xmm3
movdqu xmmword [r10 + r11*4], xmm2
pshufd xmm0, xmm0, 0x1b
movdqu xmmword [r9], xmm0
pshufd xmm0, xmm1, 0x1b
movdqu xmmword [r9 - 0x10], xmm0
add r11, 8
add r9, 0xffffffffffffffe0
cmp rdx, r11
jne 0x140038fd0
cmp rax, rdx
je 0x140039069
neg rax
mov r9, rdx
neg r9
shl rdx, 2
lea rdx, [rdx + rsi*4]
add rdx, qword [rsp + 0x40]
lea r10, [rsi + r8]
mov r11, qword [rsp + 0x78]
lea r10, [r11 + r10*4]
nop dword [rax]
mov r11d, dword [rdx]
mov edi, dword [r10 + r9*4]
mov dword [rdx], edi
mov dword [r10 + r9*4], r11d
dec r9
add rdx, 4
cmp rax, r9
jne 0x140039050
mov rdx, r15
nop dword [rax]
mov rdi, rdx
sub rdi, rsi
jb 0x140039df2
cmp rdx, r14
ja 0x140039df2
jae 0x1400390d0
cmp r8, 0xa
jae 0x1400390d0
lea rdi, [rsi + 0xa]
cmp rdi, r14
cmovae rdi, r14
mov qword [rsp + 0x60], rdi
sub rdi, rsi
jb 0x140039e26
cmp r8, 1
adc r8, 0
mov rdx, rdi
call fcn.14002bfd0
cmp r12, qword [rsp + 0x70]
je 0x1400390dc
jmp 0x140039158
mov qword [rsp + 0x60], rdx
cmp r12, qword [rsp + 0x70]
jne 0x140039158
movzx eax, byte [0x1404a3530]
mov rax, qword [0x1404a3498]
test rax, rax
jne 0x140039105
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039e0c
mov qword [0x1404a3498], rax
mov r8, r12
shl r8, 5
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039e0c
mov rbx, rax
lea rax, [r12 + r12]
mov qword [rsp + 0x70], rax
mov r8, r12
shl r8, 4
mov rcx, rbx
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, rbp
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbp, rbx
mov rbx, qword [rsp + 0x58]
mov rax, r12
shl rax, 4
mov qword [rbp + rax], rdi
mov qword [rbp + rax + 8], rsi
inc r12
mov rax, r12
cmp r12, 2
mov qword [rsp + 0xf0], rbp
jae 0x1400391fe
jmp 0x140038eb6
mov rbp, r14
mov rdx, rbx
mov rsi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
sub r8, rdx
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
add r15, r12
mov rax, qword [rsp + 0x100]
mov qword [rax], r15
mov rax, qword [rsp + 0xf8]
mov qword [rax], rsi
lea rdx, [r13 + 0x10]
not rdi
mov r8, qword [rsp + 0x28]
add r8, rdi
shl r8, 4
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x108]
cmp rax, 1
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xf0]
jbe 0x140038eb0
mov r12, rax
lea r10, [rax - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rbp + rcx]
mov rcx, qword [rbp + rcx + 8]
add rcx, rax
cmp rcx, r14
je 0x140039270
mov rdx, r12
shl rdx, 4
mov r8, qword [rdx + rbp - 0x20]
cmp r8, rax
jbe 0x140039270
cmp r12, 2
jbe 0x14003945a
lea rdi, [r12 - 3]
mov rcx, rdi
shl rcx, 4
mov rcx, qword [rbp + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140039287
cmp r12, 3
jbe 0x140039465
add r8, rcx
cmp qword [rdx + rbp - 0x40], r8
jbe 0x140039287
jmp 0x140038eb6
cmp r12, 3
jb 0x14003928c
lea rdi, [r12 - 3]
mov rcx, rdi
shl rcx, 4
mov rcx, qword [rbp + rcx]
cmp rcx, rax
jb 0x140039291
lea rdi, [r12 - 2]
cmp r12, rdi
jbe 0x140039ce3
lea rax, [rdi + 1]
cmp r12, rax
jbe 0x140039d30
mov rdx, rdi
shl rdx, 4
mov rcx, qword [rbp + rdx + 8]
shl rax, 4
mov r15, qword [rbp + rax]
mov r13, qword [rbp + rax + 8]
add r13, r15
mov rbx, r13
sub rbx, rcx
jb 0x140039d7d
mov qword [rsp + 0x28], r12
cmp r13, r14
ja 0x140039d8e
mov qword [rsp + 0x108], r10
lea r8, [rdx + rbp]
mov qword [rsp + 0x48], r8
mov r12, qword [rbp + rdx]
lea rdx, [rax + rbp]
mov qword [rsp + 0x100], rdx
lea rax, [rbp + rax + 8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rbp, [rax + rcx*4]
lea r14, [r12*4]
add r14, rbp
mov rsi, rbx
sub rsi, r12
cmp rsi, r12
jae 0x1400393d0
lea r8, [rsi*4]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbx + rsi*4]
test r12, r12
jle 0x140039190
test rsi, rsi
jle 0x140039190
mov rax, qword [rsp + 0x78]
lea rax, [rax + r13*4]
mov rsi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
nop word cs:[rax + rax]
mov ecx, dword [r8 - 4]
mov edx, dword [r14 - 4]
cmp ecx, edx
mov r9d, 0
sbb r9, r9
cmp ecx, edx
mov r10d, 0
adc r10, 0xffffffffffffffff
cmp ecx, edx
lea r14, [r14 + r9*4]
lea r8, [r8 + r10*4]
mov rcx, r8
cmovb rcx, r14
mov ecx, dword [rcx]
mov dword [rax], ecx
cmp r14, rbp
jbe 0x1400393c2
add rax, 0xfffffffffffffffc
cmp r8, rbx
ja 0x140039380
mov rbp, r14
mov rdx, rbx
jmp 0x1400391a0
lea r8, [r12*4]
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsi + r12*4]
test r12, r12
jle 0x140039450
cmp rbx, r12
jle 0x140039450
mov rax, qword [rsp + 0x40]
lea rax, [rax + r13*4]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r13, qword [rsp + 0x48]
nop dword [rax]
mov r10d, dword [r14]
mov r11d, dword [rdx]
xor esi, esi
xor ecx, ecx
cmp r10d, r11d
setae sil
setb r9b
cmovb r11d, r10d
mov dword [rbp], r11d
add rbp, 4
lea rdx, [rdx + rsi*4]
cmp rdx, r8
jae 0x140039446
mov cl, r9b
lea r14, [r14 + rcx*4]
cmp r14, rax
jb 0x140039410
mov rsi, qword [rsp + 0x30]
jmp 0x1400391a0
mov rbx, qword [rsp + 0x58]
jmp 0x140039193
mov r12d, 2
jmp 0x140038eb6
mov r12d, 3
jmp 0x140038eb6
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, rbp
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
call rsi
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, rbx
jmp 0x1400394fa
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
call fcn.1403897b0
ud2
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rdx, r9
call fcn.1403897b0
ud2
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, rax
call fcn.1403897b0
ud2
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, rax
mov rdx, r9
call fcn.1403897b0
ud2
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, rdi
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
call rsi
mov rcx, qword [0x1404a3498]
xor edx, edx
mov r8, qword [rsp + 0x28]
call rsi
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0x110]
movups xmm1, xmmword [rsp + 0x120]
movups xmm2, xmmword [rsp + 0x130]
movups xmm3, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x140039578
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039e65
mov rcx, rax
mov qword [0x1404a3498], rax
mov r8d, 0x58
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039e65
mov qword [rax], 1
mov qword [rax + 8], 1
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x50], rcx
cmp qword [rax + 0x20], 0
je 0x140039e9d
mov r9, qword [rax + 0x40]
mov r13, r9
cmp r9, 1
je 0x140039648
test r9, r9
je 0x140039efc
lea rcx, [r9 - 1]
lea rdx, [r9 - 2]
mov r8d, ecx
and r8d, 7
cmp rdx, 7
jae 0x140039618
mov r13d, 1
jmp 0x14003963a
and rcx, 0xfffffffffffffff8
mov r13d, 1
nop word cs:[rax + rax]
shl r13, 8
add rcx, 0xfffffffffffffff8
jne 0x140039630
test r8, r8
je 0x140039648
nop
add r13, r13
dec r8
jne 0x140039640
lock inc qword [rax]
jle 0x140039e61
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1404a3530]
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x140039688
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140039e8c
mov rcx, rax
mov qword [0x1404a3498], rax
mov r8d, 0x600
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140039e8c
mov r15, rax
mov rcx, qword [rsp + 0x28]
mov rbp, rcx
add rbp, 0x10
add rax, 0xffffffffffffffe8
xor r8d, r8d
xorps xmm0, xmm0
nop dword [rax + rax]
mov rdx, r8
mov qword [r15 + r8], 8
movups xmmword [r15 + r8 + 8], xmm0
add r8, 0x18
cmp r8, 0x5e8
jne 0x1400396c0
add rax, rdx
add rax, 0x18
mov qword [r15 + r8], 8
xorps xmm0, xmm0
movups xmmword [rax + 0x20], xmm0
mov r11, qword [rsp + 0x30]
mov r14d, r11d
and r14d, 7
mov rax, r11
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x48], rax
xor esi, esi
jmp 0x140039728
inc rsi
mov rax, qword [r12]
shl rdx, 4
mov qword [rax + rdx], rbx
mov dword [rax + rdx + 8], edi
inc qword [r12 + 0x10]
mov r12, qword [rcx + 0x20]
cmp rsi, r12
jae 0x14003984a
mov rdx, qword [rcx + 0x38]
cmp rsi, rdx
jae 0x1400398f2
mov rax, qword [rcx + 0x28]
mov edi, dword [rax + rsi*4]
cmp r12, rdi
jbe 0x140039903
mov rax, qword [rbp]
lea r8, [rdi + rdi*2]
mov rdx, qword [rax + r8*8 + 0x10]
cmp r11, rdx
ja 0x140039da4
test r11, r11
je 0x140039780
mov rax, qword [rax + r8*8]
cmp r11, 8
jae 0x140039790
xor ebx, ebx
jmp 0x1400397f8
xor ebx, ebx
jmp 0x140039811
mov r10, qword [rsp + 0x48]
xor ebx, ebx
nop word [rax + rax]
movzx edx, byte [rax]
movzx r8d, byte [rax + 1]
add rdx, rdx
lea rdx, [rdx + rbx*4]
add rdx, r8
movzx r8d, byte [rax + 2]
movzx r9d, byte [rax + 3]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 4]
movzx r9d, byte [rax + 5]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 6]
movzx r9d, byte [rax + 7]
add rax, 8
add r8, r8
lea rbx, [r8 + rdx*4]
add rbx, r9
add r10, 0xfffffffffffffff8
jne 0x1400397a0
test r14, r14
je 0x140039811
xor r8d, r8d
movzx edx, byte [rax + r8]
lea rbx, [rdx + rbx*2]
inc r8
cmp r14, r8
jne 0x140039800
mov eax, ebx
and eax, 0x3f
lea rax, [rax + rax*2]
lea r12, [r15 + rax*8]
mov rdx, qword [r15 + rax*8 + 0x10]
cmp rdx, qword [r15 + rax*8 + 8]
jne 0x140039710
mov rcx, r12
call fcn.1400b0380
mov r11, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [r12 + 0x10]
jmp 0x140039710
mov rax, qword [rsp + 0xc8]
test byte [rax + 0x4a], 1
jne 0x1400398d7
lock inc qword [rcx]
jle 0x140039e61
movzx edi, byte [rax + 0x49]
movzx ebx, byte [rax + 0x4c]
movzx ebp, byte [rax + 0x4b]
mov qword [rsp + 0x38], rcx
test dil, dil
je 0x140039882
cmp r12, 0x40
ja 0x140039990
mov rax, qword [rcx + 0x40]
cmp rax, 4
mov r14d, 4
cmovb r14, rax
mov rsi, qword [0x1404a3520]
test rsi, rsi
je 0x140039917
and rsi, 0x8000
jne 0x140039936
xor eax, eax
xor edx, edx
mov rsi, qword [rsp + 0x50]
jmp 0x1400399e0
add byte [rax], al
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, rsi
call fcn.1403897b0
ud2
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, rdi
mov ecx, edi
call fcn.140394c70
mov r11, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
and al, 0x28
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, rax
call fcn.1403897b0
ud2
lea r8, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpackedpattern.rs
mov rcx, r9
call fcn.1403897b0
ud2
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [0x14045f5e8]
mov qword [rsp + 0x90], rax
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
lea rdx, [0x140439e40]
lea rcx, [rsp + 0x80]
call fcn.1403896f0
ud2
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [0x14045f5e8]
mov qword [rsp + 0x90], rax
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
lea rdx, [0x140439e58]
lea rcx, [rsp + 0x80]
call fcn.1403896f0
ud2
lea r8, [0x140439e70]
mov rdx, r13
call fcn.140389ac0
ud2
lea r8, [0x140439e70]
mov rcx, r13
mov rdx, qword [rsp + 0x68]
call fcn.140389830
ud2
lea r8, [0x14039b370]
mov rcx, r11
call fcn.140389830
ud2
lea r8, [0x140439e70]
mov rdx, r15
call fcn.140389ac0
ud2
lea r8, [0x140439e70]
mov rcx, r15
mov rdx, qword [rsp + 0x68]
call fcn.140389830
ud2
mov ecx, 1
mov rdx, rbx
call fcn.140389330
ud2
call fcn.14004e290
ud2
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, [0x140439f00]
mov edx, 0x2c
call fcn.1403898b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x140439eb8]
mov edx, 0x2b
call fcn.1403898b0
ud2
lea r8, [0x140439f18]
mov rcx, rsi
mov rdx, qword [rsp + 0x60]
call fcn.140389ac0
ud2
lea r8, [0x140439e28]
mov rcx, rdx
mov rdx, r14
call fcn.140389830
ud2
lea r8, [0x140439e28]
mov rcx, rsi
call fcn.140389ac0
ud2
ud2
mov ecx, 8
mov edx, 0x58
call fcn.140389330
ud2
lea r8, [0x140439f18]
mov rcx, r13
mov rdx, qword [rsp + 0x60]
call fcn.140389ac0
ud2
mov ecx, 8
mov edx, 0x600
call fcn.140389330
ud2
lea rcx, str.assertion_failed:_patterns.len_____1C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_aho_corasick_1.1.2_srcpacked_rabinkarp.rs
lea r8, [0x14039b320]
mov edx, 0x25
call fcn.1403898b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x140439e88]
mov edx, 0x2b
call fcn.1403898b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x140439ea0]
mov edx, 0x2b
call fcn.1403898b0
ud2
lea r8, [0x140439e28]
mov rcx, r13
call fcn.140389ac0
ud2
lea rcx, str.assertion_failed:_hash_len___1
lea r8, [0x14039b358]
mov edx, 0x1f
call fcn.1403898b0
ud2