Function at 0x455f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4aa0cc]
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.00403320
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00403490
test al, al
je 0x455f9b
push 0x493b50
mov ecx, ebx
call fcn.004058b0
jmp 0x4561e0
push 4
push str.NEW_
lea ecx, [ebp - 0x28]
call fcn.00403470
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x45607d
push 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00403790
lea ecx, [ebp - 0x28]
call fcn.00403490
test al, al
jne 0x455f8a
lea ecx, [ebp - 0x28]
call fcn.00401e60
test al, 3
jne 0x455f8a
lea ecx, [ebp - 0x40]
call fcn.00403380
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.00401e60
test eax, eax
je 0x456034
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.004036a0
lea eax, [eax + esi*2]
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.00415be0
lea ecx, [ebp - 0x28]
add esi, 4
call fcn.00401e60
cmp esi, eax
jb 0x456000
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004033d0
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x456065
mov edi, 0x6745
lea esp, [esp]
lea ecx, [ebp - 0x28]
call fcn.004036a0
xor word [eax + esi*2], di
lea eax, [eax + esi*2]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x456050
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004058f0
lea ecx, [ebp - 0x40]
call fcn.004033b0
jmp 0x4561e0
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.0047d9f8
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
test edi, edi
je 0x4560fd
lea ecx, [ebp - 0x28]
call fcn.00403470
mov esi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x4560e4
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 0x4560c2
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.00403450
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.0047d9f8
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.0047d9f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 5
test edi, edi
je 0x4561b3
test esi, esi
je 0x4561b3
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.00403470
push eax
push dword [ebp - 0x44]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.00403470
push eax
push edi
mov edx, edi
mov edi, dword [ebp - 0x44]
push esi
mov ecx, edi
call fcn.00455680
add esp, 0xc
lea ecx, [ebp - 0x28]
push esi
call fcn.00403450
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004058f0
test esi, esi
je 0x4561d0
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
jmp 0x4561d6
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test edi, edi
je 0x4561e0
push edi
call esi
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004033b0
lea ecx, [ebp + 8]
call fcn.004033b0
lea ecx, [ebp + 0x20]
call fcn.004033b0
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.0047db8e
mov esp, ebp
pop ebp
ret