Function at 0x10036c63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, dword [0x1018e494]
mov dword [esp + 0x20], edx
push edi
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xac], 1
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x1003700d
cmp ecx, dword [esp + 0x24]
mov ebx, 0x1008f796
mov edi, ebx
cmovne ebx, dword [esp + 0x24]
cmovne edi, ecx
test ebx, ebx
jne 0x10036cc1
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036cb5
sub ecx, ebx
lea ebx, [edi + ecx]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm2, dword [edx + 0x128]
mov eax, ebx
addss xmm2, dword [edx + 0xf4]
movss xmm3, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm2
setae cl
sub eax, edi
cmp eax, 0x7d0
jle 0x10036f3d
test cl, cl
jne 0x10036f41
movaps xmm1, xmm2
movss xmm4, dword [esi + 0x3bb8]
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm1
cmp byte [esi + 0x5a8c], cl
jne 0x10036dac
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm2
divss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x24], eax
test eax, eax
jle 0x10036dac
xor esi, esi
cmp edi, ebx
jae 0x10036d97
cmp esi, eax
jge 0x10036d85
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.msvcrt.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, ebx
inc esi
lea edi, [eax + 1]
mov eax, dword [esp + 0x24]
cmp edi, ebx
jb 0x10036d60
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x10]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm2
movss dword [esp + 0x2c], xmm1
cmp edi, ebx
jae 0x10036ee9
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm3
addss xmm0, dword [0x100b9244]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x4c], xmm2
lea ecx, [esp + 0x40]
call fcn.1001d7d6
test al, al
jne 0x10036ea5
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.msvcrt.dll_memchr
mov esi, eax
lea ecx, [esp + 0x44]
test esi, esi
mov edx, edi
cmove esi, ebx
add esp, 8
mov dword [esp], 0xbf800000
push 0
push esi
call fcn.1001f30f
movss xmm0, dword [esp + 0x20]
add esp, 0xc
mov edx, esi
maxss xmm0, dword [eax]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push ecx
mov ecx, edi
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x3c], xmm0
call fcn.1001c0c3
movss xmm4, dword [esp + 0x1c]
lea edi, [esi + 1]
movss xmm3, dword [esp + 0x2c]
add esp, 0xc
movss xmm2, dword [esp + 0x24]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x2c]
addss xmm2, xmm4
addss xmm1, xmm4
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x2c], xmm1
cmp edi, ebx
jb 0x10036ded
xor esi, esi
cmp edi, ebx
jae 0x10036ed4
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call sub.msvcrt.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, ebx
inc esi
lea edi, [eax + 1]
cmp edi, ebx
jb 0x10036eab
movss xmm1, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x10]
movss xmm2, dword [esp + 0x1c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm3, dword [esp + 0x18]
subss xmm1, xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm3
addss xmm0, dword [esp + 0x14]
lea ecx, [esp + 0x30]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x34], xmm1
addss xmm1, xmm2
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
xorps xmm1, xmm1
call fcn.100253db
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.1002552f
jmp 0x1003700b
test cl, cl
je 0x10036f7c
comiss xmm0, xmm1
ja 0x10036f7c
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x10036f5b
movss xmm1, dword [ecx + 0x1f8]
jmp 0x10036f6e
comiss xmm1, xmm0
jbe 0x10036f6e
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
subss xmm1, xmm3
maxss xmm1, dword [0x100b9194]
jmp 0x10036f7f
xorps xmm1, xmm1
push ecx
movss dword [esp], xmm1
lea ecx, [esp + 0x34]
push 0
push ebx
mov edx, edi
movss dword [esp + 0x20], xmm1
call fcn.1001f30f
movss xmm1, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
movss xmm3, dword [esp + 0x24]
add esp, 0xc
movss xmm2, dword [esp + 0x1c]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.100253db
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.1002552f
pop ecx
pop ecx
test al, al
je 0x1003700d
push dword [esp + 0x44]
movss xmm2, dword [esp + 0x18]
mov edx, ebx
push dword [esp + 0x44]
mov ecx, edi
call fcn.1001c142
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret