Function at 0x45dfb4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x2c
mov dword [0x7ad884], 0x41d2f0
mov dword [0x7ad88c], 0x41d4cc
mov dword [0x7ad894], 0x41d6bc
mov dword [0x7ad89c], 0x41da0c
mov dword [0x7ad8a4], 0x41dd90
mov dword [0x7ad8ac], 0x41e148
mov dword [0x7ad8b4], 0x41e858
mov dword [0x7ad8bc], 0x41ebdc
mov dword [0x7ad8c4], 0x41e490
mov dword [0x7ad8cc], 0x41ef60
mov dword [0x7ad8d4], 0x41f318
mov dword [0x7ad8dc], 0x41f6d0
mov dword [0x7ad8e4], 0x41fa88
mov dword [0x7ad8ec], 0x41fe40
mov dword [0x7ad8f4], 0x4201c4
mov dword [0x7ad8fc], 0x42057c
mov dword [0x7ad904], 0x420934
mov dword [0x7ad90c], 0x420cec
mov dword [0x7ad914], 0x421070
mov dword [0x7ad880], 0x41d308
mov dword [0x7ad888], 0x41d4e4
mov dword [0x7ad890], 0x41d6d4
mov dword [0x7ad898], 0x41da24
mov dword [0x7ad8a0], 0x41dddc
mov dword [0x7ad8a8], 0x41e160
mov dword [0x7ad8b0], 0x41e870
mov dword [0x7ad8b8], 0x41ebf4
mov dword [0x7ad8c0], 0x41e4dc
mov dword [0x7ad8c8], 0x41efac
mov dword [0x7ad8d0], 0x41f364
mov dword [0x7ad8d8], 0x41f71c
mov dword [0x7ad8e0], 0x41fad4
mov dword [0x7ad8e8], 0x41fe58
mov dword [0x7ad8f0], 0x420210
mov dword [0x7ad8f8], 0x4205c8
mov dword [0x7ad900], 0x420980
mov dword [0x7ad908], 0x420d04
mov dword [0x7ad910], 0x4210bc
mov dword [0x7ad924], 0x41d324
mov dword [0x7ad92c], 0x41d500
mov dword [0x7ad934], 0x41d724
mov dword [0x7ad93c], 0x41da7c
mov dword [0x7ad944], 0x41de34
mov dword [0x7ad94c], 0x41e17c
mov dword [0x7ad954], 0x41e8c8
mov dword [0x7ad95c], 0x41ec4c
mov dword [0x7ad964], 0x41e544
mov dword [0x7ad96c], 0x41f004
mov dword [0x7ad974], 0x41f3bc
mov dword [0x7ad97c], 0x41f774
mov dword [0x7ad984], 0x41fb2c
mov dword [0x7ad98c], 0x41feb0
mov dword [0x7ad994], 0x420268
mov dword [0x7ad99c], 0x420620
mov dword [0x7ad9a4], 0x4209d8
mov dword [0x7ad9ac], 0x420d5c
mov dword [0x7ad9b4], 0x421114
mov dword [0x7ad920], 0x41d33c
mov dword [0x7ad928], 0x41d51c
mov dword [0x7ad930], 0x41d7cc
mov dword [0x7ad938], 0x41db30
mov dword [0x7ad940], 0x41dee8
mov dword [0x7ad948], 0x41e230
mov dword [0x7ad950], 0x41e97c
mov dword [0x7ad958], 0x41ed00
mov dword [0x7ad960], 0x41e5f8
mov dword [0x7ad968], 0x41f0b8
mov dword [0x7ad970], 0x41f470
mov dword [0x7ad978], 0x41f828
mov dword [0x7ad980], 0x41fbe0
mov dword [0x7ad988], 0x41ff64
mov dword [0x7ad990], 0x42031c
mov dword [0x7ad998], 0x4206d4
mov dword [0x7ad9a0], 0x420a8c
mov dword [0x7ad9a8], 0x420e10
mov dword [0x7ad9b0], 0x4211c8
mov dword [0x7ad9c0], 0x41d37c
mov dword [0x7ad9c8], 0x41d538
mov dword [0x7ad9d0], 0x41d87c
mov dword [0x7ad9d8], 0x41dbf4
mov dword [0x7ad9e0], 0x41dfac
mov dword [0x7ad9e8], 0x41e2f4
mov dword [0x7ad9f0], 0x41ea40
mov dword [0x7ad9f8], 0x41edc4
mov dword [0x7ada00], 0x41e6bc
mov dword [0x7ada08], 0x41f17c
mov dword [0x7ada10], 0x41f534
mov dword [0x7ada18], 0x41f8ec
mov dword [0x7ada20], 0x41fca4
mov dword [0x7ada28], 0x420028
mov dword [0x7ada30], 0x4203e0
mov dword [0x7ada38], 0x420798
mov dword [0x7ada40], 0x420b50
mov dword [0x7ada48], 0x420ed4
mov dword [0x7ada50], 0x42128c
mov dword [0x7ad9c4], 0x41d358
mov dword [0x7ad9cc], 0x41d538
mov dword [0x7ad9d4], 0x41d87c
mov dword [0x7ad9dc], 0x41dbf4
mov dword [0x7ad9e4], 0x41dfac
mov dword [0x7ad9ec], 0x41e2f4
mov dword [0x7ad9f4], 0x41ea40
mov dword [0x7ad9fc], 0x41edc4
mov dword [0x7ada04], 0x41e6bc
mov dword [0x7ada0c], 0x41f17c
mov dword [0x7ada14], 0x41f534
mov dword [0x7ada1c], 0x41f8ec
mov dword [0x7ada24], 0x41fca4
mov dword [0x7ada2c], 0x420028
mov dword [0x7ada34], 0x4203e0
mov dword [0x7ada3c], 0x420798
mov dword [0x7ada44], 0x420b50
mov dword [0x7ada4c], 0x420ed4
mov dword [0x7ada54], 0x42128c
mov dword [0x7ada60], 0x41d420
mov dword [0x7ada68], 0x41d5f4
mov dword [0x7ada70], 0x41d940
mov dword [0x7ada78], 0x41dcbc
mov dword [0x7ada80], 0x41e074
mov dword [0x7ada88], 0x41e3bc
mov dword [0x7ada90], 0x41eb08
mov dword [0x7ada98], 0x41ee8c
mov dword [0x7adaa0], 0x41e784
mov dword [0x7adaa8], 0x41f244
mov dword [0x7adab0], 0x41f5fc
mov dword [0x7adab8], 0x41f9b4
mov dword [0x7adac0], 0x41fd6c
mov dword [0x7adac8], 0x4200f0
mov dword [0x7adad0], 0x4204a8
mov dword [0x7adad8], 0x420860
mov dword [0x7adae0], 0x420c18
mov dword [0x7adae8], 0x420f9c
mov dword [0x7adaf0], 0x421354
mov ebx, 1
mov ecx, 0x200
mov edi, ecx
xor esi, esi
lea ebp, [ecx + 0x200]
mov eax, esi
cdq
idiv ebx
mov word [edi + 0x78d780], ax
add esi, 0x100
add edi, 2
cmp ebp, edi
ja 0x45e501
add ecx, 0x200
inc ebx
cmp ebx, 0x100
jl 0x45e4f7
xor eax, eax
mov byte [eax + 0x68bf80], al
jmp 0x45e53a
mov byte [eax + 0x68bf80], 0xff
inc eax
cmp eax, 0x1ff
jge 0x45e54b
cmp eax, 0xff
jg 0x45e533
jmp 0x45e52b
xor eax, eax
xor edx, edx
jmp 0x45e557
lea edx, [eax - 0xff]
mov byte [eax + 0x68c180], dl
inc eax
cmp eax, 0x1ff
jge 0x45e56e
cmp eax, 0xff
jge 0x45e551
jmp 0x45e54d
xor ecx, ecx
xor ebx, ebx
xor esi, esi
xor ebp, ebp
mov eax, 0x80808081
imul ebp
add edx, ebp
sar edx, 7
mov edi, ebp
sar edi, 0x1f
sub edx, edi
mov byte [ebx + esi + 0x68c380], dl
add ebp, ecx
inc esi
cmp esi, 0x100
jl 0x45e576
add ebx, 0x100
inc ecx
cmp ecx, 0x100
jl 0x45e572
xor ebx, ebx
xor ecx, ecx
xor esi, esi
mov ebp, ebx
shl ebp, 8
sub ebp, ebx
mov eax, ebp
jmp 0x45e5c0
mov eax, ebp
cdq
idiv esi
cmp eax, 0xff
jle 0x45e5cc
mov eax, 0xff
mov byte [ecx + esi + 0x69c480], al
inc esi
cmp esi, 0x100
jge 0x45e5e2
test esi, esi
jg 0x45e5bb
jmp 0x45e5b7
add ecx, 0x100
inc ebx
cmp ebx, 0x100
jl 0x45e5ae
xor edi, edi
xor ebp, ebp
xor ebx, ebx
mov ecx, edi
xor edx, edx
movzx eax, word [edx + edi*2 + 0x633efe]
neg eax
add eax, ecx
mov byte [ebp + ebx + 0x6ac580], al
inc ecx
add edx, 0x400
inc ebx
cmp ebx, 0x100
jl 0x45e5fb
add ebp, 0x100
inc edi
cmp edi, 0x100
jl 0x45e5f5
xor ecx, ecx
xor edx, edx
xor eax, eax
cmp ecx, eax
jge 0x45e63b
mov ebx, eax
jmp 0x45e63d
mov ebx, ecx
mov byte [edx + eax + 0x76d180], bl
inc eax
cmp eax, 0x100
jl 0x45e633
add edx, 0x100
inc ecx
cmp ecx, 0x100
jl 0x45e631
xor ecx, ecx
xor edx, edx
xor eax, eax
cmp ecx, eax
jge 0x45e669
mov ebx, ecx
jmp 0x45e66b
mov ebx, eax
mov byte [edx + eax + 0x77d280], bl
inc eax
cmp eax, 0x100
jl 0x45e661
add edx, 0x100
inc ecx
cmp ecx, 0x100
jl 0x45e65f
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ebx, ecx
sub ebx, eax
test ebx, ebx
jge 0x45e699
neg ebx
mov byte [edx + eax + 0x6bc680], bl
inc eax
cmp eax, 0x100
jl 0x45e68f
add edx, 0x100
inc ecx
cmp ecx, 0x100
jl 0x45e68d
xor eax, eax
xor ecx, ecx
xor edi, edi
mov ebp, eax
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, 0x80808081
imul ebx
add edx, ebx
sar edx, 7
mov esi, ebx
sar esi, 0x1f
sub edx, esi
add edx, edx
neg edx
add edx, ebp
mov byte [ecx + edi + 0x6cc780], dl
inc ebp
add ebx, dword [esp + 0x28]
inc edi
cmp edi, 0x100
jl 0x45e6c5
mov eax, dword [esp + 0x28]
add ecx, 0x100
inc eax
cmp eax, 0x100
jl 0x45e6bb
xor ebp, ebp
xor ebx, ebx
xor ecx, ecx
mov edx, ebp
shl edx, 0xa
movzx eax, word [edx + ecx*4 + 0x633efe]
movzx eax, al
mov byte [ebx + ecx + 0x74cf80], al
inc ecx
cmp ecx, 0x100
jge 0x45e755
cmp ecx, 0x80
jl 0x45e710
jle 0x45e74a
lea edi, [ecx + ecx]
neg edi
movzx eax, word [edx + edi*2 + 0x6342fe]
sub eax, edi
dec eax
movzx eax, al
jmp 0x45e71b
jne 0x45e71b
mov eax, ebp
and eax, 0xff
jmp 0x45e71b
add ebx, 0x100
inc ebp
cmp ebp, 0x100
jl 0x45e709
xor ebx, ebx
mov ecx, 0x100
xor esi, esi
xor ebp, ebp
mov eax, ebp
cdq
idiv ecx
cmp eax, 0xff
jle 0x45e780
mov eax, 0xff
mov byte [ebx + esi + 0x6dc880], al
add ebp, 0x100
inc esi
cmp esi, 0x100
jl 0x45e76f
add ebx, 0x100
dec ecx
test ecx, ecx
jg 0x45e76b
xor ecx, ecx
xor ebp, ebp
lea esi, [ecx + 1]
shl ecx, 8
mov ebx, 0xff00
mov eax, ebx
cdq
idiv esi
neg eax
add eax, 0xff
test eax, eax
jge 0x45e7c2
xor eax, eax
mov byte [ecx + ebp + 0x6ec980], al
add ebx, 0xffffff00
inc ebp
cmp ebp, 0x100
jl 0x45e7b0
mov ecx, esi
cmp esi, 0x100
jl 0x45e7a3
xor ecx, ecx
xor edx, edx
xor ebp, ebp
mov ebx, ecx
lea eax, [ebx - 0xff]
cmp eax, 0xff
jle 0x45e7fe
mov eax, 0xff
jmp 0x45e804
test eax, eax
jge 0x45e804
xor eax, eax
mov byte [edx + ebp + 0x73ce80], al
inc ebx
inc ebp
cmp ebp, 0x100
jl 0x45e7ea
add edx, 0x100
inc ecx
cmp ecx, 0x100
jl 0x45e7e6
xor ebp, ebp
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov edi, 0x200
mov dword [esp + 0xc], eax
mov eax, edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp ebp, 0x80
jge 0x45e857
movsx eax, word [esi + ebx*2 + 0x633efe]
jmp 0x45e870
jle 0x45e86c
movsx eax, word [esi + edx*2 + 0x6342fe]
sub eax, dword [esp + 0x10]
add eax, 0xff
jmp 0x45e870
jne 0x45e870
mov eax, edi
mov byte [ecx + edi + 0x6fca80], al
add esi, 0x400
inc edi
cmp edi, 0x100
jl 0x45e845
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
add ebx, 2
add ecx, 0x100
add edx, 0xfffffffe
add eax, 0xfffffffe
inc ebp
cmp ebp, 0x100
jl 0x45e839
xor edx, edx
fld qword [0x591ef8]
cmp edx, 0x80
jl 0x45e8c2
xor ebx, ebx
mov ecx, edx
shl ecx, 8
jmp 0x45e94e
xor ebx, ebx
mov ecx, edx
shl ecx, 8
mov eax, ebx
neg eax
add eax, 0x100
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fsqrt
fsubr st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x14]
fldcw word [esp]
mov ebp, dword [esp + 0x14]
mov eax, edx
imul eax, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
neg ebp
add eax, ebp
sar eax, 0xf
add eax, ebx
cmp eax, 0xff
jle 0x45e927
mov eax, 0xff
jmp 0x45e92d
test eax, eax
jge 0x45e92d
xor eax, eax
mov byte [ecx + ebx + 0x70cb80], al
inc ebx
cmp ebx, 0x100
jge 0x45ea11
cmp edx, 0x80
jl 0x45e8c9
cmp ebx, 0x20
jg 0x45e9bc
mov eax, ebx
neg eax
add eax, 0x100
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fsqrt
lea ebp, [ebx + ebx]
add ebp, ebp
add ebp, ebp
neg ebp
add ebp, 0x300
mov dword [esp + 0x1c], ebp
fild dword [esp + 0x1c]
fmulp st(1)
fsubr st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x14]
fldcw word [esp]
mov edi, dword [esp + 0x14]
mov eax, edx
imul eax, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
add edi, edi
neg edi
add eax, edi
sar eax, 0xf
add eax, ebx
jmp 0x45e919
mov eax, ebx
neg eax
add eax, 0x100
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fsqrt
fsubr st(1)
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [esp + 0x14]
fldcw word [esp]
mov ebp, dword [esp + 0x14]
mov eax, edx
imul eax, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
add ebp, ebp
neg ebp
add eax, ebp
sar eax, 0x10
add eax, ebx
jmp 0x45e919
inc edx
cmp edx, 0x100
jl 0x45e8ae
fstp st(0)
xor ecx, ecx
xor edi, edi
xor eax, eax
mov edx, 0x1fe
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor esi, esi
xor ebp, ebp
lea ebx, [eax - 0xfe01]
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], edi
cmp ecx, 0x80
jge 0x45ea68
test ecx, ecx
jne 0x45ea57
xor eax, eax
jmp 0x45ea89
mov eax, ebx
cdq
mov edi, dword [esp + 0x10]
idiv edi
test eax, eax
jge 0x45ea89
xor eax, eax
jmp 0x45ea89
cmp ecx, 0xff
je 0x45eb71
mov eax, ebp
cdq
mov edi, dword [esp + 0x24]
idiv edi
cmp eax, 0xff
jle 0x45ea89
mov eax, 0xff
mov edx, dword [esp + 0x28]
mov byte [edx + esi + 0x71cc80], al
add ebp, 0xff
add ebx, 0xff
inc esi
cmp esi, 0x100
jl 0x45ea47
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
add edi, 2
add eax, 0x1fe
add edx, 0xfffffffe
add dword [esp + 0x28], 0x100
inc ecx
cmp ecx, 0x100
jl 0x45ea31
xor edx, edx
xor ecx, ecx
xor ebp, ebp
mov ebx, edx
lea eax, [ebx - 0x100]
cmp eax, 0xff
jle 0x45eaf1
mov eax, 0xff
jmp 0x45eaf7
test eax, eax
jge 0x45eaf7
xor eax, eax
mov byte [ecx + ebp + 0x72cd80], al
inc ebx
inc ebp
cmp ebp, 0x100
jl 0x45eadd
add edx, 2
add ecx, 0x100
cmp ecx, 0x10000
jl 0x45ead9
xor ebp, ebp
xor ebx, ebx
mov ecx, 0xffffff01
xor edx, edx
xor edi, edi
cmp ebp, 0x80
jge 0x45eb3a
cmp edi, ebx
jle 0x45eb36
mov eax, ebx
jmp 0x45eb44
mov eax, edi
jmp 0x45eb44
cmp edi, ecx
jle 0x45eb42
mov eax, edi
jmp 0x45eb44
mov eax, ecx
mov byte [edx + edi + 0x75d080], al
inc edi
cmp edi, 0x100
jl 0x45eb26
add ebx, 2
add ecx, 2
add edx, 0x100
inc ebp
cmp ebp, 0x100
jl 0x45eb24
add esp, 0x2c
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xff
jmp 0x45ea89