Function at 0x100a2f20
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov ax, word [ebp + 0x2c]
mov word [esp + 0xe8], ax
mov al, byte [ebp + 0x2e]
push esi
mov esi, dword [ebp + 0x48]
mov byte [esp + 0xee], al
mov eax, dword [ebp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x44]
movss dword [esp + 0xa0], xmm2
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x4c], esi
mov esi, dword [0x10227c40]
movss dword [esp + 0x98], xmm0
movups xmm0, xmmword [ebp + 0x1c]
mov dword [esp + 0x54], ecx
mov dword [ecx], 0x7f7fffff
lea ecx, [edx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
movss dword [esp + 0x9c], xmm1
movups xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x38], edx
movq xmm0, qword [esp + 0x98]
mov eax, dword [eax + 0x20]
movss dword [esp + 0xac], xmm5
movss dword [esp + 0xa8], xmm4
movss dword [esp + 0xa4], xmm3
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xc], esi
call eax
test eax, eax
je 0x100a39c6
mov ecx, dword [0x10227c48]
push eax
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100a39c6
cmp dword [eax + 0xac], 0
jle 0x100a39c6
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x30], ecx
je 0x100a39c6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102296ac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x104e4bfc]
mov dword [esp + 0x44], ecx
cmp eax, dword [ecx + 4]
jle 0x100a3268
push 0x104e4bfc
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e4bfc], 0xffffffff
jne 0x100a3268
mov eax, dword [0x10227c48]
xor edx, edx
cmp dword [0x102296a0], 2
movups xmm0, xmmword [str.ARYIUUc_53_]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov al, byte [0x101f0ad8]
movups xmmword [esp + 0xc0], xmm0
mov byte [esp + 0xd8], al
movq xmm0, qword [str.___98.__N]
movq qword [esp + 0xd0], xmm0
jl 0x100a3210
movaps xmm0, xmmword [0x101ff830]
mov eax, 4
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffba0]
movaps xmm6, xmmword [0x101ff720]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x80]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0xc0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0xc0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0xc4]
pxor xmm1, xmm0
movd dword [esp + edx + 0xc4], xmm1
add edx, 8
cmp edx, 0x18
jl 0x100a3100
mov dword [esp + 0x10], edx
cmp edx, 0x19
jge 0x100a3243
nop dword [eax]
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0xc0], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x19
jl 0x100a3210
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x104e4bfc
mov dword [0x104e4c0c], eax
call fcn.1019d76a
add esp, 4
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
nop dword [eax]
nop dword [eax + eax]
cmp byte [esp + ecx + 0xe0], 0
je 0x100a38e3
test ecx, ecx
js 0x100a38e3
mov eax, dword [esp + 0x30]
cmp ecx, dword [eax + 4]
jge 0x100a38e3
mov eax, dword [eax + 8]
add eax, edx
add eax, dword [esp + 0x30]
je 0x100a38e3
push dword [ebp + 0x3c]
mov edx, dword [esp + 0x3c]
push dword [ebp + 0x38]
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [esp + 0xbc]
movss xmm2, dword [esp + 0xc0]
push ecx
push eax
push dword [esp + 0x60]
lea ecx, [esp + 0x88]
call fcn.1008c1b0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x78]
je 0x100a38d2
nop dword [eax + eax]
movss xmm0, dword [esp + 0xa4]
lea ecx, [esp + 0x80]
addss xmm0, dword [edi + 0xc]
push ecx
mov edx, eax
lea ecx, [esp + 0xb4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xac]
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0x8c], xmm0
call fcn.1008aac0
movss dword [esp + 0x9c], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x9c]
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0xa0], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100a33a0
sqrtsd xmm0, xmm0
jmp 0x100a33a5
call fcn.101c6320
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esi + 0x10]
ja 0x100a38bd
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 3]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ecx, esi
push dword [ebp + 0x40]
mov edx, dword [esp + 0x18]
push eax
call fcn.1008b670
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
xorps xmm2, xmm2
mov dword [esp + 0x6c], 0
comiss xmm2, xmm0
lea esi, [esp + 0x70]
movd xmm1, eax
lea eax, [esp + 0x6c]
cvtdq2ps xmm1, xmm1
cmovbe eax, ecx
comiss xmm0, xmm1
movss xmm0, dword [0x101ff05c]
movss dword [esp + 0x70], xmm1
cmovbe esi, eax
comiss xmm0, dword [esi]
jae 0x100a38b9
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xc], 0
je 0x100a34f4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x100a34f0
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e1e0
cmp byte [eax], 0
jne 0x100a34f0
mov ecx, dword [esp + 0x44]
mov eax, dword [0x10451204]
cmp eax, dword [ecx + 4]
jle 0x100a34c1
push 0x10451204
call fcn.1019d7b4
add esp, 4
cmp dword [0x10451204], 0xffffffff
jne 0x100a34c1
mov edx, 0xc60bf9f2
mov ecx, 0x101f0a9d
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10451204
mov dword [0x10451208], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10451208]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax], 0
jne 0x100a34f0
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e090
test byte [eax], 1
je 0x100a34f0
mov eax, dword [edi + 0x30]
test al, 2
jne 0x100a34f0
or eax, 0x80000
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x34]
mov byte [0x10233a74], 1
lea ecx, [edx*8]
sub ecx, edx
mov dword [esp + 0x28], ecx
cmp byte [eax + ecx*8 + 0x21], 0
je 0x100a3859
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e090
test byte [eax], 1
je 0x100a3859
test byte [edi + 0x30], 2
jne 0x100a3859
mov ecx, dword [0x104e4c0c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100a3859
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
test byte [eax + ecx*8 + 0x24], 1
je 0x100a3776
movq xmm0, qword [0x10451118]
movss xmm1, dword [0x1045111c]
mov eax, dword [0x10451120]
movq qword [esp + 0x60], xmm0
movss xmm0, dword [0x10451118]
mulss xmm1, xmm1
mov dword [esp + 0x68], eax
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100a35a2
sqrtsd xmm0, xmm0
jmp 0x100a35a7
call fcn.101c6320
mov eax, dword [0x10229e7c]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp + 0x40], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x734]
call eax
mov ecx, dword [0x10229e7c]
mov ecx, dword [ecx]
call fcn.1007e1e0
movss xmm0, dword [esp + 0x68]
sub esp, 8
xorps xmm0, xmmword [0x101ffbf0]
fld dword [esp + 0x6c]
cvtss2sd xmm0, xmm0
fstp dword [esp + 4]
fld dword [esp + 0x68]
fstp dword [esp]
movsd qword [esp + 0x20], xmm0
call fcn.101c457e
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
add esp, 8
fld qword [esp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
fld qword [esp + 0x58]
call fcn.101c4550
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101ff38c]
mulss xmm0, dword [0x101ff034]
cvtps2pd xmm0, xmm0
call fcn.101c4ed0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x60]
fld qword [esp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call fcn.101c4550
movss xmm1, dword [edi + 0x10]
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101ff38c]
subss xmm1, xmm0
mulss xmm1, dword [0x101ff034]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
call fcn.101c4ed0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x40]
mulss xmm0, dword [0x101ff52c]
movss dword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x18]
call fcn.101c6150
mov eax, dword [esp + 0xc]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [0x101ff140]
mulss xmm1, dword [esp + 0x24]
mulss xmm1, xmm0
mulss xmm1, dword [0x101ff52c]
jb 0x100a372d
movss xmm0, dword [esp + 0x58]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
cmp byte [eax + 0x1d], 0
je 0x100a3776
or dword [edi + 0x30], 4
jmp 0x100a3776
movss xmm0, dword [edi + 0x24]
mulss xmm0, dword [0x101ff0a0]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
mulss xmm0, dword [0x101ff0a0]
movss dword [edi + 0x28], xmm0
cmp byte [eax + 0x1d], 0
je 0x100a375b
and dword [edi + 0x30], 0xfffffffe
cmp byte [eax + 0x1c], 0
je 0x100a376f
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
cmp byte [eax + 0xc], 0
je 0x100a382c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x100a3828
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e1e0
cmp byte [eax], 0
jne 0x100a3828
mov ecx, dword [esp + 0x44]
mov eax, dword [0x10451204]
cmp eax, dword [ecx + 4]
jle 0x100a37fb
push 0x10451204
call fcn.1019d7b4
add esp, 4
cmp dword [0x10451204], 0xffffffff
jne 0x100a37fb
mov edx, 0xc60bf9f2
mov ecx, 0x101f0a9d
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10451204
mov dword [0x10451208], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10451208]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax], 0
jne 0x100a3828
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e090
test byte [eax], 1
mov eax, dword [esp + 0xc]
je 0x100a382c
or dword [edi + 0x30], 0x80000
jmp 0x100a382c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
test byte [eax + ecx*8 + 0x24], 4
je 0x100a3845
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test byte [eax + ecx*8 + 0x24], 8
je 0x100a3852
or dword [edi + 0x30], 4
jmp 0x100a3859
mov byte [0x10233a74], 0
call fcn.1009a120
movd xmm1, dword [ebp + 0x10]
mov edx, dword [esp + 0x54]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [edx]
subss xmm1, dword [esi]
mov esi, dword [esp + 0xc]
andps xmm1, xmmword [0x101ffbc0]
comiss xmm0, xmm1
jb 0x100a38bd
mov ecx, dword [esp + 0x4c]
movq xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
movss dword [edx], xmm1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jmp 0x100a38bd
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x78]
jne 0x100a3300
lea ecx, [esp + 0x74]
call fcn.10086da0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
add edx, 0x44
inc ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
cmp edx, 0x50c
jb 0x100a3280
mov ecx, dword [esp + 0x34]
xorps xmm1, xmm1
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100a392f
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100a392f
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a39c6
mov eax, dword [ebp + 0x34]
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x58], ecx
cmp byte [esi + ecx*8 + 0x34], 0
je case.0x100a3957.3344
mov eax, dword [0x10227c40]
add eax, 0xd10
mov edx, dword [eax]
cmp edx, 3
ja case.0x100a3957.3344
jmp dword [edx*4 + 0x100a39dc]
mov ecx, eax
call fcn.100cae00
mov ecx, dword [esp + 0x58]
jmp 0x100a396e
mov al, byte [eax + 0x20]
test al, al
je case.0x100a3957.3344
mov ecx, dword [esi + ecx*8 + 0x38]
jmp 0x100a397c
mov ecx, dword [esi + ecx*8 + 0x30]
mov esi, dword [esp + 0x4c]
mov eax, dword [0x10229e7c]
push ecx
push edi
push esi
push dword [esp + 0x20]
mov ecx, dword [eax]
push dword [esp + 0x60]
push dword [esp + 0x44]
call fcn.1008c8a0
test al, al
jne 0x100a39c6
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x54]
movq qword [eax], xmm0
mov dword [eax + 8], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [ecx], 0x7f7fffff
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret 0x48