Function at 0x445ca0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x50bc3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x74]
push edi
mov edi, 1
mov eax, dword [eax]
mov dword [esp + 0x34], ecx
mov ebp, edi
mov ecx, esi
shl ebp, cl
push str._DCTDecode
push eax
mov dword [esp + 0x18], edx
dec ebp
call fcn.004a1876
add esp, 8
mov dword [esp + 0x24], edi
test eax, eax
sete cl
and ecx, 0xff
mov dword [esp + 0x1c], edi
mov dword [esp + 0x78], ecx
je 0x445d75
mov eax, dword [esp + 0x54]
lea eax, [eax + eax*2 + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, dword [esp + 0x58]
shl eax, 2
cmp eax, 0x989680
mov dword [esp + 0x6c], eax
jle 0x445d75
fild dword [esp + 0x6c]
push ecx
fdivr dword [0x51601c]
fmul dword [0x516018]
fstp dword [esp]
call fcn.0042ea80
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x7c]
push ecx
push 0x64
push eax
push edx
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0x64
call fcn.00452970
add esp, 0x1c
jmp 0x445d79
mov ebx, dword [esp + 0x70]
push 0x1c
call fcn.004dc4af
add esp, 4
mov dword [esp + 0x6c], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x4c], ecx
je 0x445dac
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push 0x18
push ecx
push edx
mov ecx, eax
call fcn.00442590
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x445db2
mov dword [esp + 0x20], ecx
mov edi, ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
imul eax, ecx
imul eax, esi
add eax, 7
mov dword [esp + 0x4c], 0xffffffff
cdq
and edx, 7
add eax, edx
mov edx, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x6c], edx
xor edx, edx
mov dword [esp + 0x40], edi
sar eax, 3
cmp dword [esp + 0x78], edx
mov dword [esp + 0x18], eax
je 0x445e4f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edx
push eax
push ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x40]
push 1
lea eax, [esp + 0x34]
push edx
push eax
push ecx
push ebx
call fcn.00452ae0
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x445e34
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push ebx
call fcn.004dc4d8
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x70], edx
mov ebx, edx
mov edx, dword [esp + 0x68]
test edx, edx
je 0x445fc1
mov edx, dword [esp + 0x34]
cmp edx, 2
je 0x445e6d
cmp edx, 5
jne 0x445fc1
cmp esi, 8
jne 0x445ec0
mov edx, dword [esp + 0x58]
xor eax, eax
xor ebp, ebp
test edx, edx
jle 0x446248
inc edi
xor esi, esi
test ecx, ecx
jle 0x445eac
mov edx, edi
mov cl, byte [eax + ebx]
inc eax
mov byte [edx + 1], cl
add edx, 3
mov cl, byte [eax + ebx]
inc eax
mov byte [edx - 3], cl
mov cl, byte [eax + ebx]
inc eax
mov byte [edx - 4], cl
mov ecx, dword [esp + 0x54]
inc esi
cmp esi, ecx
jl 0x445e8b
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
inc ebp
add edi, esi
cmp ebp, edx
jl 0x445e83
jmp 0x446248
mov edx, dword [esp + 0x58]
mov dword [esp + 0x64], 0
test edx, edx
jle 0x446248
inc edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x60], edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x78], edi
jle 0x445f8b
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
push esi
push edi
push edx
call fcn.00445c10
and eax, 0xff
add edi, esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
push esi
push edi
push eax
call fcn.00445c10
mov ecx, dword [esp + 0x8c]
add edi, esi
push esi
and eax, 0xff
push edi
push ecx
mov dword [esp + 0x8c], eax
call fcn.00445c10
and eax, 0xff
add esp, 0x24
mov ecx, eax
add edi, esi
shl eax, 8
sub eax, ecx
mov ecx, dword [esp + 0x68]
cdq
idiv ebp
add ebx, 3
mov byte [ebx - 4], al
mov eax, ecx
shl eax, 8
sub eax, ecx
mov ecx, dword [esp + 0x38]
cdq
idiv ebp
mov byte [ebx - 3], al
mov eax, ecx
shl eax, 8
sub eax, ecx
cdq
idiv ebp
mov byte [ebx - 2], al
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x445eef
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
inc edi
add edx, eax
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
add edi, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x58]
cmp edx, edi
jl 0x445edd
jmp 0x446248
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.004dc4af
add esp, 4
mov ebx, eax
cmp esi, 8
mov dword [esp + 0x30], ebx
jne 0x4460f6
mov eax, dword [esp + 0x58]
xor esi, esi
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x44623b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], esi
test ecx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
jle 0x4460d2
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x446061
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov esi, ebx
sub ecx, eax
sub esi, eax
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x70]
xor edx, edx
add eax, 4
mov dl, byte [ebx + ebp]
inc ebp
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x74]
fild dword [esp + 0x34]
dec edx
mov dword [esp + 0x74], edx
fmul dword [ecx + eax - 4]
fadd dword [eax - 4]
fstp dword [esi + eax - 4]
jne 0x44602e
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push ebx
call fcn.004421b0
fld dword [esp + 0x78]
fmul dword [0x515cf0]
call fcn.004a1790
fld dword [esp + 0x68]
fmul dword [0x515cf0]
mov byte [esi + edi], al
call fcn.004a1790
fld dword [esp + 0x14]
fmul dword [0x515cf0]
mov byte [esi + edi + 1], al
call fcn.004a1790
mov byte [esi + edi + 2], al
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
add esi, 3
inc eax
mov dword [esp + 0x24], esi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x446014
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
add esi, edx
mov edx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x2c], esi
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x446000
jmp 0x44623b
mov eax, dword [esp + 0x58]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x34], edx
jle 0x44623b
mov ecx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
jmp 0x44611e
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
jle 0x44620a
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x446199
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov edx, eax
sub ebp, edi
sub ebx, edi
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
push esi
push eax
push ecx
call fcn.00445c10
and eax, 0xff
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
fild dword [esp + 0x48]
add esp, 0xc
add edx, esi
mov dword [esp + 0x74], edx
fmul dword [edi + ebp]
add edi, 4
dec eax
mov dword [esp + 0x2c], eax
fadd dword [edi - 4]
fstp dword [edi + ebx - 4]
jne 0x44614c
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
lea edx, [esp + 0x78]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x68]
push ebx
call fcn.004421b0
fld dword [esp + 0x78]
fmul dword [0x515cf0]
call fcn.004a1790
fld dword [esp + 0x68]
mov ebp, dword [esp + 0x28]
fmul dword [0x515cf0]
mov byte [edi + ebp], al
call fcn.004a1790
fld dword [esp + 0x14]
fmul dword [0x515cf0]
mov byte [edi + ebp + 1], al
call fcn.004a1790
mov byte [edi + ebp + 2], al
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
add ebp, 3
inc eax
mov dword [esp + 0x28], ebp
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x446132
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x6c]
inc edx
add eax, ebp
mov ebp, dword [esp + 0x58]
cmp edx, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jl 0x44611c
push ebx
call fcn.004dc4d8
mov ebx, dword [esp + 0x74]
add esp, 4
push ebx
call fcn.004dc4d8
mov ecx, dword [esp + 0x60]
add esp, 4
call fcn.00442080
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret