Function at 0x10123170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1014c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
xorps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x50], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x48], xmm0
mov al, byte [0x101b6f18]
mov byte [ebp - 0xe5], al
movzx ecx, byte [ebp - 0xe5]
test ecx, ecx
jne 0x10123204
jmp 0x10123878
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
add ecx, 4
mov dword [ebp - 0x1c0], ecx
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0xf8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ecx]
mov dword [ebp - 0x1ec], edx
mov eax, 8
shl eax, 2
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0xfc]
add eax, 4
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], ecx
mov ecx, dword [ebp - 0x200]
call dword [ebp - 0x204]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
jne 0x101232e0
jmp 0x10123878
mov eax, dword [0x101b5bac]
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x108]
mov dword [edx], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
mov dword [ebp - 0x128], ecx
mov edx, 0x1e
shl edx, 2
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x108]
call dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x10123399
jmp 0x10123878
mov ecx, dword [0x101c07e0]
sub ecx, 0x3d
xor ecx, 0x48f47f6e
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x144]
add ecx, dword [eax]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf4]
add ecx, dword [eax + 0xb0]
mov edx, dword [ebp - 0x14c]
imul eax, dword [edx], 0xc
add ecx, eax
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0
jne 0x10123414
jmp 0x10123878
mov dword [ebp - 0xf0], 0
jmp 0x1012342f
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax + 4]
jge 0x10123878
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
add eax, dword [edx + 8]
imul ecx, dword [ebp - 0xf0], 0x44
add eax, ecx
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x10123479
jmp 0x10123420
mov eax, dword [ebp - 0xe4]
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x30]
jb 0x101236a4
mov ecx, dword [0x101b5cc4]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp - 0xe4]
add ecx, 0x24
lea edx, [ebp - 0xe0]
call dword [ebp - 0x158]
nop
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xe4]
imul edx, dword [ecx], 0x30
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x3fc]
push ecx
call fcn.100e96b0
add esp, 0xc
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.100e91e0
add esp, 8
mov ecx, 4
imul edx, ecx, 3
mov eax, 0x10
imul ecx, eax, 0
lea eax, [ebp + ecx - 0x80]
movss xmm0, dword [eax + edx]
movss dword [ebp - 0x15c], xmm0
mov ecx, 4
imul edx, ecx, 3
mov eax, 0x10
shl eax, 0
lea ecx, [ebp + eax - 0x80]
movss xmm0, dword [ecx + edx]
movss dword [ebp - 0x160], xmm0
mov edx, 4
imul eax, edx, 3
mov ecx, 0x10
shl ecx, 1
lea edx, [ebp + ecx - 0x80]
movss xmm0, dword [edx + eax]
movss dword [ebp - 0x164], xmm0
movss xmm0, dword [ebp - 0x15c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x160]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x164]
movss dword [ebp - 0x30], xmm0
lea eax, [ebp + 0xe]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
movzx edx, byte [ecx]
mov dword [ebp - 0x18c], edx
lea eax, [ebp + 0xd]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
movzx edx, byte [ecx]
mov dword [ebp - 0x190], edx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
movzx edx, byte [ecx]
mov dword [ebp - 0x194], edx
mov eax, dword [0x101b5bb0]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
mov dword [ebp - 0x17c], ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x198], ecx
push ecx
movss xmm0, dword [ebp + 0x10]
movss dword [esp], xmm0
push 0
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x194]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xe4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 8
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x110]
call dword [ebp - 0x198]
nop
jmp 0x10123873
mov eax, dword [0x101b5cc4]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x24
lea edx, [ebp - 0xb0]
call dword [ebp - 0x19c]
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xe4]
imul ecx, dword [eax], 0x30
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x3fc]
push eax
call fcn.100e96b0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xe4]
add eax, 8
push eax
call fcn.100e8e80
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xe4]
add eax, 0x14
push eax
call fcn.100e8e80
add esp, 0xc
lea ecx, [ebp + 0xf]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
movzx eax, byte [edx]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp + 0xe]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a4]
movzx eax, byte [edx]
mov dword [ebp - 0x1d0], eax
lea ecx, [ebp + 0xd]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a8]
movzx eax, byte [edx]
mov dword [ebp - 0x1d4], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x1ac]
movzx eax, byte [edx]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0xe4]
movss xmm0, dword [ecx + 0x30]
movss dword [ebp - 0x1b0], xmm0
movss xmm0, dword [ebp - 0x1b0]
movss dword [ebp - 8], xmm0
mov edx, dword [0x101b5bb0]
mov dword [ebp - 0x118], edx
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x118]
mov dword [ecx], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx]
mov dword [ebp - 0x1bc], eax
mov ecx, 0x17
shl ecx, 2
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1e0], eax
push 0
push 0
push ecx
movss xmm0, dword [ebp + 0x10]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x1d8]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x118]
call dword [ebp - 0x1e0]
nop
jmp 0x10123420
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012d179
mov esp, ebp
pop ebp
ret 0xc