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

Disassembly:
push 0xffffffffffffffff
push 0x4b7196
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov ecx, 7
mov esi, str.0f5hegjt6IJs7_KL_nmvD_YZ_
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
movsw word es:[edi], word [esi]
call fcn.004570d0
mov ecx, 7
mov esi, str.idkq1lp2H3rEu8w:ACM___QRcSXUW
lea edi, [esp + 0x84]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 7
mov esi, str.BFz_G_NOP.xy_oa94b_V_T_
lea edi, [esp + 0xa4]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc4]
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
mov byte [esp + 0xc4], bl
lea edx, [esp + 0xc4]
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov dword [esp + 0x14c], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x84]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xc4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xa4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x154]
not ecx
dec ecx
cmp eax, ebx
mov edi, ecx
je 0x45628b
lea ecx, [esp + 0x10]
call fcn.004570d0
mov byte [esp + 0x14c], 1
xor esi, esi
push edi
lea ecx, [esp + 0x14]
call fcn.00457170
mov al, byte [esp + eax + 0xc4]
mov byte [esp + esi + 0x1c], al
inc esi
dec edi
cmp esi, 0x40
jl 0x456189
push 0x11
lea ecx, [esp + 0x14]
call fcn.00457170
mov ecx, dword [esp + 0x158]
add al, 0x10
movsx edx, al
mov byte [esp + 0x1c], al
push 0x10
lea eax, [esp + edx + 0x20]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov dword [esp + 0x18], ebx
mov esi, 0x22
lea ecx, [esi - 2]
push ecx
lea ecx, [esp + 0x14]
call fcn.00457170
and eax, 0xff
mov ecx, 0xf
cdq
idiv ecx
push esi
lea ecx, [esp + 0x14]
mov bl, dl
call fcn.00457170
and eax, 0xff
mov ecx, 0xf
cdq
idiv ecx
movsx ecx, byte [esp + 0x1c]
movsx eax, bl
lea ecx, [esp + ecx + 0x1c]
and bl, 0xf
lea edi, [ecx + eax]
mov al, byte [ecx + eax]
movsx ecx, dl
shl dl, 4
lea ebp, [esp + ecx + 0x4c]
or dl, bl
mov cl, byte [ebp]
mov byte [edi], cl
mov byte [ebp], al
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x1d], dl
inc eax
dec esi
mov dword [esp + 0x18], eax
cmp esi, 0x13
jg 0x4561da
mov edi, dword [esp + 0x158]
lea edx, [esp + 0x1c]
mov esi, edi
xor ecx, ecx
sub esi, edx
mov dl, byte [esp + ecx + 0x1d]
mov bl, byte [esp + ecx + 0x1c]
lea eax, [esp + ecx + 0x1c]
xor dl, bl
inc ecx
cmp ecx, 0x40
mov byte [esi + eax], dl
jl 0x45625a
mov al, byte [esp + 0x5b]
lea ecx, [esp + 0x10]
mov byte [edi + 0x3f], al
mov byte [esp + 0x14c], 0
call fcn.00457110
jmp 0x456309
mov edi, dword [esp + 0x158]
mov eax, 0x3e
mov cl, byte [edi + 0x3f]
mov byte [esp + 0x5b], cl
mov dl, byte [eax + edi]
mov bl, byte [esp + eax + 0x1d]
xor dl, bl
mov byte [esp + eax + 0x1c], dl
dec eax
jns 0x45629e
mov edx, 0xf
mov al, byte [esp + edx + 0x1c]
movsx esi, byte [esp + 0x1c]
mov cl, al
sar al, 4
and cl, 0xf
and al, 0xf
movsx ecx, cl
movsx eax, al
lea esi, [esp + esi + 0x1c]
add ecx, esi
lea esi, [esp + eax + 0x4c]
dec edx
mov al, byte [esi]
mov bl, byte [ecx]
mov byte [ecx], al
cmp edx, 1
mov byte [esi], bl
jge 0x4562b3
mov edx, edi
xor ecx, ecx
movsx eax, byte [esp + 0x1c]
mov dword [edx], ecx
push 0x10
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esp + eax + 0x20]
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00457110
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret