Function at 0x10102570
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014b389
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x138
push esi
push edi
mov eax, dword [0x10174110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [0x101ab9fc]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x20], 0
test al, 1
jne 0x10102609
or eax, 1
mov dword [0x101ab9fc], eax
mov eax, dword [0x101a6960]
mov dword [0x101ab9d8], eax
mov dword [0x101ab9dc], 0
mov dword [0x101ab9e0], 0
mov dword [0x101ab9e4], 0
movss xmm1, dword [0x10160424]
xor eax, eax
movss xmm0, dword [edx]
xorps xmm2, xmm2
mulss xmm0, xmm1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, xmm1
mov dword [ebp - 0x2c], eax
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edx + 8]
mulss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
nop word [eax + eax]
movss xmm0, dword [edx]
addss xmm2, xmm1
movss xmm1, dword [edx + 4]
movss xmm3, dword [edx + 8]
mulss xmm0, xmm2
mulss xmm1, xmm2
mulss xmm3, xmm2
movss dword [ebp - 0x7c], xmm2
movss xmm2, dword [ecx]
addss xmm2, xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, xmm1
addss xmm3, dword [ecx + 8]
movss dword [esi], xmm2
movss dword [esi + 4], xmm0
movss dword [esi + 8], xmm3
test eax, eax
jne 0x101026c2
mov ecx, dword [0x101a67b4]
push 0
push 0x4600400b
push esi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x101a67b4]
push 0
push 0x4600400b
push esi
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
test eax, 0x600400b
je 0x101026f1
test eax, 0x40000000
je 0x10102bfa
cmp eax, dword [ebp - 0x2c]
je 0x10102bfa
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movaps xmm2, xmm3
subss xmm2, dword [ebp - 0x60]
movss xmm5, dword [esi + 8]
movaps xmm1, xmm4
subss xmm1, dword [ebp - 0x64]
movaps xmm0, xmm5
mov dword [ebp - 0xd4], 0
subss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x5c], xmm2
subss xmm2, xmm3
mov byte [ebp - 0xab], 1
movss dword [ebp - 0x58], xmm1
subss xmm1, xmm4
movss dword [ebp - 0x54], xmm0
subss xmm0, xmm5
movss dword [ebp - 0xe0], xmm2
mulss xmm2, xmm2
movss dword [ebp - 0xdc], xmm1
mulss xmm1, xmm1
movss dword [ebp - 0xd8], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x101602b0]
lahf
test ah, 0x44
jp 0x10102783
mov byte [ebp - 0xab], 0
mov ecx, dword [0x101a67b4]
lea edx, [ebp - 0xf0]
push edi
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
movss dword [ebp - 0xf0], xmm3
movss dword [ebp - 0xec], xmm4
movss dword [ebp - 0xe8], xmm5
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov eax, dword [ecx]
push 0
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x101603a0]
comiss xmm0, dword [edi + 0x2c]
ja 0x1010282c
cmp byte [edi + 0x36], 0
jne 0x1010282c
cmp byte [edi + 0x37], 0
mov byte [ebp - 0x19], 0
je 0x10102830
mov byte [ebp - 0x19], 1
mov ecx, dword [0x101a689c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x101029d3
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], 0xc2700000
mov dword [ebp - 0x18], eax
mov eax, dword [0x101ab8dc]
test al, 1
jne 0x101029ae
or eax, 1
mov dword [0x101ab8dc], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x10160a90]
pxor xmm0, xmmword [0x10160920]
mov dword [ebp - 0x40], 0x80949180
mov dword [ebp - 0x3c], 0x9580e198
mov dword [ebp - 0x38], 0x97938096
mov byte [ebp - 0x34], 0xa0
movups xmmword [ebp - 0x50], xmm0
nop
xor byte [ebp + eax - 0x50], 0xa0
inc eax
cmp eax, 0x1d
jb 0x101028a0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x94], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101028d0
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.100352a0
mov byte [ebp - 4], 1
mov eax, dword [0x101a675c]
test eax, eax
je 0x101028fb
mov edx, dword [eax + 0x50]
jmp 0x101028fd
xor edx, edx
mov eax, dword [0x101a6754]
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x10102911
mov eax, dword [eax + 0x18]
or esi, 1
jmp 0x10102916
or esi, 2
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x20], esi
and esi, 0xfffffffd
and cl, 2
cmove esi, dword [ebp - 0x20]
mov ecx, esi
mov dword [ebp - 0x20], esi
and dword [ebp - 0x20], 0xfffffffe
and cl, 1
mov ecx, dword [ebp - 0x20]
cmove ecx, esi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.1002f4e0
mov eax, dword [ebp - 0x6c]
add esp, 8
test eax, eax
je 0x10102964
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1010295f
xor eax, eax
jmp 0x10102964
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x80]
mov dword [0x101ab8e0], eax
cmp edx, 0x10
jb 0x101029a4
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010299a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102c89
push edx
push ecx
call fcn.1011a4ac
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x70]
cmp dword [0x101ab8e0], 0
je 0x101029d3
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x78]
push 0
push 0x4600400b
call dword [0x101ab8e0]
add esp, 0x10
mov al, byte [edi + 0x37]
test al, al
je 0x10102b25
cmp word [edi + 0x42], 0
jge 0x10102b25
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [0x101ab9dc], eax
movss xmm3, dword [esi]
movss xmm2, dword [ecx]
movss xmm4, dword [esi + 4]
subss xmm2, xmm3
movss xmm1, dword [ecx + 4]
movss xmm5, dword [esi + 8]
subss xmm1, xmm4
movss xmm0, dword [ecx + 8]
subss xmm0, xmm5
mov dword [ebp - 0x124], 0
movss dword [ebp - 0x130], xmm2
mulss xmm2, xmm2
mov byte [ebp - 0xfb], 1
movss dword [ebp - 0x12c], xmm1
mulss xmm1, xmm1
movss dword [ebp - 0x128], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x101602b0]
lahf
test ah, 0x44
jp 0x10102a6d
mov byte [ebp - 0xfb], 0
mov ecx, dword [0x101a67b4]
lea edx, [ebp - 0x140]
push edi
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 1
movss dword [ebp - 0x140], xmm3
movss dword [ebp - 0x13c], xmm4
movss dword [ebp - 0x138], xmm5
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov eax, dword [ecx]
push 0x101ab9d8
push 0x600400b
push edx
mov eax, dword [eax + 0x14]
call eax
cmp byte [ebp - 0x19], 0
je 0x10102bfa
cmp byte [edi + 0x37], 0
jne 0x10102bfa
mov eax, dword [edi + 0xc]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 8], eax
jmp 0x10102c73
cmp byte [ebp - 0x19], 0
je 0x10102beb
test al, al
jne 0x10102beb
test byte [edi + 0x42], 0x80
je 0x10102b65
mov ecx, dword [edi + 0x4c]
call fcn.100d8f20
test al, al
je 0x10102b58
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x4c]
call fcn.100d8f20
test al, al
jne 0x10102b0f
mov eax, dword [ebp - 0x28]
test byte [eax + 0x42], 0x80
je 0x10102bfa
mov edx, dword [ebp - 0x24]
movss xmm1, dword [edi + 0x1c]
movss xmm2, dword [edx]
movss xmm3, dword [edx + 4]
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x18]
movss xmm4, dword [edx + 8]
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [0x101603a0]
comiss xmm0, xmm1
jb 0x10102bfd
movss xmm1, dword [edi + 0x2c]
mulss xmm1, dword [0x10160424]
movss xmm0, dword [esi]
mulss xmm2, xmm1
mulss xmm3, xmm1
subss xmm0, xmm2
mulss xmm4, xmm1
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm3
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, xmm4
movss dword [esi + 8], xmm0
jmp 0x10102c73
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x4c]
call fcn.100d8f20
test al, al
jne 0x10102c38
mov edx, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x7c]
movss xmm0, dword [0x101604bc]
comiss xmm0, xmm2
jb 0x10102c22
movss xmm1, dword [0x10160424]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
jmp 0x10102660
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x28]
mov ecx, edi
call fcn.100620f0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [ecx + 8]
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10121c8d
int3