Function at 0x100bc180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5c1d
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.10053bc0
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 0x100bc235
mov edx, edi
call fcn.10053da0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc244
push edi
lea ecx, [ebp - 0x20]
call fcn.10053bc0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x2c]
push eax
cmp edi, ebx
je 0x100bc25e
mov edx, edi
call fcn.10053da0
add esp, 4
add edi, 0xc
mov dword [ebp - 0x1c], edi
jmp 0x100bc274
push edi
lea ecx, [ebp - 0x20]
call fcn.10053bc0
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 0x100bc497
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 [0x100e5118]
vmovss dword [ebp - 0x34], xmm0
call fcn.1002e140
vmulss xmm1, xmm0, dword [0x100e5298]
vaddss xmm1, xmm1, dword [ebp - 0x64]
vsubss xmm0, xmm1, dword [ebp - 0x4c]
vmovss dword [ebp - 0x30], xmm0
vmovss xmm0, dword [ebp - 0x34]
call fcn.1002e180
vmulss xmm0, xmm0, dword [0x100e5298]
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.1002e1a0
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x54]
vmovaps xmm3, xmm0
vaddss xmm1, xmm3, dword [0x100e5100]
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 0x100bc456
vcomiss xmm3, xmm5
vxorps xmm1, xmm1, xmm1
vmovss dword [ebp - 0x30], xmm1
jbe 0x100bc456
nop dword [eax + eax]
mov ecx, dword [0x1044a400]
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 0x100bc430
vmulss xmm0, xmm3, dword [0x100e518c]
vcomiss xmm1, xmm0
vmovss xmm2, dword [0x100e51d4]
vmovss xmm4, dword [0x100e51dc]
jbe 0x100bc3f4
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e51b4]
vcomiss xmm1, xmm0
jbe 0x100bc406
vmovaps xmm2, xmm4
vmulss xmm0, xmm3, dword [0x100e51c4]
vcomiss xmm1, xmm0
jbe 0x100bc41c
vmovss xmm2, dword [0x100e520c]
vmulss xmm0, xmm2, dword [0x100e5240]
vaddss xmm0, xmm0, dword [esi + 4]
vmovss dword [esi + 4], xmm0
mov bl, 1
vaddss xmm1, xmm1, dword [0x100e5240]
vcomiss xmm3, xmm1
vmovss xmm0, dword [ebp - 0x58]
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm4, dword [ebp - 0x40]
vmovss dword [ebp - 0x30], xmm1
ja 0x100bc380
add esi, 0xc
cmp esi, edi
jne 0x100bc2b3
test bl, bl
je 0x100bc497
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.100a95e0
vmovss xmm0, dword [ebx]
add esp, 8
vmovss dword [ebp - 0x38], xmm0
jmp 0x100bc49a
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100bc4e3
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 0x100bc4d9
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bc4d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100cb569
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.100cb0e9
mov esp, ebp
pop ebp
ret 0x2c