Function at 0x100a8bd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bff99
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
push esi
push edi
mov eax, dword [0x100d0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [0x100f9914]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x24], 0
test al, 1
jne 0x100a8c69
or eax, 1
mov dword [0x100f9914], eax
mov eax, dword [0x100f4a38]
mov dword [0x100f98e8], eax
mov dword [0x100f98ec], 0
mov dword [0x100f98f0], 0
mov dword [0x100f98f4], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
xorps xmm2, xmm2
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x28], eax
movss xmm1, dword [0x100c4724]
movss xmm0, dword [edx]
addss xmm2, xmm1
movss xmm3, dword [edx + 4]
movss xmm1, dword [edx + 8]
mulss xmm0, xmm2
mulss xmm3, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x70], xmm2
movss xmm2, dword [ecx]
addss xmm2, xmm0
movss xmm0, dword [ecx + 8]
addss xmm0, xmm1
addss xmm3, dword [ecx + 4]
movss dword [esi], xmm2
movss dword [esi + 8], xmm0
movss dword [esi + 4], xmm3
test eax, eax
jne 0x100a8cf0
mov ecx, dword [0x100f48b4]
push 0
push 0x4600400b
push esi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x28], eax
mov ecx, dword [0x100f48b4]
push 0
push 0x4600400b
push esi
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
test eax, 0x600400b
je 0x100a8d1f
test eax, 0x40000000
je 0x100a924a
cmp eax, dword [ebp - 0x28]
je 0x100a924a
mov eax, dword [ebp - 0x1c]
movss xmm3, dword [0x100c4724]
movss xmm5, dword [esi]
movss xmm6, dword [esi + 4]
movaps xmm4, xmm5
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mulss xmm0, xmm3
mov dword [ebp - 0xc4], 0
mulss xmm1, xmm3
mov byte [ebp - 0x9b], 1
subss xmm4, xmm0
mulss xmm2, xmm3
movaps xmm3, xmm6
subss xmm3, xmm1
movss xmm1, dword [esi + 8]
movaps xmm0, xmm1
movss dword [ebp - 0x5c], xmm4
subss xmm0, xmm2
subss xmm4, xmm5
movss dword [ebp - 0x58], xmm3
subss xmm3, xmm6
movss dword [ebp - 0x54], xmm0
subss xmm0, xmm1
movss dword [ebp - 0xd0], xmm4
mulss xmm4, xmm4
movss dword [ebp - 0xcc], xmm3
mulss xmm3, xmm3
movss dword [ebp - 0xc8], xmm0
mulss xmm0, xmm0
addss xmm4, xmm3
addss xmm4, xmm0
ucomiss xmm4, dword [0x100c4608]
lahf
test ah, 0x44
jp 0x100a8dd3
mov byte [ebp - 0x9b], 0
mov ecx, dword [0x100f48b4]
lea edx, [ebp - 0xe0]
push edi
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 1
movss dword [ebp - 0xe0], xmm5
movss dword [ebp - 0xdc], xmm6
movss dword [ebp - 0xd8], xmm1
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov eax, dword [ecx]
push 0
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100f4998]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100a8ffd
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], 0xc2700000
mov dword [ebp - 0x18], eax
mov eax, dword [0x100f9844]
test al, 1
jne 0x100a8fd8
or eax, 1
mov dword [0x100f9844], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c4950]
pxor xmm0, xmmword [0x100c4ca0]
mov dword [ebp - 0x40], 0xbaaeabba
mov dword [ebp - 0x3c], 0xafbadba2
mov dword [ebp - 0x38], 0xada9baac
mov byte [ebp - 0x34], 0x9a
movups xmmword [ebp - 0x50], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x50], 0x9a
inc eax
cmp eax, 0x1d
jb 0x100a8ed0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x88], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8ef6
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.1001f040
mov byte [ebp - 4], 1
mov eax, dword [0x100f485c]
test eax, eax
je 0x100a8f24
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x30], ecx
jmp 0x100a8f2b
mov dword [ebp - 0x30], 0
mov eax, dword [0x100f4854]
mov edx, dword [ebp - 0x24]
test eax, eax
je 0x100a8f3f
mov eax, dword [eax + 0x18]
or edx, 1
jmp 0x100a8f44
or edx, 2
xor eax, eax
mov ecx, edx
mov esi, edx
and esi, 0xfffffffd
and cl, 2
cmove esi, edx
mov ecx, esi
mov edx, esi
and edx, 0xfffffffe
and cl, 1
lea ecx, [ebp - 0x88]
cmove edx, esi
push ecx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x30]
push eax
call fcn.100191a0
mov eax, dword [ebp - 0x60]
add esp, 8
test eax, eax
je 0x100a8f8e
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100a8f89
xor eax, eax
jmp 0x100a8f8e
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x74]
mov dword [0x100f9848], eax
cmp edx, 0x10
jb 0x100a8fce
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8fc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a926a
push edx
push ecx
call fcn.100b7d6a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
cmp dword [0x100f9848], 0
je 0x100a8ffd
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x6c]
push 0
push 0x4600400b
call dword [0x100f9848]
add esp, 0x10
mov al, byte [edi + 0x37]
test al, al
je 0x100a9163
cmp word [edi + 0x42], 0
jge 0x100a9163
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x4c]
mov dword [0x100f98ec], eax
movss xmm3, dword [esi]
movss xmm2, dword [ecx]
movss xmm4, dword [esi + 4]
subss xmm2, xmm3
movss xmm1, dword [ecx + 4]
movss xmm5, dword [esi + 8]
subss xmm1, xmm4
movss xmm0, dword [ecx + 8]
subss xmm0, xmm5
mov dword [ebp - 0x114], 0
movss dword [ebp - 0x120], xmm2
mulss xmm2, xmm2
mov byte [ebp - 0xeb], 1
movss dword [ebp - 0x11c], xmm1
mulss xmm1, xmm1
movss dword [ebp - 0x118], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x100c4608]
lahf
test ah, 0x44
jp 0x100a9097
mov byte [ebp - 0xeb], 0
mov ecx, dword [0x100f48b4]
lea edx, [ebp - 0x130]
push edi
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0xec], 1
movss dword [ebp - 0x130], xmm3
movss dword [ebp - 0x12c], xmm4
movss dword [ebp - 0x128], xmm5
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov eax, dword [ecx]
push 0x100f98e8
push 0x600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x100c46d0]
comiss xmm0, dword [edi + 0x2c]
ja 0x100a9143
cmp byte [edi + 0x36], 0
jne 0x100a9143
cmp byte [edi + 0x37], 0
je 0x100a924a
cmp byte [edi + 0x37], 0
jne 0x100a924a
mov eax, dword [edi + 0xc]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 8], eax
jmp 0x100a92c1
movss xmm0, dword [0x100c46d0]
comiss xmm0, dword [edi + 0x2c]
ja 0x100a917f
cmp byte [edi + 0x36], 0
jne 0x100a917f
test al, al
je 0x100a923b
test al, al
jne 0x100a923b
test byte [edi + 0x42], 0x80
je 0x100a91b5
mov ecx, dword [edi + 0x4c]
call fcn.10090b70
test al, al
je 0x100a91a8
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x4c]
call fcn.10090b70
test al, al
jne 0x100a914d
mov eax, dword [ebp - 0x20]
test byte [eax + 0x42], 0x80
je 0x100a924a
mov edx, dword [ebp - 0x1c]
movss xmm1, dword [edi + 0x1c]
movss xmm2, dword [edx]
movss xmm3, dword [edx + 4]
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x18]
movss xmm4, dword [edx + 8]
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [0x100c46d0]
comiss xmm0, xmm1
jb 0x100a924d
movss xmm1, dword [edi + 0x2c]
mulss xmm1, dword [0x100c4724]
movss xmm0, dword [esi]
mulss xmm2, xmm1
mulss xmm3, xmm1
subss xmm0, xmm2
mulss xmm4, xmm1
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm3
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, xmm4
movss dword [esi + 8], xmm0
jmp 0x100a92c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4c]
call fcn.10090b70
test al, al
jne 0x100a9286
mov edx, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x70]
movss xmm0, dword [0x100c479c]
comiss xmm0, xmm2
jb 0x100a9270
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
jmp 0x100a8c86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x20]
mov ecx, edi
call fcn.100a92e0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
movss xmm2, dword [ecx]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
addss xmm2, dword [eax]
addss xmm1, dword [ecx + 4]
addss xmm0, dword [ecx + 8]
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret