Function at 0x10018890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10127c30]
mov dword [ebp - 0x28], 2
mov eax, dword [esi + 0x3e48]
lea ecx, [esi + 0x4764]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x20]
subss xmm0, xmm0
subss xmm2, dword [0x10067f18]
mov byte [eax + 0xac], 1
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 - 0x28]
movss xmm1, dword [esi + 0x3790]
movss xmm0, dword [esi + 0x3794]
push eax
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm0
call fcn.10032f70
mov dword [esi + 0x3790], 0
mov dword [esi + 0x3794], 0
call fcn.1002b540
cmp dword [0x10127c5c], 0
mov dword [ebp - 0x24], 0x43160000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x20], 0x42200000
mov dword [ebp - 0x18], 0xe8e4e1c6
xor ecx, ecx
mov dword [ebp - 0x14], 0x100f8e4
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x10018975
mov byte [ebp - 0x11], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xc8aba4
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018994
push ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.1002a1b0
add esp, 0xc
test al, al
je 0x100189c9
xor eax, eax
mov dword [0x10127c5c], eax
jmp 0x100189ce
mov eax, dword [0x10127c5c]
cmp eax, 1
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0xfffae1d1
mov dword [ebp - 0x14], 0xfee0ea
xor ecx, ecx
mov byte [ebp - 0x10], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 7
jb 0x100189f7
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xdfaba4
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018a16
push ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.1002a1b0
add esp, 0xc
test al, al
je 0x10018a4e
mov eax, 1
mov dword [0x10127c5c], eax
jmp 0x10018a53
mov eax, dword [0x10127c5c]
cmp eax, 2
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0xe8f9e0c5
mov word [ebp - 0x14], 0x100
xor ecx, ecx
mov al, cl
sub al, 0x78
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x10018a77
mov byte [ebp - 0x13], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xc4aba4
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018a96
push ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.1002a1b0
add esp, 0xc
test al, al
je 0x10018ace
mov eax, 2
mov dword [0x10127c5c], eax
jmp 0x10018ad3
mov eax, dword [0x10127c5c]
cmp eax, 3
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0xece7e7c4
mov dword [ebp - 0x14], 0xfeebe2
xor ecx, ecx
mov byte [ebp - 0x10], 1
nop dword [eax]
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 7
jb 0x10018b00
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xeaaba4
mov byte [ebp - 8], 1
nop
mov al, cl
sub al, 0x79
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10018b20
push ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.1002a1b0
add esp, 0xc
test al, al
je 0x10018b56
mov dword [0x10127c5c], 3
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