Function at 0x4241d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x430040]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
push 0x2c
mov dword [esp + 0x1c], 0
call fcn.00407376
add esp, 4
mov esi, 0x27
xor ecx, ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0x14], eax
mov eax, ecx
mov byte [esp + ecx + 0x48], cl
xor edx, edx
div esi
mov al, byte [edx + 0x47c190]
mov byte [esp + ecx + 0x148], al
inc ecx
cmp ecx, 0x100
jl 0x424218
xor esi, esi
xor edi, edi
nop dword [eax]
mov dl, byte [esp + esi + 0x48]
movzx eax, byte [esp + esi + 0x148]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x424263
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x48]
mov byte [esp + esi + 0x48], al
inc esi
mov byte [esp + edi + 0x48], dl
cmp esi, 0x100
jl 0x424240
movsd xmm0, qword [0x42cd38]
xor ebx, ebx
xor eax, eax
movsd qword [esp + 0x38], xmm0
xor esi, esi
nop dword [eax]
inc ebx
and ebx, 0x800000ff
jns 0x4242a1
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x48]
mov byte [esp + 0xf], cl
movzx ecx, cl
add eax, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
and eax, 0x800000ff
jns 0x4242c4
dec eax
or eax, 0xffffff00
inc eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0
push eax
push 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00404ab0
mov edi, dword [esp + 0x1c]
movsd xmm1, qword [edi]
call fcn.00401d90
mov dword [esp + 0x2c], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov ebx, dword [ecx + 4]
mov ecx, ebx
mov dword [esp + 0x44], ebx
mov edx, dword [ebx]
call dword [edx + 4]
lea eax, [esp + 0x40]
push eax
call fcn.004035e0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x28], al
test ebx, ebx
je 0x42434b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x42434b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
call fcn.00404740
mov ecx, dword [esp + 0x2c]
call fcn.004033b0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
mov al, byte [esp + ecx + 0x48]
mov byte [esp + ebx + 0x48], al
mov al, byte [esp + 0xf]
mov byte [esp + ecx + 0x48], al
movzx eax, byte [esp + ebx + 0x48]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
movzx eax, al
sub ecx, edi
and ecx, 0xfffffff8
mov al, byte [esp + eax + 0x48]
xor byte [esi + 0x430ae0], al
mov eax, edi
cmp ecx, 0x1000
jb 0x4243b2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42441c
push ecx
push edi
call fcn.004073a6
inc esi
mov dword [esp + 0x24], 0
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp esi, 0x4b200
jge 0x4243e6
mov eax, dword [esp + 0x10]
jmp 0x424290
mov eax, dword [esp + 0x14]
push dword [eax + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, eax
call fcn.00404c70
push 0x2c
push dword [esp + 0x18]
call fcn.004073a6
mov ecx, dword [esp + 0x254]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407363
mov esp, ebp
pop ebp
ret
call fcn.0040f1cf
int3