Function at 0x100b4f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1020a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [0x10227c40]
push esi
push edi
mov esi, ecx
cmp dword [eax + 0x1608], ebx
je 0x100b5199
mov eax, dword [0x10229e7c]
cmp dword [eax], ebx
je 0x100b5199
test esi, esi
je 0x100b5027
mov eax, dword [0x10227c48]
movq xmm0, qword [str.WCLXYPYO_]
movq qword [ebp - 0x10], xmm0
mov edi, dword [eax + 0x10]
mov al, byte [0x101f2958]
mov byte [ebp - 8], al
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [ebp + ebx - 0x10], cl
inc ebx
cmp ebx, 9
jl 0x100b4f90
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4fd0
sub ecx, edx
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10027bd0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov eax, dword [esi]
mov ecx, esi
cmovae edx, dword [ebp - 0x28]
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 [0x10229e7c]
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 - 0x29], bl
cmp esi, eax
je 0x100b502b
mov byte [ebp - 0x29], 0
test bl, 1
je 0x100b5064
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100b5064
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b505a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b51aa
push ecx
push edx
call fcn.1019d45c
add esp, 8
cmp byte [ebp - 0x29], 0
je 0x100b508f
mov eax, dword [0x10227c3c]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x104e1e40], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10227c40]
mov ecx, dword [0x10227c3c]
movss xmm0, dword [0x104e1e40]
addss xmm0, dword [eax + 0x160c]
mov ecx, dword [ecx + 0x10]
comiss xmm0, dword [ecx]
jb 0x100b5199
mov ecx, dword [0x10227c48]
mov eax, dword [eax + 0x1608]
mov edx, dword [ecx + 0x38]
mov ecx, dword [str.effects_dronecam]
cmp eax, 2
jle 0x100b50d7
mov ecx, dword [eax*4 + 0x101f2b34]
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 [0x10227c40]
mov esi, eax
mov dword [ebp - 0x3c], esi
mov eax, dword [ecx + 0x1608]
cmp eax, 1
jne 0x100b511b
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 0x100b515b
cmp eax, 2
jne 0x100b513c
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 0x100b515b
cmp eax, 4
jl 0x100b5164
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 [0x10227c3c]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
xor edx, edx
mov ecx, dword [ebp - 0x3c]
call dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.101a26e6
int3