Function at 0x100db586
Capabilities:
Encode data using xor

Disassembly:
push 0xc8
mov eax, 0x1012f22f
call fcn.101236c7
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], esi
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x10c]
test eax, eax
jne 0x100db5af
xor eax, eax
jmp 0x100dbedd
push eax
push esi
call fcn.100c622d
mov eax, dword [esi + 0x28]
push str.e3_mesh
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14c]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x100db5a8
lea ecx, [ebp - 0x90]
call fcn.100da311
mov ecx, dword [esi + 0x88]
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x100db612
mov ecx, dword [ecx + 0x24]
mov edi, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
jle 0x100db612
mov eax, dword [esi + 0x88]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
inc edi
cmp edi, dword [ebp - 0x80]
jl 0x100db5fd
xor eax, eax
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x100db834
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x70], edx
test ecx, ecx
jle 0x100db834
mov eax, dword [esi + 0x8c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov dword [ebp - 0x9c], edi
mov eax, dword [edi + 8]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x100db65b
mov eax, dword [edi + 4]
mov dword [ebp - 0x7c], eax
cmp eax, 1
jle 0x100db821
push 0
mov ecx, edi
call fcn.100c622d
lea esi, [edi + 0x14]
mov dword [ebp - 0x80], eax
lea edi, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x78]
test byte [edi + 0x24], 8
je 0x100db6ae
test dword [ebp + 0xc], 0x4000000
jne 0x100db6ae
mov eax, dword [esi + 0x28]
mov ecx, esi
push 1
push dword [eax + 0x10c]
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.100debeb
test byte [edi + 0x28], 8
je 0x100db6d7
test dword [ebp + 0xc], 0x4000000
jne 0x100db6d7
mov eax, dword [esi + 0x28]
mov ecx, esi
push 0
push dword [eax + 0x10c]
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.100debeb
mov eax, dword [0x107ac68c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov dword [ebp - 0xc8], eax
mov esi, dword [ebp - 0x80]
lea edi, [ebp - 0xb8]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100c622d
lea esi, [ebp - 0xd4]
lea edi, [ebp - 0xc4]
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 - 0x74], edi
cmp dword [ebp - 0x7c], edi
jle 0x100db7fd
mov esi, dword [ebp - 0x9c]
mov ecx, esi
push edi
call fcn.100c622d
test eax, eax
je 0x100db7fd
push edi
mov ecx, esi
call fcn.100c622d
mov esi, eax
lea edi, [ebp - 0xac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x78]
cmp dword [esi + 0x94], 1
jne 0x100db797
movss xmm0, dword [esi + 0xac]
lea eax, [ebp - 0xb8]
subss xmm0, dword [0x1013fd8c]
push 0
push ecx
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [esi + 0x28]
push dword [eax + 0x10c]
call fcn.100c622d
add esp, 0x14
mov eax, dword [esi + 0x94]
test eax, eax
je 0x100db7a6
cmp eax, 3
jne 0x100db7cc
lea eax, [esi + 0x10d]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [esi + 0x28]
push dword [eax + 0x10c]
call fcn.100c622d
add esp, 0x10
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xc8]
call fcn.100c622d
lea esi, [ebp - 0xac]
lea edi, [ebp - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x74]
inc edi
mov dword [ebp - 0x74], edi
cmp edi, dword [ebp - 0x7c]
jl 0x100db72b
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x90]
call fcn.100de807
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.100da3f2
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
cmp edx, dword [ebp - 0x84]
jl 0x100db636
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.100df03e
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x100db873
push 0x5c
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR120.dll_memset
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c], 0xc
push str.Arial
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy]
add esp, 0x14
jmp 0x100db880
push 0x17
pop ecx
mov esi, eax
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
and eax, 0x1000000
mov dword [ebp - 0x88], eax
je 0x100dbaa2
mov eax, dword [0x107ac68c]
push str.CADTEXT
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100dbaa2
add esi, 0x54
lea edi, [ebp - 0xac]
lea edx, [ebp - 0xac]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x78]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [esi + 0x98]
push eax
call fcn.100c622d
movsd xmm0, qword [0x10131290]
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 edi, dword [ebp - 0x74]
push eax
push edi
call dword [edx + 0x2c]
mov esi, eax
mov dword [ebp - 0x70], esi
test esi, esi
je 0x100dba9c
mov ecx, dword [esi]
lea eax, [ebp - 0xa0]
push eax
push esi
call dword [ecx + 0x20]
mov eax, dword [esi]
and dword [ebp - 0x7c], 0
push esi
call dword [eax + 0xc]
test eax, eax
jle 0x100dba96
mov eax, dword [0x107ac68c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
push dword [eax + 0xa4]
call fcn.100c622d
lea esi, [ebp - 0xd4]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x7c]
push edi
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
mov ecx, dword [esi]
push edi
push esi
mov dword [ebp - 0x80], eax
call dword [ecx + 0x10]
mov dword [ebp - 0x84], eax
test eax, eax
jle 0x100dba60
mov esi, dword [ebp - 0x80]
mov edi, eax
add esi, 8
movss xmm0, dword [ebp - 0xa0]
lea edx, [ebp - 0xb8]
mulss xmm0, dword [0x10136a5c]
mov eax, dword [ebp - 0x78]
movss xmm2, dword [esi - 8]
movss xmm1, dword [ebp - 0x9c]
mulss xmm1, dword [0x10136a5c]
subss xmm2, xmm0
mov eax, dword [eax + 0x28]
movss xmm0, dword [ebp - 0xac]
movss xmm3, dword [esi - 4]
subss xmm3, xmm1
movss xmm1, dword [esi]
subss xmm1, dword [0x1013125c]
addss xmm0, xmm2
push edx
xorps xmm3, xmmword [0x10131350]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0xa8]
addss xmm0, xmm3
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0xa4]
addss xmm0, xmm1
movss dword [ebp - 0xb0], xmm0
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xc8]
call fcn.100c622d
add esi, 0xc
dec edi
jne 0x100db9a1
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x90]
call fcn.100de807
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.100da3f2
mov eax, dword [esi]
inc edi
push esi
mov dword [ebp - 0x7c], edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x100db939
mov edi, dword [ebp - 0x74]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x94]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x90]
mov ecx, dword [edi]
push 1
push 0xffffffffffffffff
push dword [eax + 0x24]
push edi
call dword [ecx + 0x10c]
mov eax, dword [edi]
push edi
call dword [eax + 0x114]
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov esi, eax
mov dword [ebp - 0x70], eax
cmp dword [ecx + 0x24], eax
jle 0x100dbba7
mov edx, eax
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0xc2]
test eax, eax
je 0x100dbb1d
mov eax, dword [ecx + 0x20]
mov edi, dword [edi + 0xc2]
mov esi, dword [eax + esi*4]
lea edi, [edx + edi]
lea esi, [esi + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp - 0x70]
mov eax, dword [ecx + 0x20]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax + 0x24]
push esi
push edi
call dword [ecx + 0x110]
mov ecx, dword [ebp - 0x90]
cmp eax, 1
jne 0x100dbb91
mov eax, dword [ecx + 0x20]
xor edx, edx
mov dword [ebp - 0x70], edx
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [eax]
cmp dword [eax + 0x24], edx
jle 0x100dbb91
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + edx*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
inc edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x70], edx
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [eax]
cmp edx, dword [eax + 0x24]
jl 0x100dbb55
mov edx, dword [ebp - 0x74]
inc esi
add edx, 0xc
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], edx
cmp esi, dword [ecx + 0x24]
jl 0x100dbaef
cmp dword [ebp - 0x88], 0
jne 0x100dbeb3
test dword [ebp + 0xc], 0x2000000
je 0x100dbeb3
mov eax, dword [edi + 0x66]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x107ac68c]
push str.CADTEXT
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x100dbeb3
mov eax, dword [ebp - 0x78]
push 0
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x150]
and dword [ebp - 0xac], 0
mov esi, eax
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xac]
and dword [ebp - 0xa4], 0
push 1
mov ecx, dword [esi]
push eax
push 0xc8
push esi
call dword [ecx + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xac]
push 1
push ecx
push 0xc9
push esi
call dword [eax + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xac]
push 1
push ecx
push 0xd7
push esi
call dword [eax + 0x18]
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xec]
mov eax, dword [ebp - 0x78]
lea edi, [ebp - 0xc4]
lea edx, [ebp - 0xc4]
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]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x78]
add eax, 0x98
push eax
call fcn.100c622d
movsd xmm0, qword [0x10131290]
lea esi, [ebp - 0x6c]
mov edx, dword [ebp - 0x9c]
push 0
sub esp, 0x64
mov edx, dword [edx]
movsd qword [esp + 0x5c], xmm0
push 0x17
pop ecx
mov edi, esp
push eax
push dword [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
call dword [edx + 0x30]
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x100dbea1
mov ecx, dword [esi]
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [ecx + 0x20]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x88], eax
call dword [ecx + 0xc]
mov edi, dword [ebp - 0x94]
push 1
mov dword [ebp - 0x74], eax
mov ecx, dword [edi + 0x66]
mov edx, dword [edi]
add ecx, eax
push ecx
push edi
call dword [edx + 0x118]
cmp dword [ebp - 0x74], 0
jle 0x100dbdf3
imul esi, dword [ebp - 0x7c], 0xc
mov eax, dword [ebp - 0x88]
add eax, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x84], esi
movss xmm0, dword [ebp - 0xb4]
lea edx, [ebp - 0xd4]
mulss xmm0, dword [0x10136a5c]
push edx
movss xmm2, dword [eax - 8]
movss xmm1, dword [ebp - 0xb0]
mulss xmm1, dword [0x10136a5c]
subss xmm2, xmm0
movss xmm3, dword [eax - 4]
movss xmm0, dword [ebp - 0xc4]
subss xmm3, xmm1
movss xmm1, dword [eax]
subss xmm1, dword [0x1013125c]
mov eax, dword [ebp - 0x78]
addss xmm0, xmm2
xorps xmm3, xmmword [0x10131350]
mov eax, dword [eax + 0x28]
movss dword [ebp - 0xd4], xmm0
movss xmm0, dword [ebp - 0xc0]
addss xmm0, xmm3
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [ebp - 0xbc]
addss xmm0, xmm1
movss dword [ebp - 0xcc], xmm0
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, dword [edi + 0x62]
mov eax, dword [ebp - 0x70]
add edi, esi
lea esi, [ebp - 0xd4]
add eax, 0xc
mov dword [ebp - 0x70], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x94]
add esi, 0xc
dec dword [ebp - 0x74]
mov dword [ebp - 0x84], esi
jne 0x100dbd1e
mov esi, dword [ebp - 0x80]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x88], eax
call dword [ecx + 0x10]
mov ecx, dword [edi]
push 1
push 3
push eax
push edi
mov dword [ebp - 0x84], eax
call dword [ecx + 0x128]
cmp dword [ebp - 0x84], 0
jle 0x100dbe99
mov eax, dword [ebp - 0x88]
add eax, 8
mov dword [ebp - 0x88], eax
mov esi, eax
mov eax, dword [edi]
push 3
push dword [ebp - 0x98]
push edi
call dword [eax + 0xfc]
mov edx, dword [edi + 0x9e]
mov eax, dword [ebp - 0x98]
mov ecx, dword [esi - 8]
add ecx, dword [ebp - 0x7c]
mov eax, dword [edx + eax*4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [esi - 4]
add ecx, dword [ebp - 0x7c]
mov eax, dword [edx + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [esi]
lea esi, [esi + 0xc]
add ecx, dword [ebp - 0x7c]
mov eax, dword [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x84]
jl 0x100dbe33
mov esi, dword [ebp - 0x80]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x100dbea7
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x9c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi]
push 1
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
push 0x4b5
push edi
call dword [eax + 0x17c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.100da4d3
mov eax, edi
call fcn.10123676
ret 0xc