Function at 0x10016d49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10128c20]
mov dword [ebp - 0x1c], 2
mov eax, dword [esi + 0x3e48]
lea ecx, [esi + 0x4764]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x20]
subss xmm0, dword [0x10068ef4]
mov byte [eax + 0xac], 1
subss xmm2, xmm2
mov eax, dword [esi + 0x3e48]
movss xmm1, dword [eax + 0x14]
subss xmm1, dword [eax + 0x78]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
mov byte [eax + 0x135], 1
movss dword [eax + 0xf0], xmm1
addss xmm0, xmm2
movss dword [eax + 0xf4], xmm0
lea eax, [ebp - 0x1c]
movss xmm1, dword [esi + 0x3790]
movss xmm0, dword [esi + 0x3794]
push eax
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
call fcn.10031000
mov dword [esi + 0x3790], 0
mov dword [esi + 0x3794], 0
call fcn.10029590
mov eax, dword [0x10128c4c]
cmp eax, 3
ja case.default.0x100169aa
jmp dword [eax*4 + 0x10016dc0]
cmp dword [0x10128c48], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0x808c899e
xor ecx, ecx
mov dword [ebp - 0xc], 0x100908c
nop dword [eax]
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x100169e0
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016a10
xor esi, esi
mov dword [0x10128c48], esi
jmp 0x10016a16
mov esi, dword [0x10128c48]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0x928fb799
mov word [ebp - 0xc], 0x96
xor ecx, ecx
mov byte [ebp - 0xa], 1
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10016a48
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je case.default.0x100169aa
mov dword [0x10128c48], 1
jmp case.default.0x100169aa
cmp dword [0x10128c40], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0xc], 0xb08c9b
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10016aa6
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016ad6
xor esi, esi
mov dword [0x10128c40], esi
jmp 0x10016adc
mov esi, dword [0x10128c40]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0x8c81b79d
mov word [ebp - 0xc], 0x91
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10016b10
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016b43
mov esi, 1
mov dword [0x10128c40], esi
jmp 0x10016b49
mov esi, dword [0x10128c40]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0x8488ab91
mov word [ebp - 0xc], 0x90
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop dword [eax + eax]
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10016b80
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je case.default.0x100169aa
mov dword [0x10128c40], 2
jmp case.default.0x100169aa
cmp dword [0x10128c44], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0x9b808c8f
xor ecx, ecx
mov dword [ebp - 0xc], 0x1009686
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10016be1
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016c11
xor esi, esi
mov dword [0x10128c44], esi
jmp 0x10016c17
mov esi, dword [0x10128c44]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0x92808588
mov dword [ebp - 0xc], 0x1008a8c
xor ecx, ecx
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10016c46
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016c79
mov esi, 1
mov dword [0x10128c44], esi
jmp 0x10016c7f
mov esi, dword [0x10128c44]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0x8d8e908c
mov dword [ebp - 0xc], 0x978185
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 7
jb 0x10016cb2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je 0x10016ce5
mov esi, 2
mov dword [0x10128c44], esi
jmp 0x10016ceb
mov esi, dword [0x10128c44]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029360
cmp esi, 3
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0xc], 0xb3ed8d
mov byte [ebp - 8], 1
xor ecx, ecx
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10016d17
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.100289d0
add esp, 8
test al, al
je case.default.0x100169aa
mov dword [0x10128c44], 3
jmp case.default.0x100169aa
mov dword [ebp - 0x18], 0x42dc0000
xor ecx, ecx
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0x8795ab8d
mov word [ebp - 0xc], 0x84
mov byte [ebp - 0xa], 1
nop word [eax + eax]
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10016d70
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
mov dl, 1
lea ecx, [ebp - 0x10]
call fcn.100289d0
add esp, 8
test al, al
je case.default.0x100169aa
mov dword [0x10128c50], 0
call fcn.100296c0
mov ecx, 1
call fcn.1001ba70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005e254
mov esp, ebp
pop ebp
ret