Function at 0x100f1020
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x1014fc12
call fcn.1014377c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], edi
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100f1a9c
push eax
push edi
call fcn.1013d095
mov eax, dword [edi + 0x28]
push str.e3_mesh
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14c]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100f1a9c
lea ecx, [ebp - 0x94]
call fcn.100ef9de
mov ecx, dword [edi + 0x88]
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x100f10ca
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
test ecx, ecx
jle 0x100f10ca
mov eax, dword [edi + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov edx, dword [ebp - 0x78]
inc edx
mov dword [ebp - 0x78], edx
cmp edx, dword [ebp - 0x7c]
jl 0x100f10a5
xor eax, eax
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x100f12f8
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x70], edx
test ecx, ecx
jle 0x100f12f8
mov eax, dword [edi + 0x8c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, eax
mov dword [ebp - 0x78], ecx
mov edx, dword [ecx + 8]
test edx, edx
je 0x100f1118
mov eax, edx
mov dword [ebp - 0x74], edx
jmp 0x100f111e
mov eax, dword [ecx + 4]
mov dword [ebp - 0x74], eax
cmp eax, 1
jle 0x100f12e5
lea eax, [ecx + 0x10]
test edx, edx
jne 0x100f1131
mov eax, dword [ecx + 0xc]
test byte [ecx + 0x24], 8
lea esi, [ecx + 0x14]
mov eax, dword [eax]
lea edi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x80]
je 0x100f1175
test eax, 0x4000000
jne 0x100f1175
mov eax, dword [esi + 0x28]
push 1
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f51ab
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
test byte [ecx + 0x28], 8
je 0x100f119c
test eax, 0x4000000
jne 0x100f119c
mov eax, dword [esi + 0x28]
push 0
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f51ab
lea ecx, [ebp - 0xc4]
call fcn.100ef8a9
mov esi, dword [ebp - 0x7c]
lea edi, [ebp - 0xb4]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1013d095
lea esi, [ebp - 0xd0]
lea edi, [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
mov dword [ebp - 0x84], edi
cmp dword [ebp - 0x74], edi
jle 0x100f12c1
mov esi, dword [ebp - 0x78]
mov ecx, esi
push edi
call fcn.1013d095
test eax, eax
je 0x100f12c1
push edi
mov ecx, esi
call fcn.1013d095
mov esi, eax
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x80]
mov eax, dword [esi + 0x94]
cmp eax, 1
jne 0x100f125b
movss xmm0, dword [esi + 0xac]
lea eax, [ebp - 0xb4]
subss xmm0, dword [0x10164d1c]
push 0
push ecx
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [esi + 0x28]
push dword [eax + 0x10c]
call fcn.1013d095
mov eax, dword [esi + 0x94]
add esp, 0x14
test eax, eax
je 0x100f1264
cmp eax, 3
jne 0x100f128a
lea eax, [esi + 0x10d]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [esi + 0x28]
push dword [eax + 0x10c]
call fcn.1013d095
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1013d095
lea esi, [ebp - 0xa8]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x84]
inc edi
mov dword [ebp - 0x84], edi
cmp edi, dword [ebp - 0x74]
jl 0x100f11ea
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f4da6
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.1013d095
mov edi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
cmp edx, dword [ebp - 0x98]
jl 0x100f10ee
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.100f563d
mov esi, dword [edi + 0x150]
test esi, esi
jne 0x100f1337
push 0x5c
lea eax, [ebp - 0x6c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c], 0xc
push str.Arial
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
add esp, 0x14
jmp 0x100f1342
push 0x17
pop ecx
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x80]
test dword [ebp + 0xc], 0x1000000
je 0x100f15bf
mov eax, dword [0x107d1580]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100f15bf
lea esi, [edi + 0x54]
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0xa8]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x80]
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3c]
mov ecx, esi
call dword [0x10151b24]
call esi
lea eax, [edi + 0x98]
push eax
call fcn.1013d095
movsd xmm0, qword [0x10156210]
lea esi, [ebp - 0x6c]
mov edx, dword [ebp - 0x74]
push 0
sub esp, 0x64
mov edx, dword [edx]
movsd qword [esp + 0x5c], xmm0
push 0x17
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x2c]
mov ecx, esi
push eax
push dword [ebp - 0x74]
call dword [0x10151b24]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f15ac
mov ecx, dword [edi]
lea eax, [ebp - 0x9c]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
and dword [ebp - 0x70], 0
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10151b24]
call esi
test eax, eax
jle 0x100f159c
lea ecx, [ebp - 0xc4]
call fcn.100ef8a9
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
push dword [eax + 0xa4]
call fcn.1013d095
push dword [ebp - 0x70]
lea esi, [ebp - 0xd0]
lea edi, [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x84]
push edi
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [edi]
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
push edi
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x100f155f
mov edi, dword [ebp - 0x7c]
add edi, 8
movss xmm0, dword [ebp - 0x9c]
lea edx, [ebp - 0xb4]
mulss xmm0, dword [0x1015b9bc]
mov eax, dword [ebp - 0x80]
movss xmm2, dword [edi - 8]
movss xmm1, dword [ebp - 0x98]
mulss xmm1, dword [0x1015b9bc]
subss xmm2, xmm0
mov eax, dword [eax + 0x28]
movss xmm0, dword [ebp - 0xa8]
movss xmm3, dword [edi - 4]
subss xmm3, xmm1
movss xmm1, dword [edi]
subss xmm1, dword [0x101561dc]
addss xmm0, xmm2
push edx
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0xa4]
subss xmm0, xmm3
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0xa0]
addss xmm0, xmm1
movss dword [ebp - 0xac], xmm0
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10151b24]
call esi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1013d095
add edi, 0xc
sub dword [ebp - 0x78], 1
jne 0x100f149a
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f4da6
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.1013d095
mov eax, dword [edi]
inc dword [ebp - 0x70]
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10151b24]
call esi
cmp dword [ebp - 0x70], eax
jl 0x100f1428
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [ebp - 0x74]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [ebp - 0x94]
mov esi, dword [edi]
push 1
push 0xffffffffffffffff
push dword [eax + 0x24]
mov esi, dword [esi + 0x10c]
mov ecx, esi
push edi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [0x10151b24]
call esi
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x74], ecx
cmp dword [edx + 0x24], ecx
jle 0x100f16da
mov dword [ebp - 0x78], ecx
cmp dword [edi + 0xc2], 0
je 0x100f1655
mov eax, dword [edx + 0x20]
mov edi, dword [edi + 0xc2]
mov esi, dword [eax + esi*4]
add esi, 4
lea edi, [ecx + edi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x74]
mov eax, dword [edx + 0x20]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax + 0x24]
push esi
mov esi, dword [ecx + 0x110]
mov ecx, esi
push edi
call dword [0x10151b24]
call esi
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x74]
cmp eax, 1
jne 0x100f16c4
mov eax, dword [edx + 0x20]
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp dword [eax + 0x24], ecx
jle 0x100f16c4
mov eax, dword [eax + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [edi + 0xca]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx]
mov edx, dword [ebp - 0x70]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov edx, dword [ebp - 0x94]
inc ecx
mov dword [ebp - 0x70], ecx
mov eax, dword [edx + 0x20]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp ecx, dword [eax + 0x24]
jl 0x100f1694
mov ecx, dword [ebp - 0x78]
inc esi
add ecx, 0xc
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ecx
cmp esi, dword [edx + 0x24]
jl 0x100f1628
mov eax, dword [ebp + 0xc]
and eax, 0x3000000
cmp eax, 0x2000000
jne 0x100f1a60
mov eax, dword [edi + 0x66]
mov dword [ebp - 0x74], eax
mov eax, dword [0x107d1580]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
je 0x100f1a60
mov eax, dword [ebp - 0x80]
push 0
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x150]
mov ecx, esi
call dword [0x10151b24]
call esi
and dword [ebp - 0xa8], 0
mov esi, eax
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa8]
and dword [ebp - 0xa0], 0
mov ecx, esi
push eax
call fcn.1013d095
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.1013d095
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.1013d095
mov eax, dword [edi]
push esi
push edi
mov esi, dword [eax + 0xec]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [ebp - 0x80]
lea edi, [ebp - 0xc0]
lea edx, [ebp - 0xc0]
push edx
lea esi, [eax + 0x54]
mov eax, dword [eax + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3c]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [ebp - 0x80]
add eax, 0x98
push eax
call fcn.1013d095
movsd xmm0, qword [0x10156210]
lea esi, [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
push 0
sub esp, 0x64
mov edx, dword [edx]
movsd qword [esp + 0x5c], xmm0
push 0x17
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x30]
mov ecx, esi
push eax
push dword [ebp - 0x78]
call dword [0x10151b24]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f1a47
mov ecx, dword [edi]
lea eax, [ebp - 0xb0]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [edi]
push edi
mov dword [ebp - 0x98], eax
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x10151b24]
call esi
mov edi, dword [ebp - 0x8c]
push 1
mov dword [ebp - 0x70], eax
mov esi, dword [edi]
mov ecx, dword [edi + 0x66]
add ecx, eax
push ecx
mov esi, dword [esi + 0x118]
mov ecx, esi
push edi
call dword [0x10151b24]
call esi
cmp dword [ebp - 0x70], 0
jle 0x100f195d
imul eax, dword [ebp - 0x74], 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x98]
add eax, 8
mov dword [ebp - 0x98], eax
movss xmm0, dword [ebp - 0xb0]
lea edx, [ebp - 0xd0]
mulss xmm0, dword [0x1015b9bc]
push edx
movss xmm1, dword [eax - 8]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
mulss xmm0, dword [0x1015b9bc]
addss xmm1, dword [ebp - 0xc0]
movss dword [ebp - 0xd0], xmm1
movss xmm1, dword [eax - 4]
subss xmm1, xmm0
movss xmm0, dword [eax]
subss xmm0, dword [0x101561dc]
mov eax, dword [ebp - 0x80]
xorps xmm1, xmmword [0x101562c0]
addss xmm1, dword [ebp - 0xbc]
addss xmm0, dword [ebp - 0xb8]
mov eax, dword [eax + 0x28]
movss dword [ebp - 0xcc], xmm1
movss dword [ebp - 0xc8], xmm0
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10151b24]
call esi
mov edi, dword [edi + 0x62]
lea esi, [ebp - 0xd0]
mov ecx, dword [ebp - 0x7c]
add edi, ecx
mov eax, dword [ebp - 0x98]
add ecx, 0xc
add eax, 0xc
mov dword [ebp - 0x7c], ecx
sub dword [ebp - 0x70], 1
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x98], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x8c]
jne 0x100f188c
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov esi, dword [edi]
push 1
push 3
push eax
mov esi, dword [esi + 0x128]
mov ecx, esi
push edi
mov dword [ebp - 0x98], eax
call dword [0x10151b24]
call esi
cmp dword [ebp - 0x98], 0
jle 0x100f1a2f
mov eax, dword [ebp - 0x7c]
add eax, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
push 3
push dword [ebp - 0x88]
mov esi, dword [eax + 0xfc]
mov ecx, esi
push edi
call dword [0x10151b24]
call esi
mov edx, dword [edi + 0x9e]
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
mov ecx, dword [esi - 8]
mov eax, dword [edx + eax*4]
add ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov ecx, dword [esi - 4]
add ecx, dword [ebp - 0x74]
mov eax, dword [edx + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x88]
mov ecx, dword [esi]
add esi, 0xc
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], esi
mov eax, dword [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0x98]
jl 0x100f19bc
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
jmp 0x100f1a4d
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x78]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push 1
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push 0x4b5
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10151b24]
call esi
lea ecx, [ebp - 0x94]
call fcn.1013d095
mov eax, edi
jmp 0x100f1a9e
xor eax, eax
call fcn.10143726
ret 0xc