Function at 0x10025368
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10025474
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100253fa
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100253f8
push 0x6774
push 0x2c31
push 0x214c
push 1
push 0x418a
push 0x6ffe
push 0x7c55
push 0
call fcn.10024f2e
add esp, 0x20
jmp 0x1002546f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x19ac196a
je 0x10025426
mov dword [ebp - 0x1c], 1
jmp 0x1002542a
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 1
jge 0x10025439
mov dword [ebp - 0x20], 1
jmp 0x1002543d
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
ja 0x1002544c
mov dword [ebp - 0x28], 1
jmp 0x10025450
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x10025463
mov dword [ebp - 0x2c], 1
jmp 0x10025467
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x100255a3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10025551
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x5600
mov dword [ebp - 0x68], 0x100082d8
cmp dword [ebp - 0x34], 0x57b1
jle 0x10025504
and dword [ebp - 0x14], 0
jmp 0x100254c4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x17cb
jge 0x10025504
and dword [ebp - 0x18], 0
jmp 0x100254da
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7099
jge 0x10025502
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x1061a6b8
call fcn.1000f7b3
jmp 0x100254d3
jmp 0x100254bd
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x5460
jge 0x10025529
mov edx, dword [ebp - 0x68]
mov ecx, 0x1061a6b8
call fcn.10011dbf
jmp 0x10025545
or dword [ebp - 4], 0xffffffff
jmp 0x1002554f
jmp 0x100255a3
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x100255a3
push 0
push 0x841
push 0x20c0
push 0
push 0x6fb
push 0x67d
push 0x4e1
push 0x2cb
push 0x17a1
push 0xbd2
push 0x1b75
push 0x1889
call dword [sym.imp.GDI32.dll_MaskBlt]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret