Function at 0x4525d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fa50
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
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
xor eax, eax
mov dword [ebp - 4], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0x18], 0
call fcn.004022c7
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
jne 0x452660
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x48b33c
mov word [ebx], ax
call fcn.0040235a
jmp 0x4529ab
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push str.NEW_
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4527a2
push 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00402515
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45263b
test al, 3
jne 0x45263b
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
xor esi, esi
mov byte [ebp - 4], 3
test eax, eax
je 0x4526f2
mov edi, dword [sym.imp.MSVCR120.dll_swscanf_s]
mov edi, edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push ecx
push str._04lx
lea eax, [eax + esi*2]
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
push 1
call fcn.00404810
add esi, 4
cmp esi, dword [ebp - 0x18]
jb 0x4526c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004022c7
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x452725
mov edx, 0x6745
mov edi, edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor word [eax + ecx*2], dx
inc ecx
cmp ecx, dword [ebp - 0x18]
jb 0x452710
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jae 0x45275c
mov eax, dword [ebp - 0x18]
inc eax
je 0x452768
add eax, eax
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x452768
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebx + 0x10], eax
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4529bf
push dword [ebp - 0x40]
call esi
add esp, 4
jmp 0x4529b1
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.00452ca0
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
test edi, edi
je 0x452843
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmovae esi, dword [ebp - 0x28]
test eax, eax
jle 0x45280a
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 0x4527e8
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [edi + eax*2], cx
cmp word [edi], cx
je 0x45282f
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452820
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040235a
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.00452ca0
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.00452ca0
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 5
test edi, edi
je 0x452929
test esi, esi
je 0x452929
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 eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push dword [ebp - 0x44]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
mov edx, edi
cmovae eax, dword [ebp + 0x20]
push eax
push edi
mov edi, dword [ebp - 0x44]
mov ecx, edi
push esi
call fcn.00451a90
add esp, 0xc
cmp word [esi], 0
jne 0x452908
xor ecx, ecx
jmp 0x45291f
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452910
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040235a
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jae 0x452960
mov eax, dword [ebp - 0x18]
inc eax
je 0x45296c
add eax, eax
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x45296c
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
je 0x45299b
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
jmp 0x4529a1
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test edi, edi
je 0x4529ab
push edi
call esi
add esp, 4
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x14], 8
jb 0x4529bf
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp + 0x1c], 8
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
jb 0x4529dd
push dword [ebp + 8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov word [ebp + 8], ax
mov dword [ebp + 0x18], eax
jb 0x4529fb
push dword [ebp + 0x20]
call esi
add esp, 4
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.00452da4
mov esp, ebp
pop ebp
ret