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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x10167368]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
cmp dword [eax], 0
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jle 0x100adfe4
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0xf8]
jae 0x100adfe4
mov ecx, dword [0x101faf18]
movsx eax, word [esi + 0x40]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov bl, byte [esi + 0x42]
mov edi, eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x20]
shr eax, 3
shr bl, 7
and eax, 0xffffff01
and bl, 1
mov dword [esp + 0xc], eax
cmp dword [ecx], 0
jne 0x100adc7a
test al, al
jne 0x100adc7a
test bl, bl
jne 0x100adc7a
cmp word [edi + 0x60], 0x59
jne 0x100adfe4
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0
push ecx
push esi
push dword [esp + 0x18]
lea eax, [esi + 0xc]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x28], eax
movups xmmword [esp + 0x48], xmm0
call fcn.100ad7e0
test al, al
jne 0x100adcca
mov ecx, dword [0x101faf08]
lea edx, [esi + 0xc]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
call dword [eax]
test eax, 0x600400b
je 0x100adfe4
mov ecx, dword [0x101faf18]
movsx edx, word [esp + 0x68]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
cmp byte [esp + 0xc], 0
movss xmm0, dword [0x101619b8]
movss xmm1, dword [0x10161b10]
mov dword [esp + 0x14], eax
movss dword [esp + 0x10], xmm0
jne 0x100ade78
test bl, bl
jne 0x100ade78
movzx eax, word [edi + 0x60]
mov ecx, eax
cmp eax, 0x59
je 0x100ade99
cmp eax, 0x47
je 0x100ade78
cmp dword [esi + 0x4c], 0
je 0x100ade54
mov ecx, dword [0x101fafe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
ucomiss xmm0, dword [0x10161928]
lahf
test ah, 0x44
jp 0x100ade4c
cmp word [edi + 0x60], 0x46
jne 0x100ade4c
mov ecx, dword [0x101faed8]
mov eax, dword fs:[0x2c]
mov ebx, dword [esi + 0x4c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [0x10202ee8]
cmp ecx, dword [esi + 4]
jle 0x100addba
push 0x10202ee8
call fcn.100e1a85
mov ecx, dword [0x10202ee8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100addba
mov eax, dword [0x10202ed4]
push 0x10202ee8
mov dword [0x10202ec8], eax
call fcn.100e1a3b
mov ecx, dword [0x10202ee8]
add esp, 4
mov eax, dword [0x10202ec8]
mov ebx, dword [ebx + eax]
cmp ecx, dword [esi + 4]
jle 0x100addf7
push 0x10202ee8
call fcn.100e1a85
add esp, 4
cmp dword [0x10202ee8], 0xffffffff
jne 0x100addf7
mov eax, dword [0x10202ed4]
push 0x10202ee8
mov dword [0x10202ec8], eax
call fcn.100e1a3b
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [0x10202ec8]
cmp ebx, dword [eax + ecx]
jne 0x100ade4c
mov ecx, dword [0x101fb020]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
fstp dword [esp + 0xc]
movss xmm3, dword [esp + 0xc]
ucomiss xmm3, dword [0x10161928]
lahf
test ah, 0x44
jnp 0x100adfe4
movss xmm0, dword [0x101619b8]
mov eax, dword [esp + 0x14]
movzx ecx, word [edi + 0x60]
movss xmm1, dword [0x10161b10]
jmp 0x100adeab
movss xmm0, dword [0x101619b8]
mov eax, dword [esp + 0x14]
movzx ecx, word [edi + 0x60]
movss xmm1, dword [0x10161b10]
movss xmm3, dword [eax + 0x58]
addss xmm3, dword [edi + 0x58]
mulss xmm3, dword [0x10161a18]
jmp 0x100adeab
movzx eax, word [edi + 0x60]
mov ecx, eax
cmp eax, 0x59
je 0x100ade99
cmp eax, 0x47
je 0x100ade99
movss xmm4, dword [0x10161a80]
mov eax, dword [esp + 0x14]
movaps xmm3, xmm4
jmp 0x100adeb9
movss xmm0, dword [0x10161994]
movaps xmm3, xmm1
mov eax, dword [esp + 0x14]
movzx ecx, cx
movss xmm4, dword [0x10161a80]
movss dword [esp + 0x10], xmm0
movzx eax, word [eax + 0x60]
cmp cx, ax
jne 0x100adede
cmp eax, 0x57
je 0x100adedb
cmp eax, 0x55
je 0x100adedb
cmp eax, 0x4c
jne 0x100adede
movss xmm3, dword [0x10161ae4]
jmp 0x100adede
movaps xmm3, xmm1
mov eax, dword [esp + 0x18]
sub esp, 8
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
subss xmm0, dword [eax + 8]
divss xmm4, xmm3
mov dword [esp + 4], 0
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss dword [esp], xmm4
addss xmm2, xmm0
movss dword [esp + 0x14], xmm2
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
mov ebx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
fstp dword [esp + 0x20]
movss xmm1, dword [esp + 0x20]
mulss xmm1, dword [0x10161b10]
mov dword [esp + 4], 0
mulss xmm2, dword [ebx]
mulss xmm1, dword [ebp + 0x24]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x14]
mulss xmm2, dword [esp + 0x20]
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x10161aa0]
cvtpd2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [ebx]
add esp, 8
movss xmm1, dword [0x10161a80]
fstp dword [esp + 0x1c]
subss xmm0, dword [esp + 0x1c]
comiss xmm1, xmm0
movss dword [ebx], xmm0
ja 0x100adfe4
mov ecx, dword [esp + 0x24]
movq xmm0, qword [esp + 0x34]
mov eax, dword [esp + 0x3c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
dec dword [eax]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [esp + 0x84]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e1968
mov esp, ebp
pop ebp
ret 0x20