Function at 0x140d3884c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test r15b, sil
clc
jmp 0x140e1810c
call rax
jmp 0x140e1827c
call rax
mov r11, rax
clc
cmp r14b, r9b
test rax, rax
jmp 0x140e1812b
mov byte [rsp + 0x18], r8b
test r11w, r10w
mov qword [rsp + 0x10], rdx
cmc
cmp si, r11w
push rbp
push rsi
sub rsp, 0x178
mov rbp, rdx
test r15, 0x1a383af3
bsr si, cx
dec si
mov rsi, rcx
test r12, 0x485448fc
clc
test rcx, rcx
jmp 0x140e17c74
je 0x140e17c96
test rdx, rdx
jmp 0x140e17c82
je 0x140e17c96
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x140e17ca7
xor eax, eax
add rsp, 0x178
pop rsi
movsx bp, r15b
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
cmp r15b, bl
cmp dword [rax + rcx], 0x4550
jmp 0x140e17cba
jne 0x140e17c96
mov r8d, dword [rax + rcx + 0x88]
clc
cmp bpl, 0xb8
mov dword [rsp + 0x30], r8d
cmc
test r13d, 0x59df7d0d
test r8d, r8d
jmp 0x140e17ce2
je 0x140e17c96
mov r9d, dword [rax + rcx + 0x8c]
and dx, 0x474d
xor cx, r15w
bts ecx, r15d
lea rdx, [rsi + r8]
sar cx, 0xb7
clc
mov qword [rsp + 0x170], rbx
shl cx, cl
rcl cl, 0x88
mov qword [rsp + 0x168], rdi
btc cx, 0x84
mov ecx, 0xffffffff
jmp 0x140e17d31
sub edi, edi
test r10, 0x4a1d3eb9
cmc
mov dword [rsp + 0x20], r9d
cmc
mov qword [rsp + 0x28], rdx
clc
mov dword [rsp + 0x190], ecx
cmp rbp, 0xffff
jmp 0x140e17d5a
ja 0x140e17da3
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
cmp r15b, r12b
cmc
cmp ecx, dword [rdx + 0x14]
jmp 0x140e17d71
jae 0x140e17d97
mov eax, dword [rdx + 0x1c]
bt rdx, rdi
lea rax, [rax + rsi]
movsx edx, cx
xor edx, esi
mov edx, dword [rax + rcx*4]
clc
cmc
test bx, di
test edx, edx
jne 0x140e17ff1
sub eax, eax
jmp 0x140e17d9e
jmp 0x140e1827c
mov eax, dword [rdx + 0x18]
test eax, eax
jmp 0x140e17dad
je 0x140e17fbd
mov r9d, dword [rdx + 0x20]
sbb bl, bpl
rcr bh, cl
lea r11d, [rax - 1]
add bx, si
mov ebx, edi
cmp bpl, 0xaa
jmp 0x140e17dce
add r9, rsi
cmc
jmp 0x140e17dd7
mov qword [rsp + 0x40], r9
test r10b, r14b
cmp r11w, dx
test r12, 0xae66811
test r11d, r11d
jmp 0x140e17df2
js 0x140e17fb2
nop
mov r10, qword [rsp + 0x198]
bsf dx, bp
btc r8d, 0xad
or r8w, 0x4c4
lea eax, [r11 + rbx]
mov rbp, rdi
and dl, r13b
sar eax, 1
mov dword [rsp + 0x1a8], eax
mov qword [rsp + 0x38], rax
movsx edx, dx
mov r8b, 0xe7
xor r8w, 0x4fc8
mov r8d, dword [r9 + rax*4]
xor rdx, r15
mov eax, dword [r9 + rax*4]
sub r10, rax
mov r9b, r14b
movzx eax, byte [rsp + 0x1a0]
cmp ch, 0x92
sbb r9w, si
and dl, spl
lea r8, [r8 + rsi]
sal r9w, cl
sub r10, rsi
sets r9b
cqo
mov dl, r10b
nop
not r9b
movzx edx, byte [r10 + r8]
movsx r9, r11w
movzx r9d, byte [r8]
inc r8
cmc
test ax, r11w
jmp 0x140e17e89
test al, al
je 0x140e17eb8
mov ecx, ebp
movsx eax, bx
stc
mov ax, 0x10ec
mov eax, 0x71d62b7e
rol eax, cl
add al, bpl
xor dl, al
mov al, 0x56
mov al, byte [rsp + 0x1a0]
jmp 0x140e17eb5
inc rbp
test dl, dl
jmp 0x140e17ebf
je 0x140e17ed3
cmp dl, r9b
jmp 0x140e17ecd
je 0x140e17e6f
cmp dl, r9b
jb 0x140e17f57
cmp dl, r9b
jmp 0x140e17ee4
jbe 0x140e17f1c
mov ebx, dword [rsp + 0x1a8]
cmovl rcx, rcx
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
inc cl
jmp 0x140e17f04
mov ecx, dword [rsp + 0x190]
jmp 0x140e17f10
inc ebx
jmp 0x140e17f17
jmp 0x140e17f81
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
not cl
mov eax, dword [rdx + 0x24]
mov cx, 0x6b05
setnp ch
not cx
lea rcx, [rsi + rax]
mov rax, qword [rsp + 0x38]
jmp 0x140e17f42
movzx ecx, word [rcx + rax*2]
mov dword [rsp + 0x190], ecx
jmp 0x140e17f52
jmp 0x140e17f81
mov r11d, dword [rsp + 0x1a8]
movsx edx, r12w
mov rdx, qword [rsp + 0x28]
movzx rcx, cx
mov ecx, dword [rsp + 0x190]
dec r11d
jmp 0x140e17f81
cmp ebx, r11d
movsx r9d, r10w
movsxd r9, ebp
mov r9, qword [rsp + 0x40]
jmp 0x140e17f95
jle 0x140e17df9
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x20]
jmp 0x140e17fbd
mov r9d, dword [rsp + 0x20]
cmp r15b, 0x68
test al, dh
cmp ecx, dword [rdx + 0x14]
jmp 0x140e17fc5
jae 0x140e17d97
mov eax, dword [rdx + 0x1c]
xor dx, 0x5a80
sbb dl, 0x76
add rax, rsi
rcl dh, 0x51
bt dx, si
cdq
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x140e17feb
je 0x140e17d97
cmp edx, r8d
jmp 0x140e17ff9
jb 0x140e18277
lea eax, [r9 + r8]
test r12w, r11w
test bh, 0xef
cmp esp, r9d
cmp edx, eax
jmp 0x140e18014
jae 0x140e18277
mov eax, edx
ror rcx, 0x57
sub rcx, 0x2b1638d6
lea rax, [rax + rsi]
sbb cx, si
and bh, 0x62
xor bx, sp
mov rbx, rax
movzx ecx, byte [rax]
jmp 0x140e18044
test cl, cl
jmp 0x140e1804b
je 0x140e17d97
cmp cl, 0x2e
je 0x140e1807f
mov cl, byte [rbx + 1]
jmp 0x140e18062
inc rbx
stc
test cl, cl
jmp 0x140e1806d
jne 0x140e18051
sub eax, eax
jmp 0x140e1807a
jmp 0x140e1827c
mov r8, rbx
sub r8, rax
test sil, 0xf0
cmp r8, 0x104
jmp 0x140e18095
jae 0x140e17d97
mov rcx, rdi
test r11, r10
test r8, r8
jmp 0x140e180a9
je 0x140e180ef
lea r9, [rsp + 0x50]
bsr dx, r15w
stc
rcr dx, 0x4b
sub r9, rax
nop
movzx edx, byte [rax]
test dl, dl
jmp 0x140e180cc
je 0x140e180ef
inc rcx
mov byte [r9 + rax], dl
jmp 0x140e180de
inc rax
cmp rcx, r8
jmp 0x140e180e9
jb 0x140e180c2
mov byte [rsp + rcx + 0x50], dil
cmovbe eax, ecx
movzx rcx, r15w
lea rcx, [rsp + 0x50]
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x140d3884a
test rax, rax
jmp 0x140e18114
jne 0x140e18131
lea rcx, [rsp + 0x50]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x140d9d0be
je 0x140e17d97
cmp r11, rsi
jne 0x140e181c3
cmp byte [rsp + 0x1a0], dil
je 0x140e181aa
lea rax, [rsp + 0x50]
and cx, r14w
sub rbp, rax
nop
bt cx, dx
lea rdx, [rsp + rdi + 0x50]
ror ecx, cl
jmp 0x140e18165
mov ecx, edi
mov eax, 0x71d62b7e
stc
rol eax, cl
cmp r15b, 0x25
add al, dil
cmc
xor al, byte [rdx + rbp]
jmp 0x140e1817f
mov byte [rdx], al
je 0x140e181a0
inc rdi
cmp r10b, 0x45
cmp rdi, 0x104
jmp 0x140e1819a
jb 0x140e18159
lea rbp, [rsp + 0x50]
setns ah
cqo
mov rdx, rbp
bswap ax
cmovge rax, rbx
mov rcx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140d618a4
cmp byte [rbx + 1], 0x23
movsx dx, r11b
not edx
movsxd rdx, r12d
lea rdx, [rbx + 1]
jmp 0x140e181da
jne 0x140e18257
movzx edx, byte [rbx + 2]
test r9d, 0xad87753
cmp bl, r8b
add rbx, 2
stc
test dl, dl
je 0x140e1824e
nop
inc ah
movzx rax, r15w
movsx eax, bp
lea eax, [rdx - 0x30]
jmp 0x140e1820d
inc rbx
cmp rcx, r13
jmp 0x140e18218
cmp al, 9
jmp 0x140e1821f
ja 0x140e1824e
movsx eax, dl
mov dl, byte [rbx]
sar ch, cl
movzx ecx, r9w
jmp 0x140e18235
lea ecx, [rdi + rdi*4]
test esp, 0x4e572303
neg edi
lea edi, [rax + rcx*2 - 0x30]
test esp, esi
test dl, dl
jne 0x140e18205
movsxd rdx, edi
setno ch
or ch, 0xa4
xor r8d, r8d
cmovp cx, cx
movsx rcx, r12w
setge ch
mov rcx, r11
jmp 0x140e1826d
call fcn.140e17c34
jmp 0x140e1827c
mov eax, edx
add rax, rsi
mov rbx, qword [rsp + 0x170]
shl si, 0xb4
mov rdi, qword [rsp + 0x168]
bts si, si
rcr bp, cl
add si, 0x365c
add rsp, 0x178
movsx rsi, r14w
movzx bp, r10b
movzx ebp, r9w
pop rsi
movsx ebp, bx
cmove rbp, rdi
setns bpl
pop rbp
jmp 0x140e182c2
ret