Function at 0x100172c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10126bc8]
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 [0x10067524]
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.10030ff0
mov dword [esi + 0x3790], 0
mov dword [esi + 0x3794], 0
call fcn.100295c0
mov eax, dword [0x10126c04]
cmp eax, 3
ja case.default.0x100171ea
jmp dword [eax*4 + 0x10017600]
cmp dword [0x10126c00], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xede3e4cd
xor ecx, ecx
mov dword [ebp - 0xc], 0x100e5ff
nop dword [eax]
mov al, cl
sub al, 0x74
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10017220
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je 0x10017250
xor esi, esi
mov dword [0x10126c00], esi
jmp 0x10017256
mov esi, dword [0x10126c00]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xfde2e4cc
mov word [ebp - 0xc], 0xfb
xor ecx, ecx
mov byte [ebp - 0xa], 1
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10017288
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je case.default.0x100171ea
mov dword [0x10126c00], 1
jmp case.default.0x100171ea
cmp dword [0x10126bf8], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0xc], 0xdddfce
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x100172e6
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.10028a00
add esp, 8
test al, al
je 0x10017316
xor esi, esi
mov dword [0x10126bf8], esi
jmp 0x1001731c
mov esi, dword [0x10126bf8]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xe3ece4c8
mov word [ebp - 0xc], 0xfc
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10017350
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je 0x10017383
mov esi, 1
mov dword [0x10126bf8], esi
jmp 0x10017389
mov esi, dword [0x10126bf8]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xebe5f8c4
mov word [ebp - 0xc], 0xfd
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop dword [eax + eax]
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x100173c0
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je case.default.0x100171ea
mov dword [0x10126bf8], 2
jmp case.default.0x100171ea
cmp dword [0x10126bfc], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xf6efe1dc
xor ecx, ecx
mov dword [ebp - 0xc], 0x100e3f5
mov al, cl
sub al, 0x74
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10017421
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je 0x10017451
xor esi, esi
mov dword [0x10126bfc], esi
jmp 0x10017457
mov esi, dword [0x10126bfc]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xffefe8db
mov dword [ebp - 0xc], 0x100ffff
xor ecx, ecx
mov al, cl
sub al, 0x74
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10017486
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je 0x100174b9
mov esi, 1
mov dword [0x10126bfc], esi
jmp 0x100174bf
mov esi, dword [0x10126bfc]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xe0e1fddf
mov dword [ebp - 0xc], 0xe0f4f6
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x74
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 7
jb 0x100174f2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je 0x10017525
mov esi, 2
mov dword [0x10126bfc], esi
jmp 0x1001752b
mov esi, dword [0x10126bfc]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.10029390
cmp esi, 3
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0xc], 0xdebed8
mov byte [ebp - 8], 1
xor ecx, ecx
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10017557
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.10028a00
add esp, 8
test al, al
je case.default.0x100171ea
mov dword [0x10126bfc], 3
jmp case.default.0x100171ea
mov dword [ebp - 0x18], 0x42dc0000
xor ecx, ecx
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xe8f8f8d8
mov word [ebp - 0xc], 0xe9
mov byte [ebp - 0xa], 1
nop word [eax + eax]
mov al, cl
sub al, 0x75
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x100175b0
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
mov dl, 1
lea ecx, [ebp - 0x10]
call fcn.10028a00
add esp, 8
test al, al
je case.default.0x100171ea
mov dword [0x10126c08], 0
call fcn.100296f0
mov ecx, 1
call fcn.1001baa0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005b824
mov esp, ebp
pop ebp
ret