Function at 0x100131c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e16f9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10114d18]
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 eax, dword fs:[0x2c]
mov ecx, dword [0x1012ce30]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1012c780]
cmp eax, dword [esi + 4]
jg 0x1001328a
mov eax, dword [0x1012c788]
cmp eax, dword [esi + 4]
jg 0x10013396
mov eax, dword [0x1012c790]
cmp eax, dword [esi + 4]
jg 0x10013446
mov eax, dword [0x1012c78c]
imul eax, edi
push 4
add eax, dword [0x1012c784]
add eax, dword [0x1012c77c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10013257
xor eax, eax
jmp 0x1001326e
mov ecx, dword [0x1012c78c]
mov eax, dword [0x1012c77c]
imul ecx, edi
add ecx, dword [0x1012c784]
mov eax, dword [ecx + eax]
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.100858b1
mov esp, ebp
pop ebp
ret
push 0x1012c780
call fcn.10085a3a
add esp, 4
cmp dword [0x1012c780], 0xffffffff
jne 0x10013210
mov dword [ebp - 0x20], 0x77
mov eax, dword [ebp - 0x20]
xor al, 0x34
mov dword [ebp - 4], 0
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x20]
inc al
xor al, 0x37
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x20]
add al, 2
xor al, 0x31
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x20]
add al, 3
xor al, 0x37
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
add al, 4
xor al, 0x36
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x20]
add al, 5
xor al, 0x33
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x20]
add al, 6
xor al, 0x33
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x20]
add al, 7
mov byte [ebp - 0x14], 0
xor al, 0x36
xor edx, edx
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x1c]
jmp 0x10013310
mov al, byte [ebp + edx - 0x1c]
mov ecx, dword [ebp - 0x20]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x1c], cl
inc edx
cmp edx, 8
jb 0x10013310
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x34]
push eax
push str._with_key_0x
push 1
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 0x30], 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 - 0x1c]
push eax
call ebx
push 0x1012c780
mov dword [0x1012c77c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100859f0
add esp, 4
jmp 0x10013210
push 0x1012c788
call fcn.10085a3a
add esp, 4
cmp dword [0x1012c788], 0xffffffff
jne 0x10013221
mov dword [ebp - 0x28], 0x36
mov byte [ebp - 0x24], 2
mov al, byte [ebp - 0x24]
movzx eax, byte [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
xor cl, al
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], 0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0x3c]
push eax
push str._with_key_0x
push 0
push str.____Select_MetaString4_implementation_
push 0x1012ca98
mov dword [ebp - 4], 1
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
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call ebx
push 0x1012c788
mov dword [0x1012c784], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100859f0
add esp, 4
jmp 0x10013221
push 0x1012c790
call fcn.10085a3a
add esp, 4
cmp dword [0x1012c790], 0xffffffff
jne 0x10013232
mov byte [ebp - 0x2c], 0x3d
xor ecx, ecx
mov byte [ebp - 0x2b], 0x3e
mov byte [ebp - 0x2a], 0
mov al, byte [ebp - 0x2c]
mov dword [ebp - 4], 2
jmp 0x10013480
mov al, byte [ebp + ecx - 0x2c]
sub al, 0xc
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 2
jb 0x10013480
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0xc
push eax
push str._with_key_0x
push 2
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
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x1012c790
mov dword [0x1012c78c], eax
call fcn.100859f0
add esp, 4
jmp 0x10013232