Function at 0x140326f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x4c0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x520]
mov edi, r9d
mov rbx, qword [rsp + 0x510]
mov r12, r8
mov rsi, qword [rsp + 0x518]
mov rbp, rcx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rdx
call sym.ErrorReportClient.exe_SfGetPixelType
add eax, 0xffffffe4
cmp eax, 1
jbe 0x140326fdc
mov eax, 0x80004001
jmp 0x140327391
mov qword [rsp + 0x4b8], r13
mov qword [rsp + 0x4b0], r14
mov qword [rsp + 0x4a8], r15
test rbx, rbx
je 0x140327374
test rsi, rsi
je 0x140327374
mov eax, dword [rbp + 8]
xor ebx, ebx
mov r13d, dword [rbp + 4]
cdq
mov esi, eax
mov qword [rsp + 0x48], rbx
xor esi, edx
mov dword [rsp + 0x50], r13d
sub esi, edx
mov r14d, ebx
mov dword [rsp + 0x54], esi
mov r15d, ebx
test r12, r12
je 0x140327055
mov r8, r12
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call qword [0x140449c40]
mov esi, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x4c]
mov r14d, dword [rsp + 0x48]
mov r12d, r13d
sub r12d, r14d
je 0x140327374
mov eax, esi
sub eax, r15d
mov dword [rsp + 0x20], eax
je 0x140327374
movaps xmmword [rsp + 0x490], xmm6
movaps xmmword [rsp + 0x480], xmm7
movaps xmmword [rsp + 0x470], xmm8
test edi, edi
jne 0x1403270a1
movzx edi, word [rbp + 0xe]
imul edi, dword [rbp + 4]
add edi, 0x1f
shr edi, 3
and edi, 0x1ffffffc
mov rdx, qword [rsp + 0x28]
mov rcx, rbp
call fcn.14024f440
mov ecx, edi
mov r11d, 0x100
imul ecx, r15d
mov ebp, ebx
movsxd r9, ecx
lea rcx, [rsp + 0x60]
add r9, rax
mov eax, 0x10
nop dword [rax]
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
lea rcx, [rcx + 0x40]
mov qword [rcx - 0x28], rbx
mov qword [rcx - 0x20], rbx
mov qword [rcx - 0x18], rbx
mov qword [rcx - 0x10], rbx
mov qword [rcx - 8], rbx
sub rax, 1
jne 0x1403270d0
movss xmm5, dword [0x1404521c8]
cmp r15d, esi
jge 0x14032716f
movsxd rsi, edi
movsxd rdi, dword [rsp + 0x20]
mov r10, rdi
cmp r14d, r13d
jge 0x140327164
movsxd rax, r14d
movsxd r8, r12d
lea rdx, [rax*4 + 1]
add rdx, r9
nop word [rax + rax]
movzx eax, byte [rdx + 1]
movzx ecx, byte [rdx]
cmp eax, ecx
cmovae ecx, eax
movzx eax, byte [rdx - 1]
cmp ecx, eax
cmovae eax, ecx
cmp byte [rdx + 2], bl
jbe 0x14032715a
movss xmm0, dword [rsp + rax*4 + 0x60]
addss xmm0, xmm5
movss dword [rsp + rax*4 + 0x60], xmm0
add rdx, 4
sub r8, 1
jne 0x140327130
add r9, rsi
sub r10, 1
jne 0x140327111
jmp 0x140327173
mov edi, dword [rsp + 0x20]
movss xmm6, dword [0x1404521c4]
lea rdx, [rsp + 0x64]
imul edi, r12d
xorps xmm4, xmm4
xorps xmm7, xmm7
mov r8d, 2
movd xmm8, edi
cvtdq2ps xmm8, xmm8
nop dword [rax]
movss xmm0, dword [rdx - 4]
lea ecx, [r8 - 2]
movss xmm1, dword [rdx]
lea eax, [r8 - 1]
divss xmm0, xmm8
divss xmm1, xmm8
addss xmm7, xmm0
movss dword [rdx - 4], xmm0
movss xmm0, dword [rdx + 4]
divss xmm0, xmm8
movaps xmm3, xmm7
movss dword [rdx], xmm1
comiss xmm6, xmm3
addss xmm7, xmm1
movss dword [rdx + 4], xmm0
cmovbe ecx, ebp
lea ebp, [r8 + 1]
movaps xmm2, xmm7
addss xmm7, xmm0
movss xmm0, dword [rdx + 8]
comiss xmm6, xmm2
divss xmm0, xmm8
cmovbe eax, ecx
mov ecx, r8d
movaps xmm1, xmm7
comiss xmm6, xmm1
addss xmm7, xmm0
movss dword [rdx + 8], xmm0
cmovbe ecx, eax
comiss xmm6, xmm7
cmovbe ebp, ecx
add r8d, 4
add rdx, 0x10
lea eax, [r8 - 2]
cmp eax, r11d
jl 0x1403271a0
movss xmm1, dword [0x14067da08]
movaps xmm0, xmm4
movaps xmm8, xmmword [rsp + 0x470]
mov ecx, ebx
movaps xmm7, xmmword [rsp + 0x480]
mov rax, rbx
addss xmm0, dword [rsp + rax*4 + 0x60]
comiss xmm0, xmm1
ja 0x140327267
inc ecx
inc rax
cmp rax, r11
jl 0x140327250
jmp 0x14032726a
mov r11d, ecx
mov ecx, 0xff
mov eax, ecx
addss xmm4, dword [rsp + rax*4 + 0x60]
comiss xmm4, xmm1
ja 0x140327286
dec ecx
sub rax, 1
jns 0x140327271
jmp 0x140327288
mov ebx, ecx
movss xmm2, dword [0x14046adc8]
lea eax, [rbx + r11]
cdq
mov ecx, 0x80
sub eax, edx
sar eax, 1
sub ecx, eax
mov rax, qword [rsp + 0x30]
movd xmm0, ecx
mov rcx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x140453f88]
addss xmm0, xmm6
movss dword [rax], xmm0
mov eax, ebx
sub eax, r11d
movaps xmm0, xmm5
sub ebx, ebp
movd xmm1, eax
add eax, 2
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x14046adf0]
subss xmm0, xmm1
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rcx], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
subss xmm1, xmm6
comiss xmm1, xmm2
jbe 0x140327306
addss xmm1, xmm2
jmp 0x140327317
movss xmm0, dword [0x14046adf4]
comiss xmm0, xmm1
jbe 0x14032731b
subss xmm1, xmm2
mulss xmm1, xmm6
movss xmm2, dword [0x14046adcc]
comiss xmm1, xmm2
jbe 0x14032732e
addss xmm1, xmm2
jmp 0x14032733f
movss xmm0, dword [0x14046adf8]
comiss xmm0, xmm1
jbe 0x140327343
subss xmm1, xmm2
mulss xmm1, xmm6
mov rax, qword [rsp + 0x40]
addss xmm1, xmm6
subss xmm5, dword [0x14067da0c]
mulss xmm1, dword [0x14067da0c]
mulss xmm5, xmm6
movaps xmm6, xmmword [rsp + 0x490]
addss xmm1, xmm5
movss dword [rax], xmm1
xor eax, eax
jmp 0x140327379
mov eax, 0x80070057
mov r14, qword [rsp + 0x4b0]
mov r13, qword [rsp + 0x4b8]
mov r15, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x4c0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret