Function at 0x458850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488bac
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x4ad0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x874], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x828]
call fcn.00403330
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call fcn.004034a0
test al, al
je 0x4588e7
push 0x496c80
mov ecx, ebx
call fcn.00405950
lea ecx, [ebp - 0x828]
call fcn.004033c0
lea ecx, [ebp + 8]
call fcn.004033c0
lea ecx, [ebp + 0x20]
call fcn.004033c0
mov eax, ebx
jmp 0x458be2
mov edi, dword [ebp - 0x818]
xor ecx, ecx
mov ebx, 2
mov dword [ebp - 0x870], edi
lea eax, [edi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
add esp, 4
mov dword [ebp - 0x85c], eax
xor ecx, ecx
mov byte [ebp - 4], 3
lea eax, [edi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
mov ebx, eax
add esp, 4
mov dword [ebp - 0x860], ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x85c], 0
je 0x458a4a
test ebx, ebx
je 0x458a4a
lea esi, [edi + edi]
lea eax, [esi + 2]
push eax
push 0
push ebx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x828]
push esi
call fcn.00403480
push eax
push dword [ebp - 0x85c]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.00403480
mov ecx, dword [ebp - 0x85c]
mov edx, esi
push eax
push esi
push ebx
call fcn.004585d0
lea eax, [edi*4]
xor ecx, ecx
mov dword [ebp - 0x868], eax
add esp, 0xc
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
mov ecx, eax
add esp, 4
mov dword [ebp - 0x864], ecx
test ecx, ecx
je 0x458a4a
xor esi, esi
test edi, edi
jle 0x458a1f
xor edi, edi
mov ebx, ecx
jmp 0x4589e0
mov eax, dword [ebp - 0x860]
movzx eax, word [eax + esi*2]
push eax
mov eax, dword [ebp - 0x868]
sub eax, edi
push str._04lx
inc eax
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_swprintf_s]
inc esi
add esp, 0x10
add edi, 4
add ebx, 8
cmp esi, dword [ebp - 0x870]
jl 0x4589e0
mov ebx, dword [ebp - 0x860]
mov ecx, dword [ebp - 0x864]
mov eax, dword [ebp - 0x868]
xor edx, edx
push ecx
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x828]
call fcn.00403460
push dword [ebp - 0x864]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call edi
add esp, 4
jmp 0x458a50
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
xor esi, esi
cmp dword [ebp - 0x818], esi
jbe 0x458a82
lea ebx, [ebx]
lea ecx, [ebp - 0x828]
call fcn.004036b0
cmp word [eax + esi*2], 0x30
lea eax, [eax + esi*2]
jne 0x458b97
inc esi
cmp esi, dword [ebp - 0x818]
jb 0x458a60
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x840]
call fcn.00403330
xor esi, esi
mov byte [ebp - 4], 5
cmp dword [ebp - 0x830], esi
jbe 0x458ac5
mov ebx, 0x6745
lea ecx, [ebp - 0x840]
call fcn.004036b0
xor word [eax + esi*2], bx
lea eax, [eax + esi*2]
inc esi
cmp esi, dword [ebp - 0x830]
jb 0x458aa4
mov ebx, dword [ebp - 0x860]
push 0
lea ecx, [ebp - 0x828]
call fcn.00403830
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x840]
xor esi, esi
call fcn.00401e70
test eax, eax
je 0x458b4e
lea ecx, [ebp - 0x840]
call fcn.004036b0
lea eax, [eax + esi*2]
movzx eax, word [eax]
push eax
push str._04lx
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0040b2a0
add esp, 0x10
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x828]
push eax
call fcn.004087b0
lea ecx, [ebp - 0x840]
inc esi
call fcn.00401e70
cmp esi, eax
jb 0x458b01
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
call fcn.00421f70
add esp, 4
lea ecx, [ebp - 0x840]
push eax
call fcn.0040f770
lea ecx, [ebp - 0x858]
call fcn.004033c0
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x828]
call fcn.004033e0
lea ecx, [ebp - 0x840]
call fcn.004033c0
mov esi, dword [ebp - 0x86c]
lea eax, [ebp - 0x828]
push eax
mov ecx, esi
call fcn.00405990
test ebx, ebx
je 0x458bb5
push ebx
call edi
add esp, 4
mov eax, dword [ebp - 0x85c]
test eax, eax
je 0x458bc5
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x828]
call fcn.004033c0
lea ecx, [ebp + 8]
call fcn.004033c0
lea ecx, [ebp + 0x20]
call fcn.004033c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048079e
mov esp, ebp
pop ebp
ret