Function at 0x7ff6337ee880
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r15d, dword [rsp + 0x110]
xor ebp, ebp
cmp r15d, 0x10
mov qword [rsp + 0x68], rbp
mov r10d, ebp
mov r14, rcx
mov ecx, dword [rsp + 0x100]
sete r10b
inc r10d
mov dword [rsp + 0x30], ecx
mov r13d, r9d
mov edi, r10d
mov rax, qword [r14]
mov esi, r8d
mov r8d, dword [rsp + 0x108]
mov rbx, rdx
imul edi, r9d
mov eax, dword [rax + 8]
mov r12d, eax
imul r12d, r10d
mov dword [rsp + 0x24], eax
mov r9d, edi
imul r9d, ecx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x40], r9d
test ecx, ecx
js 0x7ff6337efa1f
test r8d, r8d
js 0x7ff6337efa1f
je 0x7ff6337ee92b
xor edx, edx
mov eax, 0x7fffffff
div r8d
cmp ecx, eax
jg 0x7ff6337efa1f
imul ecx, r8d
test ecx, ecx
js 0x7ff6337efa1f
test edi, edi
js 0x7ff6337efa1f
je 0x7ff6337ee951
mov eax, 0x7fffffff
cdq
idiv edi
cmp ecx, eax
jg 0x7ff6337efa1f
mov eax, r8d
imul eax, r9d
movsxd rcx, eax
call qword [0x7ff6338108d0]
mov qword [rsp + 0x98], rax
mov r10, rax
mov qword [r14 + 0x18], rax
test rax, rax
je 0x7ff6337efa23
movsxd r9, dword [rsp + 0x24]
test r9d, r9d
js 0x7ff6337efa0a
mov ebp, dword [rsp + 0x100]
test ebp, ebp
je 0x7ff6337ee9a4
xor edx, edx
mov eax, 0x7fffffff
div ebp
cmp r9d, eax
jg 0x7ff6337efa0a
mov r11d, r9d
imul r11d, ebp
test r11d, r11d
js 0x7ff6337efa0a
test r15d, r15d
js 0x7ff6337efa0a
je 0x7ff6337ee9d2
xor edx, edx
mov eax, 0x7fffffff
div r15d
cmp r11d, eax
jg 0x7ff6337efa0a
mov eax, r11d
imul eax, r15d
cmp eax, 0x7ffffff8
jg 0x7ff6337efa0a
mov edx, r11d
imul edx, r15d
add edx, 7
shr edx, 3
mov dword [rsp + 0x3c], edx
lea eax, [rdx + 1]
imul eax, dword [rsp + 0x108]
cmp esi, eax
jae 0x7ff6337eea1c
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.not_enough_pixels
jmp 0x7ff6337efa36
mov eax, dword [rsp + 0x108]
xor r8d, r8d
mov ecx, r8d
mov dword [rsp + 0x34], ecx
test eax, eax
je 0x7ff6337ef55a
movsxd r14, r12d
movsxd r13, edi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x20], r11d
nop
mov r11d, dword [rsp + 0x40]
mov eax, ecx
imul eax, r11d
add rax, r10
movzx r10d, byte [rbx]
inc rbx
mov qword [rsp + 0x90], rax
mov rsi, rax
cmp r10d, 4
ja 0x7ff6337ef52b
cmp r15d, 8
jge 0x7ff6337eeaae
cmp edx, ebp
ja 0x7ff6337ef513
mov eax, dword [rsp + 0xf8]
mov r12d, 1
imul eax, ebp
mov r14d, r12d
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x30], edx
sub eax, edx
add rsi, rax
mov r15, rsi
sub r15, r11
test ecx, ecx
lea rcx, [0x7ff633720000]
jne 0x7ff6337eeac8
movzx r10d, byte [r10 + rcx + 0x27e8cc]
test r14, r14
jle 0x7ff6337eec02
mov rdi, r15
mov r11, rsi
sub rdi, rbx
mov rdx, rbx
sub r11, rbx
mov r9, r14
mov r8, rdx
cmp r10d, 6
ja case.default.0x7ff6337eeaf9
movsxd rax, r10d
mov eax, dword [rcx + rax*4 + 0xcfa5c]
add rax, rcx
jmp rax
inc rdx
sub r9, 1
je 0x7ff6337eebfa
lea rcx, [0x7ff633720000]
jmp 0x7ff6337eeae3
lea rdi, [0x7ff633720000]
nop dword [rax + rax]
movzx eax, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eec37
mov r8, rdx
jmp 0x7ff6337eeb20
lea rdi, [0x7ff633720000]
movzx eax, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eec37
mov r8, rdx
jmp 0x7ff6337eeb40
movzx eax, byte [rdi + r8]
add al, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eebfa
mov r8, rdx
jmp case.0x7ff6337eeaf9.2
movzx eax, byte [rdi + r8]
shr al, 1
add al, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eebfa
mov r8, rdx
jmp case.0x7ff6337eeaf9.3
xor ebp, ebp
nop dword [rax]
movzx eax, byte [rdi + r8]
mov ecx, ebp
test al, al
cmovne ecx, eax
add cl, byte [rdx]
inc rdx
mov byte [r11 + r8], cl
sub r9, 1
je 0x7ff6337eec2b
mov r8, rdx
jmp 0x7ff6337eeba0
movzx eax, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eebfa
mov r8, rdx
jmp case.0x7ff6337eeaf9.5
movzx eax, byte [rdx]
inc rdx
mov byte [r11 + r8], al
sub r9, 1
je 0x7ff6337eebf5
mov r8, rdx
jmp case.0x7ff6337eeaf9.6
mov r13, qword [rsp + 0x60]
xor r8d, r8d
mov r9d, dword [rsp + 0x24]
lea rdi, [0x7ff633720000]
mov eax, dword [rsp + 0x110]
cmp eax, 8
jne 0x7ff6337eec60
movsxd rax, dword [rsp + 0xf8]
cmp r9d, eax
je 0x7ff6337eec41
movsxd rcx, r9d
mov byte [rcx + rsi], 0xff
jmp 0x7ff6337eec46
mov ebp, dword [rsp + 0x100]
xor r8d, r8d
jmp 0x7ff6337eebfd
mov r9d, dword [rsp + 0x24]
xor r8d, r8d
jmp 0x7ff6337eec09
mov rcx, qword [rsp + 0x70]
add rbx, rcx
lea r11, [rax + r15]
lea r9, [rax + rsi]
mov qword [rsp + 0x48], r11
mov rdx, rbx
mov qword [rsp + 0x28], r9
jmp 0x7ff6337eecb4
cmp eax, 0x10
jne 0x7ff6337eec93
cmp r9d, dword [rsp + 0xf8]
je 0x7ff6337eec76
mov word [r14 + rsi], 0xffff
movsxd rax, r12d
lea r11, [r15 + r13]
add rbx, rax
mov qword [rsp + 0x48], r11
lea r9, [rsi + r13]
mov rdx, rbx
mov qword [rsp + 0x28], r9
jmp 0x7ff6337eecb4
inc rbx
lea r11, [r15 + 1]
mov qword [rsp + 0x48], r11
lea r9, [rsi + 1]
mov qword [rsp + 0x28], r9
mov rdx, rbx
cmp eax, 8
jl 0x7ff6337ef1a3
mov eax, dword [rsp + 0x24]
cmp eax, dword [rsp + 0xf8]
je 0x7ff6337ef1a3
cmp r10d, 6
ja case.default.0x7ff6337eece7
movsxd rax, r10d
mov rbx, rdx
lea r10, [0x7ff633720000]
mov ecx, dword [r10 + rax*4 + 0xcfa78]
add rcx, r10
jmp rcx
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd r11, r12d
mov r10d, eax
nop dword [rax + rax]
test r14, r14
jle 0x7ff6337eed22
mov r8, rbx
mov rcx, r9
sub r8, r9
mov rdx, r14
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x7ff6337eed11
mov byte [r14 + r9], 0xff
add rbx, r11
add r9, r13
sub r10, 1
jne 0x7ff6337eed00
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd rdi, r12d
mov r11d, eax
nop word [rax + rax]
test r14, r14
jle 0x7ff6337eed84
mov rdx, r9
mov r10, r9
sub rdx, r13
mov rcx, rbx
sub rdx, rbx
mov r8, r14
sub r10, rbx
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
add al, byte [rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337eed70
mov byte [r14 + r9], 0xff
add rbx, rdi
add r9, r13
sub r11, 1
jne 0x7ff6337eed50
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd rbp, r12d
mov esi, eax
nop dword [rax + rax]
mov rdx, r8
test r12d, r12d
jle 0x7ff6337eeef1
cmp r12d, 8
jb 0x7ff6337eeef1
lea eax, [r12 - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + r9]
cmp r9, rax
ja 0x7ff6337eede4
cmp r8, rbx
jae 0x7ff6337eeef1
lea rax, [rcx + r11]
cmp r9, rax
ja 0x7ff6337eedf6
cmp r8, r11
jae 0x7ff6337eeef1
cmp r12d, 0x40
jb 0x7ff6337eee9d
mov ecx, r12d
and ecx, 0x8000003f
jge 0x7ff6337eee12
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r12d
sub eax, ecx
mov rcx, r11
movsxd r10, eax
sub rcx, rbx
lea rax, [rbx + 0x10]
mov r8, r9
sub r8, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [rax + rcx - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rax, [rax + 0x40]
paddb xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r8 + rax - 0x50], xmm1
paddb xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rax + rcx - 0x30]
movdqu xmmword [r8 + rax - 0x40], xmm2
paddb xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rax + rcx - 0x20]
movdqu xmmword [r8 + rax - 0x30], xmm1
paddb xmm2, xmm0
movdqu xmmword [r8 + rax - 0x20], xmm2
cmp rdx, r10
jl 0x7ff6337eee30
mov eax, r12d
and al, 0x3f
cmp al, 8
jb 0x7ff6337eeef1
mov ecx, r12d
and ecx, 0x80000007
jge 0x7ff6337eeeaf
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r12d
sub eax, ecx
mov rcx, r11
movsxd r10, eax
sub rcx, rbx
lea rax, [rdx + rbx]
mov r8, r9
sub r8, rbx
nop word [rax + rax]
movq xmm1, qword [rax + rcx]
add rdx, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
paddb xmm1, xmm0
movq qword [r8 + rax - 8], xmm1
cmp rdx, r10
jl 0x7ff6337eeed0
cmp rdx, r14
jge 0x7ff6337eef24
mov r10, r11
lea rcx, [rdx + rbx]
mov rdi, r9
sub r10, rbx
sub rdi, rbx
mov r8, r14
sub r8, rdx
nop dword [rax]
movzx eax, byte [rcx + r10]
add al, byte [rcx]
mov byte [rdi + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337eef10
mov byte [r14 + r9], 0xff
add rbx, rbp
add r9, r13
add r11, r13
mov r8d, 0
sub rsi, 1
jne 0x7ff6337eedb0
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd r15, r12d
mov ebp, eax
test r14, r14
jle 0x7ff6337eef9e
mov r8, r9
mov rdi, rbx
sub r8, r13
sub rdi, r11
sub r8, r11
mov rsi, r9
sub rsi, r11
mov rdx, r11
mov r10, r14
nop dword [rax + rax]
movzx ecx, byte [rdx + r8]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
add ecx, eax
shr ecx, 1
add cl, byte [rdi + rdx - 1]
mov byte [rsi + rdx - 1], cl
sub r10, 1
jne 0x7ff6337eef80
mov byte [r14 + r9], 0xff
add rbx, r15
add r9, r13
add r11, r13
sub rbp, 1
jne 0x7ff6337eef58
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd rcx, r12d
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x58], rax
test r14, r14
jle 0x7ff6337ef074
mov rax, r11
mov r10, r9
sub rax, r9
sub r10, r13
mov qword [rsp + 0x78], rax
mov r12, r14
mov r14, qword [rsp + 0x78]
mov rax, r13
sub rax, r9
lea r9, [rax + r11]
lea r11, [rbx + rax]
movzx r8d, byte [r10]
movzx ebp, byte [r10 + r14]
mov ecx, r8d
movzx r15d, byte [r9 + r10]
sub ecx, ebp
mov esi, ecx
lea edx, [r15 + rcx]
mov eax, edx
sub eax, r8d
mov edi, eax
neg edi
cmovs edi, eax
neg esi
cmovs esi, ecx
sub edx, ebp
mov eax, edx
neg eax
cmovs eax, edx
cmp edi, esi
jg 0x7ff6337ef03e
cmp edi, eax
jle 0x7ff6337ef047
cmp esi, eax
mov r8d, ebp
cmovle r8d, r15d
add r8b, byte [r11 + r10]
mov byte [r10 + r13], r8b
inc r10
sub r12, 1
jne 0x7ff6337ef003
mov r9, qword [rsp + 0x28]
mov r11, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
add r11, r13
mov byte [r14 + r9], 0xff
add r9, r13
mov qword [rsp + 0x48], r11
add rbx, rcx
mov qword [rsp + 0x28], r9
sub rax, 1
mov qword [rsp + 0x58], rax
jne 0x7ff6337eefd3
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd rdi, r12d
mov r11d, eax
test r14, r14
jle 0x7ff6337ef0e8
mov rdx, r9
mov r10, r9
sub rdx, r13
mov rcx, rbx
sub rdx, rbx
mov r8, r14
sub r10, rbx
nop dword [rax]
movzx eax, byte [rcx + rdx]
lea rcx, [rcx + 1]
shr al, 1
add al, byte [rcx - 1]
mov byte [r10 + rcx - 1], al
sub r8, 1
jne 0x7ff6337ef0d0
mov byte [r14 + r9], 0xff
add rbx, rdi
add r9, r13
sub r11, 1
jne 0x7ff6337ef0b2
jmp 0x7ff6337ef155
lea eax, [rbp - 1]
cmp eax, 1
jb 0x7ff6337ef155
movsxd rdi, r12d
mov r11d, eax
nop dword [rax]
test r14, r14
jle 0x7ff6337ef144
mov rdx, r9
mov r10, r9
sub rdx, r13
mov rcx, rbx
sub rdx, rbx
mov r8, r14
sub r10, rbx
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
add al, byte [rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337ef130
mov byte [r14 + r9], 0xff
add rbx, rdi
add r9, r13
sub r11, 1
jne 0x7ff6337ef110
lea rdi, [0x7ff633720000]
mov r15d, dword [rsp + 0x110]
cmp r15d, 0x10
jne 0x7ff6337ef4d9
mov ebp, dword [rsp + 0x100]
test ebp, ebp
je 0x7ff6337ef4e0
mov rax, qword [rsp + 0x90]
mov ecx, ebp
add rax, r14
nop word [rax + rax]
mov byte [rax + 1], 0xff
lea rax, [rax + r13]
sub rcx, 1
jne 0x7ff6337ef190
jmp 0x7ff6337ef4e0
mov esi, dword [rsp + 0x30]
dec esi
imul esi, r12d
mov dword [rsp + 0x28], esi
cmp r10d, 6
ja case.default.0x7ff6337ef1d2
lea rcx, [0x7ff633720000]
movsxd rax, r10d
movsxd r8, esi
mov edx, dword [rcx + rax*4 + 0xcfa94]
add rdx, rcx
jmp rdx
mov rdx, rbx
mov rcx, r9
call fcn.7ff63380d9fa
jmp 0x7ff6337ef4c4
test esi, esi
jle 0x7ff6337ef4c4
mov rdx, r9
mov rcx, rbx
sub rdx, r14
sub rdx, rbx
sub r9, rbx
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
add al, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337ef200
jmp 0x7ff6337ef4c4
xor ebp, ebp
mov edx, ebp
test esi, esi
jle 0x7ff6337ef351
cmp esi, 8
jb 0x7ff6337ef351
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r10, [rcx + r9]
cmp r9, rax
ja 0x7ff6337ef24a
cmp r10, rbx
jae 0x7ff6337ef351
lea rax, [rcx + r11]
cmp r9, rax
ja 0x7ff6337ef25c
cmp r10, r11
jae 0x7ff6337ef351
cmp esi, 0x40
jb 0x7ff6337ef2fc
mov ecx, esi
and ecx, 0x8000003f
jge 0x7ff6337ef276
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
sub eax, ecx
mov rcx, r11
movsxd rdi, eax
sub rcx, rbx
lea rax, [rbx + 0x10]
mov r10, r9
sub r10, rbx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [rax + rcx - 0x10]
movdqu xmm2, xmmword [rax]
lea rax, [rax + 0x40]
paddb xmm1, xmm0
movdqu xmm0, xmmword [rax + rcx - 0x40]
movdqu xmmword [r10 + rax - 0x50], xmm1
paddb xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rax + rcx - 0x30]
movdqu xmmword [r10 + rax - 0x40], xmm2
paddb xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rax + rcx - 0x20]
movdqu xmmword [r10 + rax - 0x30], xmm1
paddb xmm2, xmm0
movdqu xmmword [r10 + rax - 0x20], xmm2
cmp rdx, rdi
jl 0x7ff6337ef290
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x7ff6337ef351
mov ecx, esi
and ecx, 0x80000007
jge 0x7ff6337ef30d
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, esi
sub eax, ecx
mov rcx, r11
movsxd rdi, eax
sub rcx, rbx
lea rax, [rdx + rbx]
mov r10, r9
sub r10, rbx
nop dword [rax]
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add rdx, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
paddb xmm1, xmm0
movq qword [r10 + rax - 8], xmm1
cmp rdx, rdi
jl 0x7ff6337ef330
cmp rdx, r8
jge 0x7ff6337ef4c4
sub r11, rbx
lea rcx, [rdx + rbx]
sub r9, rbx
sub r8, rdx
nop word [rax + rax]
movzx eax, byte [rcx + r11]
add al, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337ef370
jmp 0x7ff6337ef4c4
test esi, esi
jle 0x7ff6337ef4c4
mov rdx, r9
mov r10, rbx
sub rdx, r14
sub r10, r11
sub rdx, r11
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r11 + rdx]
movzx eax, byte [r11]
lea r11, [r11 + 1]
add ecx, eax
shr ecx, 1
add cl, byte [r10 + r11 - 1]
mov byte [r9 + r11 - 1], cl
sub r8, 1
jne 0x7ff6337ef3b0
jmp 0x7ff6337ef4c4
test esi, esi
jle 0x7ff6337ef4c4
mov r10, r9
mov r12, r11
sub r10, r14
sub r12, r9
mov rax, r14
sub rax, r9
lea r13, [rax + r11]
lea r15, [rax + rbx]
nop dword [rax + rax]
movzx r9d, byte [r10]
movzx esi, byte [r10 + r12]
mov ecx, r9d
movzx ebp, byte [r10 + r13]
sub ecx, esi
mov edi, ecx
lea edx, [rcx + rbp]
mov eax, edx
sub eax, r9d
mov r11d, eax
neg r11d
cmovs r11d, eax
neg edi
cmovs edi, ecx
sub edx, esi
mov eax, edx
neg eax
cmovs eax, edx
cmp r11d, edi
jg 0x7ff6337ef43f
cmp r11d, eax
jle 0x7ff6337ef448
cmp edi, eax
mov r9d, esi
cmovle r9d, ebp
add r9b, byte [r15 + r10]
mov byte [r10 + r14], r9b
inc r10
sub r8, 1
jne 0x7ff6337ef400
mov r13, qword [rsp + 0x60]
mov esi, dword [rsp + 0x28]
jmp 0x7ff6337ef4c4
test esi, esi
jle 0x7ff6337ef4c4
mov rdx, r9
mov rcx, rbx
sub rdx, r14
sub rdx, rbx
sub r9, rbx
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
lea rcx, [rcx + 1]
shr al, 1
add al, byte [rcx - 1]
mov byte [r9 + rcx - 1], al
sub r8, 1
jne 0x7ff6337ef480
jmp 0x7ff6337ef4c4
test esi, esi
jle 0x7ff6337ef4c4
mov rdx, r9
mov rcx, rbx
sub rdx, r14
sub rdx, rbx
sub r9, rbx
nop dword [rax]
movzx eax, byte [rcx + rdx]
add al, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x7ff6337ef4b0
lea rdi, [0x7ff633720000]
mov r15d, dword [rsp + 0x110]
movsxd rax, esi
add rbx, rax
mov ebp, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x34]
xor r8d, r8d
mov eax, dword [rsp + 0x108]
inc ecx
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0x34], ecx
cmp ecx, eax
jae 0x7ff6337ef543
mov r12d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x24]
mov r10, qword [rsp + 0x98]
jmp 0x7ff6337eea50
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.invalid_width
jmp 0x7ff6337efa36
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.invalid_filter
jmp 0x7ff6337efa36
mov r11d, dword [rsp + 0x20]
mov r13d, dword [rsp + 0xf8]
mov r14, qword [rsp + 0xe0]
jmp 0x7ff6337ef561
lea rdi, [0x7ff633720000]
movsxd rbx, dword [rsp + 0x110]
cmp ebx, 8
jge 0x7ff6337ef9c2
test eax, eax
je 0x7ff6337efa03
mov rsi, qword [r14 + 0x18]
mov r15d, r13d
mov r13d, dword [rsp + 0x118]
lea r14, [rbx + 0x29f200]
add r14, rdi
movsxd rbp, ebp
imul r15d, dword [rsp + 0x100]
mov r12d, edx
mov eax, r8d
mov r9, rsi
imul eax, dword [rsp + 0x40]
sub r9, r12
add r9, r15
mov edi, eax
add rax, rsi
add r9, rdi
test r13d, r13d
jne 0x7ff6337ef5c6
movzx r10d, byte [r14]
jmp 0x7ff6337ef5c9
mov r10b, 1
mov edx, r11d
cmp ebx, 4
jne 0x7ff6337ef662
mov dword [rsp + 0x20], edx
mov ebx, edx
cmp edx, 2
jl 0x7ff6337ef63a
mov r11d, edx
mov dword [rsp + 0x20], edx
shr r11, 1
mov ecx, r11d
neg ecx
lea ebx, [rdx + rcx*2]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r9]
shr cl, 4
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
movzx edx, r10b
mov byte [rax], r8b
movzx ecx, byte [r9]
inc r9
and cl, 0xf
movzx r8d, cl
imul r8d, edx
mov byte [rax + 1], r8b
add rax, 2
sub r11, 1
jne 0x7ff6337ef600
mov r11d, dword [rsp + 0x20]
test ebx, ebx
jle 0x7ff6337ef920
movzx ecx, byte [r9]
shr cl, 4
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
mov byte [rax], r8b
jmp 0x7ff6337ef920
cmp ebx, 2
jne 0x7ff6337ef750
mov dword [rsp + 0x20], edx
mov rbx, rdx
cmp edx, 4
jl 0x7ff6337ef6f8
mov r11, rdx
mov dword [rsp + 0x20], edx
shr r11, 2
mov ecx, r11d
neg ecx
lea ebx, [rdx + rcx*4]
nop
movzx ecx, byte [r9]
shr cl, 6
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
movzx ecx, r10b
mov byte [rax], r8b
movzx edx, byte [r9]
shr dl, 4
and dl, 3
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 1], dl
movzx edx, byte [r9]
shr dl, 2
and dl, 3
movzx edx, dl
imul edx, ecx
mov byte [rax + 2], dl
movzx ecx, byte [r9]
inc r9
and cl, 3
movzx edx, r10b
movzx r8d, cl
imul r8d, edx
mov byte [rax + 3], r8b
add rax, 4
sub r11, 1
jne 0x7ff6337ef690
test ebx, ebx
jle 0x7ff6337ef715
movzx ecx, byte [r9]
shr cl, 6
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
mov byte [rax], r8b
inc rax
cmp ebx, 1
jle 0x7ff6337ef733
movzx edx, byte [r9]
shr dl, 4
and dl, 3
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
mov r11d, dword [rsp + 0x20]
cmp ebx, 2
jle 0x7ff6337ef920
movzx edx, byte [r9]
shr dl, 2
and dl, 3
jmp 0x7ff6337ef914
mov r11d, edx
cmp ebx, 1
jne 0x7ff6337ef920
mov dword [rsp + 0x20], edx
mov r11, rdx
cmp edx, 8
jl 0x7ff6337ef847
mov rbx, rdx
mov dword [rsp + 0x20], edx
shr rbx, 3
mov ecx, ebx
neg ecx
lea r11d, [rdx + rcx*8]
nop
movzx ecx, byte [r9]
shr cl, 7
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
movzx ecx, r10b
mov byte [rax], r8b
movzx edx, byte [r9]
shr dl, 6
and dl, 1
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 1], dl
movzx edx, byte [r9]
shr dl, 5
and dl, 1
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 2], dl
movzx edx, byte [r9]
shr dl, 4
and dl, 1
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 3], dl
movzx edx, byte [r9]
shr dl, 3
and dl, 1
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 4], dl
movzx edx, byte [r9]
shr dl, 2
and dl, 1
movzx edx, dl
imul edx, ecx
movzx ecx, r10b
mov byte [rax + 5], dl
movzx edx, byte [r9]
shr dl, 1
and dl, 1
movzx edx, dl
imul edx, ecx
mov byte [rax + 6], dl
movzx ecx, byte [r9]
inc r9
and cl, 1
movzx edx, r10b
movzx r8d, cl
imul r8d, edx
mov byte [rax + 7], r8b
add rax, 8
sub rbx, 1
jne 0x7ff6337ef780
test r11d, r11d
jle 0x7ff6337ef865
movzx ecx, byte [r9]
shr cl, 7
movzx r8d, cl
movzx edx, r10b
imul r8d, edx
mov byte [rax], r8b
inc rax
cmp r11d, 1
jle 0x7ff6337ef884
movzx edx, byte [r9]
shr dl, 6
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
cmp r11d, 2
jle 0x7ff6337ef8a3
movzx edx, byte [r9]
shr dl, 5
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
cmp r11d, 3
jle 0x7ff6337ef8c2
movzx edx, byte [r9]
shr dl, 4
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
cmp r11d, 4
jle 0x7ff6337ef8e1
movzx edx, byte [r9]
shr dl, 3
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
cmp r11d, 5
jle 0x7ff6337ef900
movzx edx, byte [r9]
shr dl, 2
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
inc rax
cmp r11d, 6
mov r11d, dword [rsp + 0x20]
jle 0x7ff6337ef920
movzx edx, byte [r9]
shr dl, 1
and dl, 1
movzx ecx, r10b
movzx edx, dl
imul edx, ecx
mov byte [rax], dl
mov eax, dword [rsp + 0x24]
cmp eax, dword [rsp + 0xf8]
je 0x7ff6337ef999
lea rdx, [rsi + rdi]
lea rcx, [rbp - 1]
cmp eax, 1
jne 0x7ff6337ef954
test rcx, rcx
js 0x7ff6337ef999
nop
mov byte [rdx + rcx*2 + 1], 0xff
movzx eax, byte [rcx + rdx]
mov byte [rdx + rcx*2], al
sub rcx, 1
jns 0x7ff6337ef940
jmp 0x7ff6337ef999
test rcx, rcx
js 0x7ff6337ef999
lea r8, [rcx*2 + 1]
add r8, rdx
lea rdx, [rdx + rcx*4]
add r8, rcx
add rdx, 2
nop
sub rcx, 1
mov byte [rdx + 1], 0xff
movzx eax, byte [r8 + 1]
lea r8, [r8 - 3]
mov byte [rdx], al
lea rdx, [rdx - 4]
movzx eax, byte [r8 + 3]
mov byte [rdx + 3], al
movzx eax, byte [r8 + 2]
mov byte [rdx + 2], al
jns 0x7ff6337ef970
mov r8, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x110]
inc r8d
mov qword [rsp + 0x68], r8
cmp r8d, dword [rsp + 0x108]
jb 0x7ff6337ef5a2
mov eax, 1
jmp 0x7ff6337efa41
cmp ebx, 0x10
jne 0x7ff6337efa03
mov r9, qword [r14 + 0x18]
imul r13d, ebp
mov r8, r9
imul r13d, eax
test r13d, r13d
je 0x7ff6337efa03
mov r10d, r13d
nop
movzx edx, byte [r9]
lea r9, [r9 + 2]
movzx ecx, byte [r8 + 1]
lea r8, [r8 + 2]
shl dx, 8
or dx, cx
mov word [r8 - 2], dx
sub r10, 1
jne 0x7ff6337ef9e0
mov eax, 1
jmp 0x7ff6337efa41
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.too_large
jmp 0x7ff6337efa36
mov qword [r14 + 0x18], rbp
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.outofmem
mov edx, 0x28
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret