Function at 0x1004e7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b33de
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100d99c0]
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 - 0x38], ecx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x20], xmm0
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov eax, dword [0x100f694c]
mov dword [ebp - 4], edi
test eax, eax
je 0x1004e824
mov eax, dword [eax + 0x18]
lea ecx, [esi + 1]
jmp 0x1004e82b
mov ecx, 2
xor eax, eax
mov dword [ebp - 0x14], ecx
test cl, 2
je 0x1004e839
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x1004e844
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1004ea57
movaps xmm0, xmmword [0x100bc650]
xor eax, eax
movaps xmm2, xmmword [0x100bb620]
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x54], 0xacef
movaps xmm0, xmmword [0x100bc690]
movups xmmword [ebp - 0x74], xmm0
movaps xmm0, xmmword [0x100bd4c0]
movups xmmword [ebp - 0x64], xmm0
nop
movups xmm0, xmmword [ebp + eax - 0x84]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x84], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x1004e880
cmp eax, 0x32
jae 0x1004e8b2
xor byte [ebp + eax - 0x84], 0xac
inc eax
cmp eax, 0x32
jb 0x1004e8a4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e8d0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.1001d5b0
mov edi, dword [0x100f6954]
test edi, edi
je 0x1004e8f8
mov edi, dword [edi + 0x50]
jmp 0x1004e8fa
xor edi, edi
mov esi, dword [0x100f694c]
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x1004e90f
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x1004e914
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x1004e91b
and eax, 0xffffffef
test al, 8
je 0x1004e922
and eax, 0xfffffff7
or eax, 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movq qword [ebp - 0x2c], xmm0
push eax
push edi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push esi
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10025d70
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004e9b3
nop dword [eax + eax]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x24]
je 0x1004e980
mov dword [ecx], eax
add dword [ebp - 0x28], 4
jmp 0x1004e990
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1004be20
mov eax, dword [ebp - 0x14]
sub esi, eax
dec esi
add edi, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x50]
push eax
push edi
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.10025d70
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1004e970
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.1001faa0
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
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
call fcn.1001faa0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x1004ea34
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ea2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ea2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100ae001
add esp, 8
cmp esi, dword [ebp - 0x14]
je 0x1004ea57
mov edi, dword [ebp - 0x14]
nop dword [eax]
push dword [esi]
mov ecx, dword [ebp - 0x38]
call fcn.1004f3b0
add esi, 4
cmp esi, edi
jne 0x1004ea40
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1004ea8a
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x1004ea80
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ea80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.100ae001
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.100ae337
mov esp, ebp
pop ebp
ret