Function at 0x10005e80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1008a1b1
call fcn.10089d9c
sub esp, 0x198
mov byte [ebp - 0x12], 0x4e
mov byte [ebp - 0x11], 0x59
mov byte [ebp - 0x10], 0x4a
mov byte [ebp - 0xf], 0x52
mov byte [ebp - 0xe], 0x58
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x3c], ecx
xor eax, eax
sub byte [ebp + eax - 0x12], 5
inc eax
cmp eax, 5
jb 0x10005eb0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x12]
call fcn.10054672
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10006106
push ebx
push esi
xor ebx, ebx
xor ecx, ecx
push edi
mov dword [ebp - 0x2c], ecx
test ebx, ebx
js 0x10005eed
cmp ebx, dword [eax + 0xc]
jge 0x10005eed
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx + 0xc]
jmp 0x10005eef
xor edi, edi
test edi, edi
je 0x10006103
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
and dword [ebp - 0x30], 0
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.100067d6
and dword [ebp - 4], 0
and dword [ebp + 8], 0
xor edx, edx
jmp 0x1000607a
lea eax, [ebp - 0x1a4]
mov edx, esi
push 0x100
push eax
mov ecx, edi
call fcn.10001e5c
mov dword [ebp - 0x24], 0x26
mov eax, dword [ebp - 0x24]
xor al, 0x69
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x24]
inc al
xor al, 0x74
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
add al, 2
xor al, 0x65
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
add al, 3
xor al, 0x6d
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
add al, 4
xor al, 0x64
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x24]
add al, 5
xor al, 0x65
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x24]
add al, 6
xor al, 0x66
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x24]
add al, 7
xor al, 0x69
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x24]
add al, 8
mov byte [ebp - 0x17], 0
xor al, 0x64
xor edx, edx
pop ecx
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x20]
pop ecx
mov al, byte [ebp + edx - 0x20]
mov ecx, dword [ebp - 0x24]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x20], cl
inc edx
cmp edx, 9
jb 0x10005f9a
lea eax, [ebp - 0x20]
mov byte [ebp - 0x17], 0
push eax
push esi
call sub.msvcrt.dll__stricmp
pop ecx
pop ecx
test eax, eax
jne 0x1000601c
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000676b
mov byte [ebp - 4], 1
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [ebp - 0x68], 0x10
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x38], eax
cmovae esi, dword [ebp - 0x7c]
and dword [eax], 0
lea eax, [ebp - 0x34]
push 0xa
push eax
push esi
call dword [sym.imp.msvcrt.dll_strtol]
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x34]
je 0x1000611e
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x22
je 0x10006114
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x7c]
jmp 0x10006068
push esi
lea ecx, [ebp - 0xa4]
call fcn.1000676b
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x64]
call fcn.100070c0
mov esi, dword [eax]
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [esi + 0x20]
call fcn.10006c89
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.10006b14
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov edx, eax
mov ecx, edi
call fcn.1005460d
mov esi, eax
test esi, esi
jne 0x10005f1b
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ecx + 0x1e4]
call fcn.10007200
mov esi, dword [eax]
lea eax, [ebp - 0x64]
add esi, 0xc
cmp esi, eax
je 0x100060e0
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 3
lea ecx, [esi + 4]
mov eax, dword [ebp - 0x64]
mov dword [esi], eax
mov eax, dword [ebp - 0x60]
push eax
push dword [eax]
call fcn.10007b89
push dword [esi + 8]
mov ecx, esi
call fcn.10006e9e
push eax
mov ecx, esi
call fcn.10006d3a
and dword [ebp - 0x40], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1000613d
lea ecx, [ebp - 0x60]
call fcn.10006163
mov ecx, dword [ebp - 0x2c]
inc ebx
mov eax, dword [ebp - 0x44]
add ecx, 0x10
jmp 0x10005ed8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
push str.stoi_argument_out_of_range
call fcn.10078fee
push str.invalid_stoi_argument
call fcn.10078fab
int3