Function at 0x10869e1
Capabilities:
Encrypt data using rc4 via winapi

Disassembly:
push 0x78
mov eax, 0x10a8efa
call fcn.01068401
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x4c]
call fcn.01029df8
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x18]
mov dword [esi], ebx
cmp dword [ebp + 0x1c], ebx
je 0x1086615
lea eax, [ebp - 0x1c]
push eax
call fcn.010855d3
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1086615
push eax
push 0x9be01a4
call fcn.0107ae44
jmp 0x10868c9
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.010854f5
mov dword [ebp + 0x18], eax
cmp eax, ebx
jne 0x1086645
lea eax, [ebp - 0x4c]
push eax
push 1
push 0x4000
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
and eax, 0xf0000000
or eax, 0x48
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0106af8a
mov edi, eax
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x18], eax
cmp eax, ebx
jge 0x10866d5
push eax
push 0x9dc01a4
call fcn.0107ae44
cmp dword [ebp - 0x20], ebx
je 0x108664d
cmp dword [esi], ebx
jne 0x108664d
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x18], ebx
mov dword [esi], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
mov dword [ebp - 0x20], ebx
push dword [ebp + 0x10]
call fcn.010844ee
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x108658b
push eax
push 0x9c601a4
call fcn.0107ae44
jmp 0x10868bc
push eax
push 0x9c901a4
jmp 0x108663b
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102a131
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x108666d
mov eax, 0x1001ea0
push 0x7fffffff
push eax
lea ecx, [ebp - 0x24]
call fcn.0102a0c2
mov byte [ebp - 4], 3
push dword [ebp - 0x58]
push 0x9ec01a4
push dword [ebp - 0x24]
call fcn.0107ae7f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.01029f8c
mov dword [ebp - 4], 1
jmp 0x10866be
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002288
lea ecx, [ebp - 0x68]
call fcn.01028435
jmp 0x10868bc
cmp dword [ebp + 0x1c], ebx
je 0x10866e9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
push eax
call fcn.01085952
test al, al
je 0x10867a4
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp + 0x10]
push 1
call fcn.0106cf10
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102a131
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x108678c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x108673a
mov eax, 0x1001ea0
push 0x7fffffff
push eax
lea ecx, [ebp - 0x24]
call fcn.0102a0c2
mov byte [ebp - 4], 7
push dword [ebp - 0x58]
push 0xa0401a4
push dword [ebp - 0x24]
call fcn.0107ae7f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.01029f8c
mov dword [ebp - 4], 5
jmp 0x10866be
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002288
lea ecx, [ebp - 0x68]
call fcn.01028435
mov dword [esi], 1
push dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
push eax
call fcn.01085937
test al, al
je 0x108685b
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp + 0x10]
push 1
call fcn.0106d43a
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102a131
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1086847
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x10867f5
mov eax, 0x1001ea0
push 0x7fffffff
push eax
lea ecx, [ebp - 0x24]
call fcn.0102a0c2
mov byte [ebp - 4], 0xb
push dword [ebp - 0x58]
push 0xa0f01a4
push dword [ebp - 0x24]
call fcn.0107ae7f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.01029f8c
mov dword [ebp - 4], 9
jmp 0x10866be
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002288
lea ecx, [ebp - 0x68]
call fcn.01028435
mov dword [esi], ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
push eax
call fcn.01082d9a
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1086886
push eax
push 0xa1a01a4
jmp 0x108663b
cmp dword [ebp - 0x30], ebx
jne 0x108689e
mov eax, 0x8007000d
mov dword [ebp + 0x18], eax
push eax
push 0xa1f01a4
jmp 0x108663b
mov edi, dword [ebp + 0x1c]
cmp edi, ebx
je 0x10868bc
push 7
pop ecx
lea esi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x10868c9
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 0x84], ebx
je 0x108696d
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.01069563
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102a131
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x58], ebx
je 0x108695b
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x108690a
mov eax, 0x1001ea0
push 0x7fffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.0102a0c2
mov byte [ebp - 4], 0xf
push dword [ebp - 0x58]
push 0xa2e01a4
push dword [ebp - 0x2c]
call fcn.0107ae7f
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.01029f8c
mov dword [ebp - 4], 0xd
jmp 0x108695b
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002288
lea ecx, [ebp - 0x68]
call fcn.01028435
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
test eax, eax
je 0x108698c
call fcn.010a4804
push eax
push 0xa3101a4
call fcn.0107ae44
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x10869a5
call fcn.010a4804
push eax
push 0xa3201a4
call fcn.0107ae44
push dword [ebp - 0x1c]
call esi
test eax, eax
je 0x10869be
call fcn.010a4804
push eax
push 0xa3301a4
call fcn.0107ae44
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], 0x1002288
lea ecx, [ebp - 0x4c]
call fcn.01028435
mov eax, dword [ebp + 0x18]
call fcn.010684b5
ret 0x18
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01085449
test al, al
je 0x10869fb
pop ebp
jmp fcn.010856e7
pop ebp
jmp 0x1086527