Function at 0x10026a50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1a6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x101110c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101ae7cc]
movss xmm0, dword [0x10104984]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], 1
cmp dword [eax + 0x18], 1
mov dword [ebp - 0x28], ecx
movss dword [ebp - 0x24], xmm0
jl 0x10026e35
nop dword [eax]
cmp dword [ecx], 3
jl 0x10026ae4
push 0
push dword [0x10134afc]
push dword [0x10134af8]
call fcn.100f0090
cmp eax, dword [0x10134afc]
jne 0x10026e35
mov ecx, dword [0x101ae770]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x10026e16
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x10026e16
mov eax, dword [0x101ae9d0]
add eax, 0xffffffcb
xor eax, 0xb391df1
cmp dword [eax + edi], 0
jne 0x10026e16
mov eax, dword [0x101ae908]
mov al, byte [eax + edi]
test al, al
jne 0x10026e16
mov ecx, dword [0x101ae9a8]
mov edx, dword [0x10130e2c]
add ecx, 0xffffffd5
xor ecx, 0xb391de7
mov eax, dword [ecx + edi]
cmp eax, dword [ecx + edx]
jne 0x10026b74
mov ecx, dword [0x101ae844]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10026e16
mov edx, dword [0x10130e2c]
imul edi, dword [ebp - 0x1c], 0xe8
add edi, 0xffffff18
add edi, esi
mov dword [ebp - 0x20], edi
je 0x10026e16
cmp dword [edi + 0x18], 0
je 0x10026e16
mov eax, dword [0x101358b4]
cmp eax, 0xffffffff
je 0x10026bb2
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x10145628]
test al, al
jne 0x10026c6b
mov eax, dword [0x101ae990]
mov ecx, dword [ebp - 0x18]
add eax, 0xffffffdb
xor eax, 0xb391de1
movss xmm1, dword [eax + edx]
movss xmm0, dword [eax + edx + 4]
subss xmm1, dword [eax + ecx]
subss xmm0, dword [eax + ecx + 4]
movss dword [ebp - 0x18], xmm1
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp - 0x18]
movaps xmm2, xmm0
mulss xmm2, dword [0x101048c4]
xorps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10026c06
addss xmm2, dword [0x10104904]
mov eax, dword [0x101311a8]
lea ecx, [ebp - 0x18]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
call fcn.100d47c0
movss xmm1, dword [ebp - 0x18]
movaps xmm0, xmm1
call fcn.100239e0
movss xmm2, dword [ebp - 0x24]
comiss xmm2, xmm0
ja 0x10026c45
ucomiss xmm2, dword [0x10104984]
lahf
test ah, 0x44
jp 0x10026c6b
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x64a54], eax
xor eax, eax
movss dword [ebp - 0x24], xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
seta al
lea eax, [eax*2 - 1]
mov dword [esi + 0x64a58], eax
push 0
push dword [0x10134afc]
push dword [0x10134af8]
call fcn.100f0090
cmp eax, dword [0x10134afc]
je 0x10026cab
mov ecx, dword [esi + 0x3a0c]
mov edx, dword [esi + 0x3a10]
cmp ecx, edx
je 0x10026cab
mov eax, dword [ebp - 0x1c]
dec eax
nop word [eax + eax]
cmp eax, dword [ecx]
je 0x10026d08
add ecx, 4
cmp ecx, edx
jne 0x10026ca0
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
push dword [eax + ecx*4]
mov ecx, esi
push edi
call fcn.10025f00
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
push dword [eax + ecx*4]
mov ecx, esi
push edi
call fcn.10026870
test al, al
jne 0x10026e16
mov eax, dword [ebp - 0x28]
lea ecx, [esi + 0x3a00]
inc dword [eax]
mov eax, dword [esi + 0x3a04]
cmp eax, dword [esi + 0x3a08]
je 0x10026ddc
mov dword [eax], edi
add dword [esi + 0x3a04], 4
jmp 0x10026de6
movaps xmm0, xmmword [0x10105130]
mov eax, 0x10
xorps xmm0, xmmword [0x10104dc0]
mov dword [ebp - 0x2c], 0xadde888d
movups xmmword [ebp - 0x3c], xmm0
xor byte [ebp + eax - 0x3c], 0xad
inc eax
cmp eax, 0x14
jb 0x10026d26
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.1002c5e0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x64a1c]
cmp ecx, dword [esi + 0x64a20]
je 0x10026d96
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [esi + 0x64a1c], 0x18
jmp 0x10026da3
push eax
push ecx
lea ecx, [esi + 0x64a18]
call fcn.1002ddf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10026e16
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026dd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026e2f
push ecx
push edx
call fcn.100f079b
add esp, 8
jmp 0x10026e16
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1002d370
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x3a10]
dec ecx
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 0x3a14]
je 0x10026e06
mov dword [eax], ecx
add dword [esi + 0x3a10], 4
jmp 0x10026e16
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0x3a0c]
call fcn.1002d4d0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x101ae7cc]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [eax + 0x18]
jg 0x10026e35
mov ecx, dword [ebp - 0x28]
jmp 0x10026ac0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f0320
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4