Function at 0x1400f0b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov eax, 0x91
mov word [rsp + 0x80], ax
mov dword [rsp + 0x8c], 0x47282b7
movzx eax, word [0x140177ae0]
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140177aab]
mov byte [rsp + 0x24], al
mov eax, dword [0x140177b0c]
mov eax, eax
mov qword [rsp + 0xc0], rax
movzx eax, byte [0x140177a16]
movsx eax, al
mov dword [rsp + 0x4c], eax
mov eax, 0x95
mov word [rsp + 0x84], ax
movzx eax, byte [0x140177a13]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0xa0], 0x13
movzx eax, word [0x140177af8]
mov word [rsp + 0x28], ax
movzx eax, word [0x140177ae0]
mov word [rsp + 0x38], ax
mov dword [rsp + 0xa4], 0xf520ee99
movzx eax, word [0x140177a54]
mov dword [rsp + 0x94], eax
mov byte [rsp + 0x20], 0xdb
movzx eax, byte [0x140177a3f]
movzx eax, al
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x23], 0x9c
mov dword [rsp + 0x98], 0xbfeffb7d
mov byte [rsp + 0x22], 0xc1
mov eax, dword [0x140177b1c]
mov word [rsp + 0x34], ax
movsx eax, word [0x140177af4]
mov dword [rsp + 0x64], eax
mov byte [rsp + 0x21], 0x7f
mov qword [rsp + 0xb8], 0xbb44
mov dword [rsp + 0x48], 0x4b7e8e9
movzx eax, word [0x140177b28]
mov word [rsp + 0x2c], ax
mov eax, dword [0x140177b0c]
mov dword [rsp + 0xa8], eax
movzx eax, byte [0x140177b40]
mov byte [rsp + 0x30], al
movabs rax, 0xef2bc1f108f66
mov qword [rsp + 0xd0], rax
movsx rax, word [0x140177b2c]
mov qword [rsp + 0xd8], rax
mov eax, dword [0x140177aac]
mov dword [rsp + 0xac], eax
mov eax, 0x31b8
mov word [rsp + 0x88], ax
movzx eax, word [0x140177a54]
mov qword [rsp + 0xe0], rax
mov eax, 0xfcb44a7f
mov qword [rsp + 0xe8], rax
movzx eax, byte [0x140177b34]
mov byte [rsp + 0x31], al
mov dword [rsp + 0xb0], 0xe42ff2e
mov eax, 0xaed9
mov word [rsp + 0x9c], ax
mov eax, dword [0x140177b40]
mov qword [rsp + 0xf0], rax
movzx eax, byte [0x140177ae3]
movsx eax, al
test eax, eax
je 0x1400f0d6a
mov eax, dword [0x140177b08]
sub eax, 0x6e445ee1
cdqe
mov qword [rsp + 0xb8], rax
movsx rax, word [0x140177b04]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400f0e9a
mov eax, dword [rsp + 0x8c]
test eax, eax
je 0x1400f0db8
movzx eax, word [rsp + 0x34]
movzx eax, ax
sub eax, 0xf980
mov word [0x140177b38], ax
mov qword [rsp + 0x40], 1
mov eax, dword [rsp + 0x48]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400f0e9a
mov eax, dword [0x140177b0c]
test eax, eax
je 0x1400f0e14
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
sub eax, ecx
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x140177ad6]
movsx eax, al
shl eax, 8
mov word [rsp + 0x2c], ax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400f0df6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x5c], eax
jmp 0x1400f0e04
movzx eax, byte [0x140177a16]
movsx eax, al
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x5c]
mov byte [0x140177ae3], al
jmp 0x1400f0e9a
movzx eax, word [0x140177ae4]
movzx eax, ax
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
cmp eax, ecx
je 0x1400f0e34
mov dword [rsp + 0x60], 1
jmp 0x1400f0e3c
mov dword [rsp + 0x60], 0
movzx eax, byte [0x140177a7e]
movsx eax, al
cmp dword [rsp + 0x60], eax
jne 0x1400f0e9a
mov dword [rsp + 0x64], 0x9fe12b9a
movzx eax, word [rsp + 0x38]
movzx eax, ax
imul eax, eax, 0xce
movzx ecx, word [rsp + 0x28]
movzx ecx, cx
add ecx, eax
mov eax, ecx
mov word [rsp + 0x28], ax
mov eax, 2
imul rax, rax, 0xd72d
lea rcx, [0x1411c1c60]
movzx eax, word [rcx + rax]
mov ecx, dword [0x140177b44]
add ecx, eax
mov eax, ecx
mov dword [0x140177b44], eax
mov eax, dword [0x140177b08]
add eax, 0xdf3b
cdqe
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x90]
xor eax, dword [0x140177b24]
movzx ecx, byte [rsp + 0x21]
movsx ecx, cl
movzx edx, word [0x140177b3c]
movzx edx, dx
sub ecx, edx
add eax, ecx
movzx ecx, byte [rsp + 0x22]
movsx ecx, cl
not ecx
movzx edx, byte [0x140177ad7]
and ecx, edx
imul ecx, ecx, 0x291e
not ecx
imul eax, ecx
mov byte [rsp + 0x23], al
movzx eax, word [rsp + 0x28]
movzx eax, ax
test eax, eax
je 0x1400f0f07
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
jmp 0x1400f0f10
movsx eax, byte [rsp + 0x24]
mov dword [rsp + 0x68], eax
movzx eax, byte [rsp + 0x68]
mov byte [0x140177ad7], al
movsx eax, byte [0x140177a7f]
imul eax, eax, 0x14b7c5a8
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [0x140177a16]
movsx eax, al
sub eax, 0x3780
cdqe
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x58], 0
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x210]
call fcn.14003b720
mov r8d, 0x103
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x210]
call fcn.14003d490
lea rcx, [rsp + 0x210]
call fcn.140052e70
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.14003b720
mov r8d, 0x103
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x100]
call fcn.14003d490
lea rcx, [rsp + 0x100]
call fcn.140052e70
lea rax, [rsp + 0x100]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1400f0fec
mov rax, qword [rsp + 0x70]
mov r8, rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x210]
call fcn.140040b40
test eax, eax
jne 0x1400f102f
mov dword [rsp + 0x50], 1
jmp 0x1400f1037
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x140177a3e]
movsx eax, al
test eax, eax
je 0x1400f1092
mov eax, dword [0x141167a50]
mov dword [rsp + 0x94], eax
mov eax, 1
imul rax, rax, 0x3360
lea rcx, [0x1412c34d0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x98], eax
movsx rax, byte [0x140177aaa]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1400f10e9
movsx eax, word [0x140177af4]
test eax, eax
jne 0x1400f10e9
cmp qword [0x140177af8], 0
jne 0x1400f10e9
mov rax, qword [0x140177ae8]
test rax, rax
je 0x1400f10c0
movsx eax, word [0x140177b00]
mov dword [rsp + 0x54], eax
jmp 0x1400f10c8
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x54], eax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x2c], ax
mov eax, 0xbe9e0686
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov word [0x140177a14], ax
mov eax, dword [rsp + 0x58]
add rsp, 0x328
ret