Function at 0x100a31a0
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 [0x102220c0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
movss dword [esp + 0xac], xmm5
movss dword [esp + 0xa8], xmm4
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x98], xmm0
mov dword [esp + 0x48], edx
mov edi, ecx
mov dword [esp + 0x50], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x48]
mov dword [esp + 0x58], eax
mov ax, word [ebp + 0x2c]
mov word [esp + 0xf0], ax
mov al, byte [ebp + 0x2e]
mov byte [esp + 0xf2], al
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x44]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x54], esi
mov esi, dword [0x1023fc80]
movups xmm0, xmmword [ebp + 0x1c]
mov dword [esp + 0x5c], ecx
mov dword [ecx], 0x7f7fffff
lea ecx, [edx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
movups xmmword [esp + 0xe0], xmm0
movq xmm0, qword [esp + 0x98]
mov eax, dword [eax + 0x20]
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xc], esi
call eax
test eax, eax
je 0x100a3c9a
mov ecx, dword [0x1023fc88]
push eax
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100a3c9a
cmp dword [eax + 0xac], 0
jle 0x100a3c9a
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x20], ecx
je 0x100a3c9a
mov eax, dword [0x10240d9c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1053322c]
cmp eax, dword [ecx + 4]
jle 0x100a34e8
push 0x1053322c
call fcn.101b57fd
add esp, 4
cmp dword [0x1053322c], 0xffffffff
jne 0x100a34e8
mov eax, dword [0x1023fc88]
xor edx, edx
cmp dword [0x10240d90], 2
movups xmm0, xmmword [str.O_KSSa_71__]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov al, byte [0x10203e18]
movups xmmword [esp + 0xc0], xmm0
mov byte [esp + 0xd8], al
movq xmm0, qword [str.9____P]
movq qword [esp + 0xd0], xmm0
jl 0x100a3490
movaps xmm0, xmmword [0x10214b30]
lea edi, [esp + 0xc4]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x80]
nop word [eax + 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0xc0]
xorps 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + edi]
xorps xmm1, xmm0
movd dword [edx + edi], xmm1
add edx, 8
cmp edx, 0x18
jl 0x100a3380
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], edx
cmp edx, 0x19
jge 0x100a34c3
nop dword [eax + eax]
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0xc0], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x19
jl 0x100a3490
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1053322c
mov dword [0x10533230], eax
call fcn.101b57ac
add esp, 4
mov ecx, dword [0x1023fc80]
xor edx, edx
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x10], edx
nop word [eax + eax]
cmp byte [esp + edx + 0xe0], 0
je 0x100a3bbd
cmp byte [ecx + 0x3406], 0
je 0x100a3521
test edx, edx
jne 0x100a3bbd
jmp 0x100a3529
test edx, edx
js 0x100a3bbd
mov esi, dword [esp + 0x20]
cmp edx, dword [esi + 4]
mov esi, dword [esp + 0xc]
jge 0x100a3bbd
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
je 0x100a3bb9
push dword [ebp + 0x3c]
movss xmm0, dword [esp + 0xb4]
lea ecx, [esp + 0x78]
push dword [ebp + 0x38]
movss xmm1, dword [esp + 0xbc]
movss xmm2, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0x54]
push eax
push dword [esp + 0x68]
call fcn.1008b8d0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x78]
je 0x100a3ba6
nop word [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.1008a1e0
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 0x100a3640
sqrtsd xmm0, xmm0
jmp 0x100a3645
call fcn.101dd630
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esi + 0x10]
ja 0x100a3b91
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 3]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov ecx, esi
push dword [ebp + 0x40]
mov edx, dword [esp + 0x24]
push eax
call fcn.1008ad90
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x4c], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
xorps xmm2, xmm2
mov dword [esp + 0x68], 0
comiss xmm2, xmm0
lea esi, [esp + 0x6c]
movd xmm1, eax
lea eax, [esp + 0x68]
cvtdq2ps xmm1, xmm1
cmovbe eax, ecx
comiss xmm0, xmm1
movss xmm0, dword [0x10214374]
movss dword [esp + 0x6c], xmm1
cmovbe esi, eax
comiss xmm0, dword [esi]
jae 0x100a3b8d
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xc], 0
je 0x100a379f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x100a379b
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007d760
cmp byte [eax], 0
jne 0x100a379b
mov eax, dword [0x10240d9c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10468298]
cmp eax, dword [ecx + 4]
jle 0x100a376c
push 0x10468298
call fcn.101b57fd
add esp, 4
cmp dword [0x10468298], 0xffffffff
jne 0x100a376c
mov edx, 0xc60bf9f2
mov ecx, 0x10205291
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x10468298
mov dword [0x1046829c], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1046829c]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax], 0
jne 0x100a379b
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007d610
test byte [eax], 1
je 0x100a379b
mov eax, dword [edi + 0x30]
test al, 2
jne 0x100a379b
or eax, 0x80000
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x34]
shl ecx, 4
sub ecx, dword [ebp + 0x34]
mov byte [0x1024b158], 1
mov dword [esp + 0x18], ecx
cmp byte [eax + ecx*4 + 0x21], 0
je 0x100a3b2d
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007d610
test byte [eax], 1
je 0x100a3b2d
test byte [edi + 0x30], 2
jne 0x100a3b2d
mov ecx, dword [0x10533230]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100a3b2d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
test byte [eax + ecx*4 + 0x24], 1
je 0x100a3a33
movss xmm3, dword [0x104681c0]
movss xmm2, dword [0x104681c4]
movaps xmm1, xmm3
movss xmm0, dword [0x104681c8]
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm1, xmm3
mulss xmm0, xmm2
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x38], xmm3
addss xmm1, xmm0
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x70], xmm2
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100a385f
sqrtsd xmm0, xmm0
jmp 0x100a3864
call fcn.101dd630
mov eax, dword [0x10241574]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp + 0x18], 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 [0x10241574]
mov ecx, dword [ecx]
call fcn.1007d760
movss xmm0, dword [esp + 0x40]
sub esp, 8
xorps xmm0, xmmword [0x10214e00]
fld dword [esp + 0x78]
cvtss2sd xmm0, xmm0
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
movsd qword [esp + 0x48], xmm0
call fcn.101db87e
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
add esp, 8
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call fcn.101db850
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10214690]
mulss xmm0, dword [0x1021434c]
cvtps2pd xmm0, xmm0
call fcn.101dc1e0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x28]
fld qword [esp + 0x60]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
call fcn.101db850
movss xmm1, dword [edi + 0x10]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10214690]
subss xmm1, xmm0
mulss xmm1, dword [0x1021434c]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x60], xmm0
call fcn.101dc1e0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x40]
mulss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x1021482c]
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x60]
call fcn.101dd460
mov eax, dword [esp + 0xc]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x1021445c]
mulss xmm1, dword [esp + 0x40]
mulss xmm1, xmm0
mulss xmm1, dword [0x1021482c]
jb 0x100a39ea
movss xmm0, dword [esp + 0x28]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
cmp byte [eax + 0x1d], 0
je 0x100a3a33
or dword [edi + 0x30], 4
jmp 0x100a3a33
movss xmm0, dword [edi + 0x24]
mulss xmm0, dword [0x102143b8]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
mulss xmm0, dword [0x102143b8]
movss dword [edi + 0x28], xmm0
cmp byte [eax + 0x1d], 0
je 0x100a3a18
and dword [edi + 0x30], 0xfffffffe
cmp byte [eax + 0x1c], 0
je 0x100a3a2c
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
cmp byte [eax + 0xc], 0
je 0x100a3aef
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x100a3aef
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007d760
cmp byte [eax], 0
jne 0x100a3aef
mov edi, dword fs:[0x2c]
mov edx, dword [0x10240d9c]
mov eax, dword [0x10468298]
mov ecx, dword [edi + edx*4]
mov edi, dword [esp + 0x50]
cmp eax, dword [ecx + 4]
jle 0x100a3ac8
push 0x10468298
call fcn.101b57fd
add esp, 4
cmp dword [0x10468298], 0xffffffff
jne 0x100a3ac8
mov edx, 0xc60bf9f2
mov ecx, 0x10205291
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x10468298
mov dword [0x1046829c], eax
call fcn.101b57ac
add esp, 4
mov eax, dword [0x1046829c]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax], 0
jne 0x100a3aef
mov eax, dword [0x10241574]
mov ecx, dword [eax]
call fcn.1007d610
test byte [eax], 1
je 0x100a3aef
or dword [edi + 0x30], 0x80000
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [esp + 0xc]
shl eax, 4
sub eax, edx
test byte [ecx + eax*4 + 0x24], 4
je 0x100a3b12
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, edx
shl eax, 4
sub eax, edx
test byte [ecx + eax*4 + 0x24], 8
je 0x100a3b26
or dword [edi + 0x30], 4
jmp 0x100a3b2d
mov byte [0x1024b158], 0
call fcn.10099ba0
movd xmm1, dword [ebp + 0x10]
mov edx, dword [esp + 0x5c]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [edx]
subss xmm1, dword [esi]
mov esi, dword [esp + 0xc]
andps xmm1, xmmword [0x10214dd0]
comiss xmm0, xmm1
jb 0x100a3b91
mov ecx, dword [esp + 0x54]
movq xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
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 0x100a3b91
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
add eax, 0xc
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x78]
jne 0x100a35a0
lea ecx, [esp + 0x74]
call fcn.10086470
mov ecx, dword [0x1023fc80]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add eax, 0x44
inc edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
cmp eax, 0x50c
jb 0x100a3500
mov edx, dword [esp + 0x34]
xorps xmm1, xmm1
movss xmm0, dword [edx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100a3c08
movss xmm0, dword [edx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100a3c08
movss xmm0, dword [edx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a3c9a
mov edx, dword [ebp + 0x34]
shl edx, 4
sub edx, dword [ebp + 0x34]
mov dword [esp + 0x28], edx
cmp byte [esi + edx*4 + 0x34], 0
je case.0x100a3c2d.0
mov eax, dword [ecx + 0xd3c]
add ecx, 0xd3c
cmp eax, 3
ja case.0x100a3c2d.0
jmp dword [eax*4 + 0x100a3cb0]
call fcn.100c92e0
mov edx, dword [esp + 0x28]
jmp 0x100a3c42
mov al, byte [ecx + 0x20]
test al, al
je case.0x100a3c2d.0
mov ecx, dword [esi + edx*4 + 0x38]
jmp 0x100a3c50
mov ecx, dword [esi + edx*4 + 0x30]
mov esi, dword [esp + 0x54]
mov eax, dword [0x10241574]
push ecx
push edi
push esi
push dword [esp + 0x20]
mov ecx, dword [eax]
push dword [esp + 0x68]
push dword [esp + 0x34]
call fcn.1008bfa0
test al, al
jne 0x100a3c9a
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x5c]
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.101b526a
mov esp, ebp
pop ebp
ret 0x48