Function at 0x10056b50
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 0x101016eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x1011c0c0]
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 - 0x2c], eax
mov eax, dword [0x101f60d0]
test al, 1
jne 0x10056cbd
or eax, 1
mov dword [0x101f60d0], eax
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x101102a0]
movaps xmm1, xmmword [0x10110ae0]
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x48], 0x6e
movaps xmm0, xmmword [0x10110790]
movups xmmword [ebp - 0x58], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x68]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x68], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x10056be0
cmp eax, 0x21
jae 0x10056c0b
nop word [eax + eax]
xor byte [ebp + eax - 0x68], 0x6e
inc eax
cmp eax, 0x21
jb 0x10056c00
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056c26
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10035b40
mov byte [ebp - 4], 1
mov edx, dword [0x101c3974]
test edx, edx
je 0x10056c4f
mov edx, dword [edx + 0x50]
jmp 0x10056c51
xor edx, edx
mov eax, dword [0x101c396c]
test eax, eax
je 0x10056c5f
mov eax, dword [eax + 0x18]
jmp 0x10056c61
xor eax, eax
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10027d00
mov eax, dword [ebp - 0x28]
add esp, 8
add eax, 0x3d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [0x101f60c8], eax
cmp ecx, 0xf
jbe 0x10056cb6
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10056cac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101f60c8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x80], 0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x7b], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm2, dword [ecx + 4]
subss xmm3, dword [ecx]
movss xmm1, dword [eax + 8]
subss xmm1, dword [ecx + 8]
movss dword [ebp - 0xac], xmm2
movss dword [ebp - 0xb0], xmm3
mulss xmm2, xmm2
mulss xmm3, xmm3
movss dword [ebp - 0xa8], xmm1
mulss xmm1, xmm1
addss xmm2, xmm3
addss xmm2, xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10056d4a
mov byte [ebp - 0x7b], 0
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
movss xmm4, dword [0x1010f8d8]
push dword [ebp - 0x2c]
movss xmm3, dword [edx]
subss xmm3, dword [eax]
movss xmm2, dword [edx + 4]
subss xmm2, dword [eax + 4]
movss xmm1, dword [edx + 8]
subss xmm1, dword [eax + 8]
movaps xmm0, xmm3
mov dword [ebp - 0x84], 0
mulss xmm0, xmm4
mov dword [ebp - 0x94], 0
mulss xmm3, xmm3
mov dword [ebp - 0xb4], 0
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm2, xmm2
movss dword [ebp - 0x8c], xmm0
movaps xmm0, xmm1
mulss xmm1, xmm1
addss xmm2, xmm3
mulss xmm0, xmm4
movss xmm3, dword [eax]
addss xmm3, dword [edx]
movss dword [ebp - 0x88], xmm0
movsd xmm0, qword [0x1010f8c0]
addss xmm2, xmm1
mulss xmm3, xmm4
mulss xmm2, dword [0x1010f8b0]
cvtps2pd xmm1, xmm2
movss xmm2, dword [eax + 4]
addss xmm2, dword [edx + 4]
comisd xmm0, xmm1
movss xmm1, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [ecx]
addss xmm1, dword [edx + 8]
mulss xmm2, xmm4
seta byte [ebp - 0x7c]
movss dword [ebp - 0xc0], xmm0
movaps xmm0, xmm2
mulss xmm1, xmm4
addss xmm0, dword [ecx + 4]
movss dword [ebp - 0xbc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + 8]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebx + 0x18]
lea ecx, [ebp - 0xc0]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [0x10110b00]
xorps xmm3, xmm0
xorps xmm2, xmm0
xorps xmm1, xmm0
movss dword [ebp - 0xa0], xmm3
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0x98], xmm1
mov eax, dword [edi]
push ecx
mov ecx, edi
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.100fdc5c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20