Function at 0x100f1df0
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x1014f601
call fcn.101439bc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], edi
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100f2863
push eax
push edi
call fcn.1011b229
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 [0x10151aac]
call esi
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100f2863
lea ecx, [ebp - 0x94]
call fcn.100f0805
mov ecx, dword [edi + 0x88]
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x100f1e9a
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
test ecx, ecx
jle 0x100f1e9a
mov eax, dword [edi + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov edx, dword [ebp - 0x78]
inc edx
mov dword [ebp - 0x78], edx
cmp edx, dword [ebp - 0x7c]
jl 0x100f1e75
xor eax, eax
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x100f20bf
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x70], edx
test ecx, ecx
jle 0x100f20bf
mov eax, dword [edi + 0x8c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ecx + 8]
test eax, eax
je 0x100f1ee8
mov edx, eax
mov dword [ebp - 0x74], eax
jmp 0x100f1eee
mov edx, dword [ecx + 4]
mov dword [ebp - 0x74], edx
cmp edx, 1
jle 0x100f20ac
test eax, eax
lea eax, [ecx + 0x10]
jne 0x100f1f01
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 0x100f1f45
test eax, 0x4000000
jne 0x100f1f45
mov eax, dword [esi + 0x28]
push 1
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f5dea
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
test byte [ecx + 0x28], 8
je 0x100f1f6c
test eax, 0x4000000
jne 0x100f1f6c
mov eax, dword [esi + 0x28]
push 0
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f5dea
lea ecx, [ebp - 0xc4]
call fcn.100f06e9
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.1011b229
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
mov esi, dword [ebp - 0x78]
mov ecx, esi
push edi
call fcn.1011b229
test eax, eax
je 0x100f2088
push edi
mov ecx, esi
call fcn.1011b229
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 0x100f2022
movss xmm0, dword [esi + 0xac]
lea eax, [ebp - 0xb4]
subss xmm0, dword [0x1016473c]
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.1011b229
mov eax, dword [esi + 0x94]
add esp, 0x14
test eax, eax
je 0x100f202b
cmp eax, 3
jne 0x100f2051
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.1011b229
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1011b229
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 0x100f1fb1
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f5a16
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.1011b229
mov edi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
cmp edx, dword [ebp - 0x98]
jl 0x100f1ebe
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.100f629d
mov esi, dword [edi + 0x150]
test esi, esi
jne 0x100f20fe
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 0x100f2109
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 0x100f2386
mov eax, dword [0x107d05a8]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100f2386
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 [0x10151aac]
call esi
lea eax, [edi + 0x98]
push eax
call fcn.1011b229
movsd xmm0, qword [0x10155c58]
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 [0x10151aac]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f2373
mov ecx, dword [edi]
lea eax, [ebp - 0x9c]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
and dword [ebp - 0x70], 0
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
jle 0x100f2363
lea ecx, [ebp - 0xc4]
call fcn.100f06e9
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
push dword [eax + 0xa4]
call fcn.1011b229
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 [0x10151aac]
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 [0x10151aac]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x100f2326
mov edi, dword [ebp - 0x7c]
add edi, 8
movss xmm0, dword [ebp - 0x9c]
lea edx, [ebp - 0xb4]
mulss xmm0, dword [0x1015b40c]
mov eax, dword [ebp - 0x80]
movss xmm2, dword [edi - 8]
movss xmm1, dword [ebp - 0x98]
mulss xmm1, dword [0x1015b40c]
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 [0x10155c28]
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 [0x10151aac]
call esi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1011b229
add edi, 0xc
sub dword [ebp - 0x78], 1
jne 0x100f2261
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f5a16
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.1011b229
mov eax, dword [edi]
inc dword [ebp - 0x70]
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10151aac]
call esi
cmp dword [ebp - 0x70], eax
jl 0x100f21ef
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0x74]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
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 [0x10151aac]
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 [0x10151aac]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [0x10151aac]
call esi
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x74], ecx
cmp dword [edx + 0x24], ecx
jle 0x100f24a1
mov dword [ebp - 0x78], ecx
cmp dword [edi + 0xc2], 0
je 0x100f241c
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 [0x10151aac]
call esi
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x74]
cmp eax, 1
jne 0x100f248b
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 0x100f248b
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 0x100f245b
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 0x100f23ef
mov eax, dword [ebp + 0xc]
and eax, 0x3000000
cmp eax, 0x2000000
jne 0x100f2827
mov eax, dword [edi + 0x66]
mov dword [ebp - 0x74], eax
mov eax, dword [0x107d05a8]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
je 0x100f2827
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 [0x10151aac]
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.1011b229
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.1011b229
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.1011b229
mov eax, dword [edi]
push esi
push edi
mov esi, dword [eax + 0xec]
mov ecx, esi
call dword [0x10151aac]
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 [0x10151aac]
call esi
mov eax, dword [ebp - 0x80]
add eax, 0x98
push eax
call fcn.1011b229
movsd xmm0, qword [0x10155c58]
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 [0x10151aac]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f280e
mov ecx, dword [edi]
lea eax, [ebp - 0xb0]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [edi]
push edi
mov dword [ebp - 0x98], eax
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x10151aac]
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 [0x10151aac]
call esi
cmp dword [ebp - 0x70], 0
jle 0x100f2724
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 [0x1015b40c]
push edx
movss xmm1, dword [eax - 8]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
mulss xmm0, dword [0x1015b40c]
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 [0x10155c28]
mov eax, dword [ebp - 0x80]
xorps xmm1, xmmword [0x10155d10]
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 [0x10151aac]
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 0x100f2653
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151aac]
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 [0x10151aac]
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 [0x10151aac]
call esi
cmp dword [ebp - 0x98], 0
jle 0x100f27f6
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 [0x10151aac]
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 0x100f2783
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
jmp 0x100f2814
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 [0x10151aac]
call esi
mov eax, dword [edi]
push 1
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
push 0x4b5
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10151aac]
call esi
lea ecx, [ebp - 0x94]
call fcn.1011b229
mov eax, edi
jmp 0x100f2865
xor eax, eax
call fcn.10143966
ret 0xc