Function at 0x4119b4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov ebx, ecx
push edi
lea esi, [ebx + 0xcc]
xor edi, edi
cmp dword [esi], edi
je 0x411c4a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411c4a
mov esi, dword [esi]
lea ecx, [ebp - 8]
push ecx
push 0x4431a0
mov dword [ebp - 8], edi
mov eax, dword [esi]
push esi
call dword [eax]
test eax, eax
jl 0x411c3d
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebx + 0x64]
call fcn.00401648
test al, al
jne 0x411a29
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x411a92
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
lea edi, [ebx + 0xa4]
lea esi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x20
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
call fcn.00411930
cmp dword [ebx + 0xc4], 0
je 0x411a72
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0x20
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
lea ecx, [ebx + 0x84]
push eax
call fcn.00411930
lea esi, [ebx + 0xb4]
cmp dword [esi], 0
jne 0x411a90
push 0xc
lea ecx, [ebx + 0x64]
call fcn.00410bd6
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esi], eax
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub edx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0xb4], 0x20
jne 0x411c51
cmp dword [ebx + 0xc4], edi
jne 0x411aff
lea esi, [ebx + 0x64]
cmp dword [esi + 0x1c], edi
je 0x411ae2
xor eax, eax
jmp 0x411ae5
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x1c]
shl ecx, 2
push ecx
push edi
push eax
call fcn.0042d770
add esp, 0xc
jmp 0x411c94
cmp dword [ebx + 0x80], edi
je 0x411b0b
xor esi, esi
jmp 0x411b0e
mov esi, dword [ebx + 0x70]
cmp dword [ebx + 0xa0], edi
jne 0x411b1c
mov edi, dword [ebx + 0x90]
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push 0
push esi
call fcn.0042d770
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push 0xff
push edi
call fcn.0042d770
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
add esp, 0x18
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x64]
call fcn.00410bd6
push eax
push 0x20
push dword [ebp - 0x14]
call sub.ole32.dll_OleDraw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x84]
call fcn.00410bd6
push eax
push 0x20
push dword [ebp - 0x14]
call sub.ole32.dll_OleDraw
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
jle 0x411bf6
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x1c], 0
jle 0x411beb
mov al, byte [esi]
mov byte [ebp - 4], al
inc esi
mov al, byte [esi]
mov byte [ebp - 2], al
inc esi
mov al, byte [esi]
mov byte [ebp - 1], al
mov al, byte [edi]
inc esi
inc esi
inc edi
mov cl, byte [edi]
sub cl, byte [ebp - 2]
mov byte [ebp - 3], al
inc edi
mov al, byte [edi]
sub al, byte [ebp - 1]
movzx ecx, cl
movzx eax, al
add eax, ecx
mov cl, byte [ebp - 3]
sub cl, byte [ebp - 4]
push 3
movzx ecx, cl
add eax, ecx
cdq
pop ecx
idiv ecx
inc edi
or cl, 0xff
inc edi
sub cl, al
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov byte [esi - 1], cl
cmp eax, dword [ebp - 0x1c]
jl 0x411b99
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x411b8f
xor edi, edi
xor eax, eax
cmp dword [ebx + 0xb4], 0x20
lea ecx, [ebx + 0x64]
setne al
mov byte [ebp - 0xc], 0
mov byte [ebp - 9], 1
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0xff
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.00410bd6
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [ebx + 4]
call dword [0x458354]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x411c4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0xcc0020
push edi
push edi
push eax
push dword [ebp - 0x40]
lea esi, [ebx + 0x64]
push dword [ebp - 0x44]
mov ecx, esi
push edi
push edi
mov dword [ebp - 0x14], eax
call fcn.00410bd6
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00410bd6
push eax
push 0x20
push dword [ebp - 0x14]
call sub.ole32.dll_OleDraw
jmp 0x411bf8