Function at 0x40446a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [esp], 0
call sym._time_1
mov dword [esp], eax
call sym._srand
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetDC]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
jmp 0x4046e2
call sym._rand
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
movzx ebx, al
call sym._rand
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
movzx eax, al
shl eax, 8
or eax, ebx
mov ebx, eax
call sym._rand
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
movzx eax, al
shl eax, 0x10
or eax, ebx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
call sym._rand
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0xa
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePen]
call eax
sub esp, 0xc
mov dword [ebp - 0x28], eax
call sym._rand
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
call sym._rand
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
xor dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov dword [ebp - 0x34], eax
call sym._rand
cdq
idiv dword [ebp - 0x1c]
mov ebx, edx
call sym._rand
cdq
idiv dword [ebp - 0x18]
mov eax, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_MoveToEx]
call eax
sub esp, 0x10
call sym._rand
cdq
idiv dword [ebp - 0x1c]
mov ebx, edx
call sym._rand
cdq
idiv dword [ebp - 0x18]
mov eax, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_LineTo]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0x30]
lea edx, [eax + 0xc8]
mov eax, dword [ebp - 0x2c]
add eax, 0xc8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_Ellipse]
call eax
sub esp, 0x14
call sym._rand
cdq
idiv dword [ebp - 0x18]
mov eax, edx
add eax, 0x64
mov dword [ebp - 0x44], eax
call sym._rand
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
add eax, 0x64
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
add eax, 0xa
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
add eax, 0xa
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 0
jmp 0x4046d8
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_InvertRect]
call eax
sub esp, 8
mov eax, dword [ebp - 0x40]
sub eax, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
sub eax, 0x14
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 0x14
mov dword [ebp - 0x38], eax
add dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0x13
jle 0x404699
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 9
jle 0x4044cd
nop
nop
mov ebx, dword [ebp - 4]
leave
ret