Function at 0x10012800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10114d18]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x18], 0x3a
mov byte [ebp - 0x17], 0x3f
mov byte [ebp - 0x16], 0x3c
mov byte [ebp - 0x15], 0x36
mov byte [ebp - 0x14], 0x3a
mov byte [ebp - 0x13], 0x37
mov byte [ebp - 0x12], 0x36
mov byte [ebp - 0x11], 0x3e
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x18]
xor eax, eax
nop dword [eax]
mov cl, byte [ebp + eax - 0x18]
sub cl, 6
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jb 0x10012840
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 6
push eax
push str._with_key_0x
push 2
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x34], 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 - 0x30], 0x35
add esp, 0xc
mov byte [ebp - 0x2c], 2
xor edx, edx
mov byte [ebp - 0x2b], 6
mov byte [ebp - 0x2a], 7
mov byte [ebp - 0x29], 1
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0x28], 0
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x2c]
mov ecx, dword [ebp - 0x30]
xor cl, al
mov byte [ebp + edx - 0x2c], cl
inc edx
cmp edx, 4
jb 0x100128c0
push esi
push edi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x40]
push eax
push str._with_key_0x
push 0
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x3c], 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 edi, dword [sym.imp.SHLWAPI.dll_StrToIntA]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
call edi
mov ecx, dword [esi]
mov eax, dword [eax + ecx]
xor ecx, ecx
mov dword [0x1012c6fc], eax
mov byte [ebp - 0x24], 0x3c
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x3e
mov byte [ebp - 0x21], 0x38
mov byte [ebp - 0x20], 0x3c
mov byte [ebp - 0x1f], 0x39
mov byte [ebp - 0x1e], 0x38
mov byte [ebp - 0x1d], 0x40
mov byte [ebp - 0x1c], 0
mov al, byte [ebp - 0x24]
nop dword [eax]
mov al, byte [ebp + ecx - 0x24]
sub al, 8
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 8
jb 0x10012970
lea eax, [ebp - 0x48]
mov byte [ebp - 0x48], 8
push eax
push str._with_key_0x
push 2
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x44], 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 byte [ebp - 0xc], 0x43
add esp, 0xc
mov byte [ebp - 0xb], 0x3f
xor ecx, ecx
mov byte [ebp - 0xa], 0x3f
mov byte [ebp - 9], 0x3e
mov byte [ebp - 8], 0
mov al, byte [ebp - 0xc]
mov al, byte [ebp + ecx - 0xc]
sub al, 0xc
mov byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 4
jb 0x100129e0
lea eax, [ebp - 0x50]
mov byte [ebp - 0x50], 0xc
push eax
push str._with_key_0x
push 2
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x4c], 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 edi
mov esi, eax
lea eax, [ebp - 0xc]
push eax
call edi
mov ecx, dword [esi]
push 0x1012c714
push 0x1012c710
push 0x1012c70c
mov eax, dword [eax + ecx]
mov dword [0x1012c700], eax
call fcn.10012ae0
add esp, 0xc
call fcn.10004110
call fcn.100040b0
xor ecx, ecx
cmp eax, 0x7fffffff
cmove eax, ecx
mov dword [0x1012c688], eax
call fcn.100040e0
xor ecx, ecx
cmp eax, 0x7fffffff
pop edi
cmove eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1012c68c], eax
pop esi
call fcn.100858b1
mov esp, ebp
pop ebp
ret