Function at 0x100f5630
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x101540f9
call fcn.10147e2c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], edi
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100f60a3
push eax
push edi
call fcn.100e2e86
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 [0x10155aa8]
call esi
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100f60a3
lea ecx, [ebp - 0x94]
call fcn.100f3f85
mov ecx, dword [edi + 0x88]
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x100f56da
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
test ecx, ecx
jle 0x100f56da
mov eax, dword [edi + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edx, dword [ebp - 0x78]
inc edx
mov dword [ebp - 0x78], edx
cmp edx, dword [ebp - 0x7c]
jl 0x100f56b5
xor eax, eax
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x100f58ff
mov ecx, dword [ecx + 0x24]
mov edx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x70], edx
test ecx, ecx
jle 0x100f58ff
mov eax, dword [edi + 0x8c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ecx + 8]
test eax, eax
je 0x100f5728
mov edx, eax
mov dword [ebp - 0x74], eax
jmp 0x100f572e
mov edx, dword [ecx + 4]
mov dword [ebp - 0x74], edx
cmp edx, 1
jle 0x100f58ec
test eax, eax
lea eax, [ecx + 0x10]
jne 0x100f5741
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 0x100f5785
test eax, 0x4000000
jne 0x100f5785
mov eax, dword [esi + 0x28]
push 1
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f962a
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
test byte [ecx + 0x28], 8
je 0x100f57ac
test eax, 0x4000000
jne 0x100f57ac
mov eax, dword [esi + 0x28]
push 0
push dword [eax + 0x10c]
lea eax, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.100f962a
lea ecx, [ebp - 0xc4]
call fcn.100f3e69
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.100e2e86
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.100e2e86
test eax, eax
je 0x100f58c8
push edi
mov ecx, esi
call fcn.100e2e86
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 0x100f5862
movss xmm0, dword [esi + 0xac]
lea eax, [ebp - 0xb4]
subss xmm0, dword [0x1016873c]
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.100e2e86
mov eax, dword [esi + 0x94]
add esp, 0x14
test eax, eax
je 0x100f586b
cmp eax, 3
jne 0x100f5891
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.100e2e86
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100e2e86
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 0x100f57f1
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f9256
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.100e2e86
mov edi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
cmp edx, dword [ebp - 0x98]
jl 0x100f56fe
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.100f9add
mov esi, dword [edi + 0x150]
test esi, esi
jne 0x100f593e
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 0x100f5949
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 0x100f5bc6
mov eax, dword [0x107d4510]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100f5bc6
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 [0x10155aa8]
call esi
lea eax, [edi + 0x98]
push eax
call fcn.100e2e86
movsd xmm0, qword [0x10159c48]
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 [0x10155aa8]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f5bb3
mov ecx, dword [edi]
lea eax, [ebp - 0x9c]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
and dword [ebp - 0x70], 0
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10155aa8]
call esi
test eax, eax
jle 0x100f5ba3
lea ecx, [ebp - 0xc4]
call fcn.100f3e69
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
push dword [eax + 0xa4]
call fcn.100e2e86
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 [0x10155aa8]
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 [0x10155aa8]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x100f5b66
mov edi, dword [ebp - 0x7c]
add edi, 8
movss xmm0, dword [ebp - 0x9c]
lea edx, [ebp - 0xb4]
mulss xmm0, dword [0x1015f3fc]
mov eax, dword [ebp - 0x80]
movss xmm2, dword [edi - 8]
movss xmm1, dword [ebp - 0x98]
mulss xmm1, dword [0x1015f3fc]
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 [0x10159c18]
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 [0x10155aa8]
call esi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100e2e86
add edi, 0xc
sub dword [ebp - 0x78], 1
jne 0x100f5aa1
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100f9256
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.100e2e86
mov eax, dword [edi]
inc dword [ebp - 0x70]
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10155aa8]
call esi
cmp dword [ebp - 0x70], eax
jl 0x100f5a2f
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0x74]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
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 [0x10155aa8]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x74], ecx
cmp dword [edx + 0x24], ecx
jle 0x100f5ce1
mov dword [ebp - 0x78], ecx
cmp dword [edi + 0xc2], 0
je 0x100f5c5c
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 [0x10155aa8]
call esi
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x74]
cmp eax, 1
jne 0x100f5ccb
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 0x100f5ccb
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 0x100f5c9b
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 0x100f5c2f
mov eax, dword [ebp + 0xc]
and eax, 0x3000000
cmp eax, 0x2000000
jne 0x100f6067
mov eax, dword [edi + 0x66]
mov dword [ebp - 0x74], eax
mov eax, dword [0x107d4510]
push str.CADTEXT
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [ebp - 0x78], eax
test eax, eax
je 0x100f6067
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 [0x10155aa8]
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.100e2e86
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.100e2e86
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.100e2e86
mov eax, dword [edi]
push esi
push edi
mov esi, dword [eax + 0xec]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
call esi
mov eax, dword [ebp - 0x80]
add eax, 0x98
push eax
call fcn.100e2e86
movsd xmm0, qword [0x10159c48]
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 [0x10155aa8]
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100f604e
mov ecx, dword [edi]
lea eax, [ebp - 0xb0]
push eax
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [edi]
push edi
mov dword [ebp - 0x98], eax
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
call esi
cmp dword [ebp - 0x70], 0
jle 0x100f5f64
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 [0x1015f3fc]
push edx
movss xmm1, dword [eax - 8]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
mulss xmm0, dword [0x1015f3fc]
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 [0x10159c18]
mov eax, dword [ebp - 0x80]
xorps xmm1, xmmword [0x10159d00]
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 [0x10155aa8]
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 0x100f5e93
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
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 [0x10155aa8]
call esi
cmp dword [ebp - 0x98], 0
jle 0x100f6036
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 [0x10155aa8]
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 0x100f5fc3
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
jmp 0x100f6054
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 [0x10155aa8]
call esi
mov eax, dword [edi]
push 1
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push 0x4b5
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10155aa8]
call esi
lea ecx, [ebp - 0x94]
call fcn.100e2e86
mov eax, edi
jmp 0x100f60a5
xor eax, eax
call fcn.10147dd6
ret 0xc