Function at 0x455810
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xdc
mov eax, dword [0x4d2084]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, edx
push esi
mov dword [esp + 4], ecx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455852
sub eax, esi
cmp eax, 0x64
je 0x455878
xor al, al
pop esi
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047ece2
add esp, 0xdc
ret
xor esi, esi
add edx, 2
lea ecx, [ecx]
mov al, byte [edx - 2]
cmp al, 0x41
movsx ecx, al
jl 0x45588f
sub ecx, 0x37
jmp 0x455892
sub ecx, 0x30
mov al, byte [edx - 1]
cmp al, 0x41
movsx eax, al
jl 0x4558a1
sub eax, 0x37
jmp 0x4558a4
sub eax, 0x30
shl al, 4
and cl, 0xf
or al, cl
mov byte [esp + esi + 0x40], al
mov al, byte [edx]
cmp al, 0x41
movsx ecx, al
jl 0x4558be
sub ecx, 0x37
jmp 0x4558c1
sub ecx, 0x30
mov al, byte [edx + 1]
cmp al, 0x41
movsx eax, al
jl 0x4558d0
sub eax, 0x37
jmp 0x4558d3
sub eax, 0x30
shl al, 4
and cl, 0xf
or al, cl
mov byte [esp + esi + 0x41], al
mov al, byte [edx + 2]
cmp al, 0x41
movsx ecx, al
jl 0x4558ee
sub ecx, 0x37
jmp 0x4558f1
sub ecx, 0x30
mov al, byte [edx + 3]
cmp al, 0x41
movsx eax, al
jl 0x455900
sub eax, 0x37
jmp 0x455903
sub eax, 0x30
shl al, 4
and cl, 0xf
or al, cl
mov byte [esp + esi + 0x42], al
mov al, byte [edx + 4]
cmp al, 0x41
movsx ecx, al
jl 0x45591e
sub ecx, 0x37
jmp 0x455921
sub ecx, 0x30
mov al, byte [edx + 5]
cmp al, 0x41
movsx eax, al
jl 0x455930
sub eax, 0x37
jmp 0x455933
sub eax, 0x30
shl al, 4
and cl, 0xf
or al, cl
mov byte [esp + esi + 0x43], al
mov al, byte [edx + 6]
cmp al, 0x41
movsx ecx, al
jl 0x45594e
sub ecx, 0x37
jmp 0x455951
sub ecx, 0x30
mov al, byte [edx + 7]
cmp al, 0x41
movsx eax, al
jl 0x455960
sub eax, 0x37
jmp 0x455963
sub eax, 0x30
shl al, 4
and cl, 0xf
or al, cl
mov byte [esp + esi + 0x44], al
add esi, 5
add edx, 0xa
cmp esi, 0x32
jl 0x455880
movzx eax, word [esp + 0x40]
push eax
call fcn.0048ee00
add esp, 4
xor esi, esi
mov edi, edi
call fcn.0048ee10
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x32
mov byte [esp + esi + 0xa7], dl
jl 0x455990
xor eax, eax
mov ecx, 8
push ebx
mov bl, byte [esp + eax + 0x46]
mov dl, byte [esp + eax + 0xae]
xor dl, bl
mov bl, byte [esp + eax + 0x47]
mov byte [esp + eax + 0x7a], dl
mov dl, byte [esp + eax + 0xaf]
xor dl, bl
mov bl, byte [esp + eax + 0x48]
mov byte [esp + eax + 0x7b], dl
mov dl, byte [esp + eax + 0xb0]
xor dl, bl
mov bl, byte [esp + eax + 0xb1]
mov byte [esp + eax + 0x7c], dl
mov dl, byte [esp + eax + 0x49]
xor dl, bl
mov bl, byte [esp + eax + 0x4a]
mov byte [esp + eax + 0x7d], dl
mov dl, byte [esp + eax + 0xb2]
xor dl, bl
mov bl, byte [esp + eax + 0xb3]
mov byte [esp + eax + 0x7e], dl
mov dl, byte [esp + eax + 0x4b]
xor dl, bl
mov byte [esp + eax + 0x7f], dl
add eax, 6
dec ecx
jne 0x4559b2
mov al, byte [esp + 0x7a]
mov cl, al
shr cl, 4
push ebp
movzx ebp, cl
push edi
mov ecx, ebp
mov ebx, ecx
shr ecx, 2
lea esi, [esp + 0x85]
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dl, byte [esp + 0x83]
and al, 0xf
movzx eax, al
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor bl, bl
mov ecx, eax
mov byte [esp + ebp + 0x2c], bl
mov ebp, ecx
shr ecx, 2
lea esi, [esp + 0x94]
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
shr dl, 4
mov byte [esp + eax + 0x1c], bl
movzx eax, dl
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0xa3]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x3c], bl
lea eax, [esp + 0x2c]
pop edi
lea ecx, [eax + 1]
pop ebp
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x455aa6
sub eax, ecx
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004018c0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x455ac5
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004018c0
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x455ae4
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
call fcn.004018c0
mov ecx, dword [esp + 0xe0]
pop ebx
pop esi
xor ecx, esp
mov al, 1
call fcn.0047ece2
add esp, 0xdc
ret