Function at 0x10018e59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10127c30]
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 [0x10067f3c]
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.10032f70
mov dword [esi + 0x3790], 0
mov dword [esi + 0x3794], 0
call fcn.1002b540
mov eax, dword [0x10127c5c]
cmp eax, 3
ja case.default.0x10018c4a
jmp dword [eax*4 + 0x10019060]
cmp dword [0x10127c58], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xe8e4e1c6
xor ecx, ecx
mov dword [ebp - 0xc], 0x100f8e4
nop dword [eax]
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10018c80
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018cb0
xor esi, esi
mov dword [0x10127c58], esi
jmp 0x10018cb6
mov esi, dword [0x10127c58]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xf9e6e0c0
mov word [ebp - 0xc], 0xff
xor ecx, ecx
mov byte [ebp - 0xa], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10018ce8
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je case.default.0x10018c4a
mov dword [0x10127c58], 1
jmp case.default.0x10018c4a
cmp dword [0x10127c50], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0xc], 0xd9dbc2
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018d46
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018d76
xor esi, esi
mov dword [0x10127c50], esi
jmp 0x10018d7c
mov esi, dword [0x10127c50]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xe7e8e0c4
mov word [ebp - 0xc], 0xf8
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10018db0
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018de3
mov esi, 1
mov dword [0x10127c50], esi
jmp 0x10018de9
mov esi, dword [0x10127c50]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xefe1fcc8
mov word [ebp - 0xc], 0xf9
xor ecx, ecx
mov byte [ebp - 0xa], 1
nop dword [eax + eax]
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10018e20
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je case.default.0x10018c4a
mov dword [0x10127c50], 2
jmp case.default.0x10018c4a
cmp dword [0x10127c54], 0
mov dword [ebp - 0x18], 0x42dc0000
sete dl
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xf3e8e4d7
xor ecx, ecx
mov dword [ebp - 0xc], 0x100feee
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10018e81
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018eb1
xor esi, esi
mov dword [0x10127c54], esi
jmp 0x10018eb7
mov esi, dword [0x10127c54]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 1
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xfae8edd0
mov dword [ebp - 0xc], 0x100e2e4
xor ecx, ecx
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x10018ee6
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018f19
mov esi, 1
mov dword [0x10127c54], esi
jmp 0x10018f1f
mov esi, dword [0x10127c54]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 2
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0x10], 0xe5e6f8d4
mov dword [ebp - 0xc], 0xffe9ed
xor ecx, ecx
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 7
jb 0x10018f52
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je 0x10018f85
mov esi, 2
mov dword [0x10127c54], esi
jmp 0x10018f8b
mov esi, dword [0x10127c54]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1002b310
cmp esi, 3
mov dword [ebp - 0x18], 0x42dc0000
mov dword [ebp - 0x14], 0x42200000
sete dl
mov dword [ebp - 0xc], 0xdabad4
mov byte [ebp - 8], 1
xor ecx, ecx
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018fb7
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
lea ecx, [ebp - 0xc]
call fcn.1002a980
add esp, 8
test al, al
je case.default.0x10018c4a
mov dword [0x10127c54], 3
jmp case.default.0x10018c4a
mov dword [ebp - 0x18], 0x42dc0000
xor ecx, ecx
mov dword [ebp - 0x14], 0x42200000
mov dword [ebp - 0x10], 0xecfcfcd4
mov word [ebp - 0xc], 0xed
mov byte [ebp - 0xa], 1
nop word [eax + eax]
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 5
jb 0x10019010
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa], 0
push eax
mov dl, 1
lea ecx, [ebp - 0x10]
call fcn.1002a980
add esp, 8
test al, al
je case.default.0x10018c4a
mov dword [0x10127c60], 0
call fcn.1002b670
mov ecx, 1
call fcn.1001da30
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005d7a4
mov esp, ebp
pop ebp
ret