Function at 0x484308
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa8]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x484b98
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0xa0]
jge 0x48436a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x9c]
jge 0x484388
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0xa8], 0
jge 0x484399
xor eax, eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa4], 0
jge 0x4843aa
xor eax, eax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0x69], 0xff
mov byte [ebp - 0x71], 0xff
lea eax, [ebp - 0xb8]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
je 0x4843e5
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00418474
lea eax, [ebp - 0xb8]
mov dl, 1
call fcn.004e80ac
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xb8]
mov dl, 1
call fcn.004e80c0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
mov edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x34]
cmp eax, edx
jge 0x48442d
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
mov edx, dword [ebp - 0xb8]
add edx, dword [ebp - 0x30]
cmp eax, edx
jge 0x484455
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
sub eax, dword [ebp - 0xb8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], 0
jl 0x484b98
cmp dword [ebp - 0x30], 0
jl 0x484b98
mov eax, dword [ebp - 8]
call fcn.00405a40
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x484b98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x484495
je 0x484828
jmp 0x484b98
mov byte [ebp - 0x75], 0xff
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jl 0x484b98
inc eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xa8]
xor edx, edx
call fcn.004e80c0
imul dword [ebp - 0x80]
mov ecx, 0x64
cdq
idiv ecx
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
jne 0x484544
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x9c]
call fcn.0042b9dc
dec eax
mov dword [ebp - 0x8c], eax
jmp 0x48456d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x9c]
call fcn.0042b9dc
mov edx, eax
dec edx
mov eax, dword [ebp - 0x8c]
call fcn.0042b9dc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x88]
test eax, eax
jle 0x484814
xor eax, eax
mov al, byte [ebp - 0x64]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x63]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x3c]
wait
xor eax, eax
mov al, byte [ebp - 0x62]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
je 0x4845d9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp eax, dword [ebp - 0x8c]
jge 0x4845f6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x9c]
dec eax
call fcn.0042b9dc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x484b98
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
lea eax, [ebp - 0xa8]
xor edx, edx
call fcn.004e80ac
add eax, dword [ebp - 0xa8]
pop edx
call fcn.0042b9dc
dec eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x68]
xor edx, edx
mov dl, byte [ebp - 0x64]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x24]
call fcn.004031f4
fstp qword [ebp - 0x48]
wait
xor eax, eax
mov al, byte [ebp - 0x67]
xor edx, edx
mov dl, byte [ebp - 0x63]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x24]
call fcn.004031f4
fstp qword [ebp - 0x50]
wait
xor eax, eax
mov al, byte [ebp - 0x66]
xor edx, edx
mov dl, byte [ebp - 0x62]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x24]
call fcn.004031f4
fstp qword [ebp - 0x58]
wait
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
sub edx, eax
jl 0x484814
inc edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x90], eax
fld dword [ebp - 0x38]
call fcn.00402fe4
mov byte [ebp - 0x6a], al
fld dword [ebp - 0x3c]
call fcn.00402fe4
mov byte [ebp - 0x6b], al
fld dword [ebp - 0x40]
call fcn.00402fe4
mov byte [ebp - 0x6c], al
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.0042990c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x484727
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x90]
cdq
idiv dword [ebp - 0x34]
add edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 0x10]
call fcn.0042990c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484731
mov ebx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa0]
dec esi
sub esi, ebx
jl 0x4847e4
inc esi
mov eax, ebx
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x70], eax
xor edx, edx
mov dl, byte [ebp - 0x6e]
mov al, byte [ebp - 0x6a]
xor ecx, ecx
mov cl, al
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp + 8]
imul edx, ecx
and eax, 0xff
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [ebp - 0x72], dl
xor edx, edx
mov dl, byte [ebp - 0x6f]
mov al, byte [ebp - 0x6b]
xor ecx, ecx
mov cl, al
sub edx, ecx
xor ecx, ecx
mov cl, byte [ebp + 8]
imul edx, ecx
and eax, 0xff
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [ebp - 0x73], dl
xor eax, eax
mov al, byte [ebp - 0x70]
xor edx, edx
mov dl, byte [ebp - 0x6c]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6c]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x74], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x74]
mov dword [eax + ebx*4], edx
inc ebx
dec esi
jne 0x484747
fld dword [ebp - 0x38]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x38]
wait
fld dword [ebp - 0x3c]
fadd qword [ebp - 0x50]
fstp dword [ebp - 0x3c]
wait
fld dword [ebp - 0x40]
fadd qword [ebp - 0x58]
fstp dword [ebp - 0x40]
wait
inc dword [ebp - 0x90]
dec dword [ebp - 0x98]
jne 0x4846c2
inc dword [ebp - 0x18]
dec dword [ebp - 0x94]
jne 0x4844be
jmp 0x484b98
lea eax, [ebp - 0xa8]
xor edx, edx
call fcn.004e80ac
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fld dword [0x484ba4]
call fcn.004031f4
fstp qword [ebp - 0x60]
wait
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.0042990c
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x7c]
test eax, eax
jl 0x484a47
inc eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], esi
fild dword [ebp - 0x80]
fmul qword [ebp - 0x60]
fild dword [ebp - 0x84]
faddp st(1)
call fcn.00402fe4
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
jne 0x4848ed
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0xa0]
call fcn.0042b9dc
mov esi, eax
dec esi
jmp 0x48490e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0xa0]
call fcn.0042b9dc
mov edx, eax
dec edx
mov eax, esi
call fcn.0042b9dc
mov esi, eax
mov eax, esi
sub eax, dword [ebp - 0x84]
test eax, eax
jle 0x484a38
mov eax, esi
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
xor eax, eax
mov al, byte [ebp - 0x64]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x63]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x3c]
wait
xor eax, eax
mov al, byte [ebp - 0x62]
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fstp dword [ebp - 0x40]
wait
xor eax, eax
mov al, byte [ebp - 0x68]
xor edx, edx
mov dl, byte [ebp - 0x64]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x20]
call fcn.004031f4
fstp qword [ebp - 0x48]
wait
xor eax, eax
mov al, byte [ebp - 0x67]
xor edx, edx
mov dl, byte [ebp - 0x63]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x20]
call fcn.004031f4
fstp qword [ebp - 0x50]
wait
xor eax, eax
mov al, byte [ebp - 0x66]
xor edx, edx
mov dl, byte [ebp - 0x62]
sub eax, edx
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
fild dword [ebp - 0x20]
call fcn.004031f4
fstp qword [ebp - 0x58]
wait
mov ebx, dword [ebp - 0x84]
mov eax, esi
sub eax, ebx
jl 0x484a38
inc eax
mov dword [ebp - 0x98], eax
fld dword [ebp - 0x38]
call fcn.00402fe4
mov byte [ebp - 0x6a], al
fld dword [ebp - 0x3c]
call fcn.00402fe4
mov byte [ebp - 0x6b], al
fld dword [ebp - 0x40]
call fcn.00402fe4
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x6c]
mov dword [eax + ebx*4], edx
fld dword [ebp - 0x38]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x38]
wait
fld dword [ebp - 0x3c]
fadd qword [ebp - 0x50]
fstp dword [ebp - 0x3c]
wait
fld dword [ebp - 0x40]
fadd qword [ebp - 0x58]
fstp dword [ebp - 0x40]
wait
inc ebx
dec dword [ebp - 0x98]
jne 0x4849e7
inc dword [ebp - 0x18]
dec dword [ebp - 0x94]
jne 0x484880
mov eax, dword [ebp - 0xa4]
inc eax
mov edx, dword [ebp - 0x9c]
dec edx
sub edx, eax
jl 0x484b98
inc edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.0042990c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x484aae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x88]
cdq
idiv dword [ebp - 0x34]
add edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 0x10]
call fcn.0042990c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484ab8
mov ebx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
dec eax
sub eax, ebx
jl 0x484b86
inc eax
mov dword [ebp - 0x98], eax
mov eax, ebx
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov cl, byte [ebp - 0x6e]
mov dl, byte [ebp - 0x6a]
mov esi, edx
and esi, 0xff
sub ecx, esi
xor eax, eax
mov al, byte [ebp + 8]
imul ecx, eax
and edx, 0xff
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov byte [ebp - 0x6a], cl
xor ecx, ecx
mov cl, byte [ebp - 0x6f]
mov dl, byte [ebp - 0x6b]
mov esi, edx
and esi, 0xff
sub ecx, esi
imul ecx, eax
and edx, 0xff
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov byte [ebp - 0x6b], cl
xor ecx, ecx
mov cl, byte [ebp - 0x70]
mov dl, byte [ebp - 0x6c]
mov esi, edx
and esi, 0xff
sub ecx, esi
imul ecx, eax
xor eax, eax
mov al, dl
shl eax, 8
add ecx, eax
shr ecx, 8
and cl, 0xff
mov byte [ebp - 0x6c], cl
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x6c]
mov dword [eax + ebx*4], edx
inc ebx
dec dword [ebp - 0x98]
jne 0x484ad4
inc dword [ebp - 0x88]
dec dword [ebp - 0x94]
jne 0x484a6a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc