Function at 0x100a9bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d4
push ebx
push esi
mov esi, dword [0x10216634]
push edi
mov dword [esp + 0xc], edx
mov edi, ecx
cmp byte [esi + 0x1689], 0
je 0x100aa1c5
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
xor eax, eax
movaps xmmword [esp + 0x40], xmm0
mov word [esp + 0x40], ax
mov ebx, 7
mov dword [esp + 0x54], ebx
test edi, edi
je 0x100a9ded
mov ax, word [0x101b00dc]
xor ebx, ebx
movq xmm0, qword [str.PXQhP_WHU_]
mov word [esp + 0x18], ax
mov al, byte [0x101b00de]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1a], al
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x10], al
inc ebx
cmp ebx, 0xb
jl 0x100a9c44
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.10041c80
lea ecx, [esp + 0x40]
call fcn.100021f0
movaps xmm0, xmmword [esp + 0x60]
xor ebx, ebx
mov al, byte [0x101b0000]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [str.UABV_R_I_]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x18], al
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x10], al
inc ebx
cmp ebx, 9
jl 0x100a9cc3
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1021663c]
mov dword [esp + 0xc], eax
mov esi, dword [ecx + 0x10]
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov edx, dword [esi]
lea ecx, [esp + 0x88]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
or ebx, 0xffffffff
test al, al
mov ecx, ebx
cmovne ecx, dword [esp + 0x118]
cmp dword [esp + 0xc], ecx
jne 0x100a9de4
mov eax, dword [edi]
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae324
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [edi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae320
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [edi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, edi
push 0x101ae328
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x102187c8]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100a9de4
mov eax, dword [0x1021663c]
add ecx, 8
mov esi, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x88]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
test al, al
cmovne ebx, dword [esp + 0x118]
cmp dword [esp + 0xc], ebx
jne 0x100a9de4
mov eax, dword [0x10216630]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x10423724], xmm0
mov ebx, dword [esp + 0x54]
jmp 0x100aa191
mov eax, dword [0x10216630]
movss xmm3, dword [esi + 0x168c]
movaps xmm2, xmm3
addss xmm2, dword [0x10423724]
mov eax, dword [eax + 0xc]
movss xmm4, dword [eax]
comiss xmm4, xmm2
ja 0x100aa191
subss xmm2, xmm4
mov eax, dword [0x10423820]
movss xmm0, dword [eax + 0x54]
andps xmm2, xmmword [0x101ed3d0]
mulss xmm0, dword [0x101ecb34]
divss xmm2, xmm3
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0x58]
mulss xmm0, dword [0x101ecb34]
addss xmm2, dword [0x101eca70]
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
mulss xmm2, dword [0x101ece10]
addss xmm2, xmm0
cvttss2si ecx, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x104edacc]
divss xmm0, dword [0x101ece10]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.10185f30
movss xmm1, dword [0x101ece10]
mov edi, eax
movss xmm0, dword [esi + 0x1654]
mulss xmm0, xmm1
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1658]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x165c]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si eax, xmm0
or edi, eax
mov eax, dword [esi + 0x1650]
sub eax, 0
je 0x100a9ff3
sub eax, 1
jne 0x100aa191
mov ecx, dword [0x10216964]
mov ecx, dword [ecx + 0xc4]
call fcn.10123260
mov ecx, dword [0x10423820]
lea eax, [esp + 0x34]
movss xmm3, dword [0x101ece94]
push 0
push 0
movss xmm2, dword [ecx + 0x1978]
push 0x101ae328
push ecx
mov ecx, dword [ecx + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1012f330
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x38]
mulss xmm1, dword [0x101ecb34]
movss xmm3, dword [esp + 0x24]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10216964]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0xc4]
mulss xmm0, dword [0x101ecb34]
subss xmm3, xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm1
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm0
test edi, 0xff000000
je 0x100a9fe9
test ecx, ecx
jne 0x100a9fac
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 8]
push dword [esp + 0x38]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push dword [esp + 0x38]
movss xmm2, dword [0x101ecd68]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push 0x101ae329
push 0x101ae328
push edx
push edi
push eax
movups xmmword [esp + 0x34], xmm0
call fcn.1012f4f0
call fcn.10123310
jmp 0x100aa191
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x2c]
subss xmm0, dword [0x101eccd0]
mov esi, dword [esp + 0xc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x101eccd0]
push eax
lea eax, [esp + 0x1c]
push eax
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [0x101ecd10]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x101ecd10]
movss dword [esp + 0x24], xmm0
call fcn.1012c8e0
movss xmm3, dword [esp + 0x24]
lea eax, [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [0x101ecce0]
addss xmm3, dword [0x101ecd14]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x101ecce0]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm3
push eax
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x101ecd14]
movss dword [esp + 0x40], xmm0
call fcn.1012c8e0
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x10]
movss xmm3, dword [esp + 0x24]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x101ecce0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push eax
movss dword [esp + 0x20], xmm0
lea eax, [esp + 0x38]
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x101ecd14]
push eax
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm0
call fcn.1012c8e0
movss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x10]
movss xmm1, dword [esp + 0x28]
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x101eccd0]
addss xmm1, dword [0x101ecd10]
push ecx
mov dword [esp], 0x3f800000
push edi
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.1012c8e0
cmp ebx, 7
jbe 0x100aa1c5
mov ecx, dword [esp + 0x40]
lea ebx, [ebx*2 + 2]
mov eax, ecx
cmp ebx, 0x1000
jb 0x100aa1bb
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa1cc
push ebx
push ecx
call fcn.1015fe24
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10164f66
int3