Function at 0x100a95f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [0x10216634]
push esi
push edi
mov esi, ecx
cmp dword [eax + 0x1648], ebx
je 0x100a984f
mov eax, dword [0x102187c8]
cmp dword [eax], ebx
je 0x100a984f
test esi, esi
je 0x100a96e7
mov eax, dword [0x1021663c]
movq xmm0, qword [str.UABV_R_I_]
movq qword [ebp - 0x1d], xmm0
mov edi, dword [eax + 0x10]
mov al, byte [0x101b0000]
mov byte [ebp - 0x15], al
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [ebp + ebx - 0x1d], al
inc ebx
cmp ebx, 9
jl 0x100a9643
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1d]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9690
sub ecx, edx
lea eax, [ebp - 0x1d]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.100291a0
cmp dword [ebp - 0x24], 0xf
lea edx, [ebp - 0x38]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [ebp - 0x38]
push 0
push edx
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x102187c8]
mov esi, eax
mov ebx, 1
mov ecx, dword [ecx]
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov byte [ebp - 1], bl
cmp esi, eax
je 0x100a96eb
mov byte [ebp - 1], 0
test bl, 1
je 0x100a9724
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100a9724
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a971a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a9856
push ecx
push edx
call fcn.1015fe24
add esp, 8
cmp byte [ebp - 1], 0
je 0x100a9745
mov eax, dword [0x10216630]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x10423740], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10216634]
mov ecx, dword [0x10216630]
movss xmm0, dword [0x10423740]
addss xmm0, dword [eax + 0x164c]
mov ecx, dword [ecx + 0xc]
comiss xmm0, dword [ecx]
jb 0x100a984f
mov ecx, dword [0x1021663c]
mov eax, dword [eax + 0x1648]
mov edx, dword [ecx + 0x38]
mov ecx, dword [str.effects_dronecam]
cmp eax, 2
jle 0x100a978d
mov ecx, dword [eax*4 + 0x101b0184]
mov eax, dword [edx]
push 0
push 1
push 0
mov eax, dword [eax + 0x150]
push ecx
mov ecx, edx
call eax
mov ecx, dword [0x10216634]
mov esi, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ecx + 0x1648]
cmp eax, 1
jne 0x100a97d1
mov ecx, dword [esi]
push eax
push 0
push str._c0_x
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
push ecx
mov dword [esp], 0
jmp 0x100a9811
cmp eax, 2
jne 0x100a97f2
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
push str._c0_x
mov eax, dword [eax + 0x2c]
call eax
push ecx
mov dword [esp], 0x3dcccccd
jmp 0x100a9811
cmp eax, 4
jl 0x100a981a
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
push str._c0_x
mov eax, dword [eax + 0x2c]
call eax
push ecx
mov dword [esp], 0x3f800000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [0x10216630]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
xor edx, edx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10164f66
int3