Function at 0x7e75c8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov dword [ebp - 0x14], edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x7e7b66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.00521e00
mov eax, dword [ebx + 0xc0]
mov edx, edi
call fcn.007e8330
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x20]
call fcn.0051876c
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x30]
call fcn.00518718
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x28]
call fcn.005187e8
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x2c]
call fcn.00518674
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
xor edx, edx
call fcn.005182b8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
movzx edx, word [edx + 0x18]
call fcn.0040ab7c
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
push eax
fild dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
fmul qword [eax + 0x38]
call fcn.0040797c
mov edx, eax
pop eax
call fcn.005185b8
push 0
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x14]
call fcn.008704e0
lea edx, [ebp - 0x74]
mov ecx, 0xffffff
mov eax, dword [ebp - 0x14]
call fcn.007d31a0
mov eax, dword [ebp + 0x10]
push esi
mov esi, eax
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x40], 0
je 0x7e7703
mov eax, dword [ebp + 0xc]
mov ecx, 0x30
cdq
idiv ecx
inc eax
push eax
push 0
push 1
mov eax, dword [ebp - 0x14]
call fcn.005209e0
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x20]
movzx edx, word [edx]
call fcn.007e6d98
jmp 0x7e772a
push 0xf00
lea eax, [ebp - 0x54]
push eax
push 1
mov eax, dword [ebp - 0x20]
call fcn.0040ac18
push eax
mov eax, dword [ebp - 0x14]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edi, eax
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00870654
sub edi, eax
sar edi, 1
jns 0x7e7747
adc edi, 0
mov dword [ebp - 0x64], edi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edi, eax
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00870668
sub edi, eax
sar edi, 1
jns 0x7e7767
adc edi, 0
mov dword [ebp - 0x60], edi
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00870654
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00870668
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
test esi, esi
je 0x7e77ac
mov dword [ebp - 0x78], esi
fild dword [ebp - 0x78]
mov eax, dword [ebp - 0x18]
fmul qword [eax + 0x38]
call fcn.0040797c
lea edx, [ebp - 0x64]
mov ecx, eax
xor eax, eax
xchg edx, eax
call fcn.004136ac
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x7e7881
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x40], 0
je 0x7e77f3
mov eax, dword [ebp + 0xc]
mov ecx, 0x30
cdq
idiv ecx
inc eax
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.005209e0
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x20]
movzx edx, word [edx]
call fcn.007e6d98
jmp 0x7e78e1
mov eax, dword [ebp - 0x14]
call fcn.008a06e8
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.005209e0
mov eax, dword [eax + 0x40]
push eax
mov eax, esi
call fcn.005209e0
mov eax, dword [eax + 0x40]
pop edx
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.007e7100
pop ecx
push 0xb04
lea eax, [ebp - 0x64]
push eax
push 1
mov eax, dword [ebp - 0x20]
call fcn.0040ac18
push eax
mov eax, esi
call fcn.005209e0
call fcn.0051a144
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov ecx, 0x168
cdq
idiv ecx
push edx
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.008704e0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
call fcn.005209e0
call fcn.0051a144
mov edx, esi
pop ecx
call fcn.007cfb08
mov eax, esi
call fcn.00408198
jmp 0x7e78e1
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x40], 0
je 0x7e78b3
mov eax, dword [ebp + 0xc]
mov ecx, 0x30
cdq
idiv ecx
inc eax
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.005209e0
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x20]
movzx edx, word [edx]
call fcn.007e6d98
jmp 0x7e78e1
push ebp
call fcn.007e7100
pop ecx
push 0xb04
lea eax, [ebp - 0x64]
push eax
push 1
mov eax, dword [ebp - 0x20]
call fcn.0040ac18
push eax
mov eax, dword [ebp - 0x14]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.user32.dll_DrawTextW
mov esi, dword [ebx + 0xa8]
cmp esi, 0x1fffffff
je 0x7e7902
mov eax, esi
xor edx, edx
call fcn.0082adac
call fcn.007d3174
mov dword [ebp - 0x10], eax
jmp 0x7e7928
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x24]
cmp esi, 0x1fffffff
je 0x7e7923
mov eax, esi
xor edx, edx
call fcn.0082adac
call fcn.007d3174
mov dword [ebp - 0x10], eax
jmp 0x7e7928
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x44], 0x1fffffff
je 0x7e796f
mov esi, dword [ebx + 0xa8]
cmp esi, 0x1fffffff
je 0x7e7958
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
xor edx, edx
call fcn.0082adac
call fcn.007d3174
cmp esi, eax
je 0x7e796f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.0082adac
call fcn.007d3174
mov dword [ebp - 0xc], eax
jmp 0x7e7976
mov dword [ebp - 0xc], 0x1fffffff
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00895064
test al, al
je 0x7e7b49
cmp dword [ebp - 0xc], 0x1fffffff
jne 0x7e7a08
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x7e7b49
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
imul dword [ebp - 0x24]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov esi, eax
dec esi
test esi, esi
jl 0x7e79fb
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4]
movzx edx, byte [eax + 2]
movzx ecx, byte [eax + 1]
add ecx, ecx
add edx, ecx
movzx ecx, byte [eax]
add edx, ecx
shr edx, 2
push edx
mov dl, 0xff
pop ecx
sub dl, cl
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov byte [eax + 3], dl
inc edi
dec esi
jne 0x7e79cf
inc dword [ebp - 0x24]
dec dword [ebp - 0x44]
jne 0x7e79b1
jmp 0x7e7b49
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
mov esi, eax
dec esi
movzx eax, byte [ebp - 0xc]
movzx edx, byte [ebp - 0x10]
movzx ecx, dl
sub eax, ecx
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
fild dword [ebp - 0x7c]
fdivp st(1)
fstp dword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0xb]
movzx ecx, byte [ebp - 0xf]
movzx ebx, cl
sub eax, ebx
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
fild dword [ebp - 0x7c]
fdivp st(1)
fstp dword [ebp - 0x3c]
wait
movzx edi, byte [ebp - 0xa]
movzx eax, byte [ebp - 0xe]
movzx ebx, al
sub edi, ebx
mov dword [ebp - 0x78], edi
fild dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
fild dword [ebp - 0x7c]
fdivp st(1)
fstp dword [ebp - 0x40]
wait
movzx edx, dl
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fstp dword [ebp - 0x2c]
wait
movzx edx, cl
mov dword [ebp - 0x78], edx
fild dword [ebp - 0x78]
fstp dword [ebp - 0x30]
wait
movzx eax, al
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fstp dword [ebp - 0x34]
wait
test esi, esi
jl 0x7e7b49
inc esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], 0
fld dword [ebp - 0x2c]
call fcn.0040797c
mov byte [ebp - 0x28], al
fld dword [ebp - 0x30]
call fcn.0040797c
mov byte [ebp - 0x27], al
fld dword [ebp - 0x34]
call fcn.0040797c
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 8]
imul dword [ebp - 0x24]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov esi, eax
dec esi
test esi, esi
jl 0x7e7b1f
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4]
movzx edx, byte [eax + 2]
movzx ecx, byte [eax + 1]
add ecx, ecx
add edx, ecx
movzx ecx, byte [eax]
add edx, ecx
shr edx, 2
push edx
mov dl, 0xff
pop ecx
sub dl, cl
test dl, dl
jne 0x7e7b13
xor ecx, ecx
mov dword [eax], ecx
jmp 0x7e7b18
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [eax + 3], dl
inc edi
dec esi
jne 0x7e7ae9
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x38]
fstp dword [ebp - 0x2c]
wait
fld dword [ebp - 0x30]
fadd dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
wait
fld dword [ebp - 0x34]
fadd dword [ebp - 0x40]
fstp dword [ebp - 0x34]
wait
inc dword [ebp - 0x24]
dec dword [ebp - 0x44]
jne 0x7e7aaa
push ebp
call fcn.007e713c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e7b6d
lea eax, [ebp - 0x20]
call fcn.0040a008
ret