Function at 0x10052b40
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 0x100db4ae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
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 esi, ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x103579cc]
mov dword [ebp - 0x88], ecx
test al, 1
jne 0x10052cf9
or eax, 1
mov dword [0x103579cc], eax
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100e74e0]
movaps xmm1, xmmword [0x100e7bd0]
movups xmmword [ebp - 0xdc], xmm0
mov byte [ebp - 0xbc], 0xe0
movaps xmm0, xmmword [0x100e7850]
movups xmmword [ebp - 0xcc], xmm0
movups xmm0, xmmword [ebp + eax - 0xdc]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0xdc], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x10052be0
cmp eax, 0x21
jae 0x10052c0e
xor byte [ebp + eax - 0xdc], 0xe0
inc eax
cmp eax, 0x21
jb 0x10052c00
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xa4], 0
movups xmmword [ebp - 0xb8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052c35
sub ecx, edx
lea eax, [ebp - 0xdc]
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.100304c0
mov edx, 0x6c5a4374
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.1004aa60
mov edx, dword [eax + 8]
test edx, edx
je 0x10052c71
mov edx, dword [edx + 0x50]
jmp 0x10052c73
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x10052c7e
mov eax, dword [eax + 0x18]
jmp 0x10052c80
xor eax, eax
lea ecx, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10028960
mov eax, dword [ebp - 0x84]
add esp, 8
test eax, eax
je 0x10052ca5
add eax, 0x3d
jmp 0x10052ca7
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
mov dword [0x103579b8], eax
cmp ecx, 0xf
jbe 0x10052cec
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052ce2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052ce2
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 ecx, dword [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103579b8]
xorps xmm0, xmm0
movss xmm4, dword [ecx]
xorps xmm3, xmm3
movss xmm5, dword [ecx + 4]
movss xmm6, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
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 - 0x94], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x54], 0
movss xmm0, dword [eax]
subss xmm0, xmm4
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x3b], 1
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm5
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm6
movss dword [ebp - 0x98], xmm0
movaps xmm2, xmmword [ebp - 0xa0]
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 0x10052dc3
mov byte [ebp - 0x3b], 0
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x40], 0
push ecx
push dword [ebx + 0x10]
mov byte [ebp - 0x3c], 1
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x80], xmm4
movss dword [ebp - 0x7c], xmm5
movss dword [ebp - 0x78], xmm6
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x14]
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 0x18