Function at 0x426bf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x4be90b
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 + 0x10], ebx
cmp eax, 0x51
ja case.0x426c5a.10
xor ecx, ecx
mov cl, byte [eax + 0x4271ec]
jmp dword [ecx*4 + 0x4271c0]
mov edx, dword [ebp + 0x7a105d]
lea eax, [esp + 0xbc]
push 0x100
push eax
push 0x2c
lea ecx, [esp + 0x718]
dec edx
push ebx
push ecx
mov dword [ebp + 0x7a1061], edx
call fcn.00402750
add esp, 0x14
lea edx, [esp + 0xbc]
mov ecx, ebp
push ebx
push ebx
push edx
call fcn.00422200
jmp case.0x426c5a.10
mov eax, dword [ebp + 0x7a105d]
lea ecx, [esp + 0xbc]
push 0x100
push ecx
push 0x2c
lea edx, [esp + 0x718]
dec eax
push ebx
push edx
mov dword [ebp + 0x7a1061], 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]
mov ecx, ebp
push edx
push ebx
push eax
call fcn.00422200
jmp case.0x426c5a.10
mov ecx, dword [ebp + 0x7a105d]
lea ebx, [eax - 2]
dec ecx
mov dword [esp + 0x24], 0x4da948
sar ebx, 1
mov dword [ebp + 0x7a1061], ecx
mov dword [esp + 0x28], 0x4da950
mov dword [esp + 0x2c], 0x4da944
mov dword [esp + 0x30], 0x4da94c
mov dword [esp + 0x34], 0x4da940
mov dword [esp + 0x38], 0x4da954
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]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x3c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xbc]
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]
lea edx, [esp + 0xc0]
push ecx
push edx
mov ecx, ebp
call fcn.00422200
jmp case.0x426c5a.10
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 + 0x14], eax
jle 0x426e77
lea edi, [ebp + 0x7a0a09]
lea eax, [edi + 0x1b8]
lea ecx, [ebp + 0xaead1f]
push eax
push edi
push ebx
call fcn.004094a0
inc ebx
add edi, 0x16
cmp ebx, esi
jl 0x426e57
mov eax, dword [esp + 0x14]
xor edx, edx
lea ecx, [ebp + 0xaead1f]
mov dx, word [esp + eax*2 + 0x18]
mov dword [ebp + 0xaec17b], esi
mov dword [ebp + 0xaec183], 0
mov eax, dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
call fcn.00409460
xor edi, edi
test esi, esi
jle 0x426ec9
lea ebx, [ebp + 0x79d665]
add ebp, 0xaead23
push ebp
push edi
mov ecx, ebx
call fcn.004253c0
inc edi
add ebp, 0x100
cmp edi, esi
jl 0x426eb5
mov dword [esp + 0x10], 1
jmp case.0x426c5a.10
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 + 0x10], 1
shl eax, 8
add eax, edx
mov dword [ebp + 0x7a0f39], eax
jmp case.0x426c5a.10
lea eax, [esp + 0x70c]
mov ecx, ebp
push eax
call fcn.00424a00
mov dword [esp + 0x10], 1
jmp case.0x426c5a.10
mov al, byte [esp + 0x70c]
test al, al
je 0x426f4c
mov byte [ebp + 0x5a7327], 1
jmp case.0x426c5a.10
mov byte [ebp + 0x5a7327], 0
jmp case.0x426c5a.10
mov ecx, dword [ebp + 0x7a105d]
dec ecx
mov dword [ebp + 0x7a1061], ecx
lea ecx, [esp + 0x1bc]
call fcn.00407900
push 1
push ebx
push str._datalist
lea ecx, [ebp + 0x2a9986]
mov dword [esp + 0x708], ebx
call fcn.004063f0
test eax, eax
jne 0x426fab
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x6fc], 0xffffffff
call fcn.00407940
jmp case.0x426c5a.10
mov ecx, dword [ebp + 0x2a99ce]
mov eax, dword [ebp + 0x2a99ca]
push ecx
lea edx, [ebp + 0x2a998a]
push eax
push edx
lea ecx, [esp + 0x1c8]
call fcn.00407990
lea eax, [esp + 0x14]
lea ecx, [esp + 0x70c]
push eax
push str.text_max
push ecx
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x20], ebx
call fcn.00407dc0
cmp dword [esp + 0x14], ebx
jne 0x427010
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x6fc], 0xffffffff
call fcn.00407940
jmp case.0x426c5a.10
call fcn.004b09b7
cdq
idiv dword [esp + 0x14]
inc edx
push edx
lea edx, [esp + 0xc0]
push str.text_03d
push edx
call fcn.004b093f
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.00407ce0
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.00407940
mov edi, 0x4da948
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
mov edi, 0x4da950
or ecx, 0xffffffff
xor eax, eax
add esp, 0x3c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xbc]
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]
lea edx, [esp + 0xc0]
push ecx
push edx
mov ecx, ebp
call fcn.00422200
jmp case.0x426c5a.10
mov eax, dword [esp + 0x70c]
mov ecx, dword [ebp + 0x7a0fcd]
cmp ecx, eax
mov esi, eax
je 0x427173
push ebx
push eax
mov ecx, ebp
call fcn.00420ed0
mov dword [ebp + 0x7a0fcd], esi
mov dword [esp + 0x10], 1
jmp case.0x426c5a.10
mov esi, 1
mov ecx, ebp
push esi
push ebx
call fcn.00422d90
mov word [ebp + 0x2a8f72], 0x100
mov word [ebp + 0x2a8f76], si
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x6f4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6f0
ret 0x1008