Function at 0x102da870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x234], ecx
mov edx, dword [0x103bfc40]
sub edx, 0x65
xor edx, 0x5dafd5b
mov dword [ebp - 0x25c], edx
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x234]
add ecx, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x260]
mov eax, dword [ecx]
mov dword [edx], eax
mov ecx, dword [0x103a91e8]
mov dword [ebp - 0x18c], ecx
lea edx, [ebp - 0x1b8]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x18c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax]
mov dword [ebp - 0x1bc], ecx
mov edx, 4
shl edx, 2
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d0], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1cc]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18c]
call dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 0
jne 0x102da990
jmp 0x102dae97
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x178]
mov dword [ecx], edx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ecx]
mov dword [ebp - 0x1e0], edx
mov eax, 0x1be
shl eax, 2
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], ecx
mov ecx, dword [ebp - 0x178]
call dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x102daa13
jmp 0x102dae97
mov edx, dword [0x103bfcd8]
sub edx, 0x8b
xor edx, 0x5dafd81
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x1f4]
movss xmm0, dword [eax]
movss dword [ebp - 0x1f8], xmm0
mov ecx, dword [0x103a9248]
movss xmm0, dword [ebp - 0x1f8]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x103288dc]
cvttss2si edx, xmm0
mov dword [ebp - 0x174], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x103a9248]
movss xmm0, dword [eax + 0x48]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x103288dc]
cvttss2si edx, xmm0
mov dword [ebp - 0x180], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x103a9248]
movss xmm0, dword [eax + 0x342c]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x103288dc]
cvttss2si edx, xmm0
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x198], ecx
lea edx, [ebp - 0x1fc]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x198]
add eax, 8
mov ecx, dword [ebp - 0x194]
mov dword [ecx], eax
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov dword [ebp - 0x200], ecx
mov edx, 0xa
shl edx, 2
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x198]
add ecx, 8
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x20c]
call dword [ebp - 0x210]
mov dword [ebp - 0x224], eax
mov edx, dword [0x103a91e4]
mov dword [ebp - 0x1a0], edx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x1a0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov dword [ebp - 0x218], edx
mov eax, 8
shl eax, 2
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x228], ecx
lea edx, [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x1a0]
call dword [ebp - 0x228]
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x3430], 0
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x3425], 0
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x3431], 0
mov ecx, dword [ebp - 0x174]
cmp ecx, dword [ebp - 0x180]
jne 0x102dac25
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc], 2
jg 0x102dac25
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x3430], 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x3431], 1
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x3425], 1
jmp 0x102daca3
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x1a4]
jle 0x102dac57
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x174]
jle 0x102dac57
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x3430], 1
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x3425], 1
jmp 0x102daca3
mov ecx, dword [ebp - 0x174]
cmp ecx, dword [ebp - 0x1a4]
jne 0x102daca3
mov edx, dword [ebp - 0x174]
add edx, 1
cmp edx, dword [ebp - 0x180]
jne 0x102dac8f
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x3425], 1
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x3430], 0
jmp 0x102dae97
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x3430], 1
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x3425], 1
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x3430]
test edx, edx
je 0x102dae97
movss xmm0, dword [0x10328a54]
movss dword [ebp - 0x1b4], xmm0
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x184], eax
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
add eax, 0xc
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 8], ecx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x184]
call fcn.10285590
jmp 0x102dad5a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jne 0x102dad6e
mov dword [ebp - 0x1ac], 1
jmp 0x102dad78
mov dword [ebp - 0x1ac], 0
mov al, byte [ebp - 0x1ac]
mov byte [ebp - 0x16d], al
movzx ecx, byte [ebp - 0x16d]
test ecx, ecx
jne 0x102dad9b
mov dword [ebp - 0x1b0], 1
jmp 0x102dada5
mov dword [ebp - 0x1b0], 0
mov dl, byte [ebp - 0x1b0]
mov byte [ebp - 0x16e], dl
movzx eax, byte [ebp - 0x16e]
test eax, eax
je 0x102dae84
lea ecx, [ebp - 0xc]
call fcn.102dc880
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp + 0xc]
je 0x102dae0f
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ecx + 0x1c]
test edx, edx
je 0x102dae14
jmp 0x102dad51
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x24c]
movzx ecx, byte [eax + 0x3430]
test ecx, ecx
jne 0x102dae7f
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x3431]
test eax, eax
jne 0x102dae7f
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx]
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
movss xmm0, dword [ecx + 0x90]
movss dword [ebp - 0x1b4], xmm0
jmp 0x102dae84
jmp 0x102dad51
mov edx, dword [ebp + 0xc]
movss xmm0, dword [ebp - 0x1b4]
movss dword [edx + 0x90], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret 8