Function at 0x407238
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, 0x12
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x175]
mov esi, 0x42bfce
push ebx
sub esp, 0x17c
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x151]
mov esi, 0x42bfe0
mov ecx, 0x39
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x40726a
xor edi, edi
xor ecx, ecx
mov esi, 0x38
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div esi
movzx eax, byte [ebp + edx - 0x151]
movzx edx, bl
add eax, edx
add eax, edi
movzx edi, al
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + ecx - 0x118], al
inc ecx
mov byte [ebp + edi - 0x118], bl
cmp ecx, 0x100
jne 0x407282
mov edx, 0x42a0c0
mov ecx, 0xce5
movzx eax, byte [edx]
inc edx
test al, al
je 0x4072fe
add ecx, eax
cmp ecx, 0x25fc
jbe 0x4072c9
mov eax, dword [0x4291ac]
and eax, 0x29b28bca
mov dword [0x4292dc], eax
mov dword [esp + 4], str.The_session_has_been_cancelled.
mov dword [esp], str.The_session_has_been_cancelled.
call fcn.004123f4
mov eax, dword [0x4292dc]
xor edi, edi
xor esi, esi
xor ebx, ebx
and eax, 0xc1178c62
mov dword [0x4292dc], eax
or eax, 0xe5249bd6
mov dword [0x4291ac], eax
mov dword [esp + 4], str.SdbpGetStringTableItemFromStringRef
mov dword [esp], str.SdbpGetStringTableItemFromStringRef
call fcn.004123f4
inc ebx
mov edx, str.Monitor_descriptor_contains_an_invalid_detailed_timing_block.
mov ecx, 0x1871
movzx ebx, bl
movsx eax, byte [edx]
inc edx
test al, al
je 0x407360
add ecx, eax
cmp ecx, 0x1b3f
jbe 0x40733f
mov eax, dword [0x4292dc]
sub eax, 0x64743c0c
mov dword [0x4291ac], eax
mov eax, dword [0x4291ac]
mov edx, eax
sub eax, 0x6c7f9d0d
and edx, 0xce878aa5
mov dword [0x4291ac], eax
mov dword [0x4292dc], edx
call fcn.004125f4
imul eax, dword [0x4292dc], 0x81d5c0da
mov dword [0x4291ac], eax
mov dword [esp], 0x1411
call dword [sym.imp.USER32.dll_IsZoomed]
push eax
mov al, byte [ebp + ebx - 0x118]
lea edx, [eax + esi]
movzx esi, dl
mov dl, byte [ebp + esi - 0x118]
mov byte [ebp + ebx - 0x118], dl
imul edx, dword [0x4292dc], 0x61dce56d
mov byte [ebp + esi - 0x118], al
add al, byte [ebp + ebx - 0x118]
movzx eax, al
mov al, byte [ebp + eax - 0x118]
xor al, byte [ebp + edi - 0x175]
mov dword [0x4291ac], edx
lea edx, [ebp - 0x163]
mov byte [ebp + edi - 0x163], al
inc edi
cmp edi, 0x12
jne 0x407331
mov byte [ebp - 0x151], 0
mov dword [esp + 0xc], 0x12
mov dword [esp + 8], edx
mov dword [esp + 4], 0x1194
mov dword [esp], str.wHdKc2vIoe6C22fd9tafpjPAFkY0Ok9XVgKFp1QjwLwk6saNxPRBmCX4c869t8hmsm02e53gMxEGrJH6cs1JsEtPjZpp1TyZTXco5SN4W4843DP8eYLzDVTWAYMZvHubuxMflv3ZpDMVpZgIxCCuSTgii41l8CIyj0638PuUOU9kWS0yaKC0_PY1YBlrexRBJC3y7Wh3obqnpht7IDXLBjuPXRSGZF30fLLgwCvDH0NFGvRnOlSBZiFjima6lFdEteGX1ID0X4BAZ9wx5oDfUgZrflG_xzqFW4B4K5RxrK4p77jY5IZeCOc3oXbpMkMFsBG13PeDsP3FvOgS2gUZC7usxkQpuHCszQ60BwT7zA840y0C5g2mvEwAGGnceCVKzFyNEFazc7jE3HIC2sRmCQcK9Zke8LhDPtnmRYO9qNCj5NDW41iHNPyKDV2uUdoWuOvlVPSjtRebC04KNdaU5El1xuUUCYarmBWjD4VNv03ROxuy8S6VGlHdnEM2do6WOpDmdyQcnK9fRJNZCVmioXq33GNAhfjd4RZYFZq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