Function at 0x100bc830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d64ad
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f1040]
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.10053ef0
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 0x100bc8e5
mov edx, edi
call fcn.100540d0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc8f4
push edi
lea ecx, [ebp - 0x20]
call fcn.10053ef0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x2c]
push eax
cmp edi, ebx
je 0x100bc90e
mov edx, edi
call fcn.100540d0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc924
push edi
lea ecx, [ebp - 0x20]
call fcn.10053ef0
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 0x100bcb47
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 [0x100e51b8]
vmovss dword [ebp - 0x34], xmm0
call fcn.1002e560
vmulss xmm1, xmm0, dword [0x100e5338]
vaddss xmm1, xmm1, dword [ebp - 0x64]
vsubss xmm0, xmm1, dword [ebp - 0x4c]
vmovss dword [ebp - 0x30], xmm0
vmovss xmm0, dword [ebp - 0x34]
call fcn.1002e5a0
vmulss xmm0, xmm0, dword [0x100e5338]
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.1002e5c0
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x54]
vmovaps xmm3, xmm0
vaddss xmm1, xmm3, dword [0x100e51a0]
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 0x100bcb06
vcomiss xmm3, xmm5
vxorps xmm1, xmm1, xmm1
vmovss dword [ebp - 0x30], xmm1
jbe 0x100bcb06
nop dword [eax + eax]
mov ecx, dword [0x1044ea30]
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 0x100bcae0
vmulss xmm0, xmm3, dword [0x100e522c]
vcomiss xmm1, xmm0
vmovss xmm2, dword [0x100e5274]
vmovss xmm4, dword [0x100e527c]
jbe 0x100bcaa4
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e5254]
vcomiss xmm1, xmm0
jbe 0x100bcab6
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e5264]
vcomiss xmm1, xmm0
jbe 0x100bcacc
vmovss xmm2, dword [0x100e52ac]
vmulss xmm0, xmm2, dword [0x100e52e0]
vaddss xmm0, xmm0, dword [esi + 4]
vmovss dword [esi + 4], xmm0
mov bl, 1
vaddss xmm1, xmm1, dword [0x100e52e0]
vcomiss xmm3, xmm1
vmovss xmm0, dword [ebp - 0x58]
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x40]
vmovss dword [ebp - 0x30], xmm1
ja 0x100bca30
add esi, 0xc
cmp esi, edi
jne 0x100bc963
test bl, bl
je 0x100bcb47
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.100a9c80
vmovss xmm0, dword [ebx]
add esp, 8
vmovss dword [ebp - 0x38], xmm0
jmp 0x100bcb4a
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100bcb93
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 0x100bcb89
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bcb89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100cbdc9
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.100cb949
mov esp, ebp
pop ebp
ret 0x2c