Function at 0x10027ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf8ad
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100e8040]
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 - 0x68], ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
vxorps xmm1, xmm1, xmm1
vpxor xmm0, xmm0, xmm0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
vmovq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x7c], edx
vmovss dword [ebp - 0x6c], xmm1
vmovss dword [ebp - 0x78], xmm1
vmovss dword [ebp - 0x70], xmm1
vmovss dword [ebp - 0x74], xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1010e988]
mov eax, dword [ebx]
add ecx, 0xffffffc9
xor ecx, 0xd81b755b
mov eax, dword [ecx + eax]
mov ecx, 0x64
cmp eax, ecx
cmovl ecx, eax
cmp byte [0x1010cd48], 0
je 0x100280cf
vmovss xmm0, dword [0x100e9b90]
vucomiss xmm0, xmm1
vmovss dword [ebp - 0x80], xmm0
lahf
mov byte [ebp - 0x55], 1
test ah, 0x44
jp 0x100280c5
mov byte [ebp - 0x55], 0
vmovss dword [ebp - 0x5c], xmm0
jmp 0x10028179
cmp byte [0x100e8d64], 0
vmovss xmm0, dword [0x100e8cac]
vmovss xmm2, dword [0x100dcb74]
vxorps xmm1, xmm1, xmm1
vmovss dword [ebp - 0x80], xmm0
vcvtsi2ss xmm1, xmm1, ecx
je 0x10028128
vmulss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, xmm1
vmovss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [ebp - 0x64]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x64], 2
vmovsd qword [ebp - 0x64], xmm0
fld qword [ebp - 0x64]
fstp dword [ebp - 0x5c]
vmovss xmm0, dword [ebp - 0x5c]
vmovss dword [ebp - 0x80], xmm0
cmp byte [0x100e8f30], 0
vmovss xmm0, dword [0x100e8e78]
vmovss dword [ebp - 0x5c], xmm0
je 0x10028171
vmulss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, xmm1
vmovss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [ebp - 0x64]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x64], 2
vmovsd qword [ebp - 0x64], xmm0
fld qword [ebp - 0x64]
fstp dword [ebp - 0x5c]
vmovss xmm0, dword [ebp - 0x5c]
vmovss dword [ebp - 0x5c], xmm0
mov al, byte [0x100e8dec]
mov byte [ebp - 0x55], al
mov ecx, dword [0x1010ea1c]
lea edi, [edx + 0x3d0]
mov eax, dword [edx + 0x3c8]
add ecx, 0xffffffa4
xor ecx, 0xd81b7580
add ecx, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 0xc], 0x80
mov esi, dword [edx]
mov ecx, dword [0x1010e940]
mov eax, dword [edi]
add ecx, 0xffffffdb
xor ecx, 0xd81b7549
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 [0x1010e94c]
mov eax, dword [edx + 0x48]
add ecx, 0xffffffd8
xor ecx, 0xd81b754c
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + esi + 4], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + esi + 8], eax
mov edx, dword [0x1010e950]
mov ecx, dword [ebp - 0x7c]
add edx, 0xffffffd7
xor edx, 0xd81b754d
mov eax, dword [ecx + 0x54]
mov dword [edx + esi], eax
mov eax, dword [ecx + 0x58]
mov dword [edx + esi + 4], eax
mov eax, dword [ecx + 0x5c]
mov dword [edx + esi + 8], eax
lea eax, [ecx + 0x6c]
mov edx, dword [0x1010e87c]
mov ecx, esi
push eax
call edx
mov ecx, dword [ebp - 0x7c]
mov eax, dword [0x1010e880]
push edi
mov ecx, dword [ecx]
call eax
mov esi, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
cmp esi, edi
je 0x100284d5
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x7c]
push dword [esi]
push dword [eax + 0x3c8]
push eax
call fcn.100276c0
test al, al
je 0x1002847e
mov eax, dword [ebp - 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], ecx
cmp ebx, ecx
je 0x10028481
nop word [eax + eax]
vmovss xmm0, dword [ebp - 0x80]
mov al, byte [ebp - 0x55]
vmovss dword [ebp - 0x40], xmm0
vmovss xmm0, dword [ebp - 0x5c]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x68]
vmovss dword [ebp - 0x3c], xmm0
vmovss xmm0, dword [ebx]
vmovss dword [ebp - 0x4c], xmm0
mov eax, dword [eax]
vmovss xmm0, dword [ebx + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [0x100e80a0]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 4]
vmovss dword [ebp - 0x48], xmm0
vmovss xmm0, dword [ebx + 8]
vmovss dword [ebp - 0x44], xmm0
cmp eax, 1
je 0x100282c4
cmp eax, 3
jne 0x100282d6
vmovss xmm0, dword [0x100dcc40]
vmovss dword [ebp - 0x3c], xmm0
vmovss dword [ebp - 0x40], xmm0
vxorps xmm0, xmm0, xmm0
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2c], 0xffffffff
vmovss dword [ebp - 0x30], xmm0
mov word [ebp - 0x28], 0
call fcn.100baf40
mov ecx, dword [ebp - 0x20]
test al, al
je 0x100283fc
cmp dword [esi], 0
jne 0x10028318
cmp dword [ebp - 0x2c], 1
jne 0x100283fc
mov edx, dword [esi + 4]
vmovss xmm2, dword [ebp - 0x30]
cmp edx, 4
je 0x1002843e
cmp edx, 1
jne 0x1002840a
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x1010e988]
add ecx, 0xffffffc9
xor ecx, 0xd81b755b
mov eax, dword [eax]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm2, xmm0
jae 0x1002843e
mov ecx, dword [ebp - 0x20]
test edx, edx
jne 0x100283fc
vcomiss xmm2, dword [ebp - 0x6c]
jbe 0x100283fc
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 - 0x6c], xmm1
vmovss dword [ebp - 0x78], xmm4
vmovss dword [ebp - 0x70], xmm2
vmovss dword [ebp - 0x74], xmm3
test ah, 0x44
jp 0x100283fc
vmovss xmm0, dword [ecx + 4]
vucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100283fc
vmovss xmm0, dword [ecx + 8]
vucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100283fc
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x1010e988]
add ecx, 0xffffffc9
xor ecx, 0xd81b755b
mov eax, dword [eax]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm1, xmm0
jae 0x1002847e
vmovss dword [ebp - 0x74], xmm3
vmovss dword [ebp - 0x70], xmm2
vmovss dword [ebp - 0x78], xmm4
vmovss dword [ebp - 0x6c], xmm1
add ebx, 0xc
cmp ebx, dword [ebp - 0x60]
jne 0x10028270
jmp 0x1002847e
cmp edx, 3
jne 0x1002835c
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x1010e988]
vmulss xmm1, xmm2, dword [0x100dccac]
add ecx, 0xffffffc9
mov eax, dword [eax]
xor ecx, 0xd81b755b
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
vcomiss xmm1, xmm0
jb 0x100283fc
vmovss xmm1, dword [ebx + 4]
vmovss xmm3, dword [ebx]
vmovaps xmm0, xmm2
vmovss xmm2, dword [ebx + 8]
mov al, 1
vmovss dword [ebp - 0x60], xmm2
vmovss dword [ebp - 0x60], xmm1
vmovss dword [ebp - 0x60], xmm3
vmovss dword [ebp - 0x6c], xmm0
vmovss dword [ebp - 0x78], xmm3
vmovss dword [ebp - 0x70], xmm1
vmovss dword [ebp - 0x74], xmm2
vmovss dword [ebp - 0x60], xmm0
test al, al
jne 0x10028490
mov eax, dword [ebp - 0x20]
add esi, 8
cmp esi, edi
je 0x10028495
mov ebx, dword [ebp - 0x68]
jmp 0x10028235
mov eax, dword [ebp - 0x20]
jmp 0x100284a9
vmovss xmm0, dword [ebp - 0x6c]
vmovss xmm1, dword [ebp - 0x70]
vmovss xmm2, dword [ebp - 0x74]
vmovss xmm3, dword [ebp - 0x78]
vcomiss xmm0, dword [0x100dcb44]
jbe 0x100284d8
mov ecx, dword [ebp - 0x84]
mov bl, 1
vmovss dword [ecx], xmm3
vmovss dword [ecx + 4], xmm1
vmovss dword [ecx + 8], xmm2
mov ecx, dword [ebp - 0x88]
vmovss dword [ecx], xmm0
jmp 0x100284da
mov eax, dword [ebp - 0x20]
xor bl, bl
test eax, eax
je 0x10028526
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 0x1002851c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002851c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cd567
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.100cd0ec
mov esp, ebp
pop ebp
ret 0xc