Function at 0x48e880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, 6
test eax, eax
mov dword [ebp - 0x458], 0
push esi
cmovns edx, eax
mov dword [ebp - 0x438], edx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x440], edi
test edx, edx
js 0x48e8fd
cmp edx, 0x400
jb 0x48e8fd
push 0x160f
lea eax, [edx + 0x20]
push str...........SourceLibraryMainDxChar.cpp
push eax
call fcn.0045a440
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x458], esi
test esi, esi
jne 0x48e8f5
mov dword [ebp - 0x438], 0x400
jmp 0x48e903
mov dword [ebp - 0x42c], esi
jmp 0x48e90f
mov dword [ebp - 0x438], edx
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x42c], ecx
movsd xmm1, qword [ebp + 8]
xorps xmm0, xmm0
comisd xmm0, xmm1
movsd qword [ebp - 0x468], xmm1
jbe 0x48e939
xorps xmm1, xmmword [0x6b8d60]
movsd qword [ebp - 0x468], xmm1
movsd qword [ebp + 8], xmm1
mov dword [ebp - 0x454], 0
fld1
fld qword [ebp + 8]
xor esi, esi
fxch st(1)
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x44c], esi
call fcn.005c8ee0
movsd xmm0, qword [ebp - 0x468]
fstp qword [ebp - 0x448]
movsd xmm1, qword [ebp - 0x448]
subsd xmm0, xmm1
movsd qword [ebp - 0x460], xmm1
movsd qword [ebp - 0x448], xmm0
movsd qword [ebp - 0x434], xmm0
movsd xmm0, qword [0x6b8538]
comisd xmm0, xmmword [ebp - 0x468]
jbe 0x48e9bc
movsd xmm2, qword [0x6b9fd8]
mov esi, 1
mov byte [edi], 0x30
mov dword [ebp - 0x43c], esi
jmp 0x48ea9c
mov esi, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x44c]
nop dword [eax + eax]
fld qword [ebp - 0x434]
mov edi, ecx
fld qword [0x6b9fd8]
call fcn.005c8ee0
mov ecx, dword [ebp - 0x44c]
fnstcw word [ebp - 0x426]
movzx eax, word [ebp - 0x426]
or eax, 0xc00
mov dword [ebp - 0x430], eax
movsd xmm1, qword [ebp - 0x448]
fldcw word [ebp - 0x430]
movsd xmm2, qword [0x6b9fd8]
fistp dword [ebp - 0x430]
mov al, byte [ebp - 0x430]
mov byte [ecx + esi], al
inc ecx
movzx eax, al
fldcw word [ebp - 0x426]
mov dword [ebp - 0x44c], ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd xmm0, qword [0x6b8538]
divsd xmm1, xmm2
comisd xmm1, xmm0
movsd qword [ebp - 0x448], xmm1
movsd qword [ebp - 0x434], xmm1
jae 0x48e9d0
mov esi, dword [ebp - 0x43c]
test edi, edi
js 0x48ea94
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x440]
nop
mov al, byte [edi + ecx]
add al, 0x30
mov byte [edx + esi], al
inc esi
sub edi, 1
jns 0x48ea80
mov dword [ebp - 0x43c], esi
movsd xmm1, qword [ebp - 0x460]
cmp dword [ebp - 0x438], 0
mov edi, dword [ebp - 0x42c]
mov dword [ebp - 0x428], 0
movsd qword [ebp - 0x450], xmm0
jle 0x48eb74
mov esi, dword [ebp - 0x428]
nop word [eax + eax]
divsd xmm0, xmm2
mulsd xmm1, xmm2
movsd qword [ebp - 0x450], xmm0
movsd qword [ebp - 0x434], xmm1
fld qword [ebp - 0x434]
fld qword [0x6b9fd8]
movsd qword [ebp - 0x460], xmm1
call fcn.005c8ee0
fnstcw word [ebp - 0x426]
movzx eax, word [ebp - 0x426]
or eax, 0xc00
mov dword [ebp - 0x430], eax
movsd xmm1, qword [ebp - 0x460]
fldcw word [ebp - 0x430]
movsd xmm2, qword [0x6b9fd8]
fistp dword [ebp - 0x430]
mov al, byte [ebp - 0x430]
mov byte [esi + edi], al
inc esi
movzx eax, al
fldcw word [ebp - 0x426]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x450]
cmp esi, dword [ebp - 0x438]
jl 0x48ead0
mov dword [ebp - 0x428], esi
mov esi, dword [ebp - 0x43c]
cmp dword [ebp - 0x454], 0
jne 0x48ebe8
mulsd xmm1, qword [0x6b9fd8]
movsd qword [ebp - 0x448], xmm1
fld qword [ebp - 0x448]
fld qword [0x6b9fd8]
call fcn.005c8ee0
fstp qword [ebp - 0x448]
movsd xmm0, qword [ebp - 0x448]
comisd xmm0, xmmword [0x6bcbe0]
jbe 0x48ebe8
movsd xmm0, qword [ebp - 0x450]
addsd xmm0, qword [ebp - 0x468]
mov edi, dword [ebp - 0x440]
mov dword [ebp - 0x454], 1
movsd qword [ebp - 0x468], xmm0
movsd qword [ebp + 8], xmm0
jmp 0x48e943
cmp dword [ebp - 0x438], 0
jne 0x48ebf7
cmp dword [ebp + 0x10], 0
je 0x48ec28
mov eax, dword [ebp - 0x440]
xor ecx, ecx
mov edx, dword [ebp - 0x428]
mov byte [eax + esi], 0x2e
inc esi
test edx, edx
jle 0x48ec28
nop
mov al, byte [ecx + edi]
inc ecx
mov edx, dword [ebp - 0x440]
add al, 0x30
mov byte [edx + esi], al
inc esi
cmp ecx, dword [ebp - 0x428]
jl 0x48ec10
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x48ec3b
push eax
call fcn.0045a740
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005c33e1
mov esp, ebp
pop ebp
ret