Function at 0x100165f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1006e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10128c20]
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 [0x10068ed0]
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.10031000
mov dword [esi + 0x3790], 0
mov dword [esi + 0x3794], 0
call fcn.10029590
cmp dword [0x10128c4c], 0
mov dword [ebp - 0x24], 0x43160000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x20], 0x42200000
mov dword [ebp - 0x18], 0x808c899e
xor ecx, ecx
mov dword [ebp - 0x14], 0x100908c
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x100166d5
mov byte [ebp - 0x11], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xa1fcfd
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x100166f4
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.10028200
add esp, 0xc
test al, al
je 0x10016729
xor eax, eax
mov dword [0x10128c4c], eax
jmp 0x1001672e
mov eax, dword [0x10128c4c]
cmp eax, 1
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0x97928989
mov dword [ebp - 0x14], 0x968882
xor ecx, ecx
mov byte [ebp - 0x10], 1
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 7
jb 0x10016757
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xb6fcfd
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10016776
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.10028200
add esp, 0xc
test al, al
je 0x100167ae
mov eax, 1
mov dword [0x10128c4c], eax
jmp 0x100167b3
mov eax, dword [0x10128c4c]
cmp eax, 2
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0x809188ad
mov word [ebp - 0x14], 0x100
xor ecx, ecx
mov al, cl
sub al, 0x20
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x100167d7
mov byte [ebp - 0x13], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0xadfcfd
mov byte [ebp - 8], 1
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x100167f6
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.10028200
add esp, 0xc
test al, al
je 0x1001682e
mov eax, 2
mov dword [0x10128c4c], eax
jmp 0x10016833
mov eax, dword [0x10128c4c]
cmp eax, 3
mov dword [ebp - 0x24], 0x43160000
mov dword [ebp - 0x20], 0x42200000
sete byte [ebp - 0x1c]
mov dword [ebp - 0x18], 0x848f8f9c
mov dword [ebp - 0x14], 0x96838a
xor ecx, ecx
mov byte [ebp - 0x10], 1
nop dword [eax]
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 7
jb 0x10016860
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x83fcfd
mov byte [ebp - 8], 1
nop
mov al, cl
sub al, 0x22
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 3
jb 0x10016880
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.10028200
add esp, 0xc
test al, al
je 0x100168b6
mov dword [0x10128c4c], 3
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