Function at 0x1409bf486
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
jne 0x140aa8136
lea rcx, [rsp + 0x50]
mov rax, qword [0x140a7c248]
call rax
mov r11, rax
jmp 0x140aa8128
call rax
jmp 0x140aa827a
mov byte [rsp + 0x18], r8b
stc
cmp bp, r13w
cmc
mov qword [rsp + 0x10], rdx
cmc
push rbp
rol bpl, cl
rcr bp, 0xc8
push rsi
rcl bpl, 0x47
movsxd rsi, eax
jmp 0x140aa7c6c
sub rsp, 0x178
mov rbp, rdx
mov rsi, rcx
test bpl, r8b
test rcx, rcx
jmp 0x140aa7c84
je 0x140aa7cb2
test rdx, rdx
jmp 0x140aa7c92
je 0x140aa7cb2
mov eax, 0x5a4d
test r14d, 0x3ffc6b5f
cmp word [rcx], ax
jmp 0x140aa7cac
je 0x140aa7cd5
sub eax, eax
add rsp, 0x178
mov bpl, reloc.WS2_32.dll_recv
movzx rsi, r13w
bswap bp
pop rsi
jmp 0x140aa7cce
pop rbp
jmp 0x140aa7cd4
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x140aa7ce5
jne 0x140aa7cb2
mov r8d, dword [rax + rcx + 0x88]
cmp rbp, 0x560b6f19
stc
mov dword [rsp + 0x30], r8d
test r8d, r8d
je 0x140aa7cb2
mov r9d, dword [rax + rcx + 0x8c]
lea rdx, [rsi + r8]
mov qword [rsp + 0x170], rbx
btc rcx, 0x6a
mov qword [rsp + 0x168], rdi
mov ecx, 0xffffffff
xor edi, edi
mov dword [rsp + 0x20], r9d
cmc
jmp 0x140aa7d3f
mov qword [rsp + 0x28], rdx
test sil, 0xe9
mov dword [rsp + 0x190], ecx
clc
cmc
jmp 0x140aa7d56
cmp rbp, 0xffff
jmp 0x140aa7d62
ja 0x140aa7dab
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
stc
cmp ecx, dword [rdx + 0x14]
jmp 0x140aa7d76
jae 0x140aa7d9f
mov eax, dword [rdx + 0x1c]
bts dx, r8w
sub dx, 0x40b1
add rax, rsi
shl dl, 0x9b
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x140aa7d99
jne 0x140aa8015
sub eax, eax
jmp 0x140aa7da6
jmp 0x140aa827a
mov eax, dword [rdx + 0x18]
test sp, r12w
test dil, 0xae
test eax, eax
jmp 0x140aa7dbd
je 0x140aa7fe4
mov r9d, dword [rdx + 0x20]
and r11b, 0xd2
add r11w, 0x465d
lea r11d, [rax - 1]
jmp 0x140aa7dda
mov ebx, edi
cmc
lea r9, [r9 + rsi]
cmp spl, al
stc
mov qword [rsp + 0x40], r9
test r9w, r10w
jmp 0x140aa7df3
test r11d, r11d
js 0x140aa7fd8
nop
rcr bpl, cl
bsf dx, r9w
mov r10, qword [rsp + 0x198]
lea eax, [r11 + rbx]
or r8, 0x3bb95a28
mov rbp, rdi
sar eax, 1
add r8b, 0xd5
add r8, r8
mov dword [rsp + 0x1a8], eax
movzx edx, r10w
mov qword [rsp + 0x38], rax
cmovo rdx, r8
sub dh, 0x8f
mov r8d, dword [r9 + rax*4]
movzx edx, r10w
mov eax, dword [r9 + rax*4]
cwd
sub r10, rax
and rdx, 0x2cd46824
movzx eax, byte [rsp + 0x1a0]
movsx r9d, r9w
movzx rdx, bx
add r8, rsi
sub r10, rsi
movsxd rdx, r14d
movzx dx, r15b
nop
jmp 0x140aa7e7d
movzx edx, byte [r10 + r8]
movzx r9d, byte [r8]
inc r8
test al, al
jmp 0x140aa7e90
je 0x140aa7ec9
mov ecx, ebp
mov eax, r9d
setbe ah
mov eax, 0x1dec2b88
rol eax, cl
cmp r15w, 0x5ea5
add al, bpl
xor dl, al
not al
mov al, byte [rsp + 0x1a0]
inc rbp
test rbp, 0x1c1b20f3
cmc
jmp 0x140aa7ec9
test dl, dl
jmp 0x140aa7ed0
je 0x140aa7ee4
cmp dl, r9b
jmp 0x140aa7ede
je 0x140aa7e7d
cmp dl, r9b
jmp 0x140aa7eec
jb 0x140aa7f71
cmp dl, r9b
jbe 0x140aa7f28
mov ebx, dword [rsp + 0x1a8]
movzx edx, bx
movsx rcx, bp
dec dh
mov rdx, qword [rsp + 0x28]
bswap ecx
movsxd rcx, eax
mov ecx, dword [rsp + 0x190]
inc ebx
jmp 0x140aa7f23
jmp 0x140aa7fa2
mov rdx, qword [rsp + 0x28]
bswap ax
movzx cx, r8b
lea ebx, [r11 + 1]
mov eax, dword [rdx + 0x24]
movsx rcx, r9w
movsx ecx, ax
movzx rcx, r15w
lea rcx, [rsi + rax]
cbw
lahf
movsx rax, dx
mov rax, qword [rsp + 0x38]
jmp 0x140aa7f5c
movzx ecx, word [rcx + rax*2]
jmp 0x140aa7f65
mov dword [rsp + 0x190], ecx
jmp 0x140aa7fa2
mov r11d, dword [rsp + 0x1a8]
bswap ecx
mov rdx, qword [rsp + 0x28]
jmp 0x140aa7f85
mov ecx, dword [rsp + 0x190]
movzx r9d, di
bswap r9w
movzx r9, di
dec r11d
xchg r9w, r9w
inc r9b
cmp ebx, r11d
not r9d
mov r9, qword [rsp + 0x40]
jle 0x140aa7e05
mov rbp, qword [rsp + 0x198]
movsx r9w, dl
mov r8d, dword [rsp + 0x30]
cmovo r9w, r15w
movsx r9d, r8w
mov r9d, dword [rsp + 0x20]
jmp 0x140aa7fe4
mov r9d, dword [rsp + 0x20]
test r12b, 0xe7
test r11b, sil
cmp ecx, dword [rdx + 0x14]
jmp 0x140aa7fec
jae 0x140aa7d9f
mov eax, dword [rdx + 0x1c]
rcr dh, 0xe9
sbb dl, 0x4a
add rax, rsi
rol dl, cl
bswap edx
sub dl, bpl
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x140aa800f
je 0x140aa7d9f
cmp edx, r8d
jmp 0x140aa801d
jb 0x140aa8275
lea eax, [r9 + r8]
cmc
cmp edx, eax
jmp 0x140aa802f
jae 0x140aa8275
mov eax, edx
btc bx, 0x57
add rax, rsi
mov rbx, rax
rcl ecx, cl
add cx, r8w
sal rcx, 0xeb
movzx ecx, byte [rax]
stc
test r9w, 0xc1d
clc
test cl, cl
je 0x140aa7d9f
cmp cl, 0x2e
je 0x140aa808c
mov cl, byte [rbx + 1]
jmp 0x140aa8070
inc rbx
test cl, cl
jmp 0x140aa807a
jne 0x140aa805f
xor eax, eax
jmp 0x140aa8087
jmp 0x140aa827a
mov r8, rbx
sub r8, rax
test r8b, r8b
cmp r8, 0x104
jmp 0x140aa80a1
jae 0x140aa7d9f
mov rcx, rdi
test r8, r8
jmp 0x140aa80b2
je 0x140aa8106
lea r9, [rsp + 0x50]
test sil, r14b
sub r9, rax
and dl, 0x8c
nop
add edx, r10d
movzx dx, r11b
movzx edx, byte [rax]
cmp r13w, 0x1c46
clc
test dl, dl
je 0x140aa8106
inc rcx
jmp 0x140aa80e9
mov byte [r9 + rax], dl
jmp 0x140aa80f2
inc rax
cmp r8b, cl
cmp rcx, r8
jmp 0x140aa8100
jb 0x140aa80cf
mov byte [rsp + rcx + 0x50], dil
movsx ax, r14b
lea rcx, [rsp + 0x50]
movsx eax, ax
mov rax, qword [0x140a7c250]
jmp 0x1409bf484
test rax, rax
jmp 0x140aa8130
je 0x140aa7d9f
cmp r11, rsi
jmp 0x140aa813e
jne 0x140aa81e2
cmp byte [rsp + 0x1a0], dil
jmp 0x140aa8151
je 0x140aa81ca
lea rax, [rsp + 0x50]
btc edx, 0x68
sub rbp, rax
btc ax, 0xe0
nop
lea rdx, [rsp + rdi + 0x50]
ror ax, cl
mov ah, al
mov ecx, edi
stc
mov eax, 0x1dec2b88
rol eax, cl
clc
stc
add al, dil
cmp r10w, 0xb57
test r12w, sp
jmp 0x140aa8191
xor al, byte [rdx + rbp]
jmp 0x140aa8199
mov byte [rdx], al
jmp 0x140aa81a0
je 0x140aa81c0
inc rdi
jmp 0x140aa81ae
cmp rdi, 0x104
jmp 0x140aa81ba
jb 0x140aa8169
lea rbp, [rsp + 0x50]
cdq
not ah
cdqe
mov rdx, rbp
movzx ecx, si
setbe ah
mov rcx, rsi
mov rax, qword [0x140a7c258]
jmp 0x140aa35e4
cmp byte [rbx + 1], 0x23
movsx rdx, r13w
movzx edx, cx
movzx dx, r11b
lea rdx, [rbx + 1]
jmp 0x140aa81fb
jne 0x140aa8260
movzx edx, byte [rbx + 2]
add rbx, 2
test dl, dl
jmp 0x140aa8210
je 0x140aa825d
nop
lahf
movzx ax, dl
sete ah
lea eax, [rdx - 0x30]
jmp 0x140aa8227
inc rbx
cmp al, 9
jmp 0x140aa8231
ja 0x140aa825d
movsx eax, dl
xadd cl, dl
neg cl
mov dl, byte [rbx]
lea ecx, [rdi + rdi*4]
mov edi, ecx
stc
lea edi, [rax + rcx*2 - 0x30]
jmp 0x140aa8250
test dl, dl
jmp 0x140aa8257
jne 0x140aa821f
movsxd rdx, edi
sub r8d, r8d
mov rcx, r11
jmp 0x140aa826b
call fcn.140aa7c46
jmp 0x140aa827a
mov eax, edx
add rax, rsi
mov rbx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x168]
bsr ebp, r15d
add rsp, 0x178
jmp 0x140aa829e
pop rsi
setl bpl
pop rbp
jmp 0x140aa82a9
ret