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

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rcx
mov ecx, dword [0x14025b180]
mov eax, dword [0x14025b184]
sub ecx, 0x49d04d65
sub ecx, eax
add ecx, 0x49d04d65
mov edx, 0x30dbd048
xor edx, 0xbc9070f7
mov eax, 0x456a26f6
xor eax, 0xba95d909
xor edx, eax
mov eax, ecx
xor eax, edx
and eax, ecx
or eax, eax
xor eax, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 0xae13cc03
mov edx, 0x42672c0a
xor edx, 0xec74e009
mov r8d, 0xb2b9a7b5
xor r8d, 0x4d46584a
xor edx, r8d
and ecx, edx
or eax, ecx
xor eax, 0xffffffff
sub eax, 0x9af48034
add eax, 0x74b5e6a5
add eax, 0x9af48034
cmp eax, 0x6f665c8f
je 0x140192fe1
mov eax, dword [0x14025b188]
mov ecx, dword [0x14025b18c]
xor edx, edx
div ecx
and eax, 0x6eafdc
xor eax, 0x6e0000
or eax, 0x13805023
and eax, 0x13ee542b
mov dword [rbp + 0x44], eax
mov eax, 0x10
mov qword [rbp + 0x28], rax
call fcn.14024f5c0
sub rsp, rax
mov rax, qword [rbp + 0x28]
mov rcx, rsp
mov qword [rbp + 0x10], rcx
call fcn.14024f5c0
sub rsp, rax
mov rax, qword [rbp + 0x28]
mov rcx, rsp
mov qword [rbp + 0x18], rcx
call fcn.14024f5c0
sub rsp, rax
mov rax, qword [rbp + 0x28]
mov rcx, rsp
mov qword [rbp + 0x20], rcx
call fcn.14024f5c0
sub rsp, rax
mov rax, qword [rbp + 0x28]
mov rcx, rsp
mov qword [rbp + 0x30], rcx
call fcn.14024f5c0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x38], rax
sub rsp, 0x20
call fcn.1401a68de
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x68]
add rsp, 0x20
mov r8, rax
mov eax, dword [rbp + 0x44]
add r8, 0x50
mov qword [rbp + 0x48], r8
mov qword [rdx], 0
mov r8, rdx
add r8, 8
mov qword [rbp + 0x50], r8
mov qword [rdx + 8], 0
mov rcx, qword [rcx]
mov qword [rbp + 0x58], rcx
movabs rdx, 0xe29b9a2e9c1ca231
movabs r8, 0xe29b9a2e9c1ca231
xor rdx, r8
cmp rcx, rdx
sete bl
and rcx, 1
cmp rcx, 0
setne r11b
mov dl, bl
xor dl, 0xff
mov r8b, r11b
xor r8b, 0xff
mov r9b, 1
xor r9b, 1
xor ecx, ecx
mov r10b, cl
xor r10b, 1
mov cl, dl
and cl, r10b
and bl, r9b
mov r10b, r8b
and r10b, 0xff
and r11b, r9b
or cl, bl
or r10b, r11b
xor cl, r10b
or dl, r8b
xor dl, 0xff
mov r8b, 1
xor r8b, 0
or r8b, r9b
and dl, r8b
or cl, dl
mov byte [rbp + 0x67], cl
cmp eax, 0xd891c0e6
je 0x140192521
mov al, byte [rbp + 0x67]
test al, 1
jne 0x140192682
jmp 0x140192841
mov ecx, dword [0x14025b190]
or ecx, dword [0x14025b194]
mov edx, 0x857f57af
xor edx, 0x7a80a850
mov eax, ecx
xor eax, edx
mov edx, 0xe5775d17
xor edx, 0xd75be63c
and edx, eax
mov r8d, 0xffffffff
xor r8d, 0x322cbb2b
mov eax, ecx
and eax, r8d
imul eax, edx
mov edx, ecx
and edx, 0x322cbb2b
or ecx, 0x322cbb2b
imul ecx, edx
add ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 0x294c4a53
and eax, edx
mov edx, 0x3971c5c7
xor edx, 0xc68e3a38
xor ecx, edx
mov edx, 0xffffffff
xor edx, 0x294c4a53
and ecx, edx
or eax, ecx
xor eax, 0xffffffff
mov ecx, 0x35729b37
xor ecx, 0xf2a1870e
imul eax, ecx
mov ecx, 0x4a3f20ec
xor ecx, 0x76011bca
cmp eax, ecx
ja 0x140192fea
mov eax, dword [0x14025b198]
and eax, dword [0x14025b19c]
imul r8d, eax, 0xf2f5f19c
sub r8d, 0x317e498
mov ecx, r8d
xor ecx, 0xffffffff
mov eax, 0x2c8cdd13
xor eax, 0x304b9ad0
and eax, ecx
mov r9d, 0xffffffff
xor r9d, 0x1cc747c3
and r8d, r9d
mov ecx, 0x84b5b239
xor ecx, 0x5bf48fed
mov edx, 0x995ded87
xor edx, 0x66a21278
xor ecx, edx
and ecx, 0x1cc747c3
mov edx, 0x7d0c76e8
xor edx, 0xa24d4b3c
and edx, r9d
or eax, r8d
or ecx, edx
xor eax, ecx
mov dword [rbp + 0xc], eax
mov eax, 0xca1880b6
xor eax, 0xe9cc45b6
mov dword [rbp + 8], eax
mov ecx, 0x40
mov edx, 8
sub rsp, 0x20
call fcn.1400132f0
add rsp, 0x20
mov rcx, rax
mov rax, qword [0x140269740]
mov qword [rcx], rax
lea rax, [0x140268ce8]
mov qword [rcx + 0x10], rax
mov rax, qword [0x140268d28]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140268d30]
mov qword [rcx + 0x20], rax
mov qword [rcx + 8], 0
movabs rax, 0x7533248c11919503
movabs rdx, 0x7533248c1eeb45c9
xor rax, rdx
lea rdx, [0x140268ce8]
lea r8, [0x140268cf3]
lea r9, [0x140268c33]
sub rsp, 0x30
mov qword [rsp + 0x20], rax
call fcn.1400127b0
mov ecx, dword [rbp + 8]
mov eax, dword [rbp + 0xc]
add rsp, 0x30
cmp eax, ecx
je 0x140192fea
jmp 0x140192f27
mov rax, qword [rbp + 0x58]
cmp rax, 0xffffffffffffffff
jge 0x140192938
mov eax, dword [0x14025b1a0]
xor edx, edx
div dword [0x14025b1a4]
add eax, 0xc0bf723
sub eax, 0xdbe0ad8b
sub eax, 0xc0bf723
mov ecx, 0x64040dd4
xor ecx, 0x2954151b
xor edx, edx
div ecx
or eax, 0xdc1a5afe
cmp eax, 0x89c846e
je 0x140192ff3
mov rcx, qword [rbp + 0x58]
mov eax, dword [0x14025b1a8]
sub eax, dword [0x14025b1ac]
mov r8d, 0xf19c3206
xor r8d, 0x15281f5c
mov edx, eax
or edx, r8d
xor edx, 0xffffffff
or eax, 0xe4b42d5a
mov r8d, 0x23cc1c15
xor r8d, 0xdc33e3ea
xor eax, r8d
or edx, eax
xor edx, 0xffffffff
or edx, 0xc0947f71
mov eax, edx
and eax, 0xdb0a8265
or edx, 0xdb0a8265
add eax, edx
mov dword [rbp + 4], eax
xor eax, eax
movabs rdx, 0xe4732918fbc06cd7
sub rax, rdx
sub rax, rcx
movabs rcx, 0xe4732918fbc06cd7
add rax, rcx
shr rax, 1
xor ecx, ecx
sub rcx, rax
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
sub rsp, 0x20
call fcn.14000cee2
mov eax, dword [rbp + 4]
add rsp, 0x20
cmp eax, 0x2247146f
jb 0x140192ff3
jmp 0x140192f27
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x58]
shr rdx, 1
sub rsp, 0x20
call fcn.140019539
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x38]
add rsp, 0x20
add rdx, 8
mov qword [rbp - 0x28], rdx
add rcx, 8
mov qword [rbp - 0x20], rcx
add rax, 8
mov qword [rbp - 0x18], rax
xor eax, eax
mov rcx, rax
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
cmp rax, qword [rcx]
jge 0x140192f0d
mov rcx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov r10, qword [rbp - 0x38]
mov r11, qword [rbp + 0x68]
mov rsi, r10
and rsi, 1
xor rsi, 0xffffffffffffffff
mov r9, r10
add r9, 1
add r9, 1
add r9, rsi
mov rsi, qword [r11]
mov qword [rdx], rsi
mov r11, qword [r11 + 8]
mov qword [rdx + 8], r11
mov qword [r8], r10
mov qword [rax], r9
sub rsp, 0x20
call fcn.140187ce0
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp + 0x48]
add rsp, 0x20
mov rdx, qword [rdx]
mov qword [rbp - 0x48], rdx
mov rcx, qword [rcx]
mov qword [rbp - 0x40], rcx
mov al, byte [rax]
mov cl, 0xdf
xor cl, 0xdf
cmp al, cl
jne 0x140192f0d
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp - 0x18]
mov r8, qword [rbp - 0x40]
mov r9, qword [rbp - 0x48]
mov byte [rdx], 0
mov qword [rcx], r9
mov qword [rax], r8
movabs r8, 0x8dcfa6ebaeb14da4
movabs rax, 0x8dcfa6ebaeb14da4
xor r8, rax
movabs r9, 0x8a285d55d4cf3d3d
movabs rax, 0x8a285d55d4cf3d3d
xor r9, rax
sub rsp, 0x20
call fcn.14003dc30
add rsp, 0x20
mov rax, qword [rbp + 0x48]
cmp byte [rax], 0
jne 0x140192f0d
mov ecx, dword [0x14025b1b0]
mov eax, dword [0x14025b1b4]
xor eax, 0x8d288126
imul ecx, eax
mov edx, 0xffffffff
xor edx, 0x99251b4
mov eax, ecx
xor eax, edx
and eax, ecx
mov r8d, 0xffffffff
xor r8d, 0xc25445ef
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0xc25445ef
or eax, 0xc25445ef
imul eax, edx
add eax, ecx
mov edx, 0x25847361
xor edx, 0xb3a96a8e
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
and ecx, 0x962d19ef
shl ecx, 1
sub ecx, 0x962d19ef
sub eax, ecx
cmp eax, 0xf4893014
je 0x140192ffc
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x14025b1b8]
mov edx, dword [0x14025b1bc]
xor eax, 0xffffffff
xor edx, 0xffffffff
mov r8d, 0x92743375
xor r8d, 0x438699d3
mov r9d, 0x47e6c3a0
xor r9d, 0xb8193c5f
xor r8d, r9d
or eax, edx
mov edx, 0x5c971fd5
xor edx, 0x8d65b573
or edx, r8d
xor eax, 0xffffffff
and eax, edx
mov r8d, 0xe7d4b509
xor r8d, 0x3faabce9
xor edx, edx
div r8d
mov rdx, qword [rbp + 0x70]
mov r8d, eax
mov eax, 0xffffffff
xor eax, 0x7696acc
add r8d, eax
add r8d, 1
mov eax, r8d
xor eax, 0xffffffff
mov r9d, r8d
xor r9d, 0xffffffff
and eax, r9d
mov r9d, 0xffffffff
xor r9d, 0x2767f1ba
mov r10d, 0xffffffff
xor r10d, 0x2767f1ba
and r9d, r10d
mov r10d, 0x122c77b2
xor r10d, 0xedd3884d
xor eax, r10d
xor r9d, 0xffffffff
and eax, r9d
mov r9d, 0x36eba88e
xor r9d, 0x118c5934
or r8d, r9d
mov r9d, 0x1ccec42c
xor r9d, 0xe3313bd3
xor r8d, r9d
mov r9d, 0x98a99547
xor r9d, 0x67566ab8
xor eax, r9d
mov r9d, 0x6837e484
xor r9d, 0x97c81b7b
xor r8d, r9d
and eax, r8d
mov rdx, qword [rdx]
mov qword [rbp - 0x58], rdx
cmp rcx, rdx
setl cl
mov byte [rbp - 0x49], cl
cmp eax, 0xc5588a90
jbe 0x140192ffc
mov al, byte [rbp - 0x49]
test al, 1
jne 0x140192c5d
jmp 0x140192c25
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x58]
movabs rax, 0xe590573fd803aa13
sub rdx, rax
add rdx, 0xffffffffffffffff
movabs rax, 0xe590573fd803aa13
add rdx, rax
sub rsp, 0x20
call fcn.140013507
add rsp, 0x20
jmp 0x140192f0d
mov rcx, qword [rbp + 0x70]
sub rsp, 0x20
call fcn.140193017
mov r8, qword [rbp + 0x10]
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
add rsp, 0x20
mov r8b, byte [r8]
mov rax, qword [rax]
mov byte [rax + rcx + 8], r8b
mov rax, 0xffffffffffffffff
xor rax, 2
xor ecx, ecx
sub rcx, 1
sub rax, rcx
mov rcx, rdx
sub rcx, rax
mov qword [rbp - 0x60], rcx
movabs rax, 0x686ae4712550b640
movabs r8, 0x97951b8edaaf49bf
xor rax, r8
xor rdx, rax
xor rdx, 0xffffffffffffffff
mov rax, rcx
xor rax, rdx
and rax, rcx
cmp rax, 0
jge 0x140192d92
mov eax, dword [0x14025b1c0]
sub eax, dword [0x14025b1c4]
xor ecx, ecx
sub ecx, 0xc18d2de1
sub eax, ecx
mov ecx, 0xdaed51e4
xor ecx, 0x2512ae1b
mov edx, eax
xor edx, ecx
and edx, 0x4e181e61
mov r8d, 0xffffffff
xor r8d, 0x4e181e61
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x4e181e61
or eax, 0x4e181e61
imul eax, edx
add eax, ecx
and eax, 0x7717f41
cmp eax, 0x9cd2216f
je 0x140193005
mov eax, dword [0x14025b1c8]
xor eax, 0xbc1b588e
mov edx, dword [0x14025b1cc]
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
or eax, edx
and eax, ecx
add eax, 0x4a961996
and eax, 0x7604d66e
mov ecx, 0xd4319faa
xor ecx, 0x2f535ee
xor edx, edx
div ecx
mov dword [rbp - 0x64], eax
sub rsp, 0x20
call fcn.140007e9d
mov eax, dword [rbp - 0x64]
add rsp, 0x20
cmp eax, 0x5172ba3
ja 0x140192d3a
jmp 0x140192f0d
mov eax, dword [0x14025b1d0]
xor eax, 0x2f5d33ea
add eax, dword [0x14025b1d4]
mov ecx, 0x15f982e1
xor edx, edx
div ecx
mov ecx, eax
mov eax, ecx
and eax, 0xbb60e9fe
xor ecx, 0xbb60e9fe
or eax, ecx
mov ecx, 0x55ee6c61
xor edx, edx
div ecx
mov ecx, 0x1cf843ae
xor ecx, 0xa673c3d3
cmp eax, ecx
jae 0x14019300e
mov rcx, qword [rbp - 0x40]
mov eax, dword [0x14025b1d8]
mov edx, dword [0x14025b1dc]
and eax, eax
mov r8d, 0xc0a7766f
xor r8d, 0x3f588990
xor eax, r8d
and edx, edx
xor edx, 0xffffffff
and eax, edx
mov edx, 0xcc8ce71d
xor edx, 0x337318e2
xor eax, edx
mov r8d, 0xe0e8b3be
xor r8d, 0xdcc5ec5d
xor edx, edx
div r8d
mov rdx, qword [rbp - 0x30]
mov r10d, eax
mov eax, r10d
and eax, 0xd6402f67
shl eax, 1
add r10d, 0xd6402f67
sub r10d, eax
mov r8d, 0x181a4c79
xor r8d, 0xe7e5b386
mov eax, r10d
xor eax, r8d
and eax, 0x43392f68
mov r9d, 0x4a6ca8c
xor r9d, 0x479fe5e4
mov r8d, 0x94fa87d5
xor r8d, 0x6b05782a
xor r9d, r8d
and r10d, r9d
mov r8d, 0xffffffff
xor r8d, 0x4573ffbe
and r8d, 0x43392f68
and r9d, 0x4573ffbe
or eax, r10d
or r8d, r9d
xor eax, r8d
movabs r8, 0x2cddccd7e10a4b5a
movabs r9, 0x2cddccd7e10a4b5b
xor r8, r9
add rdx, r8
mov qword [rbp - 0x70], rdx
cmp rcx, 0
sete cl
mov byte [rbp - 0x65], cl
cmp eax, 0xc7f25737
jae 0x14019300e
mov al, byte [rbp - 0x65]
test al, 1
jne 0x140192f12
jmp 0x140192edc
mov rcx, qword [rbp - 0x40]
movabs rax, 0x4000000000000000
and rax, qword [rcx]
cmp rax, 0
jne 0x140192f12
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
call fcn.14000e9f6
add rsp, 0x20
jmp 0x140192f12
jmp 0x140192f27
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
jmp 0x140192982
mov rax, qword [rbp + 0x68]
mov rax, qword [rax + 8]
mov qword [rbp - 0x78], rax
cmp rax, 0
je 0x140192fd2
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax]
movabs rdx, 0x3b4a59e2ff20e82b
movabs rax, 0x7b4a59e2ff20e82b
xor rdx, rax
mov rax, rcx
and rax, rdx
xor rax, 0xffffffffffffffff
movabs rdx, 0x3448367f0df090dc
movabs r8, 0xcbb7c980f20f6f23
xor rdx, r8
xor rcx, rdx
mov rdx, 0xffffffffffffffff
movabs r8, 0x4000000000000000
xor rdx, r8
or rcx, rdx
xor rax, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
or rax, rcx
movabs rcx, 0xd71409ec70f572e5
movabs rdx, 0xd71409ec70f572e5
xor rcx, rdx
cmp rax, rcx
jne 0x140192fd2
mov rcx, qword [rbp - 0x78]
sub rsp, 0x20
call fcn.14000e9f6
add rsp, 0x20
mov rax, qword [rbp + 0x78]
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rbp
ret
cwde
shr byte [rcx - 0xac817], 1
push qword [rbx - 7]
jmp 0x140192521
jae 0x140192fe5
invalid
mov esi, dword [rdi - 0x48]
sbb cl, ch
invalid
push 0xffffffffffffffef
push rcx
jmp 0x140192b01
stosb byte [rdi], al
invalid
fsubr qword [rcx - 0x74]
mov bl, 0xe9
ret 0xfffd