Function at 0x100d8bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [0x100f6024], 0
push ebx
push esi
push edi
je 0x100d9137
cmp byte [0x100fde0c], 0
je 0x100d9137
cmp byte [0x100fde94], 0
je 0x100d9137
cmp byte [0x100f6028], 0
jne 0x100d8c06
mov eax, dword [0x101265c0]
cmp eax, dword [0x101265c4]
je 0x100d9137
mov dword [0x101265c4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x101265c4]
mov eax, 0x38e38e39
sub ecx, dword [0x101265c0]
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 8], esi
je 0x100d9137
lea ebx, [esi + esi*8]
mov eax, esi
shl ebx, 2
mov edi, dword [0x101265c0]
sub ebx, 0x24
mov dword [ebp - 0x18], eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
add edi, ebx
je 0x100d912c
mov ecx, dword [0x101258ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movzx ecx, byte [edi + 0x21]
cmp ecx, eax
setne dl
je 0x100d8c72
mov eax, dword [0x1012594c]
movss xmm0, dword [eax]
jmp 0x100d8c98
mov ecx, dword [0x10125b6c]
mov eax, dword [0x100f6024]
add ecx, 0xffffffc2
xor ecx, 0x1d780e0d
movd xmm0, dword [ecx + eax]
mov eax, dword [0x1012594c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov ecx, dword [edi + 0x1c]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.1002c420
comiss xmm0, dword [0x100fe158]
jbe 0x100d8d35
mov edi, dword [0x101265c0]
add edi, ebx
mov ebx, dword [0x101265c4]
lea esi, [edi + 0x24]
cmp esi, ebx
je 0x100d8d27
lea ecx, [edi + 0xc]
lea edx, [edi + 0x30]
mov eax, dword [esi]
lea edi, [edi + 0x24]
mov dword [edi - 0x24], eax
lea ecx, [ecx + 0x24]
mov eax, dword [edx - 8]
lea edx, [edx + 0x24]
mov dword [ecx - 0x2c], eax
add esi, 0x24
mov eax, dword [edx - 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x20]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
movzx eax, byte [edx - 0x10]
mov byte [ecx - 0x10], al
movzx eax, byte [edx - 0xf]
mov byte [ecx - 0xf], al
cmp esi, ebx
jne 0x100d8cd4
mov ebx, dword [0x101265c4]
sub ebx, 0x24
mov dword [0x101265c4], ebx
jmp 0x100d9126
cmp byte [edi + 0x20], 0
jne 0x100d912c
test dl, dl
jne 0x100d8d63
lea eax, [esi - 1]
cmp dword [ebp - 0x1c], eax
je 0x100d8d63
cmp dword [ebp - 0x18], esi
jae 0x100d912c
mov eax, dword [0x101265c0]
cmp ecx, dword [eax + ebx + 0x40]
je 0x100d912c
movss xmm6, dword [edi + 0x10]
movss xmm7, dword [edi + 0x14]
movss xmm3, dword [edi + 4]
movss xmm4, dword [edi + 8]
subss xmm3, xmm6
movss xmm0, dword [edi + 0x18]
subss xmm4, xmm7
movss xmm5, dword [edi + 0xc]
subss xmm5, xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x28], xmm6
movaps xmm1, xmm3
movss dword [ebp - 0x2c], xmm7
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.1001e310
movaps xmm2, xmm0
movaps xmm1, xmm3
addss xmm2, dword [0x100eaab4]
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.1001e310
divss xmm3, xmm2
mov dword [ebp - 0x44], 0x9ddec9df
mov eax, 0x10
mov dword [ebp - 0x40], 0xd8c1da82
mov byte [ebp - 0x3c], 0xac
divss xmm4, xmm2
divss xmm5, xmm2
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
addss xmm3, xmm6
movaps xmm0, xmmword [0x100eb960]
addss xmm4, xmm7
pxor xmm0, xmmword [0x100eb440]
addss xmm5, dword [ebp - 0x10]
movss dword [ebp - 0x30], xmm3
movups xmmword [ebp - 0x54], xmm0
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x38], xmm5
nop dword [eax]
xor byte [ebp + eax - 0x54], 0xac
inc eax
cmp eax, 0x19
jb 0x100d8e50
mov ecx, dword [0x10125924]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100eb960]
pxor xmm0, xmmword [0x100eb440]
mov dword [ebp - 0x20], eax
mov eax, 0x10
mov dword [ebp - 0x44], 0x9ddec9df
mov dword [ebp - 0x40], 0xd8c1da82
mov byte [ebp - 0x3c], 0xac
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x54], 0xac
inc eax
cmp eax, 0x19
jb 0x100d8ea0
cmp byte [edi + 0x21], 0
movss xmm0, dword [0x100fe158]
movss dword [ebp - 0x24], xmm0
jne 0x100d8ecf
movzx eax, word [0x100fe052]
mov dword [ebp - 0xc], eax
mov eax, dword [0x100fe050]
jmp 0x100d8ede
movzx eax, word [0x100fe0e2]
mov dword [ebp - 0xc], eax
mov eax, dword [0x100fe0e0]
mov ecx, dword [0x101258ec]
mov ebx, eax
movzx esi, al
shr ebx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, bl
movss dword [ebp - 0x18], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
cmp dword [edi], eax
je 0x100d8f5d
mov eax, dword [0x100fdf38]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
movzx eax, byte [0x100fdf3a]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
mov ecx, dword [0x1012597c]
push 1
call dword [0x10125a8c]
mov esi, eax
test esi, esi
je 0x100d9126
mov ecx, dword [0x1012594c]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0xc8], ecx
test ebx, ebx
js 0x100d9126
mov ecx, dword [0x10125924]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x100d90d9
mov dword [esi + 0x30], 0
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], 0xffffffff
mov dword [esi + 0x158], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
mov ecx, dword [0x10125924]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movss xmm1, dword [ebp - 0x24]
mov dword [esi + 0x15c], eax
mov eax, dword [0x1012594c]
movss xmm2, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x100eab64]
movss xmm5, dword [ebp - 0x10]
movss dword [esi + 0xc4], xmm0
movaps xmm0, xmm1
mov eax, dword [0x1012594c]
addss xmm0, dword [eax + 0x10]
mov dword [esi + 0xd8], 0
mov dword [esi + 0x34], 0
movss dword [esi + 0xdc], xmm1
movss xmm1, dword [ebp - 0x34]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [esi + 0x48], xmm0
subss xmm0, xmm3
movss dword [esi + 0x4c], xmm1
subss xmm1, xmm4
movss dword [esi + 0x50], xmm2
subss xmm2, xmm5
movss dword [esi + 0x3c], xmm3
movss dword [esi + 0x40], xmm4
movss dword [esi + 0x44], xmm5
movss dword [esi + 0xb4], xmm0
movss dword [esi + 0xb8], xmm1
movss dword [esi + 0xbc], xmm2
mov dword [esi + 0xcc], 0x40000000
mov dword [esi + 0xd0], 0x40000000
mov dword [esi + 0xd4], 0
mov dword [esi + 0xec], 0x437f0000
mov dword [esi + 0xf0], 0x3f000000
mov dword [esi + 0xfc], 2
movss xmm0, dword [ebp - 0xc]
movss dword [esi + 0xe0], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0xe4], xmm0
movss xmm0, dword [ebp - 0x18]
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
movss dword [esi + 0xe8], xmm0
mov ecx, dword [0x1012597c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [edi + 0x20], 1
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100d8c34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret