Function at 0x10014540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10114d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0x37
xor ecx, ecx
mov byte [ebp - 0xf], 0x3c
mov byte [ebp - 0xe], 0x39
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x37
mov byte [ebp - 0xb], 0x34
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x3b
mov byte [ebp - 8], 0
mov al, byte [ebp - 0x10]
nop dword [eax]
mov al, byte [ebp + ecx - 0x10]
sub al, 3
mov byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 8
jb 0x10014580
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x3c], 3
push eax
push str._with_key_0x
push 2
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x38], 2
call fcn.10002460
add esp, 8
mov ecx, eax
call fcn.10003830
push eax
call fcn.10002460
add esp, 8
push eax
call fcn.10007300
push eax
call fcn.10002840
mov dword [ebp - 0x34], 0x63
add esp, 0xc
mov byte [ebp - 0x30], 0x51
xor edx, edx
mov byte [ebp - 0x2f], 0x55
mov byte [ebp - 0x2e], 0x51
mov byte [ebp - 0x2d], 0x5b
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x2c], 0
mov al, byte [ebp + edx - 0x30]
mov ecx, dword [ebp - 0x34]
xor cl, al
mov byte [ebp + edx - 0x30], cl
inc edx
cmp edx, 4
jb 0x100145f7
push ebx
push esi
push edi
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x44]
push eax
push str._with_key_0x
push 0
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x40], 2
call fcn.10002460
add esp, 8
mov ecx, eax
call fcn.10003830
push eax
call fcn.10002460
add esp, 8
push eax
call fcn.10007300
push eax
call fcn.10002840
mov esi, dword [sym.imp.SHLWAPI.dll_StrToIntA]
lea eax, [ebp - 0x30]
add esp, 0xc
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add edi, eax
push 4
push edi
call ebx
test eax, eax
jne 0x100147f8
mov dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x1c]
xor al, 0x31
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x1c]
inc al
xor al, 0x33
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x1c]
add al, 2
xor al, 0x34
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x1c]
add al, 3
mov byte [ebp - 0x14], 0
xor al, 0x30
xor edx, edx
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x18]
nop dword [eax]
mov al, byte [ebp + edx - 0x18]
mov ecx, dword [ebp - 0x1c]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x18], cl
inc edx
cmp edx, 4
jb 0x100146c0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
push eax
push str._with_key_0x
push 1
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x48], 2
call fcn.10002460
add esp, 8
mov ecx, eax
call fcn.10003830
push eax
call fcn.10002460
add esp, 8
push eax
call fcn.10007300
push eax
call fcn.10002840
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call esi
mov edi, dword [edi]
add edi, eax
push 4
push edi
call ebx
test eax, eax
jne 0x100147f8
mov dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x28]
xor al, 0x33
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x28]
inc al
xor al, 0x34
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x28]
add al, 2
xor al, 0x30
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x28]
add al, 3
mov byte [ebp - 0x20], 0
xor al, 0x34
xor edx, edx
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x24]
nop
mov al, byte [ebp + edx - 0x24]
mov ecx, dword [ebp - 0x28]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x24], cl
inc edx
cmp edx, 4
jb 0x10014770
mov byte [ebp - 0x20], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x54]
push eax
push str._with_key_0x
push 1
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x50], 2
call fcn.10002460
add esp, 8
mov ecx, eax
call fcn.10003830
push eax
call fcn.10002460
add esp, 8
push eax
call fcn.10007300
push eax
call fcn.10002840
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call esi
mov esi, eax
add esi, dword [edi]
push 1
push esi
call ebx
test eax, eax
jne 0x100147f8
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100858b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100858b1
mov esp, ebp
pop ebp
ret