Function at 0x1009c700
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 [0x101f80c0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
movss dword [esp + 0x8c], xmm5
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x44], xmm0
mov dword [esp + 0x50], edx
mov edi, ecx
mov dword [esp + 0x40], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x48]
mov dword [esp + 0x60], 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 + 0x18], eax
mov ecx, dword [ebp + 0x44]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x5c], esi
mov esi, dword [0x10213408]
movups xmm0, xmmword [ebp + 0x1c]
mov dword [esp + 0x64], 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 + 0x44]
mov eax, dword [eax + 0x20]
movq qword [esp + 0x90], xmm0
mov dword [esp + 8], esi
call eax
test eax, eax
je 0x1009d0ae
mov ecx, dword [0x10213410]
push eax
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x1009d0ae
cmp dword [eax + 0xac], 0
jle 0x1009d0ae
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x30], ecx
je 0x1009d0ae
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1021451c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103da6dc]
cmp eax, dword [ecx + 4]
jle 0x1009ca30
push 0x103da6dc
call fcn.1018e03f
add esp, 4
cmp dword [0x103da6dc], 0xffffffff
jne 0x1009ca30
mov eax, dword [0x10213410]
xor edx, edx
cmp dword [0x10214510], 2
movups xmm0, xmmword [str.CPWGWWeZ_KM___]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov al, byte [0x101db62c]
movups xmmword [esp + 0xc0], xmm0
mov byte [esp + 0xd8], al
movq xmm0, qword [str.57:__L]
movq qword [esp + 0xd0], xmm0
jl 0x1009c9d4
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eac40]
movaps xmm5, xmmword [0x101ea8c0]
movaps xmmword [esp + 0xb0], xmm0
mov ecx, dword [esp + 0xb0]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101ea930]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0xc4]
xorps xmm1, xmm0
movd dword [esp + edx + 0xc4], xmm1
add edx, 8
cmp edx, 0x18
jl 0x1009c8c0
mov dword [esp + 0xc], edx
cmp edx, 0x19
jge 0x1009ca0b
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0xc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0xc0], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x19
jl 0x1009c9d4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xc0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x103da6dc
mov dword [0x103da6e0], eax
call fcn.1018dfee
add esp, 4
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], edx
nop dword [eax]
cmp byte [esp + ecx + 0xe0], 0
je 0x1009cfd3
test ecx, ecx
js 0x1009cfd3
mov eax, dword [esp + 0x30]
cmp ecx, dword [eax + 4]
jge 0x1009cfd3
mov eax, dword [eax + 8]
add eax, edx
add eax, dword [esp + 0x30]
je 0x1009cfd3
push dword [ebp + 0x3c]
mov edx, dword [esp + 0x54]
push dword [ebp + 0x38]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
push ecx
push eax
push dword [esp + 0x70]
lea ecx, [esp + 0xb8]
call fcn.10088d60
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0xa8]
je 0x1009cfbf
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [esp + 0x84]
lea ecx, [esp + 0xb0]
addss xmm0, dword [edi + 0xc]
push ecx
mov edx, eax
lea ecx, [esp + 0x94]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x90]
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0xbc], xmm0
call fcn.100879c0
movss dword [esp + 0x48], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x4c], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009cb64
sqrtsd xmm0, xmm0
jmp 0x1009cb69
call fcn.101b5e60
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esi + 0x10]
ja 0x1009cfa7
mov ecx, dword [esp + 0x18]
mov al, byte [esi + 3]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov ecx, esi
push dword [ebp + 0x40]
mov edx, dword [esp + 0x1c]
push eax
call fcn.100883d0
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x54], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x54]
lea ecx, [esp + 0x54]
xorps xmm2, xmm2
mov dword [esp + 0x70], 0
comiss xmm2, xmm0
lea esi, [esp + 0x74]
movd xmm1, eax
lea eax, [esp + 0x70]
cvtdq2ps xmm1, xmm1
cmovbe eax, ecx
comiss xmm0, xmm1
movss xmm0, dword [0x101ea26c]
movss dword [esp + 0x74], xmm1
cmovbe esi, eax
comiss xmm0, dword [esi]
jae 0x1009cfa3
mov eax, dword [esp + 8]
cmp byte [eax + 0xc], 0
je 0x1009cc56
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1009cc52
mov ecx, 0x747d37fc
call fcn.100c6820
mov ecx, dword [0x10214cf4]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
jne 0x1009cc52
mov ecx, 0x8c04d21d
call fcn.100c6820
mov ecx, dword [esp + 0x18]
cmp dword [eax + ecx], 1
mov eax, dword [esp + 8]
jge 0x1009cc56
or dword [edi + 0x30], 0x80000
jmp 0x1009cc56
mov eax, dword [esp + 8]
imul ecx, dword [ebp + 0x34], 0x2c
mov dword [esp + 0x2c], ecx
cmp byte [ecx + eax + 0x15], 0
je 0x1009cf4e
mov ecx, 0x394634f0
call fcn.100c6820
mov ecx, dword [0x10214cf4]
mov ecx, dword [ecx]
test byte [eax + ecx], 1
je 0x1009cf4e
test byte [edi + 0x30], 2
jne 0x1009cf4e
mov ecx, dword [0x103da6e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x1009cf4e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
test byte [ecx + eax + 0x18], 1
je 0x1009cecc
movss xmm0, dword [0x103d79c0]
movss xmm1, dword [0x103d79c8]
movss xmm2, dword [0x103d79c4]
movss dword [esp + 0x78], xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x80], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1009cd14
sqrtsd xmm0, xmm0
jmp 0x1009cd19
call fcn.101b5e60
mov eax, dword [0x10214cf4]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp + 0xc], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x734]
mov ecx, eax
call edx
mov ecx, 0x747d37fc
mov dword [esp + 0x10], eax
call fcn.100c6820
mov ecx, dword [0x10214cf4]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x10]
je 0x1009cd6a
movss xmm0, dword [eax + 0x138]
jmp 0x1009cd72
movss xmm0, dword [eax + 0x134]
divss xmm0, dword [0x101ea3e0]
movss xmm1, dword [esp + 0xc]
comiss xmm1, xmm0
jb 0x1009cec4
movss xmm0, dword [esp + 0x78]
sub esp, 8
xorps xmm0, xmmword [0x101eac30]
fld dword [esp + 0x88]
cvtss2sd xmm0, xmm0
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
movsd qword [esp + 0x80], xmm0
call fcn.101b40be
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
add esp, 8
fld qword [esp + 0x78]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call fcn.101b4090
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101ea4f0]
mulss xmm0, dword [0x101ea1cc]
cvtps2pd xmm0, xmm0
call fcn.101b4a10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x68]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x20]
fld qword [esp + 0x68]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.101b4090
movss xmm1, dword [edi + 0x10]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101ea4f0]
subss xmm1, xmm0
mulss xmm1, dword [0x101ea1cc]
cvtps2pd xmm0, xmm1
movss xmm1, dword [esp + 0xc]
xorps xmm1, xmmword [0x101eac30]
movsd qword [esp + 0x68], xmm0
movss dword [esp + 0xc], xmm1
call fcn.101b4a10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x68]
call fcn.101b5c90
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
movss dword [edi + 0x24], xmm1
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0xc]
movss dword [edi + 0x28], xmm0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 8]
test byte [ecx + eax + 0x18], 4
je 0x1009cee1
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test byte [ecx + eax + 0x18], 8
je 0x1009ceec
or dword [edi + 0x30], 4
mov eax, dword [0x10214cf4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1009cf4e
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1009cf4e
mov eax, dword [0x10213404]
mov edx, dword [eax + 0xd4]
mov eax, dword [edx + 0x174]
mov dword [esp + 0x20], eax
mov eax, dword [0x10213410]
mov ecx, dword [eax + 0x54]
mov eax, dword [edx + 0x4d30]
add eax, dword [edx + 0x4d2c]
push eax
push dword [edx + 0x4d34]
mov edx, dword [esp + 0x28]
test edx, edx
mov edi, dword [ecx]
setg al
movzx eax, al
push eax
mov eax, dword [edi + 0xc]
push edx
call eax
mov edi, dword [esp + 0x40]
movd xmm1, dword [ebp + 0x10]
mov edx, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [edx]
subss xmm1, dword [esi]
mov esi, dword [esp + 8]
andps xmm1, xmmword [0x101eac00]
comiss xmm0, xmm1
jb 0x1009cfa7
mov ecx, dword [esp + 0x5c]
movq xmm0, qword [esp + 0x44]
mov eax, dword [esp + 0x4c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
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 0x1009cfa7
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0xa8]
jne 0x1009cad0
lea ecx, [esp + 0xa4]
call fcn.10083c50
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
add edx, 0x44
inc ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], edx
cmp edx, 0x50c
jb 0x1009ca40
mov ecx, dword [esp + 0x34]
xorps xmm1, xmm1
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1009d01f
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1009d01f
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1009d0ae
imul ecx, dword [ebp + 0x34], 0x2c
mov dword [esp + 0x40], ecx
cmp byte [ecx + esi + 0x28], 0
je case.0x1009d03f.3152
mov eax, dword [0x10213408]
add eax, 0xc50
mov edx, dword [eax]
cmp edx, 3
ja case.0x1009d03f.3152
jmp dword [edx*4 + 0x1009d0c4]
mov ecx, eax
call fcn.100c0ca0
mov ecx, dword [esp + 0x40]
jmp 0x1009d056
mov al, byte [eax + 0x20]
test al, al
je case.0x1009d03f.3152
mov ecx, dword [ecx + esi + 0x2c]
jmp 0x1009d064
mov ecx, dword [ecx + esi + 0x24]
mov esi, dword [esp + 0x5c]
mov eax, dword [0x10214cf4]
push ecx
push edi
push esi
push dword [esp + 0x24]
mov ecx, dword [eax]
push dword [esp + 0x70]
push dword [esp + 0x44]
call fcn.10089420
test al, al
jne 0x1009d0ae
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x64]
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.1018daa9
mov esp, ebp
pop ebp
ret 0x48