Function at 0x10052e50
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 0x100db4fe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [0x103579d8]
test al, 1
jne 0x10053003
or eax, 1
mov dword [0x103579d8], eax
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100e74e0]
movaps xmm1, xmmword [0x100e7bd0]
movups xmmword [ebp - 0xd4], xmm0
mov byte [ebp - 0xb4], 0xe0
movaps xmm0, xmmword [0x100e7850]
movups xmmword [ebp - 0xc4], xmm0
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0xd4]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0xd4], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x10052ef0
cmp eax, 0x21
jae 0x10052f1e
xor byte [ebp + eax - 0xd4], 0xe0
inc eax
cmp eax, 0x21
jb 0x10052f10
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052f45
sub ecx, edx
lea eax, [ebp - 0xd4]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.100304c0
mov edx, 0x6c5a4374
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.1004aa60
mov edx, dword [eax + 8]
test edx, edx
je 0x10052f81
mov edx, dword [edx + 0x50]
jmp 0x10052f83
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x10052f8e
mov eax, dword [eax + 0x18]
jmp 0x10052f90
xor eax, eax
lea ecx, [ebp - 0xb0]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.10028960
mov eax, dword [ebp - 0x94]
add esp, 8
test eax, eax
je 0x10052fb5
add eax, 0x3d
jmp 0x10052fb7
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
mov dword [0x103579c0], eax
cmp ecx, 0xf
jbe 0x10052ffc
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052ff2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052ff2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7cba
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103579c0]
xorps xmm0, xmm0
mov ecx, dword [ebx + 8]
xorps xmm3, xmm3
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
xor eax, eax
movlpd qword [ebp - 0x3a], xmm0
mov word [ebp - 0x32], ax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
movss xmm0, dword [eax]
subss xmm0, dword [ecx]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3b], 1
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 4]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [ecx + 8]
movss dword [ebp - 0x88], xmm0
movaps xmm2, xmmword [ebp - 0x90]
movaps xmm1, xmm2
movaps xmmword [ebp - 0x70], xmm2
shufps xmm1, xmm2, 0x55
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm1
shufps xmm2, xmm2, 0xaa
mulss xmm2, xmm2
addss xmm1, xmm0
addss xmm1, xmm2
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x100530b7
mov byte [ebp - 0x3b], 0
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
movss xmm4, dword [0x100e6b78]
mov dword [ebp - 0x84], 0
movss xmm0, dword [edx]
movss xmm7, dword [eax + 4]
movss dword [ebp - 0x94], xmm0
subss xmm0, dword [eax]
movss xmm5, dword [eax + 8]
push dword [ebp - 0x98]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [edx + 4]
subss xmm0, xmm7
addss xmm7, dword [edx + 4]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [edx + 8]
subss xmm0, xmm5
addss xmm5, dword [edx + 8]
movss dword [ebp - 0x88], xmm0
movaps xmm3, xmmword [ebp - 0x90]
movaps xmm0, xmm3
movaps xmmword [ebp - 0x50], xmm3
movss xmm2, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x48]
mulss xmm0, xmm4
mov dword [ebp - 0x84], 0
mulss xmm3, xmm3
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm2, xmm2
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmm1
mulss xmm1, xmm1
addss xmm2, xmm3
mulss xmm0, xmm4
movss dword [ebp - 0x8c], xmm7
movss dword [ebp - 0x88], xmm5
movss dword [ebp - 0x48], xmm0
movsd xmm0, qword [0x100e6b60]
addss xmm2, xmm1
mulss xmm2, dword [0x100e6b4c]
cvtps2pd xmm1, xmm2
comisd xmm0, xmm1
movss xmm0, dword [eax]
addss xmm0, dword [ebp - 0x94]
seta byte [ebp - 0x3c]
movss dword [ebp - 0x90], xmm0
movaps xmm3, xmmword [ebp - 0x90]
movaps xmm2, xmm3
movaps xmmword [ebp - 0x60], xmm3
mulss xmm2, xmm4
movaps xmm1, xmm3
mov dword [ebp - 0x84], 0
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm4
movaps xmm0, xmm2
shufps xmm3, xmm3, 0xaa
addss xmm0, dword [ecx]
mulss xmm3, xmm4
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + 4]
movss dword [ebp - 0x8c], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ecx + 8]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebx + 0x18]
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x80], xmm0
movss xmm0, dword [0x100e6ea0]
xorps xmm2, xmm0
xorps xmm1, xmm0
xorps xmm3, xmm0
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm3
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, edi
call eax
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.100d778c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20