Function at 0x10042151
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042307
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x28], 0xe1
mov dword [ebp - 0x58], 0x1000b588
cmp dword [ebp - 0x28], 0xf5
jle 0x1004223e
and dword [ebp - 0x18], 0
jmp 0x100421b9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2dd2
jge 0x1004223e
and dword [ebp - 0x20], 0
jmp 0x100421cf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7ae4
jge 0x10042239
and dword [ebp - 0x24], 0
jmp 0x100421e5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7b8f
jge 0x10042237
and dword [ebp - 0x1c], 0
jmp 0x100421fb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c1c
jge 0x10042235
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x106126b8
call fcn.1001b17a
jmp 0x100421f4
jmp 0x100421de
jmp 0x100421c8
jmp 0x100421b2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0xb7
jge 0x1004225e
mov edx, dword [ebp - 0x58]
mov ecx, 0x106126b8
call fcn.1001d6f2
jmp 0x1004227a
or dword [ebp - 4], 0xffffffff
jmp 0x10042284
lea eax, [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x100422de
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x100422c2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x100422dc
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1001b449
and dword [eax], 0
jmp 0x100422b7
jmp 0x10042302
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10042302
push 0x1805
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x100423bb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10042372
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1001b449
mov esi, eax
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.1001b449
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x100423bb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov ecx, 0x6a6d
sub ecx, dword [eax]
mov eax, dword [ebp - 0x8c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret