Function at 0x180098d10
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1801ca040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0xf0], 3
jl 0x180098d57
mov eax, dword [rsp + 0xf8]
and eax, 0xff000000
test eax, eax
jne 0x180098d5c
jmp 0x18009961e
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x30]
and eax, 4
test eax, eax
je 0x18009945c
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0xb8]
movss dword [rsp + 0x68], xmm0
mov eax, dword [rsp + 0xf8]
and eax, 0xffffff
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0xf0]
sub eax, 2
imul eax, eax, 3
imul ecx, dword [rsp + 0xf0], 6
add eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0xf0]
shl eax, 1
mov dword [rsp + 0x6c], eax
mov r8d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xe0]
call fcn.1800964a0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x34]
inc eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 2
jmp 0x180098e24
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x30], eax
jge 0x180098ebd
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x48]
movzx edx, word [rsp + 0x2c]
mov word [rax + rcx], dx
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx*2 - 2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
add rax, 6
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x48], rax
jmp 0x180098e1a
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
add rax, 0x30
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0xb0]
call fcn.1800a3960
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xf0]
dec eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x34], 0
jmp 0x180098f2f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x34], eax
jge 0x18009904d
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xe8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xe8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x38]
mulss xmm1, dword [rsp + 0x38]
addss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, dword [0x1801b7fc0]
jbe 0x180099016
movss xmm0, dword [rsp + 0x5c]
call fcn.1800891e0
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x38], xmm0
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x38]
movss dword [rcx + rax*8], xmm0
movss xmm0, dword [rsp + 0x3c]
xorps xmm0, xmmword [0x1801b82e0]
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
movss dword [rcx + rax*8 + 4], xmm0
jmp 0x180098f15
mov eax, dword [rsp + 0xf0]
dec eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0
jmp 0x180099084
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x20], eax
jge 0x18009943c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
movss xmm0, dword [rax]
addss xmm0, dword [rcx]
mulss xmm0, dword [0x1801b8060]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 4]
mulss xmm0, dword [0x1801b8060]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x24]
movss xmm1, dword [rsp + 0x28]
mulss xmm1, dword [rsp + 0x28]
addss xmm0, xmm1
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
comiss xmm0, dword [0x1801b7fd4]
jbe 0x180099195
movss xmm0, dword [0x1801b80f8]
divss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [0x1801b820c]
jbe 0x180099171
movss xmm0, dword [0x1801b820c]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x28]
mulss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x68]
mulss xmm0, dword [0x1801b8060]
movss xmm1, dword [rsp + 0x24]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x68]
mulss xmm0, dword [0x1801b8060]
movss xmm1, dword [rsp + 0x28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
movss xmm0, dword [rcx + rax*8]
subss xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
movss xmm0, dword [rcx + rax*8 + 4]
subss xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0xf8]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
movss xmm0, dword [rcx + rax*8]
addss xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
movss xmm0, dword [rcx + rax*8 + 4]
addss xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0x84]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x40]
add rax, 0x28
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x40], rax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 4
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 5
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
add rax, 0xc
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x48], rax
jmp 0x180099064
movzx eax, word [rsp + 0x6c]
mov rcx, qword [rsp + 0xe0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x34], eax
jmp 0x18009961e
mov eax, dword [rsp + 0xf0]
sub eax, 2
imul eax, eax, 3
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0xe0]
call fcn.1800964a0
nop
mov dword [rsp + 0x50], 0
jmp 0x1800994a9
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jge 0x180099544
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx + rax*8]
mov ecx, 0x14
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x40]
mov qword [rdx + rcx], rax
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0xf8]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x40]
add rax, 0x14
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x40], rax
jmp 0x18009949f
mov dword [rsp + 0x44], 2
jmp 0x180099558
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x44], eax
jge 0x180099603
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0xe0]
movzx edx, word [rdx + 0x34]
mov word [rax + rcx], dx
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rsp + 0x44]
lea eax, [rax + rcx - 1]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x34]
add eax, dword [rsp + 0x44]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe0]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x48]
add rax, 6
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x48], rax
jmp 0x18009954e
movzx eax, word [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x34], eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18016d7d0
add rsp, 0xd8
ret