Function at 0x4252d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x4b447b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6e4
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x70a]
xor ebx, ebx
and eax, 0xffff
mov dword [esp + 0x14], ebx
cmp eax, 0x46
ja case.0x42533a.8
xor ecx, ecx
mov cl, byte [eax + 0x42581c]
jmp dword [ecx*4 + 0x4257f8]
mov edx, dword [ebp + 0x79f71d]
lea eax, [esp + 0xbc]
push 0x100
push eax
push 0x2c
lea ecx, [esp + 0x718]
dec edx
push ebx
push ecx
mov dword [ebp + 0x79f721], edx
call fcn.00402750
add esp, 0x14
push ebx
push ebx
jmp 0x4257c9
mov eax, dword [ebp + 0x79f71d]
lea ecx, [esp + 0xbc]
push 0x100
push ecx
push 0x2c
lea edx, [esp + 0x718]
dec eax
push ebx
push edx
mov dword [ebp + 0x79f721], eax
call fcn.00402750
lea eax, [esp + 0x50]
push 0x40
push eax
push 0x2c
lea ecx, [esp + 0x72c]
push 1
push ecx
call fcn.00402750
add esp, 0x28
lea edx, [esp + 0x3c]
lea eax, [esp + 0xbc]
push edx
push ebx
push eax
jmp 0x4257d1
mov ecx, dword [ebp + 0x79f71d]
lea ebx, [eax - 2]
dec ecx
mov dword [esp + 0x24], 0x4d0814
sar ebx, 1
mov dword [ebp + 0x79f721], ecx
mov dword [esp + 0x28], 0x4d081c
mov dword [esp + 0x2c], 0x4d0810
mov dword [esp + 0x30], 0x4d0818
mov dword [esp + 0x34], 0x4d080c
mov dword [esp + 0x38], 0x4d0820
mov edi, dword [esp + ebx*8 + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x80]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x2c
lea ecx, [esp + 0x718]
push 0
push ecx
call fcn.00402750
lea edx, [esp + 0xd2]
push 4
push edx
push 0x2c
lea eax, [esp + 0x72c]
push 1
push eax
call fcn.00402750
lea ecx, [esp + 0x64]
push 0x40
push ecx
push 0x2c
lea edx, [esp + 0x740]
push 2
push edx
call fcn.00402750
mov edi, dword [esp + ebx*8 + 0x64]
add esp, 0x3c
lea edx, [esp + 0xbc]
jmp 0x425797
mov eax, dword [esp + 0x70c]
mov word [esp + 0x18], 0x67
and eax, 0xff
mov word [esp + 0x1a], 0x68
mov word [esp + 0x1c], 0x85
mov word [esp + 0x1e], 0x86
lea esi, [eax + 1]
mov word [esp + 0x20], 0x84
test esi, esi
mov dword [esp + 0x10], eax
jle 0x425500
lea edi, [ebp + 0x79f34f]
lea eax, [edi + 0xa0]
lea ecx, [ebp + 0xaa743b]
push eax
push edi
push ebx
call fcn.00409330
inc ebx
add edi, 0x10
cmp ebx, esi
jl 0x4254e0
mov eax, dword [esp + 0x10]
xor edx, edx
lea ecx, [ebp + 0xaa743b]
mov dx, word [esp + eax*2 + 0x18]
mov dword [ebp + 0xaa8897], esi
mov dword [ebp + 0xaa889f], 0
mov eax, dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
call fcn.004092f0
xor edi, edi
test esi, esi
jle 0x425552
lea ebx, [ebp + 0x79cec3]
add ebp, 0xaa743f
push ebp
push edi
mov ecx, ebx
call fcn.00423ae0
inc edi
add ebp, 0x100
cmp edi, esi
jl 0x42553e
mov dword [esp + 0x14], 1
jmp case.0x42533a.8
mov eax, dword [esp + 0x70c]
mov ecx, dword [esp + 0x70d]
mov edx, dword [esp + 0x70e]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
add eax, ecx
mov dword [esp + 0x14], 1
shl eax, 8
add eax, edx
mov dword [ebp + 0x79f5fd], eax
jmp case.0x42533a.8
lea eax, [esp + 0x70c]
mov ecx, ebp
push eax
call fcn.00423110
mov dword [esp + 0x14], 1
jmp case.0x42533a.8
mov al, byte [esp + 0x70c]
test al, al
je 0x4255d5
mov byte [ebp + 0x5a6bb9], 1
jmp case.0x42533a.8
mov byte [ebp + 0x5a6bb9], 0
jmp case.0x42533a.8
mov ecx, dword [ebp + 0x79f71d]
dec ecx
mov dword [ebp + 0x79f721], ecx
lea ecx, [esp + 0x1bc]
call fcn.004077a0
push 1
push ebx
push str._datalist
lea ecx, [ebp + 0x2a9790]
mov dword [esp + 0x708], ebx
call fcn.004063e0
test eax, eax
jne 0x425634
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x6fc], 0xffffffff
call fcn.004077e0
jmp case.0x42533a.8
mov ecx, dword [ebp + 0x2a97d8]
mov eax, dword [ebp + 0x2a97d4]
push ecx
lea edx, [ebp + 0x2a9794]
push eax
push edx
lea ecx, [esp + 0x1c8]
call fcn.00407830
lea eax, [esp + 0x10]
lea ecx, [esp + 0x70c]
push eax
push str.text_max
push ecx
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x1c], ebx
call fcn.00407ba0
cmp dword [esp + 0x10], ebx
jne 0x425699
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x6fc], 0xffffffff
call fcn.004077e0
jmp case.0x42533a.8
call fcn.004a72d7
cdq
idiv dword [esp + 0x10]
inc edx
push edx
lea edx, [esp + 0xc0]
push str.text_03d
push edx
call fcn.004a725f
add esp, 0xc
lea eax, [esp + 0x2f4]
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x70c]
push 0x400
push eax
push ecx
push edx
lea ecx, [esp + 0x1cc]
call fcn.00407b80
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xbc]
mov dword [esp + 0x6fc], 0xffffffff
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1bc]
call fcn.004077e0
mov edi, 0x4d0814
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x80]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x2c
lea ecx, [esp + 0x300]
push ebx
push ecx
call fcn.00402750
lea edx, [esp + 0xd2]
push 4
push edx
push 0x2c
lea eax, [esp + 0x314]
push 1
push eax
call fcn.00402750
lea ecx, [esp + 0x64]
push 0x40
push ecx
push 0x2c
lea edx, [esp + 0x328]
push 2
push edx
call fcn.00402750
add esp, 0x3c
lea edx, [esp + 0xbc]
mov edi, 0x4d081c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xc4]
push edx
mov ecx, ebp
call fcn.00420b30
mov ecx, dword [esp + 0x6f4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6f0
ret 0x1008