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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov esi, edx
movss dword [esp + 0x70], xmm5
mov eax, dword [esi + 4]
mov edi, ecx
lea ecx, [esi + 4]
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x50], xmm2
mov eax, dword [eax + 0x20]
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], edi
call eax
test eax, eax
je 0x100393a1
mov ecx, dword [0x1021663c]
push eax
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100393a1
cmp dword [eax + 0xac], 0
jle 0x100393a1
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x1c], ecx
je 0x100393a1
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
nop dword [eax + eax]
cmp byte [ebp + ecx + 0x1c], 0
je 0x10039301
test ecx, ecx
js 0x10039301
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jge 0x10039301
mov eax, dword [eax + 8]
add eax, edx
add eax, dword [esp + 0x1c]
je 0x10039301
movss xmm0, dword [esp + 0x48]
mov edx, esi
movss xmm1, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x50]
push ecx
push eax
push dword [ebp + 8]
lea ecx, [esp + 0x80]
call fcn.10037c70
mov esi, dword [esp + 0x74]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x78]
je 0x100392ec
nop word [eax + eax]
movss xmm0, dword [esp + 0x68]
lea eax, [esp + 0xa4]
addss xmm0, dword [edi + 0xc]
push eax
mov edx, esi
lea ecx, [esp + 0x4c]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0xb0], xmm0
call fcn.10036dd0
movss dword [esp + 0x58], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm1, xmm1
mulss xmm0, xmm0
movss dword [esp + 0x5c], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10038ce8
sqrtsd xmm0, xmm0
jmp 0x10038ced
call fcn.10187f60
mov eax, dword [0x10216634]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [eax + 0x10]
ja 0x100392db
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [ebp + 0x34]
mov edi, dword [esp + 0x38]
mov edx, esi
push eax
mov ecx, edi
call fcn.100385c0
mov eax, dword [edi]
mov ecx, edi
movss dword [esp + 0x30], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x30]
xorps xmm2, xmm2
mov dword [esp + 0x60], 0
comiss xmm2, xmm0
lea edi, [esp + 0x64]
movd xmm1, eax
lea eax, [esp + 0x60]
cvtdq2ps xmm1, xmm1
cmovbe eax, ecx
comiss xmm0, xmm1
movss xmm0, dword [0x101ecac4]
movss dword [esp + 0x64], xmm1
cmovbe edi, eax
comiss xmm0, dword [edi]
jae 0x100392d7
mov eax, dword [0x10216634]
cmp byte [eax + 0xc], 0
je 0x10038dca
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x10038dca
mov ecx, 0x747d37fc
call fcn.100c3de0
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
jne 0x10038dca
mov ecx, 0x8c04d21d
call fcn.100c3de0
mov ecx, dword [ebp + 0x30]
cmp dword [eax + ecx], 0
jne 0x10038dca
mov eax, dword [esp + 0xc]
or dword [eax + 0x30], 0x80000
mov eax, dword [0x102187a8]
mov byte [0x102187e4], 1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [0x10216634]
test byte [eax + ecx*8 + 0x2c], 4
je 0x10039224
mov ecx, 0x394634f0
call fcn.100c3de0
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
test byte [eax + ecx], 1
je 0x10039224
mov eax, dword [esp + 0xc]
test byte [eax + 0x30], 2
jne 0x10039224
mov eax, dword [0x10217cb0]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10425fe4]
cmp eax, dword [ecx + 4]
jle 0x10039027
push 0x10425fe4
call fcn.1015fec1
add esp, 4
cmp dword [0x10425fe4], 0xffffffff
jne 0x10039027
mov eax, dword [0x1021663c]
xor ecx, ecx
cmp dword [0x10217ca4], 2
movups xmm0, xmmword [str.CPWGWWeZ_KM___]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov al, byte [0x101986f4]
movups xmmword [esp + 0x80], xmm0
mov byte [esp + 0x98], al
movq xmm0, qword [str.57:__L]
movq qword [esp + 0x90], xmm0
jl 0x10038fd0
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed3a0]
movaps xmm5, xmmword [0x101ed090]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
movd xmm0, ecx
lea eax, [ecx + 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x80], 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x84]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x84], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10038ec3
mov dword [esp + 0x14], ecx
cmp ecx, 0x19
jge 0x10039002
nop
mov eax, 0x4ec4ec4f
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0x14]
movsx eax, al
imul eax, eax, 0x34
add al, cl
xor byte [esp + ecx + 0x80], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x19
jl 0x10038fd0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x80]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x10425fe4
mov dword [0x10425fe8], eax
call fcn.1015fe70
add esp, 4
mov ecx, dword [0x10425fe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 1
jge 0x100392d7
mov eax, dword [0x102187c8]
mov ecx, dword [eax]
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
movss xmm1, dword [0x104236d0]
movss xmm0, dword [0x104236cc]
mulss xmm1, xmm1
mov dword [esp + 0x10], eax
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003908c
sqrtsd xmm0, xmm0
jmp 0x10039091
call fcn.10187f60
xorps xmm1, xmm1
mov ecx, 0x747d37fc
cvtsd2ss xmm1, xmm0
movss dword [esp + 0x14], xmm1
call fcn.100c3de0
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x10]
je 0x100390c4
movss xmm0, dword [eax + 0x138]
jmp 0x100390cc
movss xmm0, dword [eax + 0x134]
divss xmm0, dword [0x101ecca0]
comiss xmm1, xmm0
jb 0x10039224
movss xmm0, dword [0x104236d4]
sub esp, 8
xorps xmm0, xmmword [0x101ed400]
fld dword [0x104236d0]
cvtss2sd xmm0, xmm0
fstp dword [esp + 4]
fld dword [0x104236cc]
fstp dword [esp]
movsd qword [esp + 0x28], xmm0
call fcn.101861be
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call fcn.10186190
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101ecd9c]
mulss xmm0, dword [0x101ecaa0]
cvtps2pd xmm0, xmm0
call fcn.10186b10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x104236d0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [0x104236cc]
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.10186190
mov eax, dword [esp + 0xc]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
movss xmm1, dword [eax + 0x10]
mulss xmm0, dword [0x101ecd9c]
subss xmm1, xmm0
mulss xmm1, dword [0x101ecaa0]
cvtps2pd xmm0, xmm1
movss xmm1, dword [esp + 0x14]
xorps xmm1, xmmword [0x101ed400]
movsd qword [esp + 0x20], xmm0
movss dword [esp + 0x14], xmm1
call fcn.10186b10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x14]
movss dword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x20]
call fcn.10187d90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x40]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0x24], xmm1
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x14]
movss dword [eax + 0x28], xmm0
mov eax, dword [0x102187a8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [0x10216634]
test byte [eax + ecx*8 + 0x2c], 2
je 0x10039289
mov eax, dword [0x10216630]
movd xmm0, dword [0x104eee88]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x102187c8]
movss dword [esp + 0x40], xmm0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov ecx, 0xb439d47
mov esi, eax
call fcn.100c3de0
movss xmm0, dword [eax + esi]
comiss xmm0, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
ja 0x100392d7
movd xmm1, dword [ebp + 0x10]
mov edx, dword [ebp + 0x38]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [edx]
subss xmm1, dword [edi]
mov edi, dword [esp + 0xc]
andps xmm1, xmmword [0x101ed3d0]
comiss xmm0, xmm1
jb 0x100392db
mov ecx, dword [ebp + 0x3c]
movq xmm0, qword [esp + 0x54]
mov eax, dword [esp + 0x5c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0x40]
movss dword [edx], xmm1
movq xmm0, qword [esi]
movq qword [ecx], xmm0
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
jmp 0x100392db
mov edi, dword [esp + 0xc]
add esi, 0xc
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x78]
jne 0x10038c60
lea ecx, [esp + 0x74]
call fcn.1003aa40
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add edx, 0x44
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
cmp edx, 0x50c
jb 0x10038bf0
mov esi, dword [ebp + 0x40]
xorps xmm1, xmm1
movss xmm0, dword [esi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10039348
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10039348
movss xmm0, dword [esi + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100393a1
mov eax, dword [0x102187a8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [0x10216634]
mov edx, dword [eax + ecx*8 + 0x30]
mov eax, dword [0x102187c8]
push edx
push edi
mov edi, dword [ebp + 0x3c]
mov ecx, dword [eax]
push edi
push dword [ebp + 0x30]
push dword [ebp + 8]
push dword [esp + 0x30]
call fcn.10037430
test al, al
jne 0x100393a1
mov eax, dword [ebp + 0x38]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [eax], 0x7f7fffff
movq qword [esi], xmm0
mov dword [esi + 8], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x3c