Function at 0x18011fee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
movsd qword [rsp + 0x38], xmm0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
inc eax
cdqe
lea rcx, [0x180292840]
movzx eax, byte [rcx + rax]
and eax, 8
test eax, eax
je 0x18011ff6b
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
jmp 0x18011ff3e
lea rcx, [rsp + 0x70]
call fcn.18011e8c0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x30
jne 0x18011ffa2
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax + 1]
cmp eax, 0x78
je 0x18011ffaa
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax + 1]
cmp eax, 0x58
je 0x18011ffaa
xorps xmm0, xmm0
jmp 0x1801201d4
mov rax, qword [rsp + 0x70]
add rax, 2
mov qword [rsp + 0x70], rax
jmp 0x18011ffc7
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, dword [rsp + 0x40]
jne 0x18011fff0
cmp dword [rsp + 0x2c], 0
je 0x18011ffe3
jmp 0x1801200a3
mov dword [rsp + 0x2c], 1
jmp 0x18012009e
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
inc eax
cdqe
lea rcx, [0x180292840]
movzx eax, byte [rcx + rax]
and eax, 0x10
test eax, eax
je 0x18012009c
cmp dword [rsp + 0x24], 0
jne 0x180120032
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x30
jne 0x180120032
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x180120089
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x1e
jg 0x18012007f
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1802932c0]
movsd qword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
mov ecx, eax
call fcn.18011f310
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x50]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x38], xmm0
jmp 0x180120089
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
je 0x18012009a
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x18012009e
jmp 0x1801200a3
jmp 0x18011ffba
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x1801200bb
xorps xmm0, xmm0
jmp 0x1801201d4
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
shl eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x70
je 0x1801200f1
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x50
jne 0x1801201aa
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.18011e8c0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
inc eax
cdqe
lea rcx, [0x180292840]
movzx eax, byte [rcx + rax]
and eax, 2
test eax, eax
jne 0x18012013a
xorps xmm0, xmm0
jmp 0x1801201d4
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
inc eax
cdqe
lea rcx, [0x180292840]
movzx eax, byte [rcx + rax]
and eax, 2
test eax, eax
je 0x18012017c
imul eax, dword [rsp + 0x28], 0xa
mov rcx, qword [rsp + 0x70]
movsx ecx, byte [rcx]
lea eax, [rax + rcx - 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
jmp 0x18012013a
cmp dword [rsp + 0x44], 0
je 0x18012018d
mov eax, dword [rsp + 0x28]
neg eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
cmp dword [rsp + 0x48], 0
je 0x1801201c4
movsd xmm0, qword [rsp + 0x38]
xorps xmm0, xmmword [0x180290dd0]
movsd qword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x20]
movsd xmm0, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
add rsp, 0x68
ret