Function at 0x100aa120
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 0x100f72bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x1011904c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x28c]
push 0x30
push 0
push eax
mov dword [ebp - 0x1c], edi
call fcn.100c86e0
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
add esp, 0xc
cmp dword [edi + 4], 0
movups xmmword [ebp - 0x2b0], xmm0
movups xmmword [ebp - 0x2a0], xmm0
je 0x100aaa1e
cmp dword [0x1012a8b8], 1
je 0x100aaa1e
mov esi, dword [edi]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100aaa1e
mov eax, dword [0x101427ac]
add eax, 0xffffffcc
xor eax, 0x9e4a220f
cmp dword [eax + esi], 0
jne 0x100aaa1e
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x4ec
lea eax, [eax + 0x1012d3c0]
mov dword [ebp - 0x2b4], eax
test eax, eax
je 0x100aaa1e
mov eax, dword [edi + 4]
cmp dword [eax + 0x3f8], 0
je 0x100aaa1e
mov ecx, dword [0x10142844]
add ecx, 0xffffffa6
xor ecx, 0x9e4a2235
mov eax, dword [ecx + esi]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + esi + 0xc]
mov ecx, esi
mov dword [ebp - 0x64], eax
mov eax, dword [0x10142770]
add eax, 0xffffffdb
xor eax, 0x9e4a2200
movss xmm0, dword [eax + esi]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x1014277c]
add eax, 0xffffffd8
movss dword [ebp - 0x58], xmm0
xor eax, 0x9e4a2203
movss xmm0, dword [eax + esi]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x10142780]
add eax, 0xffffffd7
movss dword [ebp - 0x40], xmm0
xor eax, 0x9e4a2204
movss xmm0, dword [eax + esi]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + esi + 8]
movss dword [ebp - 0x34], xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x4c], xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [edi + 4]
mov ecx, dword [0x10142844]
lea edi, [edx + 0x400]
add ecx, 0xffffffa6
mov dword [ebp - 0x2c0], edx
movss xmm0, dword [eax]
xor ecx, 0x9e4a2235
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x28], xmm0
add ecx, dword [edx]
mov eax, dword [edx + 0x3f8]
mov dword [ecx], eax
mov dword [ecx + 0xc], 0x80
mov ecx, dword [0x10142770]
mov esi, dword [edx]
add ecx, 0xffffffdb
mov eax, dword [edi]
xor ecx, 0x9e4a2200
mov dword [ecx + esi], eax
mov eax, dword [edi + 4]
mov dword [ecx + esi + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + esi + 8], eax
mov ecx, dword [0x1014277c]
mov eax, dword [edx + 0x44]
add ecx, 0xffffffd8
xor ecx, 0x9e4a2203
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + esi + 4], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + esi + 8], eax
mov edx, dword [0x10142780]
mov ecx, dword [ebp - 0x2c0]
add edx, 0xffffffd7
xor edx, 0x9e4a2204
mov eax, dword [ecx + 0x50]
mov dword [edx + esi], eax
mov eax, dword [ecx + 0x54]
mov dword [edx + esi + 4], eax
mov eax, dword [ecx + 0x58]
mov dword [edx + esi + 8], eax
lea eax, [ecx + 0x68]
mov edx, dword [0x101426c0]
mov ecx, esi
push eax
call edx
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [0x101426c4]
push edi
mov ecx, dword [ecx]
call eax
mov esi, dword [ebp - 0x1c]
movss xmm4, dword [esi + 0x24]
movss xmm3, dword [esi + 0x28]
movss xmm5, dword [esi + 0x18]
movss xmm6, dword [esi + 0x1c]
subss xmm4, xmm5
movss xmm2, dword [esi + 0x2c]
subss xmm3, xmm6
movss xmm7, dword [esi + 0x20]
subss xmm2, xmm7
movaps xmm0, xmm4
movaps xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.100194b0
addss xmm0, dword [0x101089e0]
movss xmm1, dword [esi + 0x14]
mov dword [ebp - 0x314], 0
mov byte [ebp - 0x2eb], 1
divss xmm4, xmm0
divss xmm3, xmm0
divss xmm2, xmm0
mulss xmm4, xmm1
xorps xmm0, xmm0
mulss xmm3, xmm1
movss dword [ebp - 0x320], xmm4
mulss xmm2, xmm1
movss dword [ebp - 0x31c], xmm3
mulss xmm4, xmm4
mulss xmm3, xmm3
movss dword [ebp - 0x318], xmm2
mulss xmm2, xmm2
addss xmm4, xmm3
addss xmm4, xmm2
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x100aa475
mov byte [ebp - 0x2eb], 0
mov ecx, dword [0x101425b4]
lea edx, [ebp - 0x2b0]
mov edi, dword [ebp - 0x18]
push edx
mov dword [ebp - 0x2f0], 0
lea edx, [ebp - 0x330]
mov byte [ebp - 0x2ec], 1
movss dword [ebp - 0x330], xmm5
movss dword [ebp - 0x32c], xmm6
movss dword [ebp - 0x328], xmm7
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x300], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x100aa7a6
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100aa7a6
cmp dword [ebp - 0x264], edi
jne 0x100aa7a6
mov eax, dword [esi + 4]
cmp dword [eax + 0x420], 7
mov eax, dword [ebp - 0x2b4]
jne 0x100aa54c
inc dword [eax + 0x4b4]
inc dword [eax + 0x2c]
mov ecx, dword [esi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10142598]
lea esi, [ebp - 0x258]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
mov eax, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x10108e50]
mov esi, dword [0x1010751c]
movaps xmm1, xmmword [0x10109180]
mov eax, dword [eax + 4]
movups xmmword [ebp - 0x310], xmm0
add eax, 0x420
movaps xmm0, xmmword [0x101093c0]
movups xmmword [ebp - 0x300], xmm0
mov dword [ebp - 0x18], eax
xor eax, eax
movaps xmm0, xmmword [0x101091b0]
movups xmmword [ebp - 0x2f0], xmm0
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x310]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x310], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x100aa5c0
push 0x98
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.100c86e0
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.10025590
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2d4], eax
lea edx, [ebp - 0x310]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2b8], 0x100ab380
movq xmm0, qword [ebp - 0x2bc]
push 1
push eax
mov dword [ebp - 0x2d0], 1
movq qword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2c4], 0x100310b0
call fcn.10023ad0
add esp, 8
lea eax, [ebp - 0x348]
lea ecx, [ebp - 0xfc]
push eax
call fcn.100262d0
lea ecx, [ebp - 0x100]
call fcn.10023f20
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x348]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x2b8]
call fcn.10043910
add esp, 8
mov edx, eax
mov byte [ebp - 4], 4
mov ecx, dword [0x10142768]
cmp ecx, dword [0x1014276c]
je 0x100aa6ef
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10142768], 8
jmp 0x100aa6f6
push edx
push ecx
call fcn.10044140
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100aa727
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100aa727
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100aa727
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x348]
mov ecx, esp
push eax
call fcn.100209e0
push 0x10119b60
call fcn.1002f2d0
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x334]
cmp ecx, 0x10
jb 0x100aa786
mov edx, dword [ebp - 0x348]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100aa77c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aaa3e
push ecx
push edx
call fcn.100c6ec5
add esp, 8
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
jmp 0x100aa961
movaps xmm0, xmmword [0x10109180]
mov eax, 0x10
pxor xmm0, xmmword [0x10108e50]
mov esi, dword [0x10107504]
mov dword [ebp - 0x2f0], 0x8cc9d9c8
mov dword [ebp - 0x2ec], 0xdf8cc3d8
mov dword [ebp - 0x2e8], 0xcdc9dedc
mov word [ebp - 0x2e4], 0xa6c8
mov byte [ebp - 0x2e2], 0xac
movups xmmword [ebp - 0x300], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x300], 0xac
inc eax
cmp eax, 0x1f
jb 0x100aa800
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100aa840
sub ecx, edx
lea eax, [ebp - 0x300]
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.100210e0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x2d8]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x2b8]
call fcn.10043910
add esp, 8
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x10142768]
cmp ecx, dword [0x1014276c]
je 0x100aa8ca
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10142768], 8
jmp 0x100aa8d1
push edx
push ecx
call fcn.10044140
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100aa902
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100aa902
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100aa902
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x2d8]
mov ecx, esp
push eax
call fcn.100209e0
push 0x10119b60
call fcn.1002f2d0
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x2c4]
cmp ecx, 0x10
jb 0x100aa961
mov edx, dword [ebp - 0x2d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100aa957
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aaa43
push ecx
push edx
call fcn.100c6ec5
add esp, 8
mov ecx, dword [0x10142844]
mov eax, dword [ebp - 0x68]
add ecx, 0xffffffa6
xor ecx, 0x9e4a2235
mov dword [ecx + edi], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + edi + 0xc], eax
lea ecx, [ebp - 0x30]
mov eax, dword [0x10142770]
movss xmm0, dword [ebp - 0x60]
add eax, 0xffffffdb
xor eax, 0x9e4a2200
push ecx
mov ecx, edi
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x1014277c]
movss xmm0, dword [ebp - 0x48]
add eax, 0xffffffd8
xor eax, 0x9e4a2203
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x10142780]
movss xmm0, dword [ebp - 0x3c]
add eax, 0xffffffd7
xor eax, 0x9e4a2204
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x101426c0]
call eax
mov eax, dword [0x101426c4]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c6a45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100cc722
call fcn.100cc722
int3