Function at 0x100bc610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d62dd
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.10053d10
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 0x100bc6c5
mov edx, edi
call fcn.10053ef0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc6d4
push edi
lea ecx, [ebp - 0x20]
call fcn.10053d10
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x2c]
push eax
cmp edi, ebx
je 0x100bc6ee
mov edx, edi
call fcn.10053ef0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc704
push edi
lea ecx, [ebp - 0x20]
call fcn.10053d10
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 0x100bc927
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 [0x100e5168]
vmovss dword [ebp - 0x34], xmm0
call fcn.1002e450
vmulss xmm1, xmm0, dword [0x100e52e8]
vaddss xmm1, xmm1, dword [ebp - 0x64]
vsubss xmm0, xmm1, dword [ebp - 0x4c]
vmovss dword [ebp - 0x30], xmm0
vmovss xmm0, dword [ebp - 0x34]
call fcn.1002e490
vmulss xmm0, xmm0, dword [0x100e52e8]
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.1002e4b0
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x54]
vmovaps xmm3, xmm0
vaddss xmm1, xmm3, dword [0x100e5150]
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 0x100bc8e6
vcomiss xmm3, xmm5
vxorps xmm1, xmm1, xmm1
vmovss dword [ebp - 0x30], xmm1
jbe 0x100bc8e6
nop dword [eax + eax]
mov ecx, dword [0x1044a860]
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 0x100bc8c0
vmulss xmm0, xmm3, dword [0x100e51dc]
vcomiss xmm1, xmm0
vmovss xmm2, dword [0x100e5224]
vmovss xmm4, dword [0x100e522c]
jbe 0x100bc884
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e5204]
vcomiss xmm1, xmm0
jbe 0x100bc896
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e5214]
vcomiss xmm1, xmm0
jbe 0x100bc8ac
vmovss xmm2, dword [0x100e525c]
vmulss xmm0, xmm2, dword [0x100e5290]
vaddss xmm0, xmm0, dword [esi + 4]
vmovss dword [esi + 4], xmm0
mov bl, 1
vaddss xmm1, xmm1, dword [0x100e5290]
vcomiss xmm3, xmm1
vmovss xmm0, dword [ebp - 0x58]
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x40]
vmovss dword [ebp - 0x30], xmm1
ja 0x100bc810
add esi, 0xc
cmp esi, edi
jne 0x100bc743
test bl, bl
je 0x100bc927
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.100a9a60
vmovss xmm0, dword [ebx]
add esp, 8
vmovss dword [ebp - 0x38], xmm0
jmp 0x100bc92a
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100bc973
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 0x100bc969
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bc969
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100cbb79
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.100cb6f9
mov esp, ebp
pop ebp
ret 0x2c