Function at 0x140078e80
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14049e608]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rcx
mov qword [rsp + 0x68], rcx
lea r15, [0x14049f330]
lea r14, [0x1407366e0]
mov r11d, 0x4c
lea r8d, [r11 - 0x4b]
movabs r13, 0x112e0be826d694b3
movabs r12, 0x311cdad160000
mov ebx, 0xffff0000
mov rax, qword [0x14049f330]
test rax, rax
je 0x140079713
movzx eax, byte [0x14049f688]
test al, al
setne al
test al, al
je 0x140079137
mov qword [rsp + 0x48], 0x1312d00
nop word [rax + rax]
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rax + rcx]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
lea rdi, [rdx + 0x1312d00]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rdi
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rcx + rax]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdi
cmp rdx, rdi
jge 0x1400790f0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x58], rdi
movsd xmm0, qword [0x14045b4a0]
movsd qword [rsp + 0x58], xmm0
movsd xmm6, qword [0x14045b4c8]
movsd qword [rsp + 0x58], xmm6
movsd qword [rsp + 0x48], xmm6
movsd qword [rsp + 0x48], xmm6
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rdi
nop word [rax + rax]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
mov rbx, rdi
sub rbx, rdx
call fcn.140317a80
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x48], rax
imul rcx, rax, 0x64
mov qword [rsp + 0x48], rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
movsd qword [rsp + 0x48], xmm0
movsd qword [rsp + 0x48], xmm0
comisd xmm0, xmm6
seta al
test al, al
je 0x14007905c
add rcx, r12
jmp 0x140079064
mov qword [rsp + 0x48], rbx
add rcx, rbx
mov rax, r13
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x48], rdx
mov qword [rbp + 0xe0], rdx
imul rax, rdx, 0x3b9aca00
mov qword [rsp + 0x48], rax
sub rcx, rax
mov qword [rsp + 0x48], rcx
mov dword [rbp + 0xe8], ecx
lea rcx, [rbp + 0xe0]
call fcn.140317dfc
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rcx + rax]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rdx
cmp rdx, rdi
jl 0x140079010
mov qword [rsp + 0x48], rdx
movzx eax, byte [0x14049f688]
test al, al
setne al
test al, al
je 0x140079110
mov rax, qword [0x14049f330]
test rax, rax
jne 0x140078f30
mov rax, qword [0x14049f330]
test rax, rax
je 0x140079713
mov rcx, rsi
call fcn.140079c90
mov ebx, 0xffff0000
mov r11d, 0x4c
lea r8d, [r11 - 0x4b]
mov dil, 1
mov byte [rsp + 0x50], dil
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
nop
mov rcx, qword [rsi + 0xbe8]
mov rax, qword [0x14049f330]
cmp rax, rcx
jne 0x140079701
lea r12, [rsi + 0xa0]
movzx eax, byte [r12 + 0xb50]
imul rcx, rax, 0x268
lea r13, [r12 + 0x660]
add r13, rcx
movzx ecx, byte [rsi + 0x6a]
mov rdx, r8
shl rdx, cl
movzx ecx, byte [r13 + 2]
mov rax, r8
shl rax, cl
cmp rax, rdx
jne 0x140079701
movzx r8d, byte [r12 + 0xb50]
imul rax, r8, 0x268
mov ecx, dword [rax + r12 + 0x660]
mov eax, ecx
and eax, 0xff000000
mov edx, 0xff000000
cmp eax, 0x63000000
cmove edx, ebx
and edx, ecx
cmp edx, 0x6b000000
jne 0x1400791f4
mov ecx, 0x20
jmp 0x140079203
mov ecx, 0x27
cmp edx, 0x6c000000
cmove rcx, r11
imul rax, r8, 0x330
add rax, r12
mov r9d, dword [rax + rcx]
mov dword [rsp + 0x60], r9d
imul rcx, r8, 0x268
mov r10, qword [rcx + r12 + 0x680]
imul rcx, r8, 0x268
mov edx, dword [rcx + r12 + 0x660]
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, ebx
and ecx, edx
cmp ecx, 0x6b000000
jne 0x140079259
mov edx, 0x20
jmp 0x140079268
mov edx, 0x27
cmp ecx, 0x6c000000
cmove rdx, r11
imul rcx, r8, 0x330
add rcx, r10
add rcx, r12
mov eax, dword [rcx + rdx]
mov dword [rsp + 0x64], eax
mov eax, dword [rsi + 0xc20]
test eax, eax
je 0x1400792b4
cmp r9d, eax
jae 0x14007970e
cmp qword [rsi + 0x80], 1
jne 0x1400792b4
movzx eax, byte [r12 + 0xb50]
imul rcx, rax, 0x330
mov rax, qword [0x1407366e0]
xor qword [rcx + r12], rax
mov byte [rsp + 0x51], 1
movzx eax, byte [r12 + 0xb50]
imul rcx, rax, 0x268
mov edx, dword [rcx + r12 + 0x660]
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, ebx
and ecx, edx
cmp ecx, 0x6b000000
jne 0x1400792f7
mov r9d, 0x20
jmp 0x140079307
mov r9d, 0x27
cmp ecx, 0x6c000000
cmove r9, r11
movzx eax, byte [r12 + 0xb50]
imul rcx, rax, 0x268
mov edx, dword [rcx + r12 + 0x660]
mov eax, edx
and eax, 0xff000000
mov r8d, 0xff000000
cmp eax, 0x63000000
cmove r8d, ebx
and r8d, edx
mov ecx, 4
cmp r8d, 0x6b000000
mov eax, 8
cmove ecx, eax
movzx eax, byte [r12 + 0xb50]
imul rbx, rax, 0x330
lea rax, [r12 + rcx]
add rbx, rax
add rbx, r9
mov edx, dword [r13]
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
mov r8d, 0xffff0000
cmove ecx, r8d
and ecx, edx
cmp ecx, 0x72000000
jne 0x140079531
test dil, dil
je 0x1400793f3
mov byte [rsp + 0x50], 0
cmp byte [r13 + 0x261], 0
je 0x1400793c9
movzx eax, byte [r12 + 0xb50]
imul rdx, rax, 0x330
add rdx, r12
mov r9, rbx
mov r8, qword [r13 + 0x20]
mov rcx, r13
call fcn.14003ac30
movzx eax, byte [r12 + 0xb50]
imul r8, rax, 0x330
add r8, r12
mov r9, qword [r13 + 0x20]
lea rdx, [rbp + 0xf0]
mov rcx, qword [rsi + 0xbf8]
call fcn.14014dc00
mov edx, 0x8000
cmp dword [rsi + 0xc20], 0
mov eax, 1
cmovne edx, eax
mov rcx, r12
call fcn.140081860
test al, al
je 0x1400796e4
cmp byte [r13 + 0x261], 0
je 0x14007946e
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x140], xmm1
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rbp + 0x160], xmm1
movzx eax, byte [r12 + 0xb50]
imul rdx, rax, 0x330
add rdx, r12
mov r9, rbx
mov r8, qword [r13 + 0x20]
mov rcx, r13
call fcn.14003ac30
mov r15, qword [r13 + 0x20]
movzx eax, byte [r12 + 0xb50]
mov byte [rsp + 0x40], al
mov rbx, qword [rsi + 0xbf8]
mov dword [rsp + 0x48], 0x9fc0
ldmxcsr dword [rsp + 0x48]
xor eax, eax
mov edi, eax
cmp dword [0x140736d64], 1
je 0x1400794e4
mov rax, qword [rbx]
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [rax + gethostname]
mov r9d, 0x100
lea r8, [rbx + 0x980]
mov edx, 0x40
lea rcx, [rbp + 0xf0]
call qword [case.0x14014f91d.0]
inc edi
mov eax, dword [0x140736d64]
dec eax
cmp edi, eax
jb 0x1400794a0
lea r14, [0x1407366e0]
mov rax, qword [rbx]
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call qword [rax + gethostname]
movzx eax, byte [rsp + 0x40]
imul r8, rax, 0x330
add r8, r12
mov r9, r15
mov edx, 0x40
lea rcx, [rbp + 0xf0]
call qword [case.0x14014f91d.0]
mov rax, qword [rbx]
lea rdx, [rsi + 0x28]
lea r8, [rbp + 0xf0]
mov rcx, rbx
call qword [rax + 0x18]
jmp 0x1400795db
mov eax, edx
and eax, 0xff000000
mov ecx, 0xff000000
cmp eax, 0x63000000
cmove ecx, r8d
and ecx, edx
cmp ecx, 0x6c000000
je 0x1400795b2
mov r14, qword [r13 + 0x78]
mov r15, qword [r13 + 0x20]
lea rbx, [rsi + 0x88]
lea rdi, [rsi + 0x28]
movzx eax, byte [r12 + 0xb50]
imul rsi, rax, 0x330
add rsi, r12
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 0x6c]
mov edx, dword [rax + 0x74]
mov rcx, r13
call fcn.1400a2bf0
mov qword [rsp + 0x20], r14
mov r9, rbx
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call rax
mov rsi, qword [rsp + 0x68]
lea r14, [0x1407366e0]
lea r15, [0x14049f330]
jmp 0x1400795b7
mov byte [rsp + 0x51], 0
mov edx, 0x8000
cmp dword [rsi + 0xc20], 0
mov eax, 1
cmovne edx, eax
mov rcx, r12
call fcn.140081860
test al, al
je 0x1400796e4
cmp byte [rsp + 0x51], 0
je 0x1400796a4
xor r12d, r12d
mov ebx, r12d
lea rdi, [rsi + 0x28]
mov rdx, qword [rdi + 0x18]
mov eax, dword [rsi + 0xc20]
test eax, eax
je 0x140079633
cmp dword [rsp + rbx*4 + 0x60], eax
jae 0x14007968e
prefetchw byte [0x1407366e0]
mov rax, qword [0x1407366e0]
nop word [rax + rax]
mov rcx, rax
xor rcx, rdx
lock cmpxchg qword [0x1407366e0], rcx
jne 0x140079620
jmp 0x14007968e
cmp rdx, qword [r13 + 0x80]
jae 0x14007968e
lea rax, [rbp + 0x130]
cmp byte [r13 + 0x261], 0
cmove rax, r12
mov r8d, dword [rsp + rbx*4 + 0x60]
mov qword [rsp + 0x30], rax
mov r9, rdi
mov rdx, r13
lea rcx, [rbp - 0x10]
call fcn.14008c700
nop
cmp qword [0x140737758], 0
je 0x14007967c
mov rdx, rax
call fcn.14008c870
nop
mov rcx, qword [rbp + 8]
call fcn.140319610
mov rcx, qword [rbp - 8]
call fcn.140319610
inc rbx
add rdi, 0x20
cmp rbx, 2
jb 0x1400795f0
add qword [rsi + 8], 2
cmp byte [rsi + 0x71], 0
movzx edi, byte [rsp + 0x50]
lea r15, [0x14049f330]
mov ebx, 0xffff0000
mov r11d, 0x4c
lea r8d, [r11 - 0x4b]
je 0x140079160
call sub.KERNEL32.dll_SwitchToThread
lea r15, [0x14049f330]
mov r11d, 0x4c
lea r8d, [r11 - 0x4b]
jmp 0x140079160
movzx eax, byte [rsi + 0xbf0]
imul rcx, rax, 0x268
add rcx, 0x700
add rcx, rsi
call fcn.14008cc90
mov rcx, rsi
call fcn.140079c90
jmp 0x140078eda
call fcn.140070e30
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1403195b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret