Function at 0x1003eca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9429
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100cc008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [0x100ef694]
test eax, eax
je 0x1003ed0f
mov eax, dword [eax + 0x18]
mov ecx, 1
jmp 0x1003ed16
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x14], ecx
test cl, 2
je 0x1003ed24
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x1003ed2f
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1003ef5d
movaps xmm0, xmmword [0x100c17a0]
xor eax, eax
movaps xmm1, xmmword [0x100c1ae0]
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x50], 0xa2e1
movaps xmm0, xmmword [0x100c1770]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x100c20f0]
movups xmmword [ebp - 0x60], xmm0
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x80]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x80], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x1003ed70
cmp eax, 0x32
jae 0x1003ed9b
nop dword [eax + eax]
xor byte [ebp + eax - 0x80], 0xa2
inc eax
cmp eax, 0x32
jb 0x1003ed90
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003edb3
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1001e170
mov edi, dword [0x100ef69c]
test edi, edi
je 0x1003edd8
mov edi, dword [edi + 0x50]
jmp 0x1003edda
xor edi, edi
mov esi, dword [0x100ef694]
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x1003edef
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x1003edf4
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x1003edfb
and eax, 0xffffffef
test al, 8
je 0x1003ee02
and eax, 0xfffffff7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
or eax, 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x2c], xmm0
push eax
push esi
mov edx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.1003e670
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003ee93
nop dword [eax + eax]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x24], ecx
je 0x1003ee60
mov dword [ecx], eax
add dword [ebp - 0x28], 4
jmp 0x1003ee70
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1008ea60
mov eax, dword [ebp - 0x14]
sub esi, eax
lea ecx, [ebp - 0x34]
dec esi
add edi, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x4c]
mov edx, edi
push eax
push esi
call fcn.1003e670
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003ee50
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.1008e0d0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp edx, 0x10
jb 0x1003ef0f
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ef02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003ef02
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b55ca
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, eax
je 0x1003ef2a
mov edi, dword [ebp - 0x14]
push dword [esi]
call fcn.1003ef80
add esi, 4
cmp esi, edi
jne 0x1003ef16
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1003ef5d
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x1003ef53
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003ef53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.100b55ca
add esp, 8
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.100b5137
mov esp, ebp
pop ebp
ret