Function at 0x458c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488c10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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 - 0x4c], ebx
mov dword [ebp - 0x50], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00403330
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004034a0
test al, al
je 0x458c6b
push 0x496c80
mov ecx, ebx
call fcn.00405950
jmp 0x458eb0
push 4
push str.NEW_
lea ecx, [ebp - 0x28]
call fcn.00403480
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x458d4d
push 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004037a0
lea ecx, [ebp - 0x28]
call fcn.004034a0
test al, al
jne 0x458c5a
lea ecx, [ebp - 0x28]
call fcn.00401e70
test al, 3
jne 0x458c5a
lea ecx, [ebp - 0x40]
call fcn.00403390
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.00401e70
test eax, eax
je 0x458d04
mov edi, dword [sym.imp.MSVCR120.dll_swscanf_s]
nop
lea eax, [ebp - 0x44]
push eax
push str._04lx
lea ecx, [ebp - 0x28]
call fcn.004036b0
lea eax, [eax + esi*2]
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004180c0
lea ecx, [ebp - 0x28]
add esi, 4
call fcn.00401e70
cmp esi, eax
jb 0x458cd0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004033e0
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x458d35
mov edi, 0x6745
lea esp, [esp]
lea ecx, [ebp - 0x28]
call fcn.004036b0
xor word [eax + esi*2], di
lea eax, [eax + esi*2]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x458d20
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00405990
lea ecx, [ebp - 0x40]
call fcn.004033c0
jmp 0x458eb0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cdq
and edx, 3
add eax, edx
mov edx, 2
sar eax, 2
mov dword [ebp - 0x44], eax
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
test edi, edi
je 0x458dcd
lea ecx, [ebp - 0x28]
call fcn.00403480
mov esi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x458db4
mov ebx, eax
push edi
push str._04lx
push esi
call dword [sym.imp.MSVCR120.dll_swscanf_s]
add esp, 0xc
add edi, 2
add esi, 8
dec ebx
jne 0x458d92
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x28]
push edi
call fcn.00403460
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
xor ecx, ecx
mov byte [ebp - 4], 4
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00480608
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 5
test edi, edi
je 0x458e83
test esi, esi
je 0x458e83
mov edi, dword [ebp - 0x48]
add edi, edi
lea esi, [edi + 2]
push esi
push 0
push dword [ebp - 0x44]
call sub.MSVCR120.dll_memset
add esp, 0xc
push esi
mov esi, dword [ebp - 0x4c]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28]
push edi
call fcn.00403480
push eax
push dword [ebp - 0x44]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.00403480
push eax
push edi
mov edx, edi
mov edi, dword [ebp - 0x44]
push esi
mov ecx, edi
call fcn.00458350
add esp, 0xc
lea ecx, [ebp - 0x28]
push esi
call fcn.00403460
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00405990
test esi, esi
je 0x458ea0
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
jmp 0x458ea6
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test edi, edi
je 0x458eb0
push edi
call esi
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004033c0
lea ecx, [ebp + 8]
call fcn.004033c0
lea ecx, [ebp + 0x20]
call fcn.004033c0
mov eax, ebx
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