Function at 0x100beda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db43d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f6040]
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 ecx, dword [ebp + 8]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
vpxor xmm0, xmm0, xmm0
vmovq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
vmovss xmm0, dword [ebp + 0x2c]
vmovss dword [ebp - 0x38], xmm0
vaddss xmm0, xmm0, dword [ebp + 0x30]
push eax
push 0
lea ecx, [ebp - 0x20]
vmovss dword [ebp - 0x34], xmm0
call fcn.100550b0
vmovss xmm0, dword [ebp + 0x2c]
vsubss xmm0, xmm0, dword [ebp + 0x30]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
vmovss dword [ebp - 0x30], xmm0
push eax
cmp edi, ebx
je 0x100bee55
mov edx, edi
call fcn.10055290
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bee64
push edi
lea ecx, [ebp - 0x20]
call fcn.100550b0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x2c]
push eax
cmp edi, ebx
je 0x100bee7e
mov edx, edi
call fcn.10055290
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bee94
push edi
lea ecx, [ebp - 0x20]
call fcn.100550b0
vmovss xmm0, dword [ebp + 0x2c]
mov edi, dword [ebp - 0x1c]
vmovss dword [ebp - 0x38], xmm0
vmovq xmm0, qword [ebp + 0x10]
mov esi, dword [ebp - 0x20]
xor bl, bl
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
vmovq qword [ebp - 0x4c], xmm0
vmovq xmm0, qword [ebp + 0x1c]
vmovq qword [ebp - 0x64], xmm0
cmp esi, edi
je 0x100bf0b7
vmovss xmm0, dword [ebp + 0x24]
vsubss xmm0, xmm0, dword [ebp + 0x18]
vmovss dword [ebp - 0x54], xmm0
vmulss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x50], xmm0
vmovss xmm0, dword [esi]
vmulss xmm0, xmm0, dword [0x100ea01c]
vmovss dword [ebp - 0x34], xmm0
call fcn.1002e300
vmulss xmm1, xmm0, dword [0x100ea190]
vaddss xmm1, xmm1, dword [ebp - 0x64]
vsubss xmm0, xmm1, dword [ebp - 0x4c]
vmovss dword [ebp - 0x30], xmm0
vmovss xmm0, dword [ebp - 0x34]
call fcn.1002e340
vmulss xmm0, xmm0, dword [0x100ea190]
vaddss xmm0, xmm0, dword [ebp - 0x60]
vsubss xmm0, xmm0, dword [ebp - 0x48]
vmovss dword [ebp - 0x3c], xmm0
vmulss xmm1, xmm0, xmm0
vmovss xmm0, dword [ebp - 0x30]
vmulss xmm0, xmm0, xmm0
vaddss xmm0, xmm1, xmm0
vaddss xmm0, xmm0, dword [ebp - 0x50]
call fcn.1002e360
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x54]
vmovaps xmm3, xmm0
vaddss xmm1, xmm3, dword [0x100ea008]
vmovss xmm0, dword [ebp - 0x30]
vxorps xmm5, xmm5, xmm5
vcomiss xmm5, xmm3
vdivss xmm0, xmm0, xmm1
vdivss xmm2, xmm2, xmm1
vdivss xmm4, xmm4, xmm1
vmovss dword [ebp - 0x34], xmm3
vmovss dword [ebp - 0x58], xmm0
vmovss dword [ebp - 0x3c], xmm2
vmovss dword [ebp - 0x40], xmm4
jae 0x100bf076
vcomiss xmm3, xmm5
vxorps xmm1, xmm1, xmm1
vmovss dword [ebp - 0x30], xmm1
jbe 0x100bf076
nop dword [eax + eax]
mov ecx, dword [0x1044f5d0]
lea edx, [ebp - 0x2c]
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [ebp - 0x4c]
vmovss dword [ebp - 0x2c], xmm0
vmulss xmm0, xmm2, xmm1
vaddss xmm0, xmm0, dword [ebp - 0x48]
vmovss dword [ebp - 0x28], xmm0
vmulss xmm0, xmm4, xmm1
vaddss xmm0, xmm0, dword [ebp - 0x44]
vmovss dword [ebp - 0x24], xmm0
mov eax, dword [ecx]
push 0
push 0x600400b
push edx
mov eax, dword [eax]
call eax
vmovss xmm3, dword [ebp - 0x34]
vmovss xmm1, dword [ebp - 0x30]
test eax, 0x600400b
je 0x100bf050
vmulss xmm0, xmm3, dword [0x100ea084]
vcomiss xmm1, xmm0
vmovss xmm2, dword [0x100ea0c8]
vmovss xmm4, dword [0x100ea0d0]
jbe 0x100bf014
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100ea0ac]
vcomiss xmm1, xmm0
jbe 0x100bf026
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100ea0b8]
vcomiss xmm1, xmm0
jbe 0x100bf03c
vmovss xmm2, dword [0x100ea104]
vmulss xmm0, xmm2, dword [0x100ea138]
vaddss xmm0, xmm0, dword [esi + 4]
vmovss dword [esi + 4], xmm0
mov bl, 1
vaddss xmm1, xmm1, dword [0x100ea138]
vcomiss xmm3, xmm1
vmovss xmm0, dword [ebp - 0x58]
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x40]
vmovss dword [ebp - 0x30], xmm1
ja 0x100befa0
add esi, 0xc
cmp esi, edi
jne 0x100beed3
test bl, bl
je 0x100bf0b7
mov ebx, dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x40]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
mov ecx, ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.100adb90
vmovss xmm0, dword [ebx]
add esp, 8
vmovss dword [ebp - 0x38], xmm0
jmp 0x100bf0ba
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100bf103
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 2
cmp ecx, 0x1000
jb 0x100bf0f9
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bf0f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100d0734
add esp, 8
vmovss xmm0, dword [ebp - 0x38]
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.100d02b9
mov esp, ebp
pop ebp
ret 0x2c