Function at 0x1000cd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050bcd
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [0x1007c550], 0
jne 0x1000cd8e
cmp dword [0x1007b358], 0
je 0x1000cfa7
lea eax, [ebp - 0xbc]
push eax
call fcn.1000cc80
lea eax, [ebp - 0x8c]
push eax
call fcn.1000cb20
push dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x94]
call fcn.1000c730
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
call fcn.1000c730
add esp, 8
mov byte [ebp - 4], 2
movsd xmm0, qword [ebp - 0x84]
call fcn.100506c0
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000c730
add esp, 8
mov byte [ebp - 4], 3
call fcn.1003b54e
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
mov edi, eax
lea eax, [ebp - 0x60]
cmova esi, dword [ebp - 0x2c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100386eb
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp - 0x60]
je 0x1000d00e
cmp dword [edi], 0x22
je 0x1000d018
call fcn.1003b54e
cmp dword [ebp - 0x30], 0xf
lea esi, [ebp - 0x44]
mov edi, eax
lea eax, [ebp - 0x60]
cmova esi, dword [ebp - 0x44]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100386eb
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp esi, dword [ebp - 0x60]
je 0x1000d022
cmp dword [edi], 0x22
je 0x1000d02c
call fcn.1003b54e
cmp dword [ebp - 0x48], 0xf
lea esi, [ebp - 0x5c]
mov edi, eax
lea eax, [ebp - 0x64]
cmova esi, dword [ebp - 0x5c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100386eb
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x64]
je 0x1000d036
cmp dword [edi], 0x22
je 0x1000d040
imul eax, dword [ebp - 0x68], 0x64
cdq
idiv ecx
cmp ebx, 0x64
jg 0x1000cec7
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [0x1007b300], xmm0
cmp eax, 0x64
jg 0x1000cedb
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1007b340], xmm0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000cf13
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d04a
push ecx
push edx
call fcn.1002d1ee
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1000cf5d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d04a
push ecx
push edx
call fcn.1002d1ee
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1000cfa7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d04a
push ecx
push edx
call fcn.1002d1ee
add esp, 8
cmp dword [0x1007c588], 0
je 0x1000cfec
movaps xmm0, xmmword [0x1005bfd0]
xor ecx, ecx
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x6c], 0x3726
mov byte [ebp - 0x6a], 0
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x11
jb 0x1000cfc7
lea ecx, [ebp - 0x7b]
mov byte [ebp - 0x6a], 0
call fcn.100027a0
cmp eax, 0x10059f3d
je 0x1000cfec
mov dword [0x1007b2e0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.1002c2c8
push str.stoi_argument_out_of_range
call fcn.1002c308
push str.invalid_stoi_argument
call fcn.1002c2c8
push str.stoi_argument_out_of_range
call fcn.1002c308
push str.invalid_stoi_argument
call fcn.1002c2c8
push str.stoi_argument_out_of_range
call fcn.1002c308
call fcn.1003d7fb
int3