Function at 0x1003c1e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d90f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100f0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x1003c385
cmp dword [ebx + 0x20], 0xf
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.100385e0
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
mov dword [ebp - 0x3c], esi
cmp esi, ecx
ja 0x1003c288
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x1003c2ce
mov edx, dword [ebp - 0x18]
mov edi, esi
mov eax, edx
sub edi, ecx
sub eax, ecx
cmp edi, eax
ja 0x1003c2bb
mov dword [ebp - 0x1c], esi
cmp edx, 0xf
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
push edi
add esi, ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x3c]
jmp 0x1003c2ce
push 0
push edi
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x3c]
push edi
call fcn.1003d0e0
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmova eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push edx
cmova ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.100385e0
add esp, 8
mov dword [ebp - 0x38], 0xb5bfbab7
mov dword [ebp - 0x34], 0xb5b7beb3
xor eax, eax
mov dword [ebp - 0x30], 0xd6f6aabd
nop dword [eax + eax]
xor byte [ebp + eax - 0x38], 0xd6
inc eax
cmp eax, 0xc
jb 0x1003c310
mov eax, dword [0x10121834]
lea edx, [ebp - 0x38]
push edx
push 0x100f00a0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x10121834]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0xf
cmova edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x100f009c
push eax
mov eax, dword [ecx + 0x64]
call eax
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x1003c385
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c37b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c3bd
push ecx
push edx
call fcn.100d7387
add esp, 8
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1003c3cd
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c3c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c3c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7387
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d6f0c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret