Function at 0x140156d60
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x2f0], xmm6
mov r12, r8
mov r14, rcx
lea r15, [rdx + 0x38]
mov rsi, qword [rdx + 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rdx + 0x38], 0
test rsi, rsi
je 0x140156f34
mov qword [rsp + 0x240], rsi
movzx eax, byte [rsi + 0x80]
test al, al
jne 0x140156e1d
mov rax, qword [r12]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx]
mov cl, 1
xchg byte [rsi + 0x60], cl
test cl, cl
je 0x140156de4
mov rcx, rdx
call qword [rax + 0x18]
jmp 0x140156e1d
mov r8, qword [rsi + 0x50]
test r8, r8
je 0x140156e01
mov rcx, qword [rsi + 0x58]
mov rdi, rax
mov rbx, rdx
call qword [r8 + 0x18]
mov rdx, rbx
mov rax, rdi
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x58], rdx
xor eax, eax
xchg byte [rsi + 0x60], al
movzx eax, byte [rsi + 0x80]
test al, al
je 0x1401579ba
mov al, 1
xchg byte [rsi + 0x48], al
test al, al
jne 0x140156e83
lea rcx, [rsi + 0x10]
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x1a0], rax
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x190], xmm2
movdqa xmmword [rsp + 0x180], xmm1
movdqa xmmword [rsp + 0x170], xmm0
mov byte [rsi + 0x41], 2
movzx eax, byte [rsp + 0x1a1]
cmp al, 2
jne 0x140157969
lea rcx, [rsp + 0x170]
call fcn.140187490
xor eax, eax
xchg byte [rsi + 0x48], al
mov byte [rsp + 0x1c8], 1
mov byte [rsp + 0x238], 2
mov rsi, qword [rsp + 0x240]
mov bl, 1
mov al, 1
xchg byte [rsi + 0x80], al
mov al, 1
xchg byte [rsi + 0x60], al
test al, al
jne 0x140156ecb
mov rax, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
mov qword [rsi + 0x50], 0
xor edx, edx
xchg byte [rsi + 0x60], dl
test rax, rax
je 0x140156ecb
call qword [rax + 0x18]
xchg byte [rsi + 0x78], bl
test bl, bl
jne 0x140156eef
mov rax, qword [rsi + 0x68]
mov rcx, qword [rsi + 0x70]
mov qword [rsi + 0x68], 0
xor edx, edx
xchg byte [rsi + 0x78], dl
test rax, rax
je 0x140156eef
call qword [rax + 8]
mov rax, qword [rsp + 0x240]
lock dec qword [rax]
jne 0x140156f0a
lea rcx, [rsp + 0x240]
call fcn.140154e10
movzx eax, byte [rsp + 0x238]
cmp eax, 2
je 0x1401579d6
cmp eax, 3
je 0x140156f34
cmp eax, 4
jne 0x14015742a
mov al, 3
mov byte [r14 + 0x70], al
jmp 0x1401580c0
mov rax, qword [rsp + 0x28]
mov rdi, qword [rax + 0x30]
test rdi, rdi
je 0x14015803c
lea rsi, [rdi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x1401580ed
mov rax, qword [0x14031a2c0]
shl rax, 1
test rax, rax
jne 0x140158108
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x60], r14
movzx eax, byte [rdi + 0x11]
test al, al
jne 0x1401583ed
cmp qword [rdi + 0x70], 0
mov qword [rsp + 0x30], rdi
je 0x14015753a
mov rax, qword [rdi + 0xd8]
mov qword [rsp + 0x38], rax
mov eax, dword [rdi + 0xe0]
mov dword [rsp + 0x40], eax
mov rcx, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov r8, qword [rsp + 0x28]
call fcn.14019fdb0
mov rcx, qword [rdi + 0x58]
mov rsi, qword [rdi + 0x60]
mov r14, rsi
and r14, rax
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
lea r12, [rcx - 0x48]
mov qword [rsp + 0x50], 0
pcmpeqd xmm7, xmm7
mov r13, rcx
movdqu xmm8, xmmword [rcx + r14]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb edi, xmm0
test edi, edi
jne 0x14015706a
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
mov rdi, qword [rsp + 0x30]
jne 0x14015753a
mov rax, qword [rsp + 0x50]
add r14, rax
add r14, 0x10
add rax, 0x10
mov qword [rsp + 0x50], rax
and r14, rsi
mov rcx, r13
jmp 0x14015700a
lea eax, [rdi - 1]
and ax, di
mov edi, eax
je 0x140157024
tzcnt eax, edi
add rax, r14
and rax, rsi
neg rax
lea rbp, [rax + rax*8]
lea r15, [r12 + rbp*8]
mov rcx, qword [rsp + 0x28]
mov rdx, r15
call fcn.14007c910
test al, al
je 0x140157060
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
cmp rax, qword [r15 + 0x20]
jne 0x140157060
test rax, rax
je 0x140157145
mov rcx, qword [r15 + 0x18]
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x18]
movzx r8d, byte [rdx]
movzx r9d, byte [rcx]
lea r10d, [r8 - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
lea r11d, [r9 - 0x41]
cmp r11b, 0x1a
setb r11b
shl r11b, 5
or r10b, r8b
or r11b, r9b
cmp r10b, r11b
jne 0x140157060
lea r8, [rax - 1]
xor r9d, r9d
nop word cs:[rax + rax]
cmp r8, r9
je 0x140157145
movzx r10d, byte [rdx + r9 + 1]
movzx r11d, byte [rcx + r9 + 1]
lea r15d, [r10 - 0x41]
cmp r15b, 0x1a
setb r15b
shl r15b, 5
lea ebx, [r11 - 0x41]
cmp bl, 0x1a
setb bl
shl bl, 5
or r15b, r10b
or bl, r11b
inc r9
cmp r15b, bl
je 0x140157100
cmp r9, rax
jb 0x140157060
mov rax, qword [r13 + rbp*8 - 8]
test rax, rax
mov r12d, dword [rsp + 0x40]
je 0x140157415
mov r14, r13
lea r15, [rbp*8]
add r15, r13
dec rax
mov qword [r15 - 8], rax
mov rcx, qword [r15 - 0x10]
lea rdx, [rax + rax*8]
mov eax, dword [rcx + rdx*8 + 0x40]
cmp eax, 0x3b9aca00
je 0x140157415
lea rcx, [rcx + rdx*8]
mov edx, dword [rcx + 0x44]
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x120], xmm3
movdqa xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
mov dword [rsp + 0x130], eax
mov dword [rsp + 0x134], edx
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax + 0x10]
test al, al
jne 0x140157287
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x10]
xor ecx, ecx
cmp rax, 3
setne cl
xor edx, edx
cmp rax, 1
sete dl
cmp byte [rsp + 0x100], 2
cmove edx, ecx
cmp dl, 1
jne 0x140157287
mov r13, qword [rsp + 0x128]
mov ebx, dword [rsp + 0x130]
cmp r12d, 0x3b9aca00
je 0x1401573e4
call fcn.1401b5a40
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edx
lea rcx, [rsp + 0x70]
mov rdx, r13
mov r8d, ebx
call fcn.1401b5bd0
xor ecx, ecx
cmp edx, 0x3b9aca00
cmove edx, ecx
cmovne rcx, rax
xor eax, eax
cmp rcx, qword [rsp + 0x38]
setne al
mov ecx, 0xff
cmovb eax, ecx
xor r8d, r8d
cmp edx, r12d
setne r8b
cmovb r8d, ecx
test al, al
cmovne r8d, eax
cmp r8b, 1
jne 0x1401573e4
lea rcx, [rsp + 0xf0]
call fcn.140158490
mov rax, qword [r15 - 8]
test rax, rax
je 0x140157415
xor esi, esi
mov edi, 0xff
jmp 0x1401572ca
lea rcx, [rsp + 0xf0]
call fcn.140158490
mov rax, qword [r15 - 8]
test rax, rax
je 0x140157415
dec rax
mov qword [r15 - 8], rax
mov rcx, qword [r15 - 0x10]
lea rdx, [rax + rax*8]
mov eax, dword [rcx + rdx*8 + 0x40]
cmp eax, 0x3b9aca00
je 0x140157415
lea rcx, [rcx + rdx*8]
mov edx, dword [rcx + 0x44]
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x120], xmm3
movdqa xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
mov dword [rsp + 0x130], eax
mov dword [rsp + 0x134], edx
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax + 0x10]
test al, al
jne 0x1401572b0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x10]
xor ecx, ecx
cmp rax, 3
setne cl
xor edx, edx
cmp rax, 1
sete dl
cmp byte [rsp + 0x100], 2
cmove edx, ecx
cmp dl, 1
jne 0x1401572b0
mov r13, qword [rsp + 0x128]
mov ebx, dword [rsp + 0x130]
cmp r12d, 0x3b9aca00
je 0x1401573e4
call fcn.1401b5a40
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edx
lea rcx, [rsp + 0x70]
mov rdx, r13
mov r8d, ebx
call fcn.1401b5bd0
cmp edx, 0x3b9aca00
cmove edx, esi
mov ecx, 0
cmovne rcx, rax
xor eax, eax
cmp rcx, qword [rsp + 0x38]
setne al
cmovb eax, edi
xor ecx, ecx
cmp edx, r12d
setne cl
cmovb ecx, edi
test al, al
cmovne ecx, eax
cmp cl, 1
je 0x1401572b0
lea r12, [rsp + 0x70]
lea rdx, [rsp + 0xf0]
mov rcx, r12
call fcn.140190720
cmp byte [rsp + 0xd9], 2
jne 0x140158148
mov rsi, qword [r15 - 8]
mov rdi, qword [rsp + 0x30]
jmp 0x1401581cb
mov dword [rsp + 0x1b0], 0x3b9aca00
mov rdi, qword [rsp + 0x30]
jmp 0x140157545
movzx ecx, byte [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1c9]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x1d9]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x1e9]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x1f9]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rsp + 0x209]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rsp + 0x219]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsp + 0x228]
movups xmmword [rsp + 0xcf], xmm0
mov edx, dword [rsp + 0x239]
mov dword [rsp + 0x140], edx
mov edx, dword [rsp + 0x23c]
mov dword [rsp + 0x143], edx
movups xmm0, xmmword [rsp + 0xcf]
movups xmmword [r14 + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r14 + 0x51], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [r14 + 0x41], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [r14 + 0x31], xmm3
movups xmmword [r14 + 0x21], xmm2
movdqu xmmword [r14 + 0x11], xmm1
movdqu xmmword [r14 + 1], xmm0
mov edx, dword [rsp + 0x140]
mov r8d, dword [rsp + 0x143]
mov dword [r14 + 0x71], edx
mov dword [r14 + 0x74], r8d
mov byte [r14], cl
mov byte [r14 + 0x70], al
jmp 0x1401580c0
mov dword [rsp + 0x1b0], 0x3b9aca00
movdqu xmm0, xmmword [rsp + 0x70]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x270], xmm3
movaps xmmword [rsp + 0x260], xmm2
movdqa xmmword [rsp + 0x250], xmm1
movdqa xmmword [rsp + 0x240], xmm0
mov ebx, 0x3b9aca00
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x38], ebx
mov rcx, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov r8, qword [rsp + 0x28]
call fcn.14019fdb0
mov rcx, qword [rdi + 0x58]
mov r13, qword [rdi + 0x60]
mov rsi, r13
and rsi, rax
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
lea rax, [rcx - 0x48]
mov qword [rsp + 0x50], rax
xor r14d, r14d
pcmpeqd xmm7, xmm7
mov qword [rsp + 0x40], rcx
movdqu xmm8, xmmword [rcx + rsi]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb edi, xmm0
test edi, edi
jne 0x14015763a
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
jne 0x140157802
add rsi, r14
add rsi, 0x10
add r14, 0x10
and rsi, r13
mov rcx, qword [rsp + 0x40]
jmp 0x1401575e5
lea eax, [rdi - 1]
and ax, di
mov edi, eax
je 0x1401575fc
tzcnt ebp, edi
add rbp, rsi
and rbp, r13
mov rax, rbp
neg rax
lea r12, [rax + rax*8]
mov rax, qword [rsp + 0x50]
lea r15, [rax + r12*8]
mov rcx, qword [rsp + 0x28]
mov rdx, r15
call fcn.14007c910
test al, al
je 0x140157630
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
cmp rax, qword [r15 + 0x20]
jne 0x140157630
test rax, rax
je 0x140157715
mov rcx, qword [r15 + 0x18]
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx + 0x18]
movzx r8d, byte [rdx]
movzx r9d, byte [rcx]
lea r10d, [r8 - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
lea r11d, [r9 - 0x41]
cmp r11b, 0x1a
setb r11b
shl r11b, 5
or r10b, r8b
or r11b, r9b
cmp r10b, r11b
jne 0x140157630
lea r8, [rax - 1]
xor r9d, r9d
nop dword [rax + rax]
cmp r8, r9
je 0x140157715
movzx r10d, byte [rdx + r9 + 1]
movzx r11d, byte [rcx + r9 + 1]
lea r15d, [r10 - 0x41]
cmp r15b, 0x1a
setb r15b
shl r15b, 5
lea ebx, [r11 - 0x41]
cmp bl, 0x1a
setb bl
shl bl, 5
or r15b, r10b
or bl, r11b
inc r9
cmp r15b, bl
je 0x1401576d0
cmp r9, rax
jb 0x140157630
shl rbp, 3
lea rcx, [rbp*8]
add rcx, rbp
sar rcx, 3
movabs rax, 0x8e38e38e38e38e39
imul rax, rcx
lea rcx, [rax - 0x10]
and rcx, r13
mov r11, qword [rsp + 0x40]
movdqu xmm0, xmmword [r11 + rcx]
pcmpeqd xmm1, xmm1
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
movdqu xmm0, xmmword [r11 + rax]
pcmpeqb xmm0, xmm1
pmovmskb r8d, xmm0
test edx, edx
je 0x140157772
bsr r9w, dx
xor r9d, 0xf
jmp 0x140157777
mov r9w, 0x10
mov r10, qword [rsp + 0x30]
lea rdx, [r11 + r12*8]
or r8d, 0x10000
tzcnt r8d, r8d
add r9d, r8d
mov r8b, pe_nt_image_headers64
cmp r9w, 0xf
ja 0x1401577a0
inc qword [r10 + 0x68]
mov r8b, 0xff
mov byte [r11 + rax], r8b
mov byte [r11 + rcx + 0x10], r8b
dec qword [r10 + 0x70]
movdqu xmm0, xmmword [rdx - 0x48]
movdqu xmm1, xmmword [rdx - 0x38]
movups xmm2, xmmword [rdx - 0x28]
movups xmm3, xmmword [rdx - 0x18]
movaps xmmword [rsp + 0xa0], xmm3
mov rax, qword [rdx - 8]
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0x90], xmm2
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmmword [rsp + 0x70], xmm0
movabs rax, 0x7fffffffffffffff
lea rbx, [rax + 1]
cmp qword [rsp + 0xa0], rbx
jne 0x14015780b
mov ebp, dword [rsp + 0x38]
jmp 0x1401578a7
mov rsi, qword [rdx - 0x18]
mov r15, qword [rdx - 0x10]
mov rdi, qword [rdx - 8]
cmp byte [rsp + 0x70], 2
jb 0x140157847
mov r13, qword [rsp + 0x78]
lea rcx, [r13 + 0x18]
mov rax, qword [r13]
mov rdx, qword [r13 + 8]
mov r8, qword [r13 + 0x10]
call qword [rax + 0x20]
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, r13
call fcn.1401fb9c4
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
cmp rsi, rbx
mov ebp, dword [rsp + 0x38]
je 0x1401578a7
test rdi, rdi
je 0x140157891
mov r13, r15
nop dword [rax + rax]
mov rcx, r13
call fcn.14014d140
add r13, 0x48
dec rdi
jne 0x140157880
test rsi, rsi
je 0x1401578a7
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, r15
call fcn.1401fb9c4
cmp ebp, 0x3b9aca00
sete bl
jne 0x1401579ec
mov rax, qword [rsp + 0x148]
cmp qword [rax], 0
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
jne 0x140157fbf
movzx eax, byte [0x14031a2c8]
mov edx, 0x88
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x140158428
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x41], 2
mov byte [rax + 0x48], 0
mov qword [rax + 0x50], 0
mov byte [rax + 0x60], 0
mov qword [rax + 0x68], 0
mov byte [rax + 0x78], 0
mov byte [rax + 0x80], 0
lock inc qword [rax]
jle 0x140158437
mov rax, qword [rsp + 0x28]
movzx esi, byte [rax]
test esi, esi
mov dword [rsp + 0x154], ebx
mov qword [rsp + 0x40], r14
je 0x140157ad0
cmp esi, 1
jne 0x140157ad2
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
jmp 0x140157b35
movzx edx, byte [rcx + 0x30]
mov byte [rsp + 0x120], dl
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x110], xmm2
movdqa xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
mov ecx, dword [rsi + 0x42]
mov dword [rsp + 0xe8], ecx
movzx ecx, word [rsi + 0x46]
mov word [rsp + 0xec], cx
xor ecx, ecx
xchg byte [rsi + 0x48], cl
cmp al, 3
jne 0x140157a00
mov qword [r15], rsi
mov byte [rsp + 0x238], 4
movzx eax, byte [rsp + 0x238]
cmp eax, 2
jne 0x140156f1b
movzx eax, byte [rsp + 0x1c8]
mov byte [r14], al
mov al, 2
mov byte [r14 + 0x70], al
jmp 0x1401580c0
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
jmp 0x140157fbf
movdqa xmm0, xmmword [rsp + 0xf0]
movdqa xmm1, xmmword [rsp + 0x100]
movaps xmm2, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x2a0], xmm2
movzx ecx, byte [rsp + 0x120]
mov byte [rsp + 0x2b0], cl
movdqa xmmword [rsp + 0x290], xmm1
movdqa xmmword [rsp + 0x280], xmm0
mov byte [rsp + 0x2b1], al
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x2b2], eax
movzx eax, word [rsp + 0xec]
mov word [rsp + 0x2b6], ax
mov rax, qword [rsp + 0x2a8]
movzx eax, byte [rax + 0x10]
test al, al
jne 0x140157e2a
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x10]
xor ecx, ecx
cmp rax, 3
setne cl
xor edx, edx
cmp rax, 1
sete dl
cmp byte [rsp + 0x290], 2
cmove edx, ecx
test dl, dl
je 0x140157e2a
mov r8, qword [rsp + 0x28]
mov rdx, qword [r8 + 0x30]
lea rcx, [rsp + 0x1c8]
lea r9, [rsp + 0x280]
call fcn.140158630
jmp 0x140156e93
jmp 0x140157b35
mov rax, qword [rsp + 0x28]
mov rdi, qword [rax + 8]
movzx eax, byte [0x14031a2c8]
mov edx, 0x20
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x140158476
mov r15, rax
lea rdx, [rdi + 0x18]
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, qword [rdi + 0x10]
lea rcx, [rsp + 0xf0]
call qword [rax]
movdqu xmm0, xmmword [rsp + 0xf0]
movdqu xmm1, xmmword [rsp + 0x100]
movdqu xmmword [r15 + 0x10], xmm1
movdqu xmmword [r15], xmm0
mov rdi, qword [rsp + 0x30]
mov byte [rsp + 0x70], sil
mov byte [rsp + 0x71], al
mov qword [rsp + 0x78], r15
lea rcx, [rsp + 0x80]
mov r9, qword [rsp + 0x28]
lea rdx, [r9 + 0x28]
mov rax, qword [r9 + 0x10]
mov r8, qword [r9 + 0x18]
mov r9, qword [r9 + 0x20]
call qword [rax]
lea rax, [rdi + 0x88]
mov qword [rsp + 0x38], rax
mov rcx, qword [rdi + 0xa8]
mov rdx, qword [rdi + 0xb0]
lea r8, [rsp + 0x70]
call fcn.14019fdb0
mov rcx, rax
shr rcx, 0x39
mov rsi, qword [rdi + 0x88]
mov r14, qword [rdi + 0x90]
mov rbx, r14
mov qword [rsp + 0x158], rax
and rbx, rax
mov qword [rsp + 0x160], rcx
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
lea r15, [r13 - 1]
xor eax, eax
pcmpeqd xmm7, xmm7
mov qword [rsp + 0x50], rax
movdqu xmm8, xmmword [rsi + rbx]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb edi, xmm0
test edi, edi
jne 0x140157c2a
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
mov rax, qword [rsp + 0x50]
jne 0x140158275
add rbx, rax
add rbx, 0x10
add rax, 0x10
and rbx, r14
jmp 0x140157bdd
lea eax, [rdi - 1]
and ax, di
mov edi, eax
je 0x140157bf9
tzcnt eax, edi
add rax, rbx
and rax, r14
neg rax
lea rbp, [rax + rax*4]
shl rbp, 4
lea rcx, [rsi + rbp]
add rcx, 0xffffffffffffffb0
lea rdx, [rsp + 0x70]
call fcn.14007c910
test al, al
je 0x140157c20
add rbp, rsi
cmp qword [rbp - 0x30], r13
jne 0x140157c20
test r13, r13
je 0x140157ce7
mov rax, qword [rbp - 0x38]
movzx ecx, byte [rax]
movzx edx, byte [r12]
lea r8d, [rcx - 0x41]
cmp r8b, 0x1a
setb r8b
shl r8b, 5
lea r9d, [rdx - 0x41]
cmp r9b, 0x1a
setb r9b
shl r9b, 5
or r8b, cl
or r9b, dl
cmp r8b, r9b
jne 0x140157c20
xor ecx, ecx
cmp r15, rcx
je 0x140157ce7
movzx edx, byte [rax + rcx + 1]
movzx r8d, byte [r12 + rcx + 1]
lea r9d, [rdx - 0x41]
cmp r9b, 0x1a
setb r9b
shl r9b, 5
lea r10d, [r8 - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
or r9b, dl
or r10b, r8b
inc rcx
cmp r9b, r10b
je 0x140157ca0
cmp rcx, r13
jb 0x140157c20
movdqu xmm0, xmmword [rsp + 0x70]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x2e0], xmm2
movdqa xmmword [rsp + 0x2d0], xmm1
movdqa xmmword [rsp + 0x2c0], xmm0
movdqa xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x90], xmm2
movdqa xmmword [rsp + 0x80], xmm1
mov qword [rsp + 0xa0], rbp
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x70]
cmp al, 3
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x40]
je 0x140157db3
cmp al, 2
jb 0x140157d90
mov r15, qword [rsp + 0x78]
lea rcx, [r15 + 0x18]
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
call qword [rax + 0x20]
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, r15
call fcn.1401fb9c4
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
cmp rax, rcx
jne 0x140157dd1
lea rcx, [rbp - 0x20]
call fcn.14014d000
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
add rdx, rax
xor r8d, r8d
cmp rdx, rcx
cmovae r8, rcx
sub rdx, r8
mov rcx, qword [rbp - 0x18]
mov qword [rcx + rdx*8], r13
inc rax
mov qword [rbp - 8], rax
movzx eax, byte [r13 + 0x80]
test al, al
jne 0x140157e8c
mov rax, qword [rsp + 0x168]
mov rax, qword [rax]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx]
mov cl, 1
xchg byte [r13 + 0x60], cl
test cl, cl
je 0x140157e4c
mov rcx, rdx
call qword [rax + 0x18]
jmp 0x140157e8c
mov byte [rsp + 0x1c8], 2
mov byte [rsp + 0x238], 2
lea rcx, [rsp + 0x280]
call fcn.140158490
jmp 0x140156e93
mov r8, qword [r13 + 0x50]
test r8, r8
je 0x140157e6e
mov rcx, qword [r13 + 0x58]
mov rsi, rax
mov rdi, rdx
call qword [r8 + 0x18]
mov rdx, rdi
mov rdi, qword [rsp + 0x30]
mov rax, rsi
mov qword [r13 + 0x50], rax
mov qword [r13 + 0x58], rdx
xor eax, eax
xchg byte [r13 + 0x60], al
movzx eax, byte [r13 + 0x80]
test al, al
je 0x14015812e
mov al, 1
xchg byte [r13 + 0x48], al
test al, al
jne 0x140158449
mov rax, r13
add rax, 0x10
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0xa0], rcx
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x90], xmm2
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmmword [rsp + 0x70], xmm0
mov byte [r13 + 0x41], 2
cmp byte [rsp + 0xa1], 2
je 0x140158439
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x120], rax
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x110], xmm2
movdqa xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
xor eax, eax
xchg byte [r13 + 0x48], al
cmp byte [rsp + 0x121], 3
jne 0x140158451
mov rsi, qword [r12]
test rsi, rsi
je 0x140157fa8
mov bl, 1
mov al, 1
xchg byte [rsi + 0x80], al
mov al, 1
xchg byte [rsi + 0x60], al
test al, al
jne 0x140157f72
mov rax, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
mov qword [rsi + 0x50], 0
xor edx, edx
xchg byte [rsi + 0x60], dl
test rax, rax
je 0x140157f72
call qword [rax + 0x18]
xchg byte [rsi + 0x78], bl
test bl, bl
jne 0x140157f96
mov rax, qword [rsi + 0x68]
mov rcx, qword [rsi + 0x70]
mov qword [rsi + 0x68], 0
xor edx, edx
xchg byte [rsi + 0x78], dl
test rax, rax
je 0x140157f96
call qword [rax + 8]
mov rax, qword [r12]
lock dec qword [rax]
jne 0x140157fa8
mov rcx, r12
call fcn.140154e10
mov qword [r12], r13
mov ebp, dword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x154]
cmp ebp, 0x3b9aca00
sete al
mov ecx, dword [rsp + 0x6c]
or cl, al
jne 0x140157fdf
lea rcx, [rsp + 0x170]
call fcn.140158490
mov bl, 1
cmp byte [rsp + 0x4c], 0
jne 0x140158000
mov rax, qword [0x14031a2c0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x140158118
xor eax, eax
xchg byte [rsi], al
cmp al, 2
jne 0x140158010
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
test bl, bl
jne 0x14015803c
mov r8, qword [rsp + 0x28]
mov rdx, qword [r8 + 0x30]
lea rcx, [rsp + 0x1c8]
lea r9, [rsp + 0x240]
call fcn.140158630
cmp byte [rsp + 0x238], 2
jne 0x14015805a
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x30], 0
je 0x14015804f
mov byte [r14 + 0x70], 3
jmp 0x1401580c0
mov byte [r14], 0
mov byte [r14 + 0x70], 2
jmp 0x1401580c0
mov rax, qword [rsp + 0x238]
mov qword [r14 + 0x70], rax
movups xmm0, xmmword [rsp + 0x228]
movups xmmword [r14 + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x218]
movups xmmword [r14 + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x208]
movups xmmword [r14 + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x1c8]
movups xmm1, xmmword [rsp + 0x1d8]
movups xmm2, xmmword [rsp + 0x1e8]
movups xmm3, xmmword [rsp + 0x1f8]
movups xmmword [r14 + 0x30], xmm3
movups xmmword [r14 + 0x20], xmm2
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movaps xmm6, xmmword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm8, xmmword [rsp + 0x310]
add rsp, 0x328
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.1401b9360
mov rax, qword [0x14031a2c0]
shl rax, 1
test rax, rax
je 0x140156f6c
call fcn.1401b9410
xor al, 1
mov dword [rsp + 0x4c], eax
jmp 0x140156f74
call fcn.1401b9410
test al, al
jne 0x140158000
mov byte [rdi + 0x11], 1
jmp 0x140158000
mov byte [rsp + 0x121], 3
mov rsi, qword [r12]
test rsi, rsi
jne 0x140157f42
jmp 0x140157fa8
call fcn.1401b5a40
mov rsi, qword [r15 - 8]
cmp rsi, qword [r15 - 0x18]
mov rdi, qword [rsp + 0x30]
jne 0x140158173
lea rcx, [r14 + rbp*8]
add rcx, 0xffffffffffffffe8
mov r14, rax
mov ebp, edx
call fcn.14006efa0
mov edx, ebp
mov rax, r14
lea r12, [rsp + 0xa8]
mov r8, qword [r15 - 0x10]
lea rcx, [rsi + rsi*8]
mov r9, qword [rsp + 0xa0]
mov qword [r8 + rcx*8 + 0x30], r9
movdqu xmm0, xmmword [rsp + 0x70]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmmword [r8 + rcx*8 + 0x20], xmm2
movdqu xmmword [r8 + rcx*8 + 0x10], xmm1
movdqu xmmword [r8 + rcx*8], xmm0
mov qword [r8 + rcx*8 + 0x38], rax
mov dword [r8 + rcx*8 + 0x40], edx
inc rsi
mov qword [r15 - 8], rsi
mov rax, qword [r12 + 0x30]
mov qword [rsp + 0x1a0], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movaps xmmword [rsp + 0x190], xmm2
movaps xmmword [rsp + 0x180], xmm1
movaps xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x1a8], r13
mov dword [rsp + 0x1b0], ebx
movaps xmmword [rsp + 0x240], xmm0
movaps xmmword [rsp + 0x250], xmm1
movaps xmmword [rsp + 0x260], xmm2
test rsi, rsi
sete byte [rsp + 0x1b8]
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x278], rax
je 0x1401583cc
xor ebx, ebx
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
cmp byte [rsp + 0x4c], 0
je 0x140157fe6
jmp 0x140158000
mov rdi, qword [rsp + 0x30]
cmp qword [rdi + 0x98], 0
je 0x1401583d7
movups xmm0, xmmword [rsp + 0x70]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x2e0], xmm2
movdqa xmmword [rsp + 0x2d0], xmm1
movaps xmmword [rsp + 0x2c0], xmm0
mov rax, qword [rdi + 0x88]
mov rcx, qword [rdi + 0x90]
mov r9, qword [rsp + 0x158]
and r9, rcx
movdqu xmm0, xmmword [rax + r9]
pmovmskb edx, xmm0
test edx, edx
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x148]
mov r13, qword [rsp + 0x40]
jne 0x14015830e
mov r8d, 0x10
add r9, r8
and r9, rcx
movdqu xmm0, xmmword [rax + r9]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1401582f6
tzcnt edx, edx
add rdx, r9
and rdx, rcx
movzx r8d, byte [rax + rdx]
test r8b, r8b
js 0x140158333
movdqa xmm0, xmmword [rax]
pmovmskb edx, xmm0
tzcnt edx, edx
movzx r8d, byte [rax + rdx]
lea r9, [rdx - 0x10]
and r9, rcx
mov rcx, qword [rsp + 0x160]
mov byte [rax + rdx], cl
mov byte [rax + r9 + 0x10], cl
neg rdx
lea rcx, [rdx + rdx*4]
shl rcx, 4
lea rbp, [rax + rcx]
and r8b, 1
movzx edx, r8b
sub qword [rdi + 0x98], rdx
movdqa xmm0, xmmword [rsp + 0x2c0]
movdqa xmm1, xmmword [rsp + 0x2d0]
movaps xmm2, xmmword [rsp + 0x2e0]
movups xmmword [rax + rcx - 0x30], xmm2
movdqu xmmword [rax + rcx - 0x40], xmm1
movdqu xmmword [rax + rcx - 0x50], xmm0
mov qword [rax + rcx - 0x20], 0
mov qword [rax + rcx - 0x18], 8
pxor xmm0, xmm0
movdqu xmmword [rax + rcx - 0x10], xmm0
inc qword [rdi + 0xa0]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
cmp rax, rcx
je 0x140157dc0
jmp 0x140157dd1
mov al, 1
mov dword [rsp + 0x6c], eax
jmp 0x140157593
lea rdx, [rdi + 0xa8]
mov rcx, qword [rsp + 0x38]
call fcn.140180eb0
jmp 0x140158288
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x4c]
mov byte [rsp + 0x78], al
lea rax, str._redacted_
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__valueassertion_failed:_self.is_char_boundary_idx_assertion_failed:_self.is_char_boundary_new_len_assertion_failed:_self.is_char_boundary_at_
lea r9, [0x1402d4f70]
lea r8, [rsp + 0x70]
mov edx, 0x2b
call fcn.14005b770
mov ecx, 8
mov edx, 0x88
call fcn.140033f80
ud2
lea rcx, [rsp + 0x70]
call fcn.140187490
xor eax, eax
xchg byte [r13 + 0x48], al
mov byte [rsp + 0x121], 2
lea rcx, [rsp + 0xf0]
call fcn.140158790
lea rcx, str.assertion_failed:_Pin::new_mut_rx_.poll_cx_.is_pending__interval_assumes_timeoutvalue_already_sent
lea r8, str._redacted_
mov edx, 0x39
call fcn.1400576c0
mov ecx, 8
mov edx, 0x20
call fcn.140033f80
int3