Function at 0x1003cc20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2758
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1014bb38], 0
je 0x1003d18f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push 0
mov byte [ebp - 0x20], 0
call fcn.100404c0
push 0x1014bb3c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.10032430
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [0x1015fa44]
mov dword [ebp - 0xf4], 0xc7cdd1df
mov dword [ebp - 0xf0], 0xd5c4c79a
mov word [ebp - 0xec], 0xdfc6
mov byte [ebp - 0xea], 0xb4
xor byte [ebp + eax - 0xf4], 0xb4
inc eax
cmp eax, 0xb
jb 0x1003ccb3
cmp dword [ebp - 0x24], 0xf
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push edx
push eax
call ecx
push 0xb0
lea eax, [ebp - 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xe8]
cmova eax, dword [ebp - 0x38]
push eax
call fcn.10035080
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], 0x100dc6a8
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xec], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x98], 0
je 0x1003d10d
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
jne 0x1003d10d
mov edx, dword [0x1015b59c]
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov byte [ebp - 0xf8], al
movq qword [ebp - 0xf0], xmm0
call fcn.100443a0
push 0x1015b568
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.1003ece0
movzx ecx, byte [ebp - 0xf8]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
mov edx, dword [0x1015b62c]
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov byte [ebp - 0xf8], 0
movq qword [ebp - 0xf0], xmm0
call fcn.100443a0
push 0x1015b5f8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.1003ece0
movzx ecx, byte [ebp - 0xf8]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
mov edx, dword [0x1015b6bc]
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov byte [ebp - 0xf8], 0
movq qword [ebp - 0xf0], xmm0
call fcn.100443a0
push 0x1015b688
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.1003ece0
movzx ecx, byte [ebp - 0xf8]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
xorps xmm0, xmm0
mov byte [ebp - 0xf8], 0
movq qword [ebp - 0xf0], xmm0
mov edx, dword [0x1015b74c]
lea ecx, [ebp - 0xf8]
call fcn.100443a0
push 0x1015b718
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.1003ece0
movzx ecx, byte [ebp - 0xf8]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
mov edx, dword [0x1015b7dc]
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov byte [ebp - 0xf8], 0
movq qword [ebp - 0xf0], xmm0
call fcn.100443a0
push 0x1015b7a8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.1003ece0
movzx ecx, byte [ebp - 0xf8]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
mov edx, dword [0x1015b86c]
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov byte [ebp - 0xf8], 0
movq qword [ebp - 0xf0], xmm0
call fcn.100443a0
push 0x1015b838
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.1003ece0
mov byte [ebp - 4], 3
mov edi, eax
movzx ecx, byte [ebp - 0xf8]
mov eax, dword [ebp - 0xf0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xec]
mov esi, dword [edi + 0xc]
mov byte [ebp - 0xf8], dl
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xf8]
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.1003efe0
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003edf0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1003d03b
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x100]
call fcn.1003c0f0
add esp, 4
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x100]
cmp dword [ebp - 0xec], 0xf
lea ecx, [ebp - 0xe8]
push dword [ebp - 0xf0]
cmova edx, dword [ebp - 0x100]
call fcn.100329a0
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0xec]
cmp ecx, 0xf
jbe 0x1003d0b2
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d0a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d0fd
push ecx
push edx
call fcn.100d0707
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
cmp ecx, 0xf
jbe 0x1003d10d
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d103
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d0707
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.10035320
test eax, eax
jne 0x1003d134
push eax
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xe8]
call fcn.10033790
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1003d175
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d16b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d16b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d0707
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1003efe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d028c
mov esp, ebp
pop ebp
ret