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

Disassembly:
push 0x78
mov eax, 0x10c2597
call fcn.01077e6d
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 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 - 0x1c], ebx
lea ecx, [ebp - 0x4c]
call fcn.0102f04f
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x18]
mov dword [esi], ebx
cmp dword [ebp + 0x1c], ebx
je 0x1099bed
lea eax, [ebp - 0x20]
push eax
call fcn.01098940
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1099bed
push eax
push 0xc0201a4
call fcn.0108c55a
jmp 0x1099ee9
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.010982e7
mov dword [ebp + 0x18], eax
cmp eax, ebx
jne 0x1099c1d
lea eax, [ebp - 0x4c]
push eax
xor edi, edi
inc edi
push edi
push 0x4000
mov eax, dword [ebp - 0x20]
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 - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0107a6f4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + 0x18], ecx
cmp ecx, ebx
jge 0x1099cb0
push ecx
push 0xc2001a4
call fcn.0108c55a
cmp dword [ebp - 0x24], ebx
je 0x1099c25
cmp dword [esi], ebx
jne 0x1099c25
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 - 0x24]
push eax
push dword [esi]
mov dword [ebp - 0x24], ebx
push dword [ebp + 0x10]
call fcn.01097147
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x1099b63
push eax
push 0xc0a01a4
call fcn.0108c55a
jmp 0x1099edc
push eax
push 0xc0d01a4
jmp 0x1099c13
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102f398
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x1099c45
mov eax, 0x1002068
push SysReAllocString
push eax
lea ecx, [ebp - 0x28]
call fcn.0102f329
mov byte [ebp - 4], 3
push dword [ebp - 0x58]
push 0xc3001a4
push dword [ebp - 0x28]
call fcn.0108c595
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0102f1f3
mov dword [ebp - 4], edi
jmp 0x1099c99
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002494
lea ecx, [ebp - 0x68]
call fcn.0102d43a
jmp 0x1099edc
cmp dword [ebp + 0x1c], ebx
je 0x1099cc4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x84], ecx
push dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
push eax
call fcn.01098ccb
test al, al
je 0x1099da1
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
push 1
call fcn.0107cfbd
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102f398
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x58]
mov dword [ebp + 0x18], edi
cmp edi, ebx
je 0x1099d74
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x1099d1d
mov eax, 0x1002068
push SysReAllocString
push eax
lea ecx, [ebp - 0x28]
call fcn.0102f329
mov byte [ebp - 4], 7
push edi
push 0xc4d01a4
push dword [ebp - 0x28]
call fcn.0108c595
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0102f1f3
mov dword [ebp - 4], 5
jmp 0x1099c99
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002494
lea ecx, [ebp - 0x68]
call fcn.0102d43a
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1099d9b
push eax
push 0xc5001a4
jmp 0x1099c13
mov dword [esi], 1
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
call fcn.01098cb0
test al, al
je 0x1099e79
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
push 1
call fcn.0107cb00
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102f398
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x58]
mov dword [ebp + 0x18], edi
cmp edi, ebx
je 0x1099e50
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x1099df9
mov eax, 0x1002068
push SysReAllocString
push eax
lea ecx, [ebp - 0x28]
call fcn.0102f329
mov byte [ebp - 4], 0xb
push edi
push 0xc5d01a4
push dword [ebp - 0x28]
call fcn.0108c595
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.0102f1f3
mov dword [ebp - 4], 9
jmp 0x1099c99
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002494
lea ecx, [ebp - 0x68]
call fcn.0102d43a
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1099e77
push eax
push 0xc6001a4
jmp 0x1099c13
mov dword [esi], ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x28]
push eax
call fcn.01095b51
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x1099ea5
push eax
push 0xc6c01a4
jmp 0x1099c13
cmp dword [ebp - 0x30], ebx
jne 0x1099ebd
mov eax, 0x80090003
mov dword [ebp + 0x18], eax
push eax
push 0xc7101a4
jmp 0x1099c13
cmp dword [ebp + 0x1c], ebx
je 0x1099edc
push 7
pop ecx
lea esi, [ebp - 0x84]
mov edi, dword [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x1099ee9
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 0x84], ebx
je 0x1099f94
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.01078981
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0102f398
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x58], ebx
je 0x1099f82
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x1099f2a
mov eax, 0x1002068
push SysReAllocString
push eax
lea ecx, [ebp - 0x28]
call fcn.0102f329
mov byte [ebp - 4], 0xf
push dword [ebp - 0x58]
push 0xc8001a4
push dword [ebp - 0x28]
call fcn.0108c595
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0102f1f3
mov dword [ebp - 4], 0xd
jmp 0x1099f82
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], 0x1002494
lea ecx, [ebp - 0x68]
call fcn.0102d43a
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
test eax, eax
je 0x1099fb3
call fcn.01091f43
push eax
push 0xc8301a4
call fcn.0108c55a
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x1099fcc
call fcn.01091f43
push eax
push 0xc8401a4
call fcn.0108c55a
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x1099fe5
call fcn.01091f43
push eax
push 0xc8501a4
call fcn.0108c55a
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], 0x1002494
lea ecx, [ebp - 0x4c]
call fcn.0102d43a
mov eax, dword [ebp + 0x18]
call fcn.01077f21
ret 0x18
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0109823b
test al, al
je 0x109a022
pop ebp
jmp fcn.01098a54
pop ebp
jmp 0x1099aff