Function at 0x10029460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d83f5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101053c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
vxorps xmm1, xmm1, xmm1
vpxor xmm0, xmm0, xmm0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
vmovq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], edx
vmovss dword [ebp - 0x74], xmm1
vmovss dword [ebp - 0x84], xmm1
vmovss dword [ebp - 0x7c], xmm1
vmovss dword [ebp - 0x80], xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
vmovq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
mov ecx, dword [0x101306e4]
mov eax, dword [ebx]
add ecx, 0xffffffc8
xor ecx, 0xf0b73a55
mov eax, dword [ecx + eax]
mov ecx, 0x64
cmp eax, ecx
cmovl ecx, eax
cmp dword [0x10106534], 0x1f
jne 0x1002955c
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmovss dword [ebp - 0x64], xmm0
vmovss dword [ebp - 0x78], xmm0
mov byte [ebp - 0x5d], 1
jmp 0x10029648
cmp byte [0x1012ea2a], 0
je 0x1002958e
vmovss xmm0, dword [0x10109a80]
vucomiss xmm0, xmm1
vmovss dword [ebp - 0x78], xmm0
lahf
mov byte [ebp - 0x5d], 1
test ah, 0x44
jp 0x10029584
mov byte [ebp - 0x5d], 0
vmovss dword [ebp - 0x64], xmm0
jmp 0x10029648
cmp byte [0x10108ce4], 0
vmovss xmm1, dword [0x10108c2c]
vmovss xmm2, dword [0x100f410c]
vmovss dword [ebp - 0x78], xmm1
je 0x100295e7
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm1, xmm1, xmm2
vmulss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fstp qword [ebp - 0x6c]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x6c], 2
vmovsd qword [ebp - 0x6c], xmm0
fld qword [ebp - 0x6c]
fstp dword [ebp - 0x64]
vmovss xmm0, dword [ebp - 0x64]
vmovss dword [ebp - 0x78], xmm0
cmp byte [0x10108eb0], 0
vmovss xmm0, dword [0x10108df8]
vaddss xmm0, xmm0, dword [0x100f42b8]
vmovss dword [ebp - 0x64], xmm0
je 0x10029640
vmulss xmm1, xmm0, xmm2
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fstp qword [ebp - 0x6c]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x6c], 2
vmovsd qword [ebp - 0x6c], xmm0
fld qword [ebp - 0x6c]
fstp dword [ebp - 0x64]
vmovss xmm0, dword [ebp - 0x64]
vmovss dword [ebp - 0x64], xmm0
mov al, byte [0x10108d6c]
mov byte [ebp - 0x5d], al
mov ecx, dword [0x10130770]
lea edi, [edx + 0x3cc]
mov eax, dword [edx + 0x3c4]
add ecx, 0xffffffa5
xor ecx, 0xf0b73a78
add ecx, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 0xc], 0x80
mov esi, dword [edx]
mov ecx, dword [0x10130698]
mov eax, dword [edi]
add ecx, 0xffffffdb
xor ecx, 0xf0b73a42
mov dword [ecx + esi], eax
mov eax, dword [edi + 4]
mov dword [ecx + esi + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + esi + 8], eax
mov ecx, dword [0x101306a4]
mov eax, dword [edx + 0x44]
add ecx, 0xffffffd8
xor ecx, 0xf0b73a45
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + esi + 4], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + esi + 8], eax
mov edx, dword [0x101306a8]
mov ecx, dword [ebp - 0x88]
add edx, 0xffffffd7
xor edx, 0xf0b73a46
mov eax, dword [ecx + 0x50]
mov dword [edx + esi], eax
mov eax, dword [ecx + 0x54]
mov dword [edx + esi + 4], eax
mov eax, dword [ecx + 0x58]
mov dword [edx + esi + 8], eax
lea eax, [ecx + 0x68]
mov edx, dword [0x101305d4]
mov ecx, esi
push eax
call edx
mov ecx, dword [ebp - 0x88]
mov eax, dword [0x101305d8]
push edi
mov ecx, dword [ecx]
call eax
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
cmp esi, edi
je 0x100299bf
nop word [eax + eax]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x88]
push dword [esi]
push dword [eax + 0x3c4]
push eax
call fcn.10028990
test al, al
je 0x10029965
mov eax, dword [ebp - 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], ecx
cmp ebx, ecx
je 0x10029968
nop word [eax + eax]
vmovss xmm0, dword [ebp - 0x78]
mov al, byte [ebp - 0x5d]
vmovss dword [ebp - 0x48], xmm0
vmovss xmm0, dword [ebp - 0x64]
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x70]
vmovss dword [ebp - 0x44], xmm0
vmovss xmm0, dword [ebx]
vmovss dword [ebp - 0x54], xmm0
mov eax, dword [eax]
vmovss xmm0, dword [ebx + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [0x10105e5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 4]
vmovss dword [ebp - 0x50], xmm0
vmovss xmm0, dword [ebx + 8]
vmovss dword [ebp - 0x4c], xmm0
cmp eax, 1
je 0x100297a4
cmp eax, 3
jne 0x100297b6
vmovss xmm0, dword [0x100f41dc]
vmovss dword [ebp - 0x44], xmm0
vmovss dword [ebp - 0x48], xmm0
vxorps xmm0, xmm0, xmm0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], 0xffffffff
vmovss dword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], 0
call fcn.10098700
mov ecx, dword [ebp - 0x20]
test al, al
je 0x100298e0
cmp dword [esi], 0
jne 0x100297f6
cmp dword [ebp - 0x28], 1
jne 0x100298e0
mov edx, dword [esi + 4]
vmovss xmm2, dword [ebp - 0x2c]
cmp edx, 4
je 0x10029922
cmp edx, 1
jne 0x100298ee
mov eax, dword [ebp - 0x70]
mov ecx, dword [0x101306e4]
add ecx, 0xffffffc8
xor ecx, 0xf0b73a55
mov eax, dword [eax]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm2, xmm0
jae 0x10029922
mov ecx, dword [ebp - 0x20]
test edx, edx
jne 0x100298e0
vcomiss xmm2, dword [ebp - 0x74]
jbe 0x100298e0
vmovss xmm4, dword [ebx]
vmovss xmm0, dword [ecx]
vmovss xmm3, dword [ebx + 8]
vucomiss xmm0, xmm4
vmovaps xmm1, xmm2
vmovss xmm2, dword [ebx + 4]
lahf
vmovss dword [ebp - 0x74], xmm1
vmovss dword [ebp - 0x84], xmm4
vmovss dword [ebp - 0x7c], xmm2
vmovss dword [ebp - 0x80], xmm3
test ah, 0x44
jp 0x100298e0
vmovss xmm0, dword [ecx + 4]
vucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100298e0
vmovss xmm0, dword [ecx + 8]
vucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100298e0
mov eax, dword [ebp - 0x70]
mov ecx, dword [0x101306e4]
add ecx, 0xffffffc8
xor ecx, 0xf0b73a55
mov eax, dword [eax]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm1, xmm0
jae 0x10029965
vmovss dword [ebp - 0x80], xmm3
vmovss dword [ebp - 0x7c], xmm2
vmovss dword [ebp - 0x84], xmm4
vmovss dword [ebp - 0x74], xmm1
add ebx, 0xc
cmp ebx, dword [ebp - 0x68]
jne 0x10029750
jmp 0x10029965
cmp edx, 3
jne 0x1002983a
mov eax, dword [ebp - 0x70]
mov ecx, dword [0x101306e4]
vmulss xmm1, xmm2, dword [0x100f4224]
add ecx, 0xffffffc8
mov eax, dword [eax]
xor ecx, 0xf0b73a55
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm1, xmm0
jb 0x100298e0
vmovss xmm1, dword [ebx + 4]
vmovss xmm3, dword [ebx]
vmovaps xmm0, xmm2
vmovss xmm2, dword [ebx + 8]
mov al, 1
vmovss dword [ebp - 0x68], xmm2
vmovss dword [ebp - 0x68], xmm1
vmovss dword [ebp - 0x68], xmm3
vmovss dword [ebp - 0x74], xmm0
vmovss dword [ebp - 0x84], xmm3
vmovss dword [ebp - 0x7c], xmm1
vmovss dword [ebp - 0x80], xmm2
vmovss dword [ebp - 0x68], xmm0
test al, al
jne 0x10029977
mov eax, dword [ebp - 0x20]
add esi, 8
cmp esi, edi
je 0x1002997c
mov ebx, dword [ebp - 0x70]
jmp 0x10029710
mov eax, dword [ebp - 0x20]
jmp 0x10029993
vmovss xmm0, dword [ebp - 0x74]
vmovss xmm1, dword [ebp - 0x7c]
vmovss xmm2, dword [ebp - 0x80]
vmovss xmm3, dword [ebp - 0x84]
vcomiss xmm0, dword [0x100f40d0]
jbe 0x100299c2
mov ecx, dword [ebp - 0x8c]
mov bl, 1
vmovss dword [ecx], xmm3
vmovss dword [ecx + 4], xmm1
vmovss dword [ecx + 8], xmm2
mov ecx, dword [ebp - 0x90]
vmovss dword [ecx], xmm0
jmp 0x100299c4
mov eax, dword [ebp - 0x20]
xor bl, bl
test eax, eax
je 0x10029a0a
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 2
cmp edx, 0x1000
jb 0x10029a00
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029a2a
push edx
push ecx
call fcn.100af192
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100aed12
mov esp, ebp
pop ebp
ret 0xc
call fcn.100b5fcd
int3