Function at 0x1002eef0
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 0x101a456a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10242040]
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 - 0x58], 0
mov ecx, 0x10335814
mov dword [ebp - 4], 0
call fcn.10020730
mov al, byte [eax]
test al, al
je 0x1002f1dd
mov eax, dword [0x10334abc]
mov ecx, dword [0x10334ac0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], ecx
cmp eax, ecx
je 0x1002f1dd
mov esi, dword [ebp - 0x58]
nop dword [eax]
cmp dword [eax + 0x14], 0xf
mov edx, eax
jbe 0x1002ef7a
mov edx, dword [eax]
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002ef80
sub eax, edi
mov edi, 0x4fa38bcd
lea ecx, [eax + 1]
test ecx, ecx
je 0x1002efa8
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, edi
imul edi, eax, 0xf1546419
sub ecx, 1
jne 0x1002ef95
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], edi
push eax
call fcn.1002f280
push 0x20
mov dword [ebp - 0x68], eax
call fcn.1014b7d3
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1014b7d3
movups xmm0, xmmword [str.C:Weave_assets.png]
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x1c], 0x16
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x101f8260]
mov dword [eax + 0x10], ecx
mov cx, word [0x101f8264]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0
mov edx, dword [ebp - 0x5c]
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
or esi, 1
cmp dword [ebp - 0x18], 0xf
mov dword [ebp - 0x54], esi
cmova edi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x1c]
call fcn.1002f220
sub esp, 8
mov ecx, esp
push esi
mov dword [ecx], 1
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x44]
push edi
call fcn.10020630
add esp, 0x10
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x78]
mov esi, dword [ebp - 0x54]
mov edx, eax
or esi, 2
mov dword [ebp - 0x58], esi
call fcn.100f7510
mov dword [ebp - 4], 4
or esi, 4
mov ecx, dword [ebp - 0x64]
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
call fcn.100f5f50
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 6
mov dword [ecx], eax
mov eax, esi
test al, 4
je 0x1002f0f2
mov ecx, dword [ebp - 0x78]
and eax, 0xfffffffb
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x1002f0f2
mov edx, dword [ebp - 0x70]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002f0d0
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f19f
push edx
push ecx
call fcn.1014bb22
mov eax, dword [ebp - 0x54]
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 5
test al, 2
je 0x1002f148
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffd
mov dword [ebp - 0x54], eax
cmp ecx, 0xf
jbe 0x1002f136
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f129
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f19f
push ecx
push edx
call fcn.1014bb22
mov eax, dword [ebp - 0x54]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
test al, 1
je 0x1002f189
mov ecx, dword [ebp - 0x18]
and eax, 0xfffffffe
mov dword [ebp - 0x54], eax
cmp ecx, 0xf
jbe 0x1002f189
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f17f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f19f
push ecx
push edx
call fcn.1014bb22
add esp, 8
mov eax, dword [ebp - 0x5c]
add eax, 0x18
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x6c]
je 0x1002f1a5
mov esi, dword [ebp - 0x54]
jmp 0x1002ef70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [0x10334ac0]
mov eax, dword [0x10334abc]
cmp eax, ecx
je 0x1002f1dd
push ecx
mov edx, ecx
mov ecx, eax
call fcn.100187e0
mov ecx, dword [ebx + 0x2c]
add esp, 4
mov eax, dword [0x10334abc]
mov dword [0x10334ac0], eax
test ecx, ecx
jne 0x1002f1d8
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x1002f1f5
mov edx, dword [ecx]
lea eax, [ebx + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.1014b7c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret